sass.dart.js 4.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941
  1. exports.load = function(_cliPkgRequires, _cliPkgExportParam) {
  2. var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
  3. // make sure to keep this as 'var'
  4. // we don't want block scoping
  5. var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
  6. self.scheduleImmediate = typeof setImmediate !== "undefined"
  7. ? function (cb) {
  8. setImmediate(cb);
  9. }
  10. : function(cb) {
  11. setTimeout(cb, 0);
  12. };
  13. // CommonJS globals.
  14. if (typeof require !== "undefined") {
  15. }
  16. self.exports = _cliPkgExportParam || exports;
  17. // Node.js specific exports, check to see if they exist & or polyfilled
  18. if (typeof process !== "undefined") {
  19. self.process = process;
  20. }
  21. if (typeof __dirname !== "undefined") {
  22. self.__dirname = __dirname;
  23. }
  24. if (typeof __filename !== "undefined") {
  25. self.__filename = __filename;
  26. }
  27. if (typeof Buffer !== "undefined") {
  28. self.Buffer = Buffer;
  29. }
  30. // if we're running in a browser, Dart supports most of this out of box
  31. // make sure we only run these in Node.js environment
  32. if (dartNodeIsActuallyNode) {
  33. // This line is to:
  34. // 1) Prevent Webpack from bundling.
  35. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  36. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  37. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  38. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  39. // as a property instead to be safe.
  40. Object.defineProperty(self, "location", {
  41. value: {
  42. get href() {
  43. if (url.pathToFileURL) {
  44. return url.pathToFileURL(process.cwd()).href + "/";
  45. } else {
  46. // This isn't really a correct transformation, but it's the best we have
  47. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  48. // For example, it will fail for paths that contain characters that need
  49. // to be escaped in URLs.
  50. return "file://" + (function() {
  51. var cwd = process.cwd();
  52. if (process.platform != "win32") return cwd;
  53. return "/" + cwd.replace(/\\/g, "/");
  54. })() + "/"
  55. }
  56. }
  57. }
  58. });
  59. (function() {
  60. function computeCurrentScript() {
  61. try {
  62. throw new Error();
  63. } catch(e) {
  64. var stack = e.stack;
  65. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  66. var lastMatch = null;
  67. do {
  68. var match = re.exec(stack);
  69. if (match != null) lastMatch = match;
  70. } while (match != null);
  71. return lastMatch[1];
  72. }
  73. }
  74. // Setting `self.document=` isn't known to throw an error anywhere like
  75. // `self.location=` does on Electron, but it's better to be future-proof
  76. // just in case..
  77. var cachedCurrentScript = null;
  78. Object.defineProperty(self, "document", {
  79. value: {
  80. get currentScript() {
  81. if (cachedCurrentScript == null) {
  82. cachedCurrentScript = {src: computeCurrentScript()};
  83. }
  84. return cachedCurrentScript;
  85. }
  86. }
  87. });
  88. })();
  89. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  90. try {
  91. load(uri);
  92. successCallback();
  93. } catch (error) {
  94. errorCallback(error);
  95. }
  96. };
  97. }
  98. self.chokidar = _cliPkgRequires.chokidar;
  99. self.readline = _cliPkgRequires.readline;
  100. self.immutable = _cliPkgRequires.immutable;
  101. self.util = _cliPkgRequires.util;
  102. self.fs = _cliPkgRequires.fs;
  103. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.6.
  104. // The code supports the following hooks:
  105. // dartPrint(message):
  106. // if this function is defined it is called instead of the Dart [print]
  107. // method.
  108. //
  109. // dartMainRunner(main, args):
  110. // if this function is defined, the Dart [main] method will not be invoked
  111. // directly. Instead, a closure that will invoke [main], and its arguments
  112. // [args] is passed to [dartMainRunner].
  113. //
  114. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
  115. // if this function is defined, it will be called when a deferred library
  116. // is loaded. It should load and eval the javascript of `uri`, and call
  117. // successCallback. If it fails to do so, it should call errorCallback with
  118. // an error. The loadId argument is the deferred import that resulted in
  119. // this uri being loaded.
  120. //
  121. // dartCallInstrumentation(id, qualifiedName):
  122. // if this function is defined, it will be called at each entry of a
  123. // method or constructor. Used only when compiling programs with
  124. // --experiment-call-instrumentation.
  125. (function dartProgram() {
  126. function copyProperties(from, to) {
  127. var keys = Object.keys(from);
  128. for (var i = 0; i < keys.length; i++) {
  129. var key = keys[i];
  130. to[key] = from[key];
  131. }
  132. }
  133. function mixinPropertiesHard(from, to) {
  134. var keys = Object.keys(from);
  135. for (var i = 0; i < keys.length; i++) {
  136. var key = keys[i];
  137. if (!to.hasOwnProperty(key))
  138. to[key] = from[key];
  139. }
  140. }
  141. function mixinPropertiesEasy(from, to) {
  142. Object.assign(to, from);
  143. }
  144. var supportsDirectProtoAccess = function() {
  145. var cls = function() {
  146. };
  147. cls.prototype = {p: {}};
  148. var object = new cls();
  149. if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
  150. return false;
  151. try {
  152. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  153. return true;
  154. if (typeof version == "function" && version.length == 0) {
  155. var v = version();
  156. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  157. return true;
  158. }
  159. } catch (_) {
  160. }
  161. return false;
  162. }();
  163. function inherit(cls, sup) {
  164. cls.prototype.constructor = cls;
  165. cls.prototype["$is" + cls.name] = cls;
  166. if (sup != null) {
  167. if (supportsDirectProtoAccess) {
  168. cls.prototype.__proto__ = sup.prototype;
  169. return;
  170. }
  171. var clsPrototype = Object.create(sup.prototype);
  172. copyProperties(cls.prototype, clsPrototype);
  173. cls.prototype = clsPrototype;
  174. }
  175. }
  176. function inheritMany(sup, classes) {
  177. for (var i = 0; i < classes.length; i++)
  178. inherit(classes[i], sup);
  179. }
  180. function mixinEasy(cls, mixin) {
  181. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  182. cls.prototype.constructor = cls;
  183. }
  184. function mixinHard(cls, mixin) {
  185. mixinPropertiesHard(mixin.prototype, cls.prototype);
  186. cls.prototype.constructor = cls;
  187. }
  188. function lazyOld(holder, name, getterName, initializer) {
  189. var uninitializedSentinel = holder;
  190. holder[name] = uninitializedSentinel;
  191. holder[getterName] = function() {
  192. holder[getterName] = function() {
  193. A.throwCyclicInit(name);
  194. };
  195. var result;
  196. var sentinelInProgress = initializer;
  197. try {
  198. if (holder[name] === uninitializedSentinel) {
  199. result = holder[name] = sentinelInProgress;
  200. result = holder[name] = initializer();
  201. } else
  202. result = holder[name];
  203. } finally {
  204. if (result === sentinelInProgress)
  205. holder[name] = null;
  206. holder[getterName] = function() {
  207. return this[name];
  208. };
  209. }
  210. return result;
  211. };
  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. holder[getterName] = function() {
  220. return this[name];
  221. };
  222. return holder[name];
  223. };
  224. }
  225. function lazyFinal(holder, name, getterName, initializer) {
  226. var uninitializedSentinel = holder;
  227. holder[name] = uninitializedSentinel;
  228. holder[getterName] = function() {
  229. if (holder[name] === uninitializedSentinel) {
  230. var value = initializer();
  231. if (holder[name] !== uninitializedSentinel)
  232. A.throwLateFieldADI(name);
  233. holder[name] = value;
  234. }
  235. var finalValue = holder[name];
  236. holder[getterName] = function() {
  237. return finalValue;
  238. };
  239. return finalValue;
  240. };
  241. }
  242. function makeConstList(list) {
  243. list.immutable$list = Array;
  244. list.fixed$length = Array;
  245. return list;
  246. }
  247. function convertToFastObject(properties) {
  248. function t() {
  249. }
  250. t.prototype = properties;
  251. new t();
  252. return properties;
  253. }
  254. function convertAllToFastObject(arrayOfObjects) {
  255. for (var i = 0; i < arrayOfObjects.length; ++i)
  256. convertToFastObject(arrayOfObjects[i]);
  257. }
  258. var functionCounter = 0;
  259. function instanceTearOffGetter(isIntercepted, parameters) {
  260. var cache = null;
  261. return isIntercepted ? function(receiver) {
  262. if (cache === null)
  263. cache = A.closureFromTearOff(parameters);
  264. return new cache(receiver, this);
  265. } : function() {
  266. if (cache === null)
  267. cache = A.closureFromTearOff(parameters);
  268. return new cache(this, null);
  269. };
  270. }
  271. function staticTearOffGetter(parameters) {
  272. var cache = null;
  273. return function() {
  274. if (cache === null)
  275. cache = A.closureFromTearOff(parameters).prototype;
  276. return cache;
  277. };
  278. }
  279. var typesOffset = 0;
  280. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  281. if (typeof funType == "number")
  282. funType += typesOffset;
  283. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  284. }
  285. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  286. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  287. var getterFunction = staticTearOffGetter(parameters);
  288. holder[getterName] = getterFunction;
  289. }
  290. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  291. isIntercepted = !!isIntercepted;
  292. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  293. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  294. prototype[getterName] = getterFunction;
  295. }
  296. function setOrUpdateInterceptorsByTag(newTags) {
  297. var tags = init.interceptorsByTag;
  298. if (!tags) {
  299. init.interceptorsByTag = newTags;
  300. return;
  301. }
  302. copyProperties(newTags, tags);
  303. }
  304. function setOrUpdateLeafTags(newTags) {
  305. var tags = init.leafTags;
  306. if (!tags) {
  307. init.leafTags = newTags;
  308. return;
  309. }
  310. copyProperties(newTags, tags);
  311. }
  312. function updateTypes(newTypes) {
  313. var types = init.types;
  314. var length = types.length;
  315. types.push.apply(types, newTypes);
  316. return length;
  317. }
  318. function updateHolder(holder, newHolder) {
  319. copyProperties(newHolder, holder);
  320. return holder;
  321. }
  322. var hunkHelpers = function() {
  323. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  324. return function(container, getterName, name, funType) {
  325. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  326. };
  327. },
  328. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  329. return function(container, getterName, name, funType) {
  330. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  331. };
  332. };
  333. 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, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  334. }();
  335. function initializeDeferredHunk(hunk) {
  336. typesOffset = init.types.length;
  337. hunk(hunkHelpers, init, holders, $);
  338. }
  339. var A = {JS_CONST: function JS_CONST() {
  340. },
  341. CastIterable_CastIterable(source, $S, $T) {
  342. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  343. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  344. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  345. },
  346. LateError$fieldADI(fieldName) {
  347. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  348. },
  349. LateError$fieldNI(fieldName) {
  350. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  351. },
  352. LateError$localNI(localName) {
  353. return new A.LateError("Local '" + localName + "' has not been initialized.");
  354. },
  355. LateError$fieldAI(fieldName) {
  356. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  357. },
  358. hexDigitValue(char) {
  359. var letter,
  360. digit = char ^ 48;
  361. if (digit <= 9)
  362. return digit;
  363. letter = char | 32;
  364. if (97 <= letter && letter <= 102)
  365. return letter - 87;
  366. return -1;
  367. },
  368. SystemHash_combine(hash, value) {
  369. hash = hash + value & 536870911;
  370. hash = hash + ((hash & 524287) << 10) & 536870911;
  371. return hash ^ hash >>> 6;
  372. },
  373. SystemHash_finish(hash) {
  374. hash = hash + ((hash & 67108863) << 3) & 536870911;
  375. hash ^= hash >>> 11;
  376. return hash + ((hash & 16383) << 15) & 536870911;
  377. },
  378. checkNotNullable(value, $name, $T) {
  379. return value;
  380. },
  381. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  382. A.RangeError_checkNotNegative(_start, "start");
  383. if (_endOrLength != null) {
  384. A.RangeError_checkNotNegative(_endOrLength, "end");
  385. if (_start > _endOrLength)
  386. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  387. }
  388. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  389. },
  390. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  391. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  392. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  393. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  394. },
  395. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  396. var _s9_ = "takeCount";
  397. A.ArgumentError_checkNotNull(takeCount, _s9_);
  398. A.RangeError_checkNotNegative(takeCount, _s9_);
  399. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  400. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  401. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  402. },
  403. SkipIterable_SkipIterable(iterable, count, $E) {
  404. var _s5_ = "count";
  405. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  406. A.ArgumentError_checkNotNull(count, _s5_);
  407. A.RangeError_checkNotNegative(count, _s5_);
  408. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  409. }
  410. A.ArgumentError_checkNotNull(count, _s5_);
  411. A.RangeError_checkNotNegative(count, _s5_);
  412. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  413. },
  414. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  415. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  416. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  417. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  418. },
  419. IterableElementError_noElement() {
  420. return new A.StateError("No element");
  421. },
  422. IterableElementError_tooMany() {
  423. return new A.StateError("Too many elements");
  424. },
  425. IterableElementError_tooFew() {
  426. return new A.StateError("Too few elements");
  427. },
  428. Sort_sort(a, compare) {
  429. A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
  430. },
  431. Sort__doSort(a, left, right, compare) {
  432. if (right - left <= 32)
  433. A.Sort__insertionSort(a, left, right, compare);
  434. else
  435. A.Sort__dualPivotQuicksort(a, left, right, compare);
  436. },
  437. Sort__insertionSort(a, left, right, compare) {
  438. var i, t1, el, j, j0;
  439. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  440. el = t1.$index(a, i);
  441. j = i;
  442. while (true) {
  443. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  444. break;
  445. j0 = j - 1;
  446. t1.$indexSet(a, j, t1.$index(a, j0));
  447. j = j0;
  448. }
  449. t1.$indexSet(a, j, el);
  450. }
  451. },
  452. Sort__dualPivotQuicksort(a, left, right, compare) {
  453. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  454. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  455. index1 = left + sixth,
  456. index5 = right - sixth,
  457. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  458. index2 = index3 - sixth,
  459. index4 = index3 + sixth,
  460. t1 = J.getInterceptor$asx(a),
  461. el1 = t1.$index(a, index1),
  462. el2 = t1.$index(a, index2),
  463. el3 = t1.$index(a, index3),
  464. el4 = t1.$index(a, index4),
  465. el5 = t1.$index(a, index5);
  466. if (compare.call$2(el1, el2) > 0) {
  467. t0 = el2;
  468. el2 = el1;
  469. el1 = t0;
  470. }
  471. if (compare.call$2(el4, el5) > 0) {
  472. t0 = el5;
  473. el5 = el4;
  474. el4 = t0;
  475. }
  476. if (compare.call$2(el1, el3) > 0) {
  477. t0 = el3;
  478. el3 = el1;
  479. el1 = t0;
  480. }
  481. if (compare.call$2(el2, el3) > 0) {
  482. t0 = el3;
  483. el3 = el2;
  484. el2 = t0;
  485. }
  486. if (compare.call$2(el1, el4) > 0) {
  487. t0 = el4;
  488. el4 = el1;
  489. el1 = t0;
  490. }
  491. if (compare.call$2(el3, el4) > 0) {
  492. t0 = el4;
  493. el4 = el3;
  494. el3 = t0;
  495. }
  496. if (compare.call$2(el2, el5) > 0) {
  497. t0 = el5;
  498. el5 = el2;
  499. el2 = t0;
  500. }
  501. if (compare.call$2(el2, el3) > 0) {
  502. t0 = el3;
  503. el3 = el2;
  504. el2 = t0;
  505. }
  506. if (compare.call$2(el4, el5) > 0) {
  507. t0 = el5;
  508. el5 = el4;
  509. el4 = t0;
  510. }
  511. t1.$indexSet(a, index1, el1);
  512. t1.$indexSet(a, index3, el3);
  513. t1.$indexSet(a, index5, el5);
  514. t1.$indexSet(a, index2, t1.$index(a, left));
  515. t1.$indexSet(a, index4, t1.$index(a, right));
  516. less = left + 1;
  517. great = right - 1;
  518. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  519. for (k = less; k <= great; ++k) {
  520. ak = t1.$index(a, k);
  521. comp = compare.call$2(ak, el2);
  522. if (comp === 0)
  523. continue;
  524. if (comp < 0) {
  525. if (k !== less) {
  526. t1.$indexSet(a, k, t1.$index(a, less));
  527. t1.$indexSet(a, less, ak);
  528. }
  529. ++less;
  530. } else
  531. for (; true;) {
  532. comp = compare.call$2(t1.$index(a, great), el2);
  533. if (comp > 0) {
  534. --great;
  535. continue;
  536. } else {
  537. great0 = great - 1;
  538. if (comp < 0) {
  539. t1.$indexSet(a, k, t1.$index(a, less));
  540. less0 = less + 1;
  541. t1.$indexSet(a, less, t1.$index(a, great));
  542. t1.$indexSet(a, great, ak);
  543. great = great0;
  544. less = less0;
  545. break;
  546. } else {
  547. t1.$indexSet(a, k, t1.$index(a, great));
  548. t1.$indexSet(a, great, ak);
  549. great = great0;
  550. break;
  551. }
  552. }
  553. }
  554. }
  555. pivots_are_equal = true;
  556. } else {
  557. for (k = less; k <= great; ++k) {
  558. ak = t1.$index(a, k);
  559. if (compare.call$2(ak, el2) < 0) {
  560. if (k !== less) {
  561. t1.$indexSet(a, k, t1.$index(a, less));
  562. t1.$indexSet(a, less, ak);
  563. }
  564. ++less;
  565. } else if (compare.call$2(ak, el4) > 0)
  566. for (; true;)
  567. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  568. --great;
  569. if (great < k)
  570. break;
  571. continue;
  572. } else {
  573. great0 = great - 1;
  574. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  575. t1.$indexSet(a, k, t1.$index(a, less));
  576. less0 = less + 1;
  577. t1.$indexSet(a, less, t1.$index(a, great));
  578. t1.$indexSet(a, great, ak);
  579. less = less0;
  580. } else {
  581. t1.$indexSet(a, k, t1.$index(a, great));
  582. t1.$indexSet(a, great, ak);
  583. }
  584. great = great0;
  585. break;
  586. }
  587. }
  588. pivots_are_equal = false;
  589. }
  590. t2 = less - 1;
  591. t1.$indexSet(a, left, t1.$index(a, t2));
  592. t1.$indexSet(a, t2, el2);
  593. t2 = great + 1;
  594. t1.$indexSet(a, right, t1.$index(a, t2));
  595. t1.$indexSet(a, t2, el4);
  596. A.Sort__doSort(a, left, less - 2, compare);
  597. A.Sort__doSort(a, great + 2, right, compare);
  598. if (pivots_are_equal)
  599. return;
  600. if (less < index1 && great > index5) {
  601. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  602. ++less;
  603. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  604. --great;
  605. for (k = less; k <= great; ++k) {
  606. ak = t1.$index(a, k);
  607. if (compare.call$2(ak, el2) === 0) {
  608. if (k !== less) {
  609. t1.$indexSet(a, k, t1.$index(a, less));
  610. t1.$indexSet(a, less, ak);
  611. }
  612. ++less;
  613. } else if (compare.call$2(ak, el4) === 0)
  614. for (; true;)
  615. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  616. --great;
  617. if (great < k)
  618. break;
  619. continue;
  620. } else {
  621. great0 = great - 1;
  622. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  623. t1.$indexSet(a, k, t1.$index(a, less));
  624. less0 = less + 1;
  625. t1.$indexSet(a, less, t1.$index(a, great));
  626. t1.$indexSet(a, great, ak);
  627. less = less0;
  628. } else {
  629. t1.$indexSet(a, k, t1.$index(a, great));
  630. t1.$indexSet(a, great, ak);
  631. }
  632. great = great0;
  633. break;
  634. }
  635. }
  636. A.Sort__doSort(a, less, great, compare);
  637. } else
  638. A.Sort__doSort(a, less, great, compare);
  639. },
  640. _CastIterableBase: function _CastIterableBase() {
  641. },
  642. CastIterator: function CastIterator(t0, t1) {
  643. this._source = t0;
  644. this.$ti = t1;
  645. },
  646. CastIterable: function CastIterable(t0, t1) {
  647. this._source = t0;
  648. this.$ti = t1;
  649. },
  650. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  651. this._source = t0;
  652. this.$ti = t1;
  653. },
  654. _CastListBase: function _CastListBase() {
  655. },
  656. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  657. this.$this = t0;
  658. this.compare = t1;
  659. },
  660. CastList: function CastList(t0, t1) {
  661. this._source = t0;
  662. this.$ti = t1;
  663. },
  664. CastSet: function CastSet(t0, t1, t2) {
  665. this._source = t0;
  666. this._emptySet = t1;
  667. this.$ti = t2;
  668. },
  669. CastMap: function CastMap(t0, t1) {
  670. this._source = t0;
  671. this.$ti = t1;
  672. },
  673. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  674. this.$this = t0;
  675. this.f = t1;
  676. },
  677. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  678. this.$this = t0;
  679. },
  680. LateError: function LateError(t0) {
  681. this._message = t0;
  682. },
  683. CodeUnits: function CodeUnits(t0) {
  684. this.__internal$_string = t0;
  685. },
  686. nullFuture_closure: function nullFuture_closure() {
  687. },
  688. SentinelValue: function SentinelValue() {
  689. },
  690. EfficientLengthIterable: function EfficientLengthIterable() {
  691. },
  692. ListIterable: function ListIterable() {
  693. },
  694. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  695. var _ = this;
  696. _.__internal$_iterable = t0;
  697. _.__internal$_start = t1;
  698. _._endOrLength = t2;
  699. _.$ti = t3;
  700. },
  701. ListIterator: function ListIterator(t0, t1) {
  702. var _ = this;
  703. _.__internal$_iterable = t0;
  704. _.__internal$_length = t1;
  705. _.__internal$_index = 0;
  706. _.__internal$_current = null;
  707. },
  708. MappedIterable: function MappedIterable(t0, t1, t2) {
  709. this.__internal$_iterable = t0;
  710. this._f = t1;
  711. this.$ti = t2;
  712. },
  713. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  714. this.__internal$_iterable = t0;
  715. this._f = t1;
  716. this.$ti = t2;
  717. },
  718. MappedIterator: function MappedIterator(t0, t1) {
  719. this.__internal$_current = null;
  720. this._iterator = t0;
  721. this._f = t1;
  722. },
  723. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  724. this._source = t0;
  725. this._f = t1;
  726. this.$ti = t2;
  727. },
  728. WhereIterable: function WhereIterable(t0, t1, t2) {
  729. this.__internal$_iterable = t0;
  730. this._f = t1;
  731. this.$ti = t2;
  732. },
  733. WhereIterator: function WhereIterator(t0, t1) {
  734. this._iterator = t0;
  735. this._f = t1;
  736. },
  737. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  738. this.__internal$_iterable = t0;
  739. this._f = t1;
  740. this.$ti = t2;
  741. },
  742. ExpandIterator: function ExpandIterator(t0, t1, t2) {
  743. var _ = this;
  744. _._iterator = t0;
  745. _._f = t1;
  746. _._currentExpansion = t2;
  747. _.__internal$_current = null;
  748. },
  749. TakeIterable: function TakeIterable(t0, t1, t2) {
  750. this.__internal$_iterable = t0;
  751. this._takeCount = t1;
  752. this.$ti = t2;
  753. },
  754. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  755. this.__internal$_iterable = t0;
  756. this._takeCount = t1;
  757. this.$ti = t2;
  758. },
  759. TakeIterator: function TakeIterator(t0, t1) {
  760. this._iterator = t0;
  761. this._remaining = t1;
  762. },
  763. SkipIterable: function SkipIterable(t0, t1, t2) {
  764. this.__internal$_iterable = t0;
  765. this._skipCount = t1;
  766. this.$ti = t2;
  767. },
  768. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  769. this.__internal$_iterable = t0;
  770. this._skipCount = t1;
  771. this.$ti = t2;
  772. },
  773. SkipIterator: function SkipIterator(t0, t1) {
  774. this._iterator = t0;
  775. this._skipCount = t1;
  776. },
  777. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  778. this.__internal$_iterable = t0;
  779. this._f = t1;
  780. this.$ti = t2;
  781. },
  782. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  783. this._iterator = t0;
  784. this._f = t1;
  785. this._hasSkipped = false;
  786. },
  787. EmptyIterable: function EmptyIterable(t0) {
  788. this.$ti = t0;
  789. },
  790. EmptyIterator: function EmptyIterator() {
  791. },
  792. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  793. this.__internal$_first = t0;
  794. this._second = t1;
  795. this.$ti = t2;
  796. },
  797. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  798. this.__internal$_first = t0;
  799. this._second = t1;
  800. this.$ti = t2;
  801. },
  802. FollowedByIterator: function FollowedByIterator(t0, t1) {
  803. this._currentIterator = t0;
  804. this._nextIterable = t1;
  805. },
  806. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  807. this._source = t0;
  808. this.$ti = t1;
  809. },
  810. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  811. this._source = t0;
  812. this.$ti = t1;
  813. },
  814. FixedLengthListMixin: function FixedLengthListMixin() {
  815. },
  816. UnmodifiableListMixin: function UnmodifiableListMixin() {
  817. },
  818. UnmodifiableListBase: function UnmodifiableListBase() {
  819. },
  820. ReversedListIterable: function ReversedListIterable(t0, t1) {
  821. this._source = t0;
  822. this.$ti = t1;
  823. },
  824. Symbol: function Symbol(t0) {
  825. this.__internal$_name = t0;
  826. },
  827. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  828. },
  829. ConstantMap_ConstantMap$from(other, $K, $V) {
  830. var allStrings, k, object, t2,
  831. keys = A.List_List$from(other.get$keys(other), true, $K),
  832. t1 = keys.length,
  833. _i = 0;
  834. while (true) {
  835. if (!(_i < t1)) {
  836. allStrings = true;
  837. break;
  838. }
  839. k = keys[_i];
  840. if (typeof k != "string" || "__proto__" === k) {
  841. allStrings = false;
  842. break;
  843. }
  844. ++_i;
  845. }
  846. if (allStrings) {
  847. object = {};
  848. for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  849. k = keys[_i];
  850. object[k] = other.$index(0, k);
  851. }
  852. return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  853. }
  854. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  855. },
  856. ConstantMap__throwUnmodifiable() {
  857. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  858. },
  859. GeneralConstantMap__constantMapHashCode(key) {
  860. if (typeof key == "number")
  861. return B.JSNumber_methods.get$hashCode(key);
  862. if (type$.Symbol._is(key))
  863. return key.get$hashCode(key);
  864. if (type$.Type._is(key))
  865. return A.Primitives_objectHashCode(key);
  866. return A.objectHashCode(key);
  867. },
  868. GeneralConstantMap__typeTest($T) {
  869. return new A.GeneralConstantMap__typeTest_closure($T);
  870. },
  871. instantiate1(f, T1) {
  872. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  873. t1.Instantiation$1(f);
  874. return t1;
  875. },
  876. unminifyOrTag(rawClassName) {
  877. var preserved = init.mangledGlobalNames[rawClassName];
  878. if (preserved != null)
  879. return preserved;
  880. return rawClassName;
  881. },
  882. isJsIndexable(object, record) {
  883. var result;
  884. if (record != null) {
  885. result = record.x;
  886. if (result != null)
  887. return result;
  888. }
  889. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  890. },
  891. S(value) {
  892. var result;
  893. if (typeof value == "string")
  894. return value;
  895. if (typeof value == "number") {
  896. if (value !== 0)
  897. return "" + value;
  898. } else if (true === value)
  899. return "true";
  900. else if (false === value)
  901. return "false";
  902. else if (value == null)
  903. return "null";
  904. result = J.toString$0$(value);
  905. return result;
  906. },
  907. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  908. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  909. },
  910. Primitives_objectHashCode(object) {
  911. var hash,
  912. property = $.Primitives__identityHashCodeProperty;
  913. if (property == null)
  914. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  915. hash = object[property];
  916. if (hash == null) {
  917. hash = Math.random() * 0x3fffffff | 0;
  918. object[property] = hash;
  919. }
  920. return hash;
  921. },
  922. Primitives_parseInt(source, radix) {
  923. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  924. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  925. if (match == null)
  926. return _null;
  927. decimalMatch = match[3];
  928. if (radix == null) {
  929. if (decimalMatch != null)
  930. return parseInt(source, 10);
  931. if (match[2] != null)
  932. return parseInt(source, 16);
  933. return _null;
  934. }
  935. if (radix < 2 || radix > 36)
  936. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  937. if (radix === 10 && decimalMatch != null)
  938. return parseInt(source, 10);
  939. if (radix < 10 || decimalMatch == null) {
  940. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  941. digitsPart = match[1];
  942. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  943. if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
  944. return _null;
  945. }
  946. return parseInt(source, radix);
  947. },
  948. Primitives_parseDouble(source) {
  949. var result, trimmed;
  950. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  951. return null;
  952. result = parseFloat(source);
  953. if (isNaN(result)) {
  954. trimmed = B.JSString_methods.trim$0(source);
  955. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  956. return result;
  957. return null;
  958. }
  959. return result;
  960. },
  961. Primitives_objectTypeName(object) {
  962. return A.Primitives__objectTypeNameNewRti(object);
  963. },
  964. Primitives__objectTypeNameNewRti(object) {
  965. var interceptor, dispatchName, $constructor, constructorName;
  966. if (object instanceof A.Object)
  967. return A._rtiToString(A.instanceType(object), null);
  968. interceptor = J.getInterceptor$(object);
  969. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  970. dispatchName = B.C_JS_CONST(object);
  971. if (dispatchName !== "Object" && dispatchName !== "")
  972. return dispatchName;
  973. $constructor = object.constructor;
  974. if (typeof $constructor == "function") {
  975. constructorName = $constructor.name;
  976. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  977. return constructorName;
  978. }
  979. }
  980. return A._rtiToString(A.instanceType(object), null);
  981. },
  982. Primitives_currentUri() {
  983. if (!!self.location)
  984. return self.location.href;
  985. return null;
  986. },
  987. Primitives__fromCharCodeApply(array) {
  988. var result, i, i0, chunkEnd,
  989. end = array.length;
  990. if (end <= 500)
  991. return String.fromCharCode.apply(null, array);
  992. for (result = "", i = 0; i < end; i = i0) {
  993. i0 = i + 500;
  994. chunkEnd = i0 < end ? i0 : end;
  995. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  996. }
  997. return result;
  998. },
  999. Primitives_stringFromCodePoints(codePoints) {
  1000. var t1, _i, i,
  1001. a = A._setArrayType([], type$.JSArray_int);
  1002. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1003. i = codePoints[_i];
  1004. if (!A._isInt(i))
  1005. throw A.wrapException(A.argumentErrorValue(i));
  1006. if (i <= 65535)
  1007. a.push(i);
  1008. else if (i <= 1114111) {
  1009. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1010. a.push(56320 + (i & 1023));
  1011. } else
  1012. throw A.wrapException(A.argumentErrorValue(i));
  1013. }
  1014. return A.Primitives__fromCharCodeApply(a);
  1015. },
  1016. Primitives_stringFromCharCodes(charCodes) {
  1017. var t1, _i, i;
  1018. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1019. i = charCodes[_i];
  1020. if (!A._isInt(i))
  1021. throw A.wrapException(A.argumentErrorValue(i));
  1022. if (i < 0)
  1023. throw A.wrapException(A.argumentErrorValue(i));
  1024. if (i > 65535)
  1025. return A.Primitives_stringFromCodePoints(charCodes);
  1026. }
  1027. return A.Primitives__fromCharCodeApply(charCodes);
  1028. },
  1029. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1030. var i, result, i0, chunkEnd;
  1031. if (end <= 500 && start === 0 && end === charCodes.length)
  1032. return String.fromCharCode.apply(null, charCodes);
  1033. for (i = start, result = ""; i < end; i = i0) {
  1034. i0 = i + 500;
  1035. chunkEnd = i0 < end ? i0 : end;
  1036. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1037. }
  1038. return result;
  1039. },
  1040. Primitives_stringFromCharCode(charCode) {
  1041. var bits;
  1042. if (0 <= charCode) {
  1043. if (charCode <= 65535)
  1044. return String.fromCharCode(charCode);
  1045. if (charCode <= 1114111) {
  1046. bits = charCode - 65536;
  1047. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1048. }
  1049. }
  1050. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1051. },
  1052. Primitives_lazyAsJsDate(receiver) {
  1053. if (receiver.date === void 0)
  1054. receiver.date = new Date(receiver._value);
  1055. return receiver.date;
  1056. },
  1057. Primitives_getYear(receiver) {
  1058. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1059. return t1;
  1060. },
  1061. Primitives_getMonth(receiver) {
  1062. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1063. return t1;
  1064. },
  1065. Primitives_getDay(receiver) {
  1066. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1067. return t1;
  1068. },
  1069. Primitives_getHours(receiver) {
  1070. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1071. return t1;
  1072. },
  1073. Primitives_getMinutes(receiver) {
  1074. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1075. return t1;
  1076. },
  1077. Primitives_getSeconds(receiver) {
  1078. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1079. return t1;
  1080. },
  1081. Primitives_getMilliseconds(receiver) {
  1082. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  1083. return t1;
  1084. },
  1085. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  1086. var $arguments, namedArgumentList, t1 = {};
  1087. t1.argumentCount = 0;
  1088. $arguments = [];
  1089. namedArgumentList = [];
  1090. t1.argumentCount = positionalArguments.length;
  1091. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  1092. t1.names = "";
  1093. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1094. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  1095. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  1096. },
  1097. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  1098. var t1, argumentCount, jsStub;
  1099. if (Array.isArray(positionalArguments))
  1100. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  1101. else
  1102. t1 = false;
  1103. if (t1) {
  1104. argumentCount = positionalArguments.length;
  1105. if (argumentCount === 0) {
  1106. if (!!$function.call$0)
  1107. return $function.call$0();
  1108. } else if (argumentCount === 1) {
  1109. if (!!$function.call$1)
  1110. return $function.call$1(positionalArguments[0]);
  1111. } else if (argumentCount === 2) {
  1112. if (!!$function.call$2)
  1113. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  1114. } else if (argumentCount === 3) {
  1115. if (!!$function.call$3)
  1116. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  1117. } else if (argumentCount === 4) {
  1118. if (!!$function.call$4)
  1119. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  1120. } else if (argumentCount === 5)
  1121. if (!!$function.call$5)
  1122. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  1123. jsStub = $function["call" + "$" + argumentCount];
  1124. if (jsStub != null)
  1125. return jsStub.apply($function, positionalArguments);
  1126. }
  1127. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  1128. },
  1129. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  1130. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  1131. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  1132. argumentCount = $arguments.length,
  1133. requiredParameterCount = $function.$requiredArgCount;
  1134. if (argumentCount < requiredParameterCount)
  1135. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1136. defaultValuesClosure = $function.$defaultValues;
  1137. t1 = defaultValuesClosure == null;
  1138. defaultValues = !t1 ? defaultValuesClosure() : null;
  1139. interceptor = J.getInterceptor$($function);
  1140. jsFunction = interceptor["call*"];
  1141. if (typeof jsFunction == "string")
  1142. jsFunction = interceptor[jsFunction];
  1143. if (t1) {
  1144. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1145. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1146. if (argumentCount === requiredParameterCount)
  1147. return jsFunction.apply($function, $arguments);
  1148. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1149. }
  1150. if (Array.isArray(defaultValues)) {
  1151. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1152. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1153. maxArguments = requiredParameterCount + defaultValues.length;
  1154. if (argumentCount > maxArguments)
  1155. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  1156. if (argumentCount < maxArguments) {
  1157. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  1158. if ($arguments === positionalArguments)
  1159. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1160. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  1161. }
  1162. return jsFunction.apply($function, $arguments);
  1163. } else {
  1164. if (argumentCount > requiredParameterCount)
  1165. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1166. if ($arguments === positionalArguments)
  1167. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1168. keys = Object.keys(defaultValues);
  1169. if (namedArguments == null)
  1170. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1171. defaultValue = defaultValues[keys[_i]];
  1172. if (B.C__Required === defaultValue)
  1173. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1174. B.JSArray_methods.add$1($arguments, defaultValue);
  1175. }
  1176. else {
  1177. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1178. t2 = keys[_i];
  1179. if (namedArguments.containsKey$1(t2)) {
  1180. ++used;
  1181. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  1182. } else {
  1183. defaultValue = defaultValues[t2];
  1184. if (B.C__Required === defaultValue)
  1185. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1186. B.JSArray_methods.add$1($arguments, defaultValue);
  1187. }
  1188. }
  1189. if (used !== namedArguments.__js_helper$_length)
  1190. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1191. }
  1192. return jsFunction.apply($function, $arguments);
  1193. }
  1194. },
  1195. diagnoseIndexError(indexable, index) {
  1196. var $length, _s5_ = "index";
  1197. if (!A._isInt(index))
  1198. return new A.ArgumentError(true, index, _s5_, null);
  1199. $length = J.get$length$asx(indexable);
  1200. if (index < 0 || index >= $length)
  1201. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  1202. return A.RangeError$value(index, _s5_, null);
  1203. },
  1204. diagnoseRangeError(start, end, $length) {
  1205. if (start < 0 || start > $length)
  1206. return A.RangeError$range(start, 0, $length, "start", null);
  1207. if (end != null)
  1208. if (end < start || end > $length)
  1209. return A.RangeError$range(end, start, $length, "end", null);
  1210. return new A.ArgumentError(true, end, "end", null);
  1211. },
  1212. argumentErrorValue(object) {
  1213. return new A.ArgumentError(true, object, null, null);
  1214. },
  1215. checkNum(value) {
  1216. return value;
  1217. },
  1218. wrapException(ex) {
  1219. var wrapper, t1;
  1220. if (ex == null)
  1221. ex = new A.NullThrownError();
  1222. wrapper = new Error();
  1223. wrapper.dartException = ex;
  1224. t1 = A.toStringWrapper;
  1225. if ("defineProperty" in Object) {
  1226. Object.defineProperty(wrapper, "message", {get: t1});
  1227. wrapper.name = "";
  1228. } else
  1229. wrapper.toString = t1;
  1230. return wrapper;
  1231. },
  1232. toStringWrapper() {
  1233. return J.toString$0$(this.dartException);
  1234. },
  1235. throwExpression(ex) {
  1236. throw A.wrapException(ex);
  1237. },
  1238. throwConcurrentModificationError(collection) {
  1239. throw A.wrapException(A.ConcurrentModificationError$(collection));
  1240. },
  1241. TypeErrorDecoder_extractPattern(message) {
  1242. var match, $arguments, argumentsExpr, expr, method, receiver;
  1243. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  1244. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  1245. if (match == null)
  1246. match = A._setArrayType([], type$.JSArray_String);
  1247. $arguments = match.indexOf("\\$arguments\\$");
  1248. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  1249. expr = match.indexOf("\\$expr\\$");
  1250. method = match.indexOf("\\$method\\$");
  1251. receiver = match.indexOf("\\$receiver\\$");
  1252. 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);
  1253. },
  1254. TypeErrorDecoder_provokeCallErrorOn(expression) {
  1255. return function($expr$) {
  1256. var $argumentsExpr$ = "$arguments$";
  1257. try {
  1258. $expr$.$method$($argumentsExpr$);
  1259. } catch (e) {
  1260. return e.message;
  1261. }
  1262. }(expression);
  1263. },
  1264. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  1265. return function($expr$) {
  1266. try {
  1267. $expr$.$method$;
  1268. } catch (e) {
  1269. return e.message;
  1270. }
  1271. }(expression);
  1272. },
  1273. JsNoSuchMethodError$(_message, match) {
  1274. var t1 = match == null,
  1275. t2 = t1 ? null : match.method;
  1276. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  1277. },
  1278. unwrapException(ex) {
  1279. if (ex == null)
  1280. return new A.NullThrownFromJavaScriptException(ex);
  1281. if (ex instanceof A.ExceptionAndStackTrace)
  1282. return A.saveStackTrace(ex, ex.dartException);
  1283. if (typeof ex !== "object")
  1284. return ex;
  1285. if ("dartException" in ex)
  1286. return A.saveStackTrace(ex, ex.dartException);
  1287. return A._unwrapNonDartException(ex);
  1288. },
  1289. saveStackTrace(ex, error) {
  1290. if (type$.Error._is(error))
  1291. if (error.$thrownJsError == null)
  1292. error.$thrownJsError = ex;
  1293. return error;
  1294. },
  1295. _unwrapNonDartException(ex) {
  1296. var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
  1297. if (!("message" in ex))
  1298. return ex;
  1299. message = ex.message;
  1300. if ("number" in ex && typeof ex.number == "number") {
  1301. number = ex.number;
  1302. ieErrorCode = number & 65535;
  1303. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  1304. switch (ieErrorCode) {
  1305. case 438:
  1306. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
  1307. case 445:
  1308. case 5007:
  1309. t1 = A.S(message);
  1310. return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null));
  1311. }
  1312. }
  1313. if (ex instanceof TypeError) {
  1314. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  1315. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  1316. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  1317. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  1318. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  1319. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  1320. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  1321. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  1322. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  1323. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  1324. match = nsme.matchTypeError$1(message);
  1325. if (match != null)
  1326. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1327. else {
  1328. match = notClosure.matchTypeError$1(message);
  1329. if (match != null) {
  1330. match.method = "call";
  1331. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1332. } else {
  1333. match = nullCall.matchTypeError$1(message);
  1334. if (match == null) {
  1335. match = nullLiteralCall.matchTypeError$1(message);
  1336. if (match == null) {
  1337. match = undefCall.matchTypeError$1(message);
  1338. if (match == null) {
  1339. match = undefLiteralCall.matchTypeError$1(message);
  1340. if (match == null) {
  1341. match = nullProperty.matchTypeError$1(message);
  1342. if (match == null) {
  1343. match = nullLiteralCall.matchTypeError$1(message);
  1344. if (match == null) {
  1345. match = undefProperty.matchTypeError$1(message);
  1346. if (match == null) {
  1347. match = undefLiteralProperty.matchTypeError$1(message);
  1348. t1 = match != null;
  1349. } else
  1350. t1 = true;
  1351. } else
  1352. t1 = true;
  1353. } else
  1354. t1 = true;
  1355. } else
  1356. t1 = true;
  1357. } else
  1358. t1 = true;
  1359. } else
  1360. t1 = true;
  1361. } else
  1362. t1 = true;
  1363. if (t1)
  1364. return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
  1365. }
  1366. }
  1367. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  1368. }
  1369. if (ex instanceof RangeError) {
  1370. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  1371. return new A.StackOverflowError();
  1372. message = function(ex) {
  1373. try {
  1374. return String(ex);
  1375. } catch (e) {
  1376. }
  1377. return null;
  1378. }(ex);
  1379. return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  1380. }
  1381. if (typeof InternalError == "function" && ex instanceof InternalError)
  1382. if (typeof message == "string" && message === "too much recursion")
  1383. return new A.StackOverflowError();
  1384. return ex;
  1385. },
  1386. getTraceFromException(exception) {
  1387. var trace;
  1388. if (exception instanceof A.ExceptionAndStackTrace)
  1389. return exception.stackTrace;
  1390. if (exception == null)
  1391. return new A._StackTrace(exception);
  1392. trace = exception.$cachedTrace;
  1393. if (trace != null)
  1394. return trace;
  1395. return exception.$cachedTrace = new A._StackTrace(exception);
  1396. },
  1397. objectHashCode(object) {
  1398. if (object == null || typeof object != "object")
  1399. return J.get$hashCode$(object);
  1400. else
  1401. return A.Primitives_objectHashCode(object);
  1402. },
  1403. fillLiteralMap(keyValuePairs, result) {
  1404. var index, index0, index1,
  1405. $length = keyValuePairs.length;
  1406. for (index = 0; index < $length; index = index1) {
  1407. index0 = index + 1;
  1408. index1 = index0 + 1;
  1409. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  1410. }
  1411. return result;
  1412. },
  1413. fillLiteralSet(values, result) {
  1414. var index,
  1415. $length = values.length;
  1416. for (index = 0; index < $length; ++index)
  1417. result.add$1(0, values[index]);
  1418. return result;
  1419. },
  1420. invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  1421. switch (numberOfArguments) {
  1422. case 0:
  1423. return closure.call$0();
  1424. case 1:
  1425. return closure.call$1(arg1);
  1426. case 2:
  1427. return closure.call$2(arg1, arg2);
  1428. case 3:
  1429. return closure.call$3(arg1, arg2, arg3);
  1430. case 4:
  1431. return closure.call$4(arg1, arg2, arg3, arg4);
  1432. }
  1433. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  1434. },
  1435. convertDartClosureToJS(closure, arity) {
  1436. var $function;
  1437. if (closure == null)
  1438. return null;
  1439. $function = closure.$identity;
  1440. if (!!$function)
  1441. return $function;
  1442. $function = function(closure, arity, invoke) {
  1443. return function(a1, a2, a3, a4) {
  1444. return invoke(closure, arity, a1, a2, a3, a4);
  1445. };
  1446. }(closure, arity, A.invokeClosure);
  1447. closure.$identity = $function;
  1448. return $function;
  1449. },
  1450. Closure_fromTearOff(parameters) {
  1451. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  1452. container = parameters.co,
  1453. isStatic = parameters.iS,
  1454. isIntercepted = parameters.iI,
  1455. needsDirectAccess = parameters.nDA,
  1456. applyTrampolineIndex = parameters.aI,
  1457. funsOrNames = parameters.fs,
  1458. callNames = parameters.cs,
  1459. $name = funsOrNames[0],
  1460. callName = callNames[0],
  1461. $function = container[$name],
  1462. t1 = parameters.fT;
  1463. t1.toString;
  1464. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  1465. $prototype.$initialize = $prototype.constructor;
  1466. if (isStatic)
  1467. $constructor = function static_tear_off() {
  1468. this.$initialize();
  1469. };
  1470. else
  1471. $constructor = function tear_off(a, b) {
  1472. this.$initialize(a, b);
  1473. };
  1474. $prototype.constructor = $constructor;
  1475. $constructor.prototype = $prototype;
  1476. $prototype.$_name = $name;
  1477. $prototype.$_target = $function;
  1478. t2 = !isStatic;
  1479. if (t2)
  1480. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  1481. else {
  1482. $prototype.$static_name = $name;
  1483. trampoline = $function;
  1484. }
  1485. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  1486. $prototype[callName] = trampoline;
  1487. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  1488. stub = funsOrNames[i];
  1489. if (typeof stub == "string") {
  1490. stub0 = container[stub];
  1491. stubName = stub;
  1492. stub = stub0;
  1493. } else
  1494. stubName = "";
  1495. stubCallName = callNames[i];
  1496. if (stubCallName != null) {
  1497. if (t2)
  1498. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  1499. $prototype[stubCallName] = stub;
  1500. }
  1501. if (i === applyTrampolineIndex)
  1502. applyTrampoline = stub;
  1503. }
  1504. $prototype["call*"] = applyTrampoline;
  1505. $prototype.$requiredArgCount = parameters.rC;
  1506. $prototype.$defaultValues = parameters.dV;
  1507. return $constructor;
  1508. },
  1509. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  1510. if (typeof functionType == "number")
  1511. return functionType;
  1512. if (typeof functionType == "string") {
  1513. if (isStatic)
  1514. throw A.wrapException("Cannot compute signature for static tearoff.");
  1515. return function(recipe, evalOnReceiver) {
  1516. return function() {
  1517. return evalOnReceiver(this, recipe);
  1518. };
  1519. }(functionType, A.BoundClosure_evalRecipe);
  1520. }
  1521. throw A.wrapException("Error in functionType of tearoff");
  1522. },
  1523. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  1524. var getReceiver = A.BoundClosure_receiverOf;
  1525. switch (needsDirectAccess ? -1 : arity) {
  1526. case 0:
  1527. return function(entry, receiverOf) {
  1528. return function() {
  1529. return receiverOf(this)[entry]();
  1530. };
  1531. }(stubName, getReceiver);
  1532. case 1:
  1533. return function(entry, receiverOf) {
  1534. return function(a) {
  1535. return receiverOf(this)[entry](a);
  1536. };
  1537. }(stubName, getReceiver);
  1538. case 2:
  1539. return function(entry, receiverOf) {
  1540. return function(a, b) {
  1541. return receiverOf(this)[entry](a, b);
  1542. };
  1543. }(stubName, getReceiver);
  1544. case 3:
  1545. return function(entry, receiverOf) {
  1546. return function(a, b, c) {
  1547. return receiverOf(this)[entry](a, b, c);
  1548. };
  1549. }(stubName, getReceiver);
  1550. case 4:
  1551. return function(entry, receiverOf) {
  1552. return function(a, b, c, d) {
  1553. return receiverOf(this)[entry](a, b, c, d);
  1554. };
  1555. }(stubName, getReceiver);
  1556. case 5:
  1557. return function(entry, receiverOf) {
  1558. return function(a, b, c, d, e) {
  1559. return receiverOf(this)[entry](a, b, c, d, e);
  1560. };
  1561. }(stubName, getReceiver);
  1562. default:
  1563. return function(f, receiverOf) {
  1564. return function() {
  1565. return f.apply(receiverOf(this), arguments);
  1566. };
  1567. }($function, getReceiver);
  1568. }
  1569. },
  1570. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  1571. var arity, t1;
  1572. if (isIntercepted)
  1573. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  1574. arity = $function.length;
  1575. t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
  1576. return t1;
  1577. },
  1578. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  1579. var getReceiver = A.BoundClosure_receiverOf,
  1580. getInterceptor = A.BoundClosure_interceptorOf;
  1581. switch (needsDirectAccess ? -1 : arity) {
  1582. case 0:
  1583. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  1584. case 1:
  1585. return function(entry, interceptorOf, receiverOf) {
  1586. return function() {
  1587. return interceptorOf(this)[entry](receiverOf(this));
  1588. };
  1589. }(stubName, getInterceptor, getReceiver);
  1590. case 2:
  1591. return function(entry, interceptorOf, receiverOf) {
  1592. return function(a) {
  1593. return interceptorOf(this)[entry](receiverOf(this), a);
  1594. };
  1595. }(stubName, getInterceptor, getReceiver);
  1596. case 3:
  1597. return function(entry, interceptorOf, receiverOf) {
  1598. return function(a, b) {
  1599. return interceptorOf(this)[entry](receiverOf(this), a, b);
  1600. };
  1601. }(stubName, getInterceptor, getReceiver);
  1602. case 4:
  1603. return function(entry, interceptorOf, receiverOf) {
  1604. return function(a, b, c) {
  1605. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  1606. };
  1607. }(stubName, getInterceptor, getReceiver);
  1608. case 5:
  1609. return function(entry, interceptorOf, receiverOf) {
  1610. return function(a, b, c, d) {
  1611. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  1612. };
  1613. }(stubName, getInterceptor, getReceiver);
  1614. case 6:
  1615. return function(entry, interceptorOf, receiverOf) {
  1616. return function(a, b, c, d, e) {
  1617. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  1618. };
  1619. }(stubName, getInterceptor, getReceiver);
  1620. default:
  1621. return function(f, interceptorOf, receiverOf) {
  1622. return function() {
  1623. var a = [receiverOf(this)];
  1624. Array.prototype.push.apply(a, arguments);
  1625. return f.apply(interceptorOf(this), a);
  1626. };
  1627. }($function, getInterceptor, getReceiver);
  1628. }
  1629. },
  1630. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  1631. var arity, t1;
  1632. if ($.BoundClosure__interceptorFieldNameCache == null)
  1633. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  1634. if ($.BoundClosure__receiverFieldNameCache == null)
  1635. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  1636. arity = $function.length;
  1637. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  1638. return t1;
  1639. },
  1640. closureFromTearOff(parameters) {
  1641. return A.Closure_fromTearOff(parameters);
  1642. },
  1643. BoundClosure_evalRecipe(closure, recipe) {
  1644. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  1645. },
  1646. BoundClosure_receiverOf(closure) {
  1647. return closure._receiver;
  1648. },
  1649. BoundClosure_interceptorOf(closure) {
  1650. return closure._interceptor;
  1651. },
  1652. BoundClosure__computeFieldNamed(fieldName) {
  1653. var t1, i, $name,
  1654. template = new A.BoundClosure("receiver", "interceptor"),
  1655. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  1656. for (t1 = names.length, i = 0; i < t1; ++i) {
  1657. $name = names[i];
  1658. if (template[$name] === fieldName)
  1659. return $name;
  1660. }
  1661. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  1662. },
  1663. throwCyclicInit(staticName) {
  1664. throw A.wrapException(new A.CyclicInitializationError(staticName));
  1665. },
  1666. getIsolateAffinityTag($name) {
  1667. return init.getIsolateTag($name);
  1668. },
  1669. LinkedHashMapKeyIterator$(_map, _modifications) {
  1670. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  1671. t1._cell = _map._first;
  1672. return t1;
  1673. },
  1674. defineProperty(obj, property, value) {
  1675. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  1676. },
  1677. lookupAndCacheInterceptor(obj) {
  1678. var interceptor, interceptorClass, altTag, mark, t1,
  1679. tag = $.getTagFunction.call$1(obj),
  1680. record = $.dispatchRecordsForInstanceTags[tag];
  1681. if (record != null) {
  1682. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1683. return record.i;
  1684. }
  1685. interceptor = $.interceptorsForUncacheableTags[tag];
  1686. if (interceptor != null)
  1687. return interceptor;
  1688. interceptorClass = init.interceptorsByTag[tag];
  1689. if (interceptorClass == null) {
  1690. altTag = $.alternateTagFunction.call$2(obj, tag);
  1691. if (altTag != null) {
  1692. record = $.dispatchRecordsForInstanceTags[altTag];
  1693. if (record != null) {
  1694. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1695. return record.i;
  1696. }
  1697. interceptor = $.interceptorsForUncacheableTags[altTag];
  1698. if (interceptor != null)
  1699. return interceptor;
  1700. interceptorClass = init.interceptorsByTag[altTag];
  1701. tag = altTag;
  1702. }
  1703. }
  1704. if (interceptorClass == null)
  1705. return null;
  1706. interceptor = interceptorClass.prototype;
  1707. mark = tag[0];
  1708. if (mark === "!") {
  1709. record = A.makeLeafDispatchRecord(interceptor);
  1710. $.dispatchRecordsForInstanceTags[tag] = record;
  1711. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1712. return record.i;
  1713. }
  1714. if (mark === "~") {
  1715. $.interceptorsForUncacheableTags[tag] = interceptor;
  1716. return interceptor;
  1717. }
  1718. if (mark === "-") {
  1719. t1 = A.makeLeafDispatchRecord(interceptor);
  1720. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1721. return t1.i;
  1722. }
  1723. if (mark === "+")
  1724. return A.patchInteriorProto(obj, interceptor);
  1725. if (mark === "*")
  1726. throw A.wrapException(A.UnimplementedError$(tag));
  1727. if (init.leafTags[tag] === true) {
  1728. t1 = A.makeLeafDispatchRecord(interceptor);
  1729. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1730. return t1.i;
  1731. } else
  1732. return A.patchInteriorProto(obj, interceptor);
  1733. },
  1734. patchInteriorProto(obj, interceptor) {
  1735. var proto = Object.getPrototypeOf(obj);
  1736. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  1737. return interceptor;
  1738. },
  1739. makeLeafDispatchRecord(interceptor) {
  1740. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  1741. },
  1742. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  1743. var interceptor = interceptorClass.prototype;
  1744. if (init.leafTags[tag] === true)
  1745. return A.makeLeafDispatchRecord(interceptor);
  1746. else
  1747. return J.makeDispatchRecord(interceptor, proto, null, null);
  1748. },
  1749. initNativeDispatch() {
  1750. if (true === $.initNativeDispatchFlag)
  1751. return;
  1752. $.initNativeDispatchFlag = true;
  1753. A.initNativeDispatchContinue();
  1754. },
  1755. initNativeDispatchContinue() {
  1756. var map, tags, fun, i, tag, proto, record, interceptorClass;
  1757. $.dispatchRecordsForInstanceTags = Object.create(null);
  1758. $.interceptorsForUncacheableTags = Object.create(null);
  1759. A.initHooks();
  1760. map = init.interceptorsByTag;
  1761. tags = Object.getOwnPropertyNames(map);
  1762. if (typeof window != "undefined") {
  1763. window;
  1764. fun = function() {
  1765. };
  1766. for (i = 0; i < tags.length; ++i) {
  1767. tag = tags[i];
  1768. proto = $.prototypeForTagFunction.call$1(tag);
  1769. if (proto != null) {
  1770. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  1771. if (record != null) {
  1772. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1773. fun.prototype = proto;
  1774. }
  1775. }
  1776. }
  1777. }
  1778. for (i = 0; i < tags.length; ++i) {
  1779. tag = tags[i];
  1780. if (/^[A-Za-z_]/.test(tag)) {
  1781. interceptorClass = map[tag];
  1782. map["!" + tag] = interceptorClass;
  1783. map["~" + tag] = interceptorClass;
  1784. map["-" + tag] = interceptorClass;
  1785. map["+" + tag] = interceptorClass;
  1786. map["*" + tag] = interceptorClass;
  1787. }
  1788. }
  1789. },
  1790. initHooks() {
  1791. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  1792. hooks = B.C_JS_CONST0();
  1793. 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)))))));
  1794. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  1795. transformers = dartNativeDispatchHooksTransformer;
  1796. if (typeof transformers == "function")
  1797. transformers = [transformers];
  1798. if (transformers.constructor == Array)
  1799. for (i = 0; i < transformers.length; ++i) {
  1800. transformer = transformers[i];
  1801. if (typeof transformer == "function")
  1802. hooks = transformer(hooks) || hooks;
  1803. }
  1804. }
  1805. getTag = hooks.getTag;
  1806. getUnknownTag = hooks.getUnknownTag;
  1807. prototypeForTag = hooks.prototypeForTag;
  1808. $.getTagFunction = new A.initHooks_closure(getTag);
  1809. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  1810. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  1811. },
  1812. applyHooksTransformer(transformer, hooks) {
  1813. return transformer(hooks) || hooks;
  1814. },
  1815. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  1816. var m = multiLine ? "m" : "",
  1817. i = caseSensitive ? "" : "i",
  1818. u = unicode ? "u" : "",
  1819. s = dotAll ? "s" : "",
  1820. g = global ? "g" : "",
  1821. regexp = function(source, modifiers) {
  1822. try {
  1823. return new RegExp(source, modifiers);
  1824. } catch (e) {
  1825. return e;
  1826. }
  1827. }(source, m + i + u + s + g);
  1828. if (regexp instanceof RegExp)
  1829. return regexp;
  1830. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  1831. },
  1832. stringContainsUnchecked(receiver, other, startIndex) {
  1833. var t1;
  1834. if (typeof other == "string")
  1835. return receiver.indexOf(other, startIndex) >= 0;
  1836. else if (other instanceof A.JSSyntaxRegExp) {
  1837. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  1838. return other._nativeRegExp.test(t1);
  1839. } else {
  1840. t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
  1841. return !t1.get$isEmpty(t1);
  1842. }
  1843. },
  1844. escapeReplacement(replacement) {
  1845. if (replacement.indexOf("$", 0) >= 0)
  1846. return replacement.replace(/\$/g, "$$$$");
  1847. return replacement;
  1848. },
  1849. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  1850. var match = regexp._execGlobal$2(receiver, startIndex);
  1851. if (match == null)
  1852. return receiver;
  1853. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
  1854. },
  1855. quoteStringForRegExp(string) {
  1856. if (/[[\]{}()*+?.\\^$|]/.test(string))
  1857. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  1858. return string;
  1859. },
  1860. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  1861. var nativeRegexp;
  1862. if (typeof pattern == "string")
  1863. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  1864. if (pattern instanceof A.JSSyntaxRegExp) {
  1865. nativeRegexp = pattern.get$_nativeGlobalVersion();
  1866. nativeRegexp.lastIndex = 0;
  1867. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  1868. }
  1869. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  1870. },
  1871. stringReplaceAllGeneral(receiver, pattern, replacement) {
  1872. var t1, startIndex, t2, match;
  1873. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  1874. match = t1.get$current(t1);
  1875. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  1876. startIndex = match.get$end(match);
  1877. }
  1878. t1 = t2 + receiver.substring(startIndex);
  1879. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1880. },
  1881. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  1882. var $length, t1, i, index;
  1883. if (pattern === "") {
  1884. if (receiver === "")
  1885. return replacement;
  1886. $length = receiver.length;
  1887. t1 = "" + replacement;
  1888. for (i = 0; i < $length; ++i)
  1889. t1 = t1 + receiver[i] + replacement;
  1890. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1891. }
  1892. index = receiver.indexOf(pattern, 0);
  1893. if (index < 0)
  1894. return receiver;
  1895. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  1896. return receiver.split(pattern).join(replacement);
  1897. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  1898. },
  1899. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  1900. var index, t1, matches, match;
  1901. if (typeof pattern == "string") {
  1902. index = receiver.indexOf(pattern, startIndex);
  1903. if (index < 0)
  1904. return receiver;
  1905. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  1906. }
  1907. if (pattern instanceof A.JSSyntaxRegExp)
  1908. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  1909. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  1910. matches = t1.get$iterator(t1);
  1911. if (!matches.moveNext$0())
  1912. return receiver;
  1913. match = matches.get$current(matches);
  1914. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  1915. },
  1916. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  1917. return receiver.substring(0, start) + replacement + receiver.substring(end);
  1918. },
  1919. ConstantMapView: function ConstantMapView(t0, t1) {
  1920. this._map = t0;
  1921. this.$ti = t1;
  1922. },
  1923. ConstantMap: function ConstantMap() {
  1924. },
  1925. ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
  1926. var _ = this;
  1927. _.__js_helper$_length = t0;
  1928. _._jsObject = t1;
  1929. _._keys = t2;
  1930. _.$ti = t3;
  1931. },
  1932. ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
  1933. this.$this = t0;
  1934. },
  1935. _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
  1936. this.__js_helper$_map = t0;
  1937. this.$ti = t1;
  1938. },
  1939. GeneralConstantMap: function GeneralConstantMap(t0, t1) {
  1940. this._jsData = t0;
  1941. this.$ti = t1;
  1942. },
  1943. GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) {
  1944. this.T = t0;
  1945. },
  1946. Instantiation: function Instantiation() {
  1947. },
  1948. Instantiation1: function Instantiation1(t0, t1) {
  1949. this._genericClosure = t0;
  1950. this.$ti = t1;
  1951. },
  1952. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  1953. var _ = this;
  1954. _.__js_helper$_memberName = t0;
  1955. _.__js_helper$_kind = t1;
  1956. _._arguments = t2;
  1957. _._namedArgumentNames = t3;
  1958. _._typeArgumentCount = t4;
  1959. },
  1960. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  1961. this._box_0 = t0;
  1962. this.namedArgumentList = t1;
  1963. this.$arguments = t2;
  1964. },
  1965. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  1966. var _ = this;
  1967. _._pattern = t0;
  1968. _._arguments = t1;
  1969. _._argumentsExpr = t2;
  1970. _._expr = t3;
  1971. _._method = t4;
  1972. _._receiver = t5;
  1973. },
  1974. NullError: function NullError(t0, t1) {
  1975. this.__js_helper$_message = t0;
  1976. this._method = t1;
  1977. },
  1978. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  1979. this.__js_helper$_message = t0;
  1980. this._method = t1;
  1981. this._receiver = t2;
  1982. },
  1983. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  1984. this.__js_helper$_message = t0;
  1985. },
  1986. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  1987. this._irritant = t0;
  1988. },
  1989. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  1990. this.dartException = t0;
  1991. this.stackTrace = t1;
  1992. },
  1993. _StackTrace: function _StackTrace(t0) {
  1994. this._exception = t0;
  1995. this._trace = null;
  1996. },
  1997. Closure: function Closure() {
  1998. },
  1999. Closure0Args: function Closure0Args() {
  2000. },
  2001. Closure2Args: function Closure2Args() {
  2002. },
  2003. TearOffClosure: function TearOffClosure() {
  2004. },
  2005. StaticClosure: function StaticClosure() {
  2006. },
  2007. BoundClosure: function BoundClosure(t0, t1) {
  2008. this._receiver = t0;
  2009. this._interceptor = t1;
  2010. },
  2011. RuntimeError: function RuntimeError(t0) {
  2012. this.message = t0;
  2013. },
  2014. _Required: function _Required() {
  2015. },
  2016. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  2017. var _ = this;
  2018. _.__js_helper$_length = 0;
  2019. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  2020. _._modifications = 0;
  2021. _.$ti = t0;
  2022. },
  2023. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  2024. this.$this = t0;
  2025. },
  2026. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  2027. this.$this = t0;
  2028. },
  2029. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  2030. var _ = this;
  2031. _.hashMapCellKey = t0;
  2032. _.hashMapCellValue = t1;
  2033. _._previous = _._next = null;
  2034. },
  2035. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  2036. this.__js_helper$_map = t0;
  2037. this.$ti = t1;
  2038. },
  2039. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  2040. var _ = this;
  2041. _.__js_helper$_map = t0;
  2042. _._modifications = t1;
  2043. _.__js_helper$_current = _._cell = null;
  2044. },
  2045. initHooks_closure: function initHooks_closure(t0) {
  2046. this.getTag = t0;
  2047. },
  2048. initHooks_closure0: function initHooks_closure0(t0) {
  2049. this.getUnknownTag = t0;
  2050. },
  2051. initHooks_closure1: function initHooks_closure1(t0) {
  2052. this.prototypeForTag = t0;
  2053. },
  2054. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  2055. var _ = this;
  2056. _.pattern = t0;
  2057. _._nativeRegExp = t1;
  2058. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  2059. },
  2060. _MatchImplementation: function _MatchImplementation(t0) {
  2061. this._match = t0;
  2062. },
  2063. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  2064. this._re = t0;
  2065. this._string = t1;
  2066. this._start = t2;
  2067. },
  2068. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  2069. var _ = this;
  2070. _._regExp = t0;
  2071. _._string = t1;
  2072. _._nextIndex = t2;
  2073. _.__js_helper$_current = null;
  2074. },
  2075. StringMatch: function StringMatch(t0, t1) {
  2076. this.start = t0;
  2077. this.pattern = t1;
  2078. },
  2079. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  2080. this._input = t0;
  2081. this._pattern = t1;
  2082. this.__js_helper$_index = t2;
  2083. },
  2084. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  2085. var _ = this;
  2086. _._input = t0;
  2087. _._pattern = t1;
  2088. _.__js_helper$_index = t2;
  2089. _.__js_helper$_current = null;
  2090. },
  2091. throwLateFieldADI(fieldName) {
  2092. return A.throwExpression(A.LateError$fieldADI(fieldName));
  2093. },
  2094. throwUnnamedLateFieldNI() {
  2095. return A.throwExpression(A.LateError$fieldNI(""));
  2096. },
  2097. throwUnnamedLateFieldAI() {
  2098. return A.throwExpression(A.LateError$fieldAI(""));
  2099. },
  2100. throwUnnamedLateFieldADI() {
  2101. return A.throwExpression(A.LateError$fieldADI(""));
  2102. },
  2103. _Cell$() {
  2104. var t1 = new A._Cell("");
  2105. return t1.__late_helper$_value = t1;
  2106. },
  2107. _Cell$named(_name) {
  2108. var t1 = new A._Cell(_name);
  2109. return t1.__late_helper$_value = t1;
  2110. },
  2111. _Cell: function _Cell(t0) {
  2112. this.__late_helper$_name = t0;
  2113. this.__late_helper$_value = null;
  2114. },
  2115. _ensureNativeList(list) {
  2116. return list;
  2117. },
  2118. NativeInt8List__create1(arg) {
  2119. return new Int8Array(arg);
  2120. },
  2121. _checkValidIndex(index, list, $length) {
  2122. if (index >>> 0 !== index || index >= $length)
  2123. throw A.wrapException(A.diagnoseIndexError(list, index));
  2124. },
  2125. _checkValidRange(start, end, $length) {
  2126. var t1;
  2127. if (!(start >>> 0 !== start))
  2128. if (end == null)
  2129. t1 = start > $length;
  2130. else
  2131. t1 = end >>> 0 !== end || start > end || end > $length;
  2132. else
  2133. t1 = true;
  2134. if (t1)
  2135. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  2136. if (end == null)
  2137. return $length;
  2138. return end;
  2139. },
  2140. NativeTypedData: function NativeTypedData() {
  2141. },
  2142. NativeTypedArray: function NativeTypedArray() {
  2143. },
  2144. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  2145. },
  2146. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  2147. },
  2148. NativeInt16List: function NativeInt16List() {
  2149. },
  2150. NativeInt32List: function NativeInt32List() {
  2151. },
  2152. NativeInt8List: function NativeInt8List() {
  2153. },
  2154. NativeUint16List: function NativeUint16List() {
  2155. },
  2156. NativeUint32List: function NativeUint32List() {
  2157. },
  2158. NativeUint8ClampedList: function NativeUint8ClampedList() {
  2159. },
  2160. NativeUint8List: function NativeUint8List() {
  2161. },
  2162. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  2163. },
  2164. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2165. },
  2166. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  2167. },
  2168. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2169. },
  2170. Rti__getQuestionFromStar(universe, rti) {
  2171. var question = rti._precomputed1;
  2172. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  2173. },
  2174. Rti__getFutureFromFutureOr(universe, rti) {
  2175. var future = rti._precomputed1;
  2176. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  2177. },
  2178. Rti__isUnionOfFunctionType(rti) {
  2179. var kind = rti._kind;
  2180. if (kind === 6 || kind === 7 || kind === 8)
  2181. return A.Rti__isUnionOfFunctionType(rti._primary);
  2182. return kind === 12 || kind === 13;
  2183. },
  2184. Rti__getCanonicalRecipe(rti) {
  2185. return rti._canonicalRecipe;
  2186. },
  2187. findType(recipe) {
  2188. return A._Universe_eval(init.typeUniverse, recipe, false);
  2189. },
  2190. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  2191. var t1, cache, key, probe, rti;
  2192. if (genericFunctionRti == null)
  2193. return null;
  2194. t1 = instantiationRti._rest;
  2195. cache = genericFunctionRti._bindCache;
  2196. if (cache == null)
  2197. cache = genericFunctionRti._bindCache = new Map();
  2198. key = instantiationRti._canonicalRecipe;
  2199. probe = cache.get(key);
  2200. if (probe != null)
  2201. return probe;
  2202. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  2203. cache.set(key, rti);
  2204. return rti;
  2205. },
  2206. _substitute(universe, rti, typeArguments, depth) {
  2207. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  2208. kind = rti._kind;
  2209. switch (kind) {
  2210. case 5:
  2211. case 1:
  2212. case 2:
  2213. case 3:
  2214. case 4:
  2215. return rti;
  2216. case 6:
  2217. baseType = rti._primary;
  2218. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2219. if (substitutedBaseType === baseType)
  2220. return rti;
  2221. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  2222. case 7:
  2223. baseType = rti._primary;
  2224. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2225. if (substitutedBaseType === baseType)
  2226. return rti;
  2227. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  2228. case 8:
  2229. baseType = rti._primary;
  2230. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2231. if (substitutedBaseType === baseType)
  2232. return rti;
  2233. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  2234. case 9:
  2235. interfaceTypeArguments = rti._rest;
  2236. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  2237. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  2238. return rti;
  2239. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  2240. case 10:
  2241. base = rti._primary;
  2242. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2243. $arguments = rti._rest;
  2244. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  2245. if (substitutedBase === base && substitutedArguments === $arguments)
  2246. return rti;
  2247. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  2248. case 12:
  2249. returnType = rti._primary;
  2250. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  2251. functionParameters = rti._rest;
  2252. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  2253. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  2254. return rti;
  2255. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  2256. case 13:
  2257. bounds = rti._rest;
  2258. depth += bounds.length;
  2259. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  2260. base = rti._primary;
  2261. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2262. if (substitutedBounds === bounds && substitutedBase === base)
  2263. return rti;
  2264. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  2265. case 14:
  2266. index = rti._primary;
  2267. if (index < depth)
  2268. return rti;
  2269. argument = typeArguments[index - depth];
  2270. if (argument == null)
  2271. return rti;
  2272. return argument;
  2273. default:
  2274. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  2275. }
  2276. },
  2277. _substituteArray(universe, rtiArray, typeArguments, depth) {
  2278. var changed, i, rti, substitutedRti,
  2279. $length = rtiArray.length,
  2280. result = A._Utils_newArrayOrEmpty($length);
  2281. for (changed = false, i = 0; i < $length; ++i) {
  2282. rti = rtiArray[i];
  2283. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2284. if (substitutedRti !== rti)
  2285. changed = true;
  2286. result[i] = substitutedRti;
  2287. }
  2288. return changed ? result : rtiArray;
  2289. },
  2290. _substituteNamed(universe, namedArray, typeArguments, depth) {
  2291. var changed, i, t1, t2, rti, substitutedRti,
  2292. $length = namedArray.length,
  2293. result = A._Utils_newArrayOrEmpty($length);
  2294. for (changed = false, i = 0; i < $length; i += 3) {
  2295. t1 = namedArray[i];
  2296. t2 = namedArray[i + 1];
  2297. rti = namedArray[i + 2];
  2298. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2299. if (substitutedRti !== rti)
  2300. changed = true;
  2301. result.splice(i, 3, t1, t2, substitutedRti);
  2302. }
  2303. return changed ? result : namedArray;
  2304. },
  2305. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  2306. var result,
  2307. requiredPositional = functionParameters._requiredPositional,
  2308. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  2309. optionalPositional = functionParameters._optionalPositional,
  2310. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  2311. named = functionParameters._named,
  2312. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  2313. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  2314. return functionParameters;
  2315. result = new A._FunctionParameters();
  2316. result._requiredPositional = substitutedRequiredPositional;
  2317. result._optionalPositional = substitutedOptionalPositional;
  2318. result._named = substitutedNamed;
  2319. return result;
  2320. },
  2321. _setArrayType(target, rti) {
  2322. target[init.arrayRti] = rti;
  2323. return target;
  2324. },
  2325. closureFunctionType(closure) {
  2326. var t1,
  2327. signature = closure.$signature;
  2328. if (signature != null) {
  2329. if (typeof signature == "number")
  2330. return A.getTypeFromTypesTable(signature);
  2331. t1 = closure.$signature();
  2332. return t1;
  2333. }
  2334. return null;
  2335. },
  2336. instanceOrFunctionType(object, testRti) {
  2337. var rti;
  2338. if (A.Rti__isUnionOfFunctionType(testRti))
  2339. if (object instanceof A.Closure) {
  2340. rti = A.closureFunctionType(object);
  2341. if (rti != null)
  2342. return rti;
  2343. }
  2344. return A.instanceType(object);
  2345. },
  2346. instanceType(object) {
  2347. var rti;
  2348. if (object instanceof A.Object) {
  2349. rti = object.$ti;
  2350. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2351. }
  2352. if (Array.isArray(object))
  2353. return A._arrayInstanceType(object);
  2354. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  2355. },
  2356. _arrayInstanceType(object) {
  2357. var rti = object[init.arrayRti],
  2358. defaultRti = type$.JSArray_dynamic;
  2359. if (rti == null)
  2360. return defaultRti;
  2361. if (rti.constructor !== defaultRti.constructor)
  2362. return defaultRti;
  2363. return rti;
  2364. },
  2365. _instanceType(object) {
  2366. var rti = object.$ti;
  2367. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2368. },
  2369. _instanceTypeFromConstructor(instance) {
  2370. var $constructor = instance.constructor,
  2371. probe = $constructor.$ccache;
  2372. if (probe != null)
  2373. return probe;
  2374. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  2375. },
  2376. _instanceTypeFromConstructorMiss(instance, $constructor) {
  2377. var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
  2378. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  2379. $constructor.$ccache = rti;
  2380. return rti;
  2381. },
  2382. getTypeFromTypesTable(index) {
  2383. var rti,
  2384. table = init.types,
  2385. type = table[index];
  2386. if (typeof type == "string") {
  2387. rti = A._Universe_eval(init.typeUniverse, type, false);
  2388. table[index] = rti;
  2389. return rti;
  2390. }
  2391. return type;
  2392. },
  2393. getRuntimeType(object) {
  2394. var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  2395. return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
  2396. },
  2397. createRuntimeType(rti) {
  2398. var s, starErasedRecipe, starErasedRti,
  2399. type = rti._cachedRuntimeType;
  2400. if (type != null)
  2401. return type;
  2402. s = rti._canonicalRecipe;
  2403. starErasedRecipe = s.replace(/\*/g, "");
  2404. if (starErasedRecipe === s)
  2405. return rti._cachedRuntimeType = new A._Type(rti);
  2406. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  2407. type = starErasedRti._cachedRuntimeType;
  2408. return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
  2409. },
  2410. typeLiteral(recipe) {
  2411. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  2412. },
  2413. _installSpecializedIsTest(object) {
  2414. var t1, unstarred, isFn, $name, testRti = this;
  2415. if (testRti === type$.Object)
  2416. return A._finishIsFn(testRti, object, A._isObject);
  2417. if (!A.isStrongTopType(testRti))
  2418. if (!(testRti === type$.legacy_Object))
  2419. t1 = false;
  2420. else
  2421. t1 = true;
  2422. else
  2423. t1 = true;
  2424. if (t1)
  2425. return A._finishIsFn(testRti, object, A._isTop);
  2426. t1 = testRti._kind;
  2427. unstarred = t1 === 6 ? testRti._primary : testRti;
  2428. if (unstarred === type$.int)
  2429. isFn = A._isInt;
  2430. else if (unstarred === type$.double || unstarred === type$.num)
  2431. isFn = A._isNum;
  2432. else if (unstarred === type$.String)
  2433. isFn = A._isString;
  2434. else
  2435. isFn = unstarred === type$.bool ? A._isBool : null;
  2436. if (isFn != null)
  2437. return A._finishIsFn(testRti, object, isFn);
  2438. if (unstarred._kind === 9) {
  2439. $name = unstarred._primary;
  2440. if (unstarred._rest.every(A.isTopType)) {
  2441. testRti._specializedTestResource = "$is" + $name;
  2442. if ($name === "List")
  2443. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  2444. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  2445. }
  2446. } else if (t1 === 7)
  2447. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  2448. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  2449. },
  2450. _finishIsFn(testRti, object, isFn) {
  2451. testRti._is = isFn;
  2452. return testRti._is(object);
  2453. },
  2454. _installSpecializedAsCheck(object) {
  2455. var t1, testRti = this,
  2456. asFn = A._generalAsCheckImplementation;
  2457. if (!A.isStrongTopType(testRti))
  2458. if (!(testRti === type$.legacy_Object))
  2459. t1 = false;
  2460. else
  2461. t1 = true;
  2462. else
  2463. t1 = true;
  2464. if (t1)
  2465. asFn = A._asTop;
  2466. else if (testRti === type$.Object)
  2467. asFn = A._asObject;
  2468. else {
  2469. t1 = A.isNullable(testRti);
  2470. if (t1)
  2471. asFn = A._generalNullableAsCheckImplementation;
  2472. }
  2473. testRti._as = asFn;
  2474. return testRti._as(object);
  2475. },
  2476. _nullIs(testRti) {
  2477. var t1,
  2478. kind = testRti._kind;
  2479. if (!A.isStrongTopType(testRti))
  2480. if (!(testRti === type$.legacy_Object))
  2481. if (!(testRti === type$.legacy_Never))
  2482. if (kind !== 7)
  2483. if (!(kind === 6 && A._nullIs(testRti._primary)))
  2484. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  2485. else
  2486. t1 = true;
  2487. else
  2488. t1 = true;
  2489. else
  2490. t1 = true;
  2491. else
  2492. t1 = true;
  2493. else
  2494. t1 = true;
  2495. return t1;
  2496. },
  2497. _generalIsTestImplementation(object) {
  2498. var testRti = this;
  2499. if (object == null)
  2500. return A._nullIs(testRti);
  2501. return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
  2502. },
  2503. _generalNullableIsTestImplementation(object) {
  2504. if (object == null)
  2505. return true;
  2506. return this._primary._is(object);
  2507. },
  2508. _isTestViaProperty(object) {
  2509. var tag, testRti = this;
  2510. if (object == null)
  2511. return A._nullIs(testRti);
  2512. tag = testRti._specializedTestResource;
  2513. if (object instanceof A.Object)
  2514. return !!object[tag];
  2515. return !!J.getInterceptor$(object)[tag];
  2516. },
  2517. _isListTestViaProperty(object) {
  2518. var tag, testRti = this;
  2519. if (object == null)
  2520. return A._nullIs(testRti);
  2521. if (typeof object != "object")
  2522. return false;
  2523. if (Array.isArray(object))
  2524. return true;
  2525. tag = testRti._specializedTestResource;
  2526. if (object instanceof A.Object)
  2527. return !!object[tag];
  2528. return !!J.getInterceptor$(object)[tag];
  2529. },
  2530. _generalAsCheckImplementation(object) {
  2531. var t1, testRti = this;
  2532. if (object == null) {
  2533. t1 = A.isNullable(testRti);
  2534. if (t1)
  2535. return object;
  2536. } else if (testRti._is(object))
  2537. return object;
  2538. A._failedAsCheck(object, testRti);
  2539. },
  2540. _generalNullableAsCheckImplementation(object) {
  2541. var testRti = this;
  2542. if (object == null)
  2543. return object;
  2544. else if (testRti._is(object))
  2545. return object;
  2546. A._failedAsCheck(object, testRti);
  2547. },
  2548. _failedAsCheck(object, testRti) {
  2549. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
  2550. },
  2551. _Error_compose(object, objectRti, checkedTypeDescription) {
  2552. var objectDescription = A.Error_safeToString(object);
  2553. return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  2554. },
  2555. _TypeError$fromMessage(message) {
  2556. return new A._TypeError("TypeError: " + message);
  2557. },
  2558. _TypeError__TypeError$forType(object, type) {
  2559. return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
  2560. },
  2561. _isObject(object) {
  2562. return object != null;
  2563. },
  2564. _asObject(object) {
  2565. if (object != null)
  2566. return object;
  2567. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  2568. },
  2569. _isTop(object) {
  2570. return true;
  2571. },
  2572. _asTop(object) {
  2573. return object;
  2574. },
  2575. _isBool(object) {
  2576. return true === object || false === object;
  2577. },
  2578. _asBool(object) {
  2579. if (true === object)
  2580. return true;
  2581. if (false === object)
  2582. return false;
  2583. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2584. },
  2585. _asBoolS(object) {
  2586. if (true === object)
  2587. return true;
  2588. if (false === object)
  2589. return false;
  2590. if (object == null)
  2591. return object;
  2592. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2593. },
  2594. _asBoolQ(object) {
  2595. if (true === object)
  2596. return true;
  2597. if (false === object)
  2598. return false;
  2599. if (object == null)
  2600. return object;
  2601. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  2602. },
  2603. _asDouble(object) {
  2604. if (typeof object == "number")
  2605. return object;
  2606. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2607. },
  2608. _asDoubleS(object) {
  2609. if (typeof object == "number")
  2610. return object;
  2611. if (object == null)
  2612. return object;
  2613. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2614. },
  2615. _asDoubleQ(object) {
  2616. if (typeof object == "number")
  2617. return object;
  2618. if (object == null)
  2619. return object;
  2620. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  2621. },
  2622. _isInt(object) {
  2623. return typeof object == "number" && Math.floor(object) === object;
  2624. },
  2625. _asInt(object) {
  2626. if (typeof object == "number" && Math.floor(object) === object)
  2627. return object;
  2628. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2629. },
  2630. _asIntS(object) {
  2631. if (typeof object == "number" && Math.floor(object) === object)
  2632. return object;
  2633. if (object == null)
  2634. return object;
  2635. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2636. },
  2637. _asIntQ(object) {
  2638. if (typeof object == "number" && Math.floor(object) === object)
  2639. return object;
  2640. if (object == null)
  2641. return object;
  2642. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  2643. },
  2644. _isNum(object) {
  2645. return typeof object == "number";
  2646. },
  2647. _asNum(object) {
  2648. if (typeof object == "number")
  2649. return object;
  2650. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2651. },
  2652. _asNumS(object) {
  2653. if (typeof object == "number")
  2654. return object;
  2655. if (object == null)
  2656. return object;
  2657. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2658. },
  2659. _asNumQ(object) {
  2660. if (typeof object == "number")
  2661. return object;
  2662. if (object == null)
  2663. return object;
  2664. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  2665. },
  2666. _isString(object) {
  2667. return typeof object == "string";
  2668. },
  2669. _asString(object) {
  2670. if (typeof object == "string")
  2671. return object;
  2672. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2673. },
  2674. _asStringS(object) {
  2675. if (typeof object == "string")
  2676. return object;
  2677. if (object == null)
  2678. return object;
  2679. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2680. },
  2681. _asStringQ(object) {
  2682. if (typeof object == "string")
  2683. return object;
  2684. if (object == null)
  2685. return object;
  2686. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  2687. },
  2688. _rtiArrayToString(array, genericContext) {
  2689. var s, sep, i;
  2690. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  2691. s += sep + A._rtiToString(array[i], genericContext);
  2692. return s;
  2693. },
  2694. _recordRtiToString(recordType, genericContext) {
  2695. var fieldCount, names, namesIndex, s, comma, i,
  2696. partialShape = recordType._primary,
  2697. fields = recordType._rest;
  2698. if ("" === partialShape)
  2699. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  2700. fieldCount = fields.length;
  2701. names = partialShape.split(",");
  2702. namesIndex = names.length - fieldCount;
  2703. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  2704. s += comma;
  2705. if (namesIndex === 0)
  2706. s += "{";
  2707. s += A._rtiToString(fields[i], genericContext);
  2708. if (namesIndex >= 0)
  2709. s += " " + names[namesIndex];
  2710. ++namesIndex;
  2711. }
  2712. return s + "})";
  2713. },
  2714. _functionRtiToString(functionType, genericContext, bounds) {
  2715. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  2716. if (bounds != null) {
  2717. boundsLength = bounds.length;
  2718. if (genericContext == null) {
  2719. genericContext = A._setArrayType([], type$.JSArray_String);
  2720. outerContextLength = null;
  2721. } else
  2722. outerContextLength = genericContext.length;
  2723. offset = genericContext.length;
  2724. for (i = boundsLength; i > 0; --i)
  2725. genericContext.push("T" + (offset + i));
  2726. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  2727. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  2728. boundRti = bounds[i];
  2729. kind = boundRti._kind;
  2730. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  2731. if (!(boundRti === t2))
  2732. t3 = false;
  2733. else
  2734. t3 = true;
  2735. else
  2736. t3 = true;
  2737. if (!t3)
  2738. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  2739. }
  2740. typeParametersText += ">";
  2741. } else {
  2742. typeParametersText = "";
  2743. outerContextLength = null;
  2744. }
  2745. t1 = functionType._primary;
  2746. parameters = functionType._rest;
  2747. requiredPositional = parameters._requiredPositional;
  2748. requiredPositionalLength = requiredPositional.length;
  2749. optionalPositional = parameters._optionalPositional;
  2750. optionalPositionalLength = optionalPositional.length;
  2751. named = parameters._named;
  2752. namedLength = named.length;
  2753. returnTypeText = A._rtiToString(t1, genericContext);
  2754. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  2755. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  2756. if (optionalPositionalLength > 0) {
  2757. argumentsText += sep + "[";
  2758. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  2759. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  2760. argumentsText += "]";
  2761. }
  2762. if (namedLength > 0) {
  2763. argumentsText += sep + "{";
  2764. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  2765. argumentsText += sep;
  2766. if (named[i + 1])
  2767. argumentsText += "required ";
  2768. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  2769. }
  2770. argumentsText += "}";
  2771. }
  2772. if (outerContextLength != null) {
  2773. genericContext.toString;
  2774. genericContext.length = outerContextLength;
  2775. }
  2776. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  2777. },
  2778. _rtiToString(rti, genericContext) {
  2779. var s, questionArgument, argumentKind, $name, $arguments, t1,
  2780. kind = rti._kind;
  2781. if (kind === 5)
  2782. return "erased";
  2783. if (kind === 2)
  2784. return "dynamic";
  2785. if (kind === 3)
  2786. return "void";
  2787. if (kind === 1)
  2788. return "Never";
  2789. if (kind === 4)
  2790. return "any";
  2791. if (kind === 6) {
  2792. s = A._rtiToString(rti._primary, genericContext);
  2793. return s;
  2794. }
  2795. if (kind === 7) {
  2796. questionArgument = rti._primary;
  2797. s = A._rtiToString(questionArgument, genericContext);
  2798. argumentKind = questionArgument._kind;
  2799. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  2800. }
  2801. if (kind === 8)
  2802. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  2803. if (kind === 9) {
  2804. $name = A._unminifyOrTag(rti._primary);
  2805. $arguments = rti._rest;
  2806. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  2807. }
  2808. if (kind === 11)
  2809. return A._recordRtiToString(rti, genericContext);
  2810. if (kind === 12)
  2811. return A._functionRtiToString(rti, genericContext, null);
  2812. if (kind === 13)
  2813. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  2814. if (kind === 14) {
  2815. t1 = rti._primary;
  2816. return genericContext[genericContext.length - 1 - t1];
  2817. }
  2818. return "?";
  2819. },
  2820. _unminifyOrTag(rawClassName) {
  2821. var preserved = init.mangledGlobalNames[rawClassName];
  2822. if (preserved != null)
  2823. return preserved;
  2824. return rawClassName;
  2825. },
  2826. _Universe_findRule(universe, targetType) {
  2827. var rule = universe.tR[targetType];
  2828. for (; typeof rule == "string";)
  2829. rule = universe.tR[rule];
  2830. return rule;
  2831. },
  2832. _Universe_findErasedType(universe, cls) {
  2833. var $length, erased, $arguments, i, $interface,
  2834. t1 = universe.eT,
  2835. probe = t1[cls];
  2836. if (probe == null)
  2837. return A._Universe_eval(universe, cls, false);
  2838. else if (typeof probe == "number") {
  2839. $length = probe;
  2840. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  2841. $arguments = A._Utils_newArrayOrEmpty($length);
  2842. for (i = 0; i < $length; ++i)
  2843. $arguments[i] = erased;
  2844. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  2845. t1[cls] = $interface;
  2846. return $interface;
  2847. } else
  2848. return probe;
  2849. },
  2850. _Universe_addRules(universe, rules) {
  2851. return A._Utils_objectAssign(universe.tR, rules);
  2852. },
  2853. _Universe_addErasedTypes(universe, types) {
  2854. return A._Utils_objectAssign(universe.eT, types);
  2855. },
  2856. _Universe_eval(universe, recipe, normalize) {
  2857. var rti,
  2858. t1 = universe.eC,
  2859. probe = t1.get(recipe);
  2860. if (probe != null)
  2861. return probe;
  2862. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  2863. t1.set(recipe, rti);
  2864. return rti;
  2865. },
  2866. _Universe_evalInEnvironment(universe, environment, recipe) {
  2867. var probe, rti,
  2868. cache = environment._evalCache;
  2869. if (cache == null)
  2870. cache = environment._evalCache = new Map();
  2871. probe = cache.get(recipe);
  2872. if (probe != null)
  2873. return probe;
  2874. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  2875. cache.set(recipe, rti);
  2876. return rti;
  2877. },
  2878. _Universe_bind(universe, environment, argumentsRti) {
  2879. var argumentsRecipe, probe, rti,
  2880. cache = environment._bindCache;
  2881. if (cache == null)
  2882. cache = environment._bindCache = new Map();
  2883. argumentsRecipe = argumentsRti._canonicalRecipe;
  2884. probe = cache.get(argumentsRecipe);
  2885. if (probe != null)
  2886. return probe;
  2887. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  2888. cache.set(argumentsRecipe, rti);
  2889. return rti;
  2890. },
  2891. _Universe__installTypeTests(universe, rti) {
  2892. rti._as = A._installSpecializedAsCheck;
  2893. rti._is = A._installSpecializedIsTest;
  2894. return rti;
  2895. },
  2896. _Universe__lookupTerminalRti(universe, kind, key) {
  2897. var rti, t1,
  2898. probe = universe.eC.get(key);
  2899. if (probe != null)
  2900. return probe;
  2901. rti = new A.Rti(null, null);
  2902. rti._kind = kind;
  2903. rti._canonicalRecipe = key;
  2904. t1 = A._Universe__installTypeTests(universe, rti);
  2905. universe.eC.set(key, t1);
  2906. return t1;
  2907. },
  2908. _Universe__lookupStarRti(universe, baseType, normalize) {
  2909. var t1,
  2910. key = baseType._canonicalRecipe + "*",
  2911. probe = universe.eC.get(key);
  2912. if (probe != null)
  2913. return probe;
  2914. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  2915. universe.eC.set(key, t1);
  2916. return t1;
  2917. },
  2918. _Universe__createStarRti(universe, baseType, key, normalize) {
  2919. var baseKind, t1, rti;
  2920. if (normalize) {
  2921. baseKind = baseType._kind;
  2922. if (!A.isStrongTopType(baseType))
  2923. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  2924. else
  2925. t1 = true;
  2926. if (t1)
  2927. return baseType;
  2928. }
  2929. rti = new A.Rti(null, null);
  2930. rti._kind = 6;
  2931. rti._primary = baseType;
  2932. rti._canonicalRecipe = key;
  2933. return A._Universe__installTypeTests(universe, rti);
  2934. },
  2935. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  2936. var t1,
  2937. key = baseType._canonicalRecipe + "?",
  2938. probe = universe.eC.get(key);
  2939. if (probe != null)
  2940. return probe;
  2941. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  2942. universe.eC.set(key, t1);
  2943. return t1;
  2944. },
  2945. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  2946. var baseKind, t1, starArgument, rti;
  2947. if (normalize) {
  2948. baseKind = baseType._kind;
  2949. if (!A.isStrongTopType(baseType))
  2950. if (!(baseType === type$.Null || baseType === type$.JSNull))
  2951. if (baseKind !== 7)
  2952. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  2953. else
  2954. t1 = true;
  2955. else
  2956. t1 = true;
  2957. else
  2958. t1 = true;
  2959. if (t1)
  2960. return baseType;
  2961. else if (baseKind === 1 || baseType === type$.legacy_Never)
  2962. return type$.Null;
  2963. else if (baseKind === 6) {
  2964. starArgument = baseType._primary;
  2965. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  2966. return starArgument;
  2967. else
  2968. return A.Rti__getQuestionFromStar(universe, baseType);
  2969. }
  2970. }
  2971. rti = new A.Rti(null, null);
  2972. rti._kind = 7;
  2973. rti._primary = baseType;
  2974. rti._canonicalRecipe = key;
  2975. return A._Universe__installTypeTests(universe, rti);
  2976. },
  2977. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  2978. var t1,
  2979. key = baseType._canonicalRecipe + "/",
  2980. probe = universe.eC.get(key);
  2981. if (probe != null)
  2982. return probe;
  2983. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  2984. universe.eC.set(key, t1);
  2985. return t1;
  2986. },
  2987. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  2988. var t1, t2, rti;
  2989. if (normalize) {
  2990. t1 = baseType._kind;
  2991. if (!A.isStrongTopType(baseType))
  2992. if (!(baseType === type$.legacy_Object))
  2993. t2 = false;
  2994. else
  2995. t2 = true;
  2996. else
  2997. t2 = true;
  2998. if (t2 || baseType === type$.Object)
  2999. return baseType;
  3000. else if (t1 === 1)
  3001. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  3002. else if (baseType === type$.Null || baseType === type$.JSNull)
  3003. return type$.nullable_Future_Null;
  3004. }
  3005. rti = new A.Rti(null, null);
  3006. rti._kind = 8;
  3007. rti._primary = baseType;
  3008. rti._canonicalRecipe = key;
  3009. return A._Universe__installTypeTests(universe, rti);
  3010. },
  3011. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  3012. var rti, t1,
  3013. key = "" + index + "^",
  3014. probe = universe.eC.get(key);
  3015. if (probe != null)
  3016. return probe;
  3017. rti = new A.Rti(null, null);
  3018. rti._kind = 14;
  3019. rti._primary = index;
  3020. rti._canonicalRecipe = key;
  3021. t1 = A._Universe__installTypeTests(universe, rti);
  3022. universe.eC.set(key, t1);
  3023. return t1;
  3024. },
  3025. _Universe__canonicalRecipeJoin($arguments) {
  3026. var s, sep, i,
  3027. $length = $arguments.length;
  3028. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  3029. s += sep + $arguments[i]._canonicalRecipe;
  3030. return s;
  3031. },
  3032. _Universe__canonicalRecipeJoinNamed($arguments) {
  3033. var s, sep, i, t1, nameSep,
  3034. $length = $arguments.length;
  3035. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  3036. t1 = $arguments[i];
  3037. nameSep = $arguments[i + 1] ? "!" : ":";
  3038. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  3039. }
  3040. return s;
  3041. },
  3042. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  3043. var probe, rti, t1,
  3044. s = $name;
  3045. if ($arguments.length > 0)
  3046. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  3047. probe = universe.eC.get(s);
  3048. if (probe != null)
  3049. return probe;
  3050. rti = new A.Rti(null, null);
  3051. rti._kind = 9;
  3052. rti._primary = $name;
  3053. rti._rest = $arguments;
  3054. if ($arguments.length > 0)
  3055. rti._precomputed1 = $arguments[0];
  3056. rti._canonicalRecipe = s;
  3057. t1 = A._Universe__installTypeTests(universe, rti);
  3058. universe.eC.set(s, t1);
  3059. return t1;
  3060. },
  3061. _Universe__lookupBindingRti(universe, base, $arguments) {
  3062. var newBase, newArguments, key, probe, rti, t1;
  3063. if (base._kind === 10) {
  3064. newBase = base._primary;
  3065. newArguments = base._rest.concat($arguments);
  3066. } else {
  3067. newArguments = $arguments;
  3068. newBase = base;
  3069. }
  3070. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  3071. probe = universe.eC.get(key);
  3072. if (probe != null)
  3073. return probe;
  3074. rti = new A.Rti(null, null);
  3075. rti._kind = 10;
  3076. rti._primary = newBase;
  3077. rti._rest = newArguments;
  3078. rti._canonicalRecipe = key;
  3079. t1 = A._Universe__installTypeTests(universe, rti);
  3080. universe.eC.set(key, t1);
  3081. return t1;
  3082. },
  3083. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  3084. var rti, t1,
  3085. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  3086. probe = universe.eC.get(key);
  3087. if (probe != null)
  3088. return probe;
  3089. rti = new A.Rti(null, null);
  3090. rti._kind = 11;
  3091. rti._primary = partialShapeTag;
  3092. rti._rest = fields;
  3093. rti._canonicalRecipe = key;
  3094. t1 = A._Universe__installTypeTests(universe, rti);
  3095. universe.eC.set(key, t1);
  3096. return t1;
  3097. },
  3098. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  3099. var sep, key, probe, rti, t1,
  3100. s = returnType._canonicalRecipe,
  3101. requiredPositional = parameters._requiredPositional,
  3102. requiredPositionalLength = requiredPositional.length,
  3103. optionalPositional = parameters._optionalPositional,
  3104. optionalPositionalLength = optionalPositional.length,
  3105. named = parameters._named,
  3106. namedLength = named.length,
  3107. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  3108. if (optionalPositionalLength > 0) {
  3109. sep = requiredPositionalLength > 0 ? "," : "";
  3110. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  3111. }
  3112. if (namedLength > 0) {
  3113. sep = requiredPositionalLength > 0 ? "," : "";
  3114. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  3115. }
  3116. key = s + (recipe + ")");
  3117. probe = universe.eC.get(key);
  3118. if (probe != null)
  3119. return probe;
  3120. rti = new A.Rti(null, null);
  3121. rti._kind = 12;
  3122. rti._primary = returnType;
  3123. rti._rest = parameters;
  3124. rti._canonicalRecipe = key;
  3125. t1 = A._Universe__installTypeTests(universe, rti);
  3126. universe.eC.set(key, t1);
  3127. return t1;
  3128. },
  3129. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  3130. var t1,
  3131. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  3132. probe = universe.eC.get(key);
  3133. if (probe != null)
  3134. return probe;
  3135. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  3136. universe.eC.set(key, t1);
  3137. return t1;
  3138. },
  3139. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  3140. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  3141. if (normalize) {
  3142. $length = bounds.length;
  3143. typeArguments = A._Utils_newArrayOrEmpty($length);
  3144. for (count = 0, i = 0; i < $length; ++i) {
  3145. bound = bounds[i];
  3146. if (bound._kind === 1) {
  3147. typeArguments[i] = bound;
  3148. ++count;
  3149. }
  3150. }
  3151. if (count > 0) {
  3152. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  3153. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  3154. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  3155. }
  3156. }
  3157. rti = new A.Rti(null, null);
  3158. rti._kind = 13;
  3159. rti._primary = baseFunctionType;
  3160. rti._rest = bounds;
  3161. rti._canonicalRecipe = key;
  3162. return A._Universe__installTypeTests(universe, rti);
  3163. },
  3164. _Parser_create(universe, environment, recipe, normalize) {
  3165. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  3166. },
  3167. _Parser_parse(parser) {
  3168. var t2, i, ch, t3, array, head, base, end, item,
  3169. source = parser.r,
  3170. t1 = parser.s;
  3171. for (t2 = source.length, i = 0; i < t2;) {
  3172. ch = source.charCodeAt(i);
  3173. if (ch >= 48 && ch <= 57)
  3174. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  3175. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  3176. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  3177. else if (ch === 46)
  3178. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  3179. else {
  3180. ++i;
  3181. switch (ch) {
  3182. case 44:
  3183. break;
  3184. case 58:
  3185. t1.push(false);
  3186. break;
  3187. case 33:
  3188. t1.push(true);
  3189. break;
  3190. case 59:
  3191. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  3192. break;
  3193. case 94:
  3194. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  3195. break;
  3196. case 35:
  3197. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  3198. break;
  3199. case 64:
  3200. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  3201. break;
  3202. case 126:
  3203. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  3204. break;
  3205. case 60:
  3206. t1.push(parser.p);
  3207. parser.p = t1.length;
  3208. break;
  3209. case 62:
  3210. t3 = parser.u;
  3211. array = t1.splice(parser.p);
  3212. A._Parser_toTypes(parser.u, parser.e, array);
  3213. parser.p = t1.pop();
  3214. head = t1.pop();
  3215. if (typeof head == "string")
  3216. t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
  3217. else {
  3218. base = A._Parser_toType(t3, parser.e, head);
  3219. switch (base._kind) {
  3220. case 12:
  3221. t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
  3222. break;
  3223. default:
  3224. t1.push(A._Universe__lookupBindingRti(t3, base, array));
  3225. break;
  3226. }
  3227. }
  3228. break;
  3229. case 38:
  3230. A._Parser_handleExtendedOperations(parser, t1);
  3231. break;
  3232. case 42:
  3233. t3 = parser.u;
  3234. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3235. break;
  3236. case 63:
  3237. t3 = parser.u;
  3238. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3239. break;
  3240. case 47:
  3241. t3 = parser.u;
  3242. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3243. break;
  3244. case 40:
  3245. t1.push(-3);
  3246. t1.push(parser.p);
  3247. parser.p = t1.length;
  3248. break;
  3249. case 41:
  3250. A._Parser_handleArguments(parser, t1);
  3251. break;
  3252. case 91:
  3253. t1.push(parser.p);
  3254. parser.p = t1.length;
  3255. break;
  3256. case 93:
  3257. array = t1.splice(parser.p);
  3258. A._Parser_toTypes(parser.u, parser.e, array);
  3259. parser.p = t1.pop();
  3260. t1.push(array);
  3261. t1.push(-1);
  3262. break;
  3263. case 123:
  3264. t1.push(parser.p);
  3265. parser.p = t1.length;
  3266. break;
  3267. case 125:
  3268. array = t1.splice(parser.p);
  3269. A._Parser_toTypesNamed(parser.u, parser.e, array);
  3270. parser.p = t1.pop();
  3271. t1.push(array);
  3272. t1.push(-2);
  3273. break;
  3274. case 43:
  3275. end = source.indexOf("(", i);
  3276. t1.push(source.substring(i, end));
  3277. t1.push(-4);
  3278. t1.push(parser.p);
  3279. parser.p = t1.length;
  3280. i = end + 1;
  3281. break;
  3282. default:
  3283. throw "Bad character " + ch;
  3284. }
  3285. }
  3286. }
  3287. item = t1.pop();
  3288. return A._Parser_toType(parser.u, parser.e, item);
  3289. },
  3290. _Parser_handleDigit(i, digit, source, stack) {
  3291. var t1, ch,
  3292. value = digit - 48;
  3293. for (t1 = source.length; i < t1; ++i) {
  3294. ch = source.charCodeAt(i);
  3295. if (!(ch >= 48 && ch <= 57))
  3296. break;
  3297. value = value * 10 + (ch - 48);
  3298. }
  3299. stack.push(value);
  3300. return i;
  3301. },
  3302. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  3303. var t1, ch, t2, string, environment, recipe,
  3304. i = start + 1;
  3305. for (t1 = source.length; i < t1; ++i) {
  3306. ch = source.charCodeAt(i);
  3307. if (ch === 46) {
  3308. if (hasPeriod)
  3309. break;
  3310. hasPeriod = true;
  3311. } else {
  3312. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  3313. t2 = ch >= 48 && ch <= 57;
  3314. else
  3315. t2 = true;
  3316. if (!t2)
  3317. break;
  3318. }
  3319. }
  3320. string = source.substring(start, i);
  3321. if (hasPeriod) {
  3322. t1 = parser.u;
  3323. environment = parser.e;
  3324. if (environment._kind === 10)
  3325. environment = environment._primary;
  3326. recipe = A._Universe_findRule(t1, environment._primary)[string];
  3327. if (recipe == null)
  3328. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  3329. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  3330. } else
  3331. stack.push(string);
  3332. return i;
  3333. },
  3334. _Parser_handleArguments(parser, stack) {
  3335. var optionalPositional, named, requiredPositional, returnType, parameters, _null = null,
  3336. t1 = parser.u,
  3337. head = stack.pop();
  3338. if (typeof head == "number")
  3339. switch (head) {
  3340. case -1:
  3341. optionalPositional = stack.pop();
  3342. named = _null;
  3343. break;
  3344. case -2:
  3345. named = stack.pop();
  3346. optionalPositional = _null;
  3347. break;
  3348. default:
  3349. stack.push(head);
  3350. named = _null;
  3351. optionalPositional = named;
  3352. break;
  3353. }
  3354. else {
  3355. stack.push(head);
  3356. named = _null;
  3357. optionalPositional = named;
  3358. }
  3359. requiredPositional = A._Parser_collectArray(parser, stack);
  3360. head = stack.pop();
  3361. switch (head) {
  3362. case -3:
  3363. head = stack.pop();
  3364. if (optionalPositional == null)
  3365. optionalPositional = t1.sEA;
  3366. if (named == null)
  3367. named = t1.sEA;
  3368. returnType = A._Parser_toType(t1, parser.e, head);
  3369. parameters = new A._FunctionParameters();
  3370. parameters._requiredPositional = requiredPositional;
  3371. parameters._optionalPositional = optionalPositional;
  3372. parameters._named = named;
  3373. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  3374. return;
  3375. case -4:
  3376. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  3377. return;
  3378. default:
  3379. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  3380. }
  3381. },
  3382. _Parser_handleExtendedOperations(parser, stack) {
  3383. var $top = stack.pop();
  3384. if (0 === $top) {
  3385. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  3386. return;
  3387. }
  3388. if (1 === $top) {
  3389. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  3390. return;
  3391. }
  3392. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  3393. },
  3394. _Parser_collectArray(parser, stack) {
  3395. var array = stack.splice(parser.p);
  3396. A._Parser_toTypes(parser.u, parser.e, array);
  3397. parser.p = stack.pop();
  3398. return array;
  3399. },
  3400. _Parser_toType(universe, environment, item) {
  3401. if (typeof item == "string")
  3402. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  3403. else if (typeof item == "number") {
  3404. environment.toString;
  3405. return A._Parser_indexToType(universe, environment, item);
  3406. } else
  3407. return item;
  3408. },
  3409. _Parser_toTypes(universe, environment, items) {
  3410. var i,
  3411. $length = items.length;
  3412. for (i = 0; i < $length; ++i)
  3413. items[i] = A._Parser_toType(universe, environment, items[i]);
  3414. },
  3415. _Parser_toTypesNamed(universe, environment, items) {
  3416. var i,
  3417. $length = items.length;
  3418. for (i = 2; i < $length; i += 3)
  3419. items[i] = A._Parser_toType(universe, environment, items[i]);
  3420. },
  3421. _Parser_indexToType(universe, environment, index) {
  3422. var typeArguments, len,
  3423. kind = environment._kind;
  3424. if (kind === 10) {
  3425. if (index === 0)
  3426. return environment._primary;
  3427. typeArguments = environment._rest;
  3428. len = typeArguments.length;
  3429. if (index <= len)
  3430. return typeArguments[index - 1];
  3431. index -= len;
  3432. environment = environment._primary;
  3433. kind = environment._kind;
  3434. } else if (index === 0)
  3435. return environment;
  3436. if (kind !== 9)
  3437. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  3438. typeArguments = environment._rest;
  3439. if (index <= typeArguments.length)
  3440. return typeArguments[index - 1];
  3441. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  3442. },
  3443. _isSubtype(universe, s, sEnv, t, tEnv) {
  3444. var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
  3445. if (s === t)
  3446. return true;
  3447. if (!A.isStrongTopType(t))
  3448. if (!(t === type$.legacy_Object))
  3449. t1 = false;
  3450. else
  3451. t1 = true;
  3452. else
  3453. t1 = true;
  3454. if (t1)
  3455. return true;
  3456. sKind = s._kind;
  3457. if (sKind === 4)
  3458. return true;
  3459. if (A.isStrongTopType(s))
  3460. return false;
  3461. if (s._kind !== 1)
  3462. t1 = false;
  3463. else
  3464. t1 = true;
  3465. if (t1)
  3466. return true;
  3467. leftTypeVariable = sKind === 14;
  3468. if (leftTypeVariable)
  3469. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  3470. return true;
  3471. tKind = t._kind;
  3472. t1 = s === type$.Null || s === type$.JSNull;
  3473. if (t1) {
  3474. if (tKind === 8)
  3475. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3476. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  3477. }
  3478. if (t === type$.Object) {
  3479. if (sKind === 8)
  3480. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3481. if (sKind === 6)
  3482. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3483. return sKind !== 7;
  3484. }
  3485. if (sKind === 6)
  3486. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3487. if (tKind === 6) {
  3488. t1 = A.Rti__getQuestionFromStar(universe, t);
  3489. return A._isSubtype(universe, s, sEnv, t1, tEnv);
  3490. }
  3491. if (sKind === 8) {
  3492. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  3493. return false;
  3494. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  3495. }
  3496. if (sKind === 7) {
  3497. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
  3498. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3499. }
  3500. if (tKind === 8) {
  3501. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  3502. return true;
  3503. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  3504. }
  3505. if (tKind === 7) {
  3506. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
  3507. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3508. }
  3509. if (leftTypeVariable)
  3510. return false;
  3511. t1 = sKind !== 12;
  3512. if ((!t1 || sKind === 13) && t === type$.Function)
  3513. return true;
  3514. if (tKind === 13) {
  3515. if (s === type$.JavaScriptFunction)
  3516. return true;
  3517. if (sKind !== 13)
  3518. return false;
  3519. sBounds = s._rest;
  3520. tBounds = t._rest;
  3521. sLength = sBounds.length;
  3522. if (sLength !== tBounds.length)
  3523. return false;
  3524. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  3525. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  3526. for (i = 0; i < sLength; ++i) {
  3527. sBound = sBounds[i];
  3528. tBound = tBounds[i];
  3529. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  3530. return false;
  3531. }
  3532. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  3533. }
  3534. if (tKind === 12) {
  3535. if (s === type$.JavaScriptFunction)
  3536. return true;
  3537. if (t1)
  3538. return false;
  3539. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  3540. }
  3541. if (sKind === 9) {
  3542. if (tKind !== 9)
  3543. return false;
  3544. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  3545. }
  3546. t1 = sKind === 11;
  3547. if (t1 && t === type$.Record)
  3548. return true;
  3549. if (t1 && tKind === 11)
  3550. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  3551. return false;
  3552. },
  3553. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  3554. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  3555. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  3556. return false;
  3557. sParameters = s._rest;
  3558. tParameters = t._rest;
  3559. sRequiredPositional = sParameters._requiredPositional;
  3560. tRequiredPositional = tParameters._requiredPositional;
  3561. sRequiredPositionalLength = sRequiredPositional.length;
  3562. tRequiredPositionalLength = tRequiredPositional.length;
  3563. if (sRequiredPositionalLength > tRequiredPositionalLength)
  3564. return false;
  3565. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  3566. sOptionalPositional = sParameters._optionalPositional;
  3567. tOptionalPositional = tParameters._optionalPositional;
  3568. sOptionalPositionalLength = sOptionalPositional.length;
  3569. tOptionalPositionalLength = tOptionalPositional.length;
  3570. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  3571. return false;
  3572. for (i = 0; i < sRequiredPositionalLength; ++i) {
  3573. t1 = sRequiredPositional[i];
  3574. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  3575. return false;
  3576. }
  3577. for (i = 0; i < requiredPositionalDelta; ++i) {
  3578. t1 = sOptionalPositional[i];
  3579. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  3580. return false;
  3581. }
  3582. for (i = 0; i < tOptionalPositionalLength; ++i) {
  3583. t1 = sOptionalPositional[requiredPositionalDelta + i];
  3584. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  3585. return false;
  3586. }
  3587. sNamed = sParameters._named;
  3588. tNamed = tParameters._named;
  3589. sNamedLength = sNamed.length;
  3590. tNamedLength = tNamed.length;
  3591. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  3592. tName = tNamed[tIndex];
  3593. for (; true;) {
  3594. if (sIndex >= sNamedLength)
  3595. return false;
  3596. sName = sNamed[sIndex];
  3597. sIndex += 3;
  3598. if (tName < sName)
  3599. return false;
  3600. sIsRequired = sNamed[sIndex - 2];
  3601. if (sName < tName) {
  3602. if (sIsRequired)
  3603. return false;
  3604. continue;
  3605. }
  3606. t1 = tNamed[tIndex + 1];
  3607. if (sIsRequired && !t1)
  3608. return false;
  3609. t1 = sNamed[sIndex - 1];
  3610. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  3611. return false;
  3612. break;
  3613. }
  3614. }
  3615. for (; sIndex < sNamedLength;) {
  3616. if (sNamed[sIndex + 1])
  3617. return false;
  3618. sIndex += 3;
  3619. }
  3620. return true;
  3621. },
  3622. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  3623. var rule, recipes, $length, supertypeArgs, i, t1, t2,
  3624. sName = s._primary,
  3625. tName = t._primary;
  3626. for (; sName !== tName;) {
  3627. rule = universe.tR[sName];
  3628. if (rule == null)
  3629. return false;
  3630. if (typeof rule == "string") {
  3631. sName = rule;
  3632. continue;
  3633. }
  3634. recipes = rule[tName];
  3635. if (recipes == null)
  3636. return false;
  3637. $length = recipes.length;
  3638. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3639. for (i = 0; i < $length; ++i)
  3640. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  3641. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  3642. }
  3643. t1 = s._rest;
  3644. t2 = t._rest;
  3645. return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
  3646. },
  3647. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  3648. var i, t1, t2,
  3649. $length = sArgs.length;
  3650. for (i = 0; i < $length; ++i) {
  3651. t1 = sArgs[i];
  3652. t2 = tArgs[i];
  3653. if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
  3654. return false;
  3655. }
  3656. return true;
  3657. },
  3658. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  3659. var i,
  3660. sFields = s._rest,
  3661. tFields = t._rest,
  3662. sCount = sFields.length;
  3663. if (sCount !== tFields.length)
  3664. return false;
  3665. if (s._primary !== t._primary)
  3666. return false;
  3667. for (i = 0; i < sCount; ++i)
  3668. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  3669. return false;
  3670. return true;
  3671. },
  3672. isNullable(t) {
  3673. var t1,
  3674. kind = t._kind;
  3675. if (!(t === type$.Null || t === type$.JSNull))
  3676. if (!A.isStrongTopType(t))
  3677. if (kind !== 7)
  3678. if (!(kind === 6 && A.isNullable(t._primary)))
  3679. t1 = kind === 8 && A.isNullable(t._primary);
  3680. else
  3681. t1 = true;
  3682. else
  3683. t1 = true;
  3684. else
  3685. t1 = true;
  3686. else
  3687. t1 = true;
  3688. return t1;
  3689. },
  3690. isTopType(t) {
  3691. var t1;
  3692. if (!A.isStrongTopType(t))
  3693. if (!(t === type$.legacy_Object))
  3694. t1 = false;
  3695. else
  3696. t1 = true;
  3697. else
  3698. t1 = true;
  3699. return t1;
  3700. },
  3701. isStrongTopType(t) {
  3702. var kind = t._kind;
  3703. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  3704. },
  3705. _Utils_objectAssign(o, other) {
  3706. var i, key,
  3707. keys = Object.keys(other),
  3708. $length = keys.length;
  3709. for (i = 0; i < $length; ++i) {
  3710. key = keys[i];
  3711. o[key] = other[key];
  3712. }
  3713. },
  3714. _Utils_newArrayOrEmpty($length) {
  3715. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3716. },
  3717. Rti: function Rti(t0, t1) {
  3718. var _ = this;
  3719. _._as = t0;
  3720. _._is = t1;
  3721. _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
  3722. _._kind = 0;
  3723. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  3724. },
  3725. _FunctionParameters: function _FunctionParameters() {
  3726. this._named = this._optionalPositional = this._requiredPositional = null;
  3727. },
  3728. _Type: function _Type(t0) {
  3729. this._rti = t0;
  3730. },
  3731. _Error: function _Error() {
  3732. },
  3733. _TypeError: function _TypeError(t0) {
  3734. this.__rti$_message = t0;
  3735. },
  3736. _AsyncRun__initializeScheduleImmediate() {
  3737. var div, span, t1 = {};
  3738. if (self.scheduleImmediate != null)
  3739. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  3740. if (self.MutationObserver != null && self.document != null) {
  3741. div = self.document.createElement("div");
  3742. span = self.document.createElement("span");
  3743. t1.storedCallback = null;
  3744. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  3745. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  3746. } else if (self.setImmediate != null)
  3747. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  3748. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  3749. },
  3750. _AsyncRun__scheduleImmediateJsOverride(callback) {
  3751. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  3752. },
  3753. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  3754. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  3755. },
  3756. _AsyncRun__scheduleImmediateWithTimer(callback) {
  3757. A.Timer__createTimer(B.Duration_0, callback);
  3758. },
  3759. Timer__createTimer(duration, callback) {
  3760. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  3761. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  3762. },
  3763. _TimerImpl$(milliseconds, callback) {
  3764. var t1 = new A._TimerImpl(true);
  3765. t1._TimerImpl$2(milliseconds, callback);
  3766. return t1;
  3767. },
  3768. _TimerImpl$periodic(milliseconds, callback) {
  3769. var t1 = new A._TimerImpl(false);
  3770. t1._TimerImpl$periodic$2(milliseconds, callback);
  3771. return t1;
  3772. },
  3773. _makeAsyncAwaitCompleter($T) {
  3774. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  3775. },
  3776. _asyncStartSync(bodyFunction, completer) {
  3777. bodyFunction.call$2(0, null);
  3778. completer.isSync = true;
  3779. return completer._future;
  3780. },
  3781. _asyncAwait(object, bodyFunction) {
  3782. A._awaitOnObject(object, bodyFunction);
  3783. },
  3784. _asyncReturn(object, completer) {
  3785. completer.complete$1(object);
  3786. },
  3787. _asyncRethrow(object, completer) {
  3788. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  3789. },
  3790. _awaitOnObject(object, bodyFunction) {
  3791. var t1, future,
  3792. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  3793. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  3794. if (object instanceof A._Future)
  3795. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  3796. else {
  3797. t1 = type$.dynamic;
  3798. if (type$.Future_dynamic._is(object))
  3799. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  3800. else {
  3801. future = new A._Future($.Zone__current, type$._Future_dynamic);
  3802. future._state = 8;
  3803. future._resultOrListeners = object;
  3804. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  3805. }
  3806. }
  3807. },
  3808. _wrapJsFunctionForAsync($function) {
  3809. var $protected = function(fn, ERROR) {
  3810. return function(errorCode, result) {
  3811. while (true)
  3812. try {
  3813. fn(errorCode, result);
  3814. break;
  3815. } catch (error) {
  3816. result = error;
  3817. errorCode = ERROR;
  3818. }
  3819. };
  3820. }($function, 1);
  3821. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  3822. },
  3823. _IterationMarker_yieldStar(values) {
  3824. return new A._IterationMarker(values, 1);
  3825. },
  3826. _IterationMarker_endOfIteration() {
  3827. return B._IterationMarker_null_2;
  3828. },
  3829. _IterationMarker_uncaughtError(error) {
  3830. return new A._IterationMarker(error, 3);
  3831. },
  3832. _makeSyncStarIterable(body, $T) {
  3833. return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
  3834. },
  3835. AsyncError$(error, stackTrace) {
  3836. var t1 = A.checkNotNullable(error, "error", type$.Object);
  3837. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  3838. },
  3839. AsyncError_defaultStackTrace(error) {
  3840. var stackTrace;
  3841. if (type$.Error._is(error)) {
  3842. stackTrace = error.get$stackTrace();
  3843. if (stackTrace != null)
  3844. return stackTrace;
  3845. }
  3846. return B._StringStackTrace_3uE;
  3847. },
  3848. Future_Future$value(value, $T) {
  3849. var t1, t2;
  3850. $T._as(value);
  3851. t1 = value;
  3852. t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3853. t2._asyncComplete$1(t1);
  3854. return t2;
  3855. },
  3856. Future_Future$error(error, stackTrace, $T) {
  3857. var t1, replacement;
  3858. A.checkNotNullable(error, "error", type$.Object);
  3859. t1 = $.Zone__current;
  3860. if (t1 !== B.C__RootZone) {
  3861. replacement = t1.errorCallback$2(error, stackTrace);
  3862. if (replacement != null) {
  3863. error = replacement.error;
  3864. stackTrace = replacement.stackTrace;
  3865. }
  3866. }
  3867. if (stackTrace == null)
  3868. stackTrace = A.AsyncError_defaultStackTrace(error);
  3869. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3870. t1._asyncCompleteError$2(error, stackTrace);
  3871. return t1;
  3872. },
  3873. Future_wait(futures, $T) {
  3874. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  3875. eagerError = false,
  3876. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  3877. _box_0.values = null;
  3878. _box_0.remaining = 0;
  3879. error = A._Cell$named("error");
  3880. stackTrace = A._Cell$named("stackTrace");
  3881. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  3882. try {
  3883. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  3884. future = t1.get$current(t1);
  3885. pos = _box_0.remaining;
  3886. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  3887. ++_box_0.remaining;
  3888. }
  3889. t1 = _box_0.remaining;
  3890. if (t1 === 0) {
  3891. t1 = _future;
  3892. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  3893. return t1;
  3894. }
  3895. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  3896. } catch (exception) {
  3897. e = A.unwrapException(exception);
  3898. st = A.getTraceFromException(exception);
  3899. if (_box_0.remaining === 0 || eagerError)
  3900. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  3901. else {
  3902. error.__late_helper$_value = e;
  3903. stackTrace.__late_helper$_value = st;
  3904. }
  3905. }
  3906. return _future;
  3907. },
  3908. _Future$zoneValue(value, _zone, $T) {
  3909. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  3910. t1._state = 8;
  3911. t1._resultOrListeners = value;
  3912. return t1;
  3913. },
  3914. _Future__chainCoreFuture(source, target) {
  3915. var t1, listeners;
  3916. for (; t1 = source._state, (t1 & 4) !== 0;)
  3917. source = source._resultOrListeners;
  3918. if ((t1 & 24) !== 0) {
  3919. listeners = target._removeListeners$0();
  3920. target._cloneResult$1(source);
  3921. A._Future__propagateToListeners(target, listeners);
  3922. } else {
  3923. listeners = target._resultOrListeners;
  3924. target._state = target._state & 1 | 4;
  3925. target._resultOrListeners = source;
  3926. source._prependListeners$1(listeners);
  3927. }
  3928. },
  3929. _Future__propagateToListeners(source, listeners) {
  3930. var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
  3931. t1 = _box_1.source = source;
  3932. for (t2 = type$.Future_dynamic; true;) {
  3933. _box_0 = {};
  3934. t3 = t1._state;
  3935. t4 = (t3 & 16) === 0;
  3936. hasError = !t4;
  3937. if (listeners == null) {
  3938. if (hasError && (t3 & 1) === 0) {
  3939. t2 = t1._resultOrListeners;
  3940. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3941. }
  3942. return;
  3943. }
  3944. _box_0.listener = listeners;
  3945. nextListener = listeners._nextListener;
  3946. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  3947. t1._nextListener = null;
  3948. A._Future__propagateToListeners(_box_1.source, t1);
  3949. _box_0.listener = nextListener;
  3950. nextListener0 = nextListener._nextListener;
  3951. }
  3952. t3 = _box_1.source;
  3953. sourceResult = t3._resultOrListeners;
  3954. _box_0.listenerHasError = hasError;
  3955. _box_0.listenerValueOrError = sourceResult;
  3956. if (t4) {
  3957. t5 = t1.state;
  3958. t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
  3959. } else
  3960. t5 = true;
  3961. if (t5) {
  3962. zone = t1.result._zone;
  3963. if (hasError) {
  3964. t1 = t3._zone;
  3965. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  3966. } else
  3967. t1 = false;
  3968. if (t1) {
  3969. t1 = _box_1.source;
  3970. t2 = t1._resultOrListeners;
  3971. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3972. return;
  3973. }
  3974. oldZone = $.Zone__current;
  3975. if (oldZone !== zone)
  3976. $.Zone__current = zone;
  3977. else
  3978. oldZone = null;
  3979. t1 = _box_0.listener.state;
  3980. if ((t1 & 15) === 8)
  3981. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  3982. else if (t4) {
  3983. if ((t1 & 1) !== 0)
  3984. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  3985. } else if ((t1 & 2) !== 0)
  3986. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  3987. if (oldZone != null)
  3988. $.Zone__current = oldZone;
  3989. t1 = _box_0.listenerValueOrError;
  3990. if (t2._is(t1)) {
  3991. t3 = _box_0.listener.$ti;
  3992. t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
  3993. } else
  3994. t3 = false;
  3995. if (t3) {
  3996. result = _box_0.listener.result;
  3997. if ((t1._state & 24) !== 0) {
  3998. current = result._resultOrListeners;
  3999. result._resultOrListeners = null;
  4000. listeners = result._reverseListeners$1(current);
  4001. result._state = t1._state & 30 | result._state & 1;
  4002. result._resultOrListeners = t1._resultOrListeners;
  4003. _box_1.source = t1;
  4004. continue;
  4005. } else
  4006. A._Future__chainCoreFuture(t1, result);
  4007. return;
  4008. }
  4009. }
  4010. result = _box_0.listener.result;
  4011. current = result._resultOrListeners;
  4012. result._resultOrListeners = null;
  4013. listeners = result._reverseListeners$1(current);
  4014. t1 = _box_0.listenerHasError;
  4015. t3 = _box_0.listenerValueOrError;
  4016. if (!t1) {
  4017. result._state = 8;
  4018. result._resultOrListeners = t3;
  4019. } else {
  4020. result._state = result._state & 1 | 16;
  4021. result._resultOrListeners = t3;
  4022. }
  4023. _box_1.source = result;
  4024. t1 = result;
  4025. }
  4026. },
  4027. _registerErrorHandler(errorHandler, zone) {
  4028. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  4029. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  4030. if (type$.dynamic_Function_Object._is(errorHandler))
  4031. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  4032. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  4033. },
  4034. _microtaskLoop() {
  4035. var entry, next;
  4036. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  4037. $._lastPriorityCallback = null;
  4038. next = entry.next;
  4039. $._nextCallback = next;
  4040. if (next == null)
  4041. $._lastCallback = null;
  4042. entry.callback.call$0();
  4043. }
  4044. },
  4045. _startMicrotaskLoop() {
  4046. $._isInCallbackLoop = true;
  4047. try {
  4048. A._microtaskLoop();
  4049. } finally {
  4050. $._lastPriorityCallback = null;
  4051. $._isInCallbackLoop = false;
  4052. if ($._nextCallback != null)
  4053. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  4054. }
  4055. },
  4056. _scheduleAsyncCallback(callback) {
  4057. var newEntry = new A._AsyncCallbackEntry(callback),
  4058. lastCallback = $._lastCallback;
  4059. if (lastCallback == null) {
  4060. $._nextCallback = $._lastCallback = newEntry;
  4061. if (!$._isInCallbackLoop)
  4062. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  4063. } else
  4064. $._lastCallback = lastCallback.next = newEntry;
  4065. },
  4066. _schedulePriorityAsyncCallback(callback) {
  4067. var entry, lastPriorityCallback, next,
  4068. t1 = $._nextCallback;
  4069. if (t1 == null) {
  4070. A._scheduleAsyncCallback(callback);
  4071. $._lastPriorityCallback = $._lastCallback;
  4072. return;
  4073. }
  4074. entry = new A._AsyncCallbackEntry(callback);
  4075. lastPriorityCallback = $._lastPriorityCallback;
  4076. if (lastPriorityCallback == null) {
  4077. entry.next = t1;
  4078. $._nextCallback = $._lastPriorityCallback = entry;
  4079. } else {
  4080. next = lastPriorityCallback.next;
  4081. entry.next = next;
  4082. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  4083. if (next == null)
  4084. $._lastCallback = entry;
  4085. }
  4086. },
  4087. scheduleMicrotask(callback) {
  4088. var t1, _null = null,
  4089. currentZone = $.Zone__current;
  4090. if (B.C__RootZone === currentZone) {
  4091. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  4092. return;
  4093. }
  4094. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  4095. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  4096. else
  4097. t1 = false;
  4098. if (t1) {
  4099. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  4100. return;
  4101. }
  4102. t1 = $.Zone__current;
  4103. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  4104. },
  4105. Stream_Stream$fromFuture(future, $T) {
  4106. var _null = null,
  4107. t1 = $T._eval$1("_SyncStreamController<0>"),
  4108. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  4109. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  4110. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  4111. },
  4112. StreamIterator_StreamIterator(stream) {
  4113. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  4114. },
  4115. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  4116. 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>"));
  4117. },
  4118. _runGuarded(notificationHandler) {
  4119. var e, s, exception;
  4120. if (notificationHandler == null)
  4121. return;
  4122. try {
  4123. notificationHandler.call$0();
  4124. } catch (exception) {
  4125. e = A.unwrapException(exception);
  4126. s = A.getTraceFromException(exception);
  4127. $.Zone__current.handleUncaughtError$2(e, s);
  4128. }
  4129. },
  4130. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  4131. var t1 = $.Zone__current,
  4132. t2 = cancelOnError ? 1 : 0,
  4133. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  4134. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  4135. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  4136. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  4137. },
  4138. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  4139. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  4140. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  4141. },
  4142. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  4143. if (handleError == null)
  4144. handleError = A.async___nullErrorHandler$closure();
  4145. if (type$.void_Function_Object_StackTrace._is(handleError))
  4146. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  4147. if (type$.void_Function_Object._is(handleError))
  4148. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  4149. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  4150. },
  4151. _nullDataHandler(value) {
  4152. },
  4153. _nullErrorHandler(error, stackTrace) {
  4154. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  4155. },
  4156. _nullDoneHandler() {
  4157. },
  4158. Timer_Timer(duration, callback) {
  4159. var t1 = $.Zone__current;
  4160. if (t1 === B.C__RootZone)
  4161. return t1.createTimer$2(duration, callback);
  4162. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  4163. },
  4164. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  4165. A._rootHandleError(error, stackTrace);
  4166. },
  4167. _rootHandleError(error, stackTrace) {
  4168. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  4169. },
  4170. _rootRun($self, $parent, zone, f) {
  4171. var old,
  4172. t1 = $.Zone__current;
  4173. if (t1 === zone)
  4174. return f.call$0();
  4175. $.Zone__current = zone;
  4176. old = t1;
  4177. try {
  4178. t1 = f.call$0();
  4179. return t1;
  4180. } finally {
  4181. $.Zone__current = old;
  4182. }
  4183. },
  4184. _rootRunUnary($self, $parent, zone, f, arg) {
  4185. var old,
  4186. t1 = $.Zone__current;
  4187. if (t1 === zone)
  4188. return f.call$1(arg);
  4189. $.Zone__current = zone;
  4190. old = t1;
  4191. try {
  4192. t1 = f.call$1(arg);
  4193. return t1;
  4194. } finally {
  4195. $.Zone__current = old;
  4196. }
  4197. },
  4198. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  4199. var old,
  4200. t1 = $.Zone__current;
  4201. if (t1 === zone)
  4202. return f.call$2(arg1, arg2);
  4203. $.Zone__current = zone;
  4204. old = t1;
  4205. try {
  4206. t1 = f.call$2(arg1, arg2);
  4207. return t1;
  4208. } finally {
  4209. $.Zone__current = old;
  4210. }
  4211. },
  4212. _rootRegisterCallback($self, $parent, zone, f) {
  4213. return f;
  4214. },
  4215. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  4216. return f;
  4217. },
  4218. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  4219. return f;
  4220. },
  4221. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  4222. return null;
  4223. },
  4224. _rootScheduleMicrotask($self, $parent, zone, f) {
  4225. var t1, t2;
  4226. if (B.C__RootZone !== zone) {
  4227. t1 = B.C__RootZone.get$errorZone();
  4228. t2 = zone.get$errorZone();
  4229. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  4230. }
  4231. A._scheduleAsyncCallback(f);
  4232. },
  4233. _rootCreateTimer($self, $parent, zone, duration, callback) {
  4234. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  4235. },
  4236. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  4237. var milliseconds;
  4238. if (B.C__RootZone !== zone)
  4239. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  4240. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4241. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  4242. },
  4243. _rootPrint($self, $parent, zone, line) {
  4244. A.printString(line);
  4245. },
  4246. _printToZone(line) {
  4247. $.Zone__current.print$1(line);
  4248. },
  4249. _rootFork($self, $parent, zone, specification, zoneValues) {
  4250. var valueMap, t1, handleUncaughtError;
  4251. $.printToZone = A.async___printToZone$closure();
  4252. if (specification == null)
  4253. specification = B._ZoneSpecification_ALf;
  4254. if (zoneValues == null)
  4255. valueMap = zone.get$_async$_map();
  4256. else {
  4257. t1 = type$.nullable_Object;
  4258. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  4259. }
  4260. 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);
  4261. handleUncaughtError = specification.handleUncaughtError;
  4262. if (handleUncaughtError != null)
  4263. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  4264. return t1;
  4265. },
  4266. runZoned(body, zoneValues, $R) {
  4267. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  4268. return A._runZoned(body, zoneValues, null, $R);
  4269. },
  4270. _runZoned(body, zoneValues, specification, $R) {
  4271. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  4272. },
  4273. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  4274. this._box_0 = t0;
  4275. },
  4276. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  4277. this._box_0 = t0;
  4278. this.div = t1;
  4279. this.span = t2;
  4280. },
  4281. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  4282. this.callback = t0;
  4283. },
  4284. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  4285. this.callback = t0;
  4286. },
  4287. _TimerImpl: function _TimerImpl(t0) {
  4288. this._once = t0;
  4289. this._handle = null;
  4290. this._tick = 0;
  4291. },
  4292. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  4293. this.$this = t0;
  4294. this.callback = t1;
  4295. },
  4296. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  4297. var _ = this;
  4298. _.$this = t0;
  4299. _.milliseconds = t1;
  4300. _.start = t2;
  4301. _.callback = t3;
  4302. },
  4303. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  4304. this._future = t0;
  4305. this.isSync = false;
  4306. this.$ti = t1;
  4307. },
  4308. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  4309. this.bodyFunction = t0;
  4310. },
  4311. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  4312. this.bodyFunction = t0;
  4313. },
  4314. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  4315. this.$protected = t0;
  4316. },
  4317. _IterationMarker: function _IterationMarker(t0, t1) {
  4318. this.value = t0;
  4319. this.state = t1;
  4320. },
  4321. _SyncStarIterator: function _SyncStarIterator(t0) {
  4322. var _ = this;
  4323. _._body = t0;
  4324. _._suspendedBodies = _._nestedIterator = _._async$_current = null;
  4325. },
  4326. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  4327. this._outerHelper = t0;
  4328. this.$ti = t1;
  4329. },
  4330. AsyncError: function AsyncError(t0, t1) {
  4331. this.error = t0;
  4332. this.stackTrace = t1;
  4333. },
  4334. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  4335. var _ = this;
  4336. _._box_0 = t0;
  4337. _.cleanUp = t1;
  4338. _.eagerError = t2;
  4339. _._future = t3;
  4340. _.error = t4;
  4341. _.stackTrace = t5;
  4342. },
  4343. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  4344. var _ = this;
  4345. _._box_0 = t0;
  4346. _.pos = t1;
  4347. _._future = t2;
  4348. _.cleanUp = t3;
  4349. _.eagerError = t4;
  4350. _.error = t5;
  4351. _.stackTrace = t6;
  4352. _.T = t7;
  4353. },
  4354. _Completer: function _Completer() {
  4355. },
  4356. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  4357. this.future = t0;
  4358. this.$ti = t1;
  4359. },
  4360. _SyncCompleter: function _SyncCompleter(t0, t1) {
  4361. this.future = t0;
  4362. this.$ti = t1;
  4363. },
  4364. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  4365. var _ = this;
  4366. _._nextListener = null;
  4367. _.result = t0;
  4368. _.state = t1;
  4369. _.callback = t2;
  4370. _.errorCallback = t3;
  4371. _.$ti = t4;
  4372. },
  4373. _Future: function _Future(t0, t1) {
  4374. var _ = this;
  4375. _._state = 0;
  4376. _._zone = t0;
  4377. _._resultOrListeners = null;
  4378. _.$ti = t1;
  4379. },
  4380. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  4381. this.$this = t0;
  4382. this.listener = t1;
  4383. },
  4384. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  4385. this._box_0 = t0;
  4386. this.$this = t1;
  4387. },
  4388. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  4389. this.$this = t0;
  4390. },
  4391. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  4392. this.$this = t0;
  4393. },
  4394. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  4395. this.$this = t0;
  4396. this.e = t1;
  4397. this.s = t2;
  4398. },
  4399. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  4400. this.$this = t0;
  4401. this.value = t1;
  4402. },
  4403. _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
  4404. this.$this = t0;
  4405. this.value = t1;
  4406. },
  4407. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  4408. this.$this = t0;
  4409. this.error = t1;
  4410. this.stackTrace = t2;
  4411. },
  4412. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  4413. this._box_0 = t0;
  4414. this._box_1 = t1;
  4415. this.hasError = t2;
  4416. },
  4417. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  4418. this.originalSource = t0;
  4419. },
  4420. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  4421. this._box_0 = t0;
  4422. this.sourceResult = t1;
  4423. },
  4424. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  4425. this._box_1 = t0;
  4426. this._box_0 = t1;
  4427. },
  4428. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  4429. this.callback = t0;
  4430. this.next = null;
  4431. },
  4432. Stream: function Stream() {
  4433. },
  4434. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  4435. this.controller = t0;
  4436. this.T = t1;
  4437. },
  4438. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  4439. this.controller = t0;
  4440. },
  4441. Stream_length_closure: function Stream_length_closure(t0, t1) {
  4442. this._box_0 = t0;
  4443. this.$this = t1;
  4444. },
  4445. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  4446. this._box_0 = t0;
  4447. this.future = t1;
  4448. },
  4449. StreamTransformerBase: function StreamTransformerBase() {
  4450. },
  4451. _StreamController: function _StreamController() {
  4452. },
  4453. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  4454. this.$this = t0;
  4455. },
  4456. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  4457. this.$this = t0;
  4458. },
  4459. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  4460. },
  4461. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  4462. },
  4463. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  4464. var _ = this;
  4465. _._varData = null;
  4466. _._state = 0;
  4467. _._doneFuture = null;
  4468. _.onListen = t0;
  4469. _.onPause = t1;
  4470. _.onResume = t2;
  4471. _.onCancel = t3;
  4472. _.$ti = t4;
  4473. },
  4474. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  4475. var _ = this;
  4476. _._varData = null;
  4477. _._state = 0;
  4478. _._doneFuture = null;
  4479. _.onListen = t0;
  4480. _.onPause = t1;
  4481. _.onResume = t2;
  4482. _.onCancel = t3;
  4483. _.$ti = t4;
  4484. },
  4485. _ControllerStream: function _ControllerStream(t0, t1) {
  4486. this._controller = t0;
  4487. this.$ti = t1;
  4488. },
  4489. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4490. var _ = this;
  4491. _._controller = t0;
  4492. _._onData = t1;
  4493. _._onError = t2;
  4494. _._onDone = t3;
  4495. _._zone = t4;
  4496. _._state = t5;
  4497. _._pending = _._cancelFuture = null;
  4498. _.$ti = t6;
  4499. },
  4500. _AddStreamState: function _AddStreamState() {
  4501. },
  4502. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  4503. this.$this = t0;
  4504. },
  4505. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  4506. this.varData = t0;
  4507. this.addStreamFuture = t1;
  4508. this.addSubscription = t2;
  4509. },
  4510. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  4511. },
  4512. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  4513. this.$this = t0;
  4514. this.error = t1;
  4515. this.stackTrace = t2;
  4516. },
  4517. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  4518. this.$this = t0;
  4519. },
  4520. _StreamImpl: function _StreamImpl() {
  4521. },
  4522. _DelayedEvent: function _DelayedEvent() {
  4523. },
  4524. _DelayedData: function _DelayedData(t0) {
  4525. this.value = t0;
  4526. this.next = null;
  4527. },
  4528. _DelayedError: function _DelayedError(t0, t1) {
  4529. this.error = t0;
  4530. this.stackTrace = t1;
  4531. this.next = null;
  4532. },
  4533. _DelayedDone: function _DelayedDone() {
  4534. },
  4535. _PendingEvents: function _PendingEvents() {
  4536. this._state = 0;
  4537. this.lastPendingEvent = this.firstPendingEvent = null;
  4538. },
  4539. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  4540. this.$this = t0;
  4541. this.dispatch = t1;
  4542. },
  4543. _StreamIterator: function _StreamIterator(t0) {
  4544. this._subscription = null;
  4545. this._stateData = t0;
  4546. this._async$_hasValue = false;
  4547. },
  4548. _ForwardingStream: function _ForwardingStream() {
  4549. },
  4550. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4551. var _ = this;
  4552. _._stream = t0;
  4553. _._subscription = null;
  4554. _._onData = t1;
  4555. _._onError = t2;
  4556. _._onDone = t3;
  4557. _._zone = t4;
  4558. _._state = t5;
  4559. _._pending = _._cancelFuture = null;
  4560. _.$ti = t6;
  4561. },
  4562. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  4563. this._expand = t0;
  4564. this._async$_source = t1;
  4565. this.$ti = t2;
  4566. },
  4567. _ZoneFunction: function _ZoneFunction(t0, t1) {
  4568. this.zone = t0;
  4569. this.$function = t1;
  4570. },
  4571. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  4572. var _ = this;
  4573. _.handleUncaughtError = t0;
  4574. _.run = t1;
  4575. _.runUnary = t2;
  4576. _.runBinary = t3;
  4577. _.registerCallback = t4;
  4578. _.registerUnaryCallback = t5;
  4579. _.registerBinaryCallback = t6;
  4580. _.errorCallback = t7;
  4581. _.scheduleMicrotask = t8;
  4582. _.createTimer = t9;
  4583. _.createPeriodicTimer = t10;
  4584. _.print = t11;
  4585. _.fork = t12;
  4586. },
  4587. _ZoneDelegate: function _ZoneDelegate(t0) {
  4588. this._delegationTarget = t0;
  4589. },
  4590. _Zone: function _Zone() {
  4591. },
  4592. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  4593. var _ = this;
  4594. _._run = t0;
  4595. _._runUnary = t1;
  4596. _._runBinary = t2;
  4597. _._registerCallback = t3;
  4598. _._registerUnaryCallback = t4;
  4599. _._registerBinaryCallback = t5;
  4600. _._errorCallback = t6;
  4601. _._scheduleMicrotask = t7;
  4602. _._createTimer = t8;
  4603. _._createPeriodicTimer = t9;
  4604. _._print = t10;
  4605. _._fork = t11;
  4606. _._handleUncaughtError = t12;
  4607. _._delegateCache = null;
  4608. _.parent = t13;
  4609. _._async$_map = t14;
  4610. },
  4611. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  4612. this.$this = t0;
  4613. this.registered = t1;
  4614. this.R = t2;
  4615. },
  4616. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4617. var _ = this;
  4618. _.$this = t0;
  4619. _.registered = t1;
  4620. _.T = t2;
  4621. _.R = t3;
  4622. },
  4623. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  4624. this.$this = t0;
  4625. this.registered = t1;
  4626. },
  4627. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  4628. this.error = t0;
  4629. this.stackTrace = t1;
  4630. },
  4631. _RootZone: function _RootZone() {
  4632. },
  4633. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  4634. this.$this = t0;
  4635. this.f = t1;
  4636. this.R = t2;
  4637. },
  4638. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4639. var _ = this;
  4640. _.$this = t0;
  4641. _.f = t1;
  4642. _.T = t2;
  4643. _.R = t3;
  4644. },
  4645. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  4646. this.$this = t0;
  4647. this.f = t1;
  4648. },
  4649. HashMap_HashMap($K, $V) {
  4650. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  4651. },
  4652. _HashMap__getTableEntry(table, key) {
  4653. var entry = table[key];
  4654. return entry === table ? null : entry;
  4655. },
  4656. _HashMap__setTableEntry(table, key, value) {
  4657. if (value == null)
  4658. table[key] = table;
  4659. else
  4660. table[key] = value;
  4661. },
  4662. _HashMap__newHashTable() {
  4663. var table = Object.create(null);
  4664. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  4665. delete table["<non-identifier-key>"];
  4666. return table;
  4667. },
  4668. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  4669. if (isValidKey == null)
  4670. if (hashCode == null) {
  4671. if (equals == null)
  4672. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4673. hashCode = A.collection___defaultHashCode$closure();
  4674. } else {
  4675. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  4676. return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
  4677. if (equals == null)
  4678. equals = A.collection___defaultEquals$closure();
  4679. }
  4680. else {
  4681. if (hashCode == null)
  4682. hashCode = A.collection___defaultHashCode$closure();
  4683. if (equals == null)
  4684. equals = A.collection___defaultEquals$closure();
  4685. }
  4686. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  4687. },
  4688. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  4689. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  4690. },
  4691. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  4692. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4693. },
  4694. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  4695. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  4696. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  4697. },
  4698. LinkedHashSet_LinkedHashSet($E) {
  4699. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4700. },
  4701. LinkedHashSet_LinkedHashSet$_empty($E) {
  4702. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4703. },
  4704. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  4705. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  4706. },
  4707. _LinkedHashSet__newHashTable() {
  4708. var table = Object.create(null);
  4709. table["<non-identifier-key>"] = table;
  4710. delete table["<non-identifier-key>"];
  4711. return table;
  4712. },
  4713. _LinkedHashSetIterator$(_set, _modifications) {
  4714. var t1 = new A._LinkedHashSetIterator(_set, _modifications);
  4715. t1._collection$_cell = _set._collection$_first;
  4716. return t1;
  4717. },
  4718. UnmodifiableListView$(source, $E) {
  4719. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  4720. },
  4721. _defaultEquals(a, b) {
  4722. return J.$eq$(a, b);
  4723. },
  4724. _defaultHashCode(a) {
  4725. return J.get$hashCode$(a);
  4726. },
  4727. HashMap_HashMap$from(other, $K, $V) {
  4728. var result = A.HashMap_HashMap($K, $V);
  4729. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  4730. return result;
  4731. },
  4732. IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  4733. var parts, t1;
  4734. if (A._isToStringVisiting(iterable)) {
  4735. if (leftDelimiter === "(" && rightDelimiter === ")")
  4736. return "(...)";
  4737. return leftDelimiter + "..." + rightDelimiter;
  4738. }
  4739. parts = A._setArrayType([], type$.JSArray_String);
  4740. $._toStringVisiting.push(iterable);
  4741. try {
  4742. A._iterablePartsToStrings(iterable, parts);
  4743. } finally {
  4744. $._toStringVisiting.pop();
  4745. }
  4746. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  4747. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4748. },
  4749. IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  4750. var buffer, t1;
  4751. if (A._isToStringVisiting(iterable))
  4752. return leftDelimiter + "..." + rightDelimiter;
  4753. buffer = new A.StringBuffer(leftDelimiter);
  4754. $._toStringVisiting.push(iterable);
  4755. try {
  4756. t1 = buffer;
  4757. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  4758. } finally {
  4759. $._toStringVisiting.pop();
  4760. }
  4761. buffer._contents += rightDelimiter;
  4762. t1 = buffer._contents;
  4763. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4764. },
  4765. _isToStringVisiting(o) {
  4766. var t1, i;
  4767. for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
  4768. if (o === $._toStringVisiting[i])
  4769. return true;
  4770. return false;
  4771. },
  4772. _iterablePartsToStrings(iterable, parts) {
  4773. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  4774. it = iterable.get$iterator(iterable),
  4775. $length = 0, count = 0;
  4776. while (true) {
  4777. if (!($length < 80 || count < 3))
  4778. break;
  4779. if (!it.moveNext$0())
  4780. return;
  4781. next = A.S(it.get$current(it));
  4782. parts.push(next);
  4783. $length += next.length + 2;
  4784. ++count;
  4785. }
  4786. if (!it.moveNext$0()) {
  4787. if (count <= 5)
  4788. return;
  4789. ultimateString = parts.pop();
  4790. penultimateString = parts.pop();
  4791. } else {
  4792. penultimate = it.get$current(it);
  4793. ++count;
  4794. if (!it.moveNext$0()) {
  4795. if (count <= 4) {
  4796. parts.push(A.S(penultimate));
  4797. return;
  4798. }
  4799. ultimateString = A.S(penultimate);
  4800. penultimateString = parts.pop();
  4801. $length += ultimateString.length + 2;
  4802. } else {
  4803. ultimate = it.get$current(it);
  4804. ++count;
  4805. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  4806. ultimate0 = it.get$current(it);
  4807. ++count;
  4808. if (count > 100) {
  4809. while (true) {
  4810. if (!($length > 75 && count > 3))
  4811. break;
  4812. $length -= parts.pop().length + 2;
  4813. --count;
  4814. }
  4815. parts.push("...");
  4816. return;
  4817. }
  4818. }
  4819. penultimateString = A.S(penultimate);
  4820. ultimateString = A.S(ultimate);
  4821. $length += ultimateString.length + penultimateString.length + 4;
  4822. }
  4823. }
  4824. if (count > parts.length + 2) {
  4825. $length += 5;
  4826. elision = "...";
  4827. } else
  4828. elision = null;
  4829. while (true) {
  4830. if (!($length > 80 && parts.length > 3))
  4831. break;
  4832. $length -= parts.pop().length + 2;
  4833. if (elision == null) {
  4834. $length += 5;
  4835. elision = "...";
  4836. }
  4837. }
  4838. if (elision != null)
  4839. parts.push(elision);
  4840. parts.push(penultimateString);
  4841. parts.push(ultimateString);
  4842. },
  4843. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  4844. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4845. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  4846. return result;
  4847. },
  4848. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  4849. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4850. t1.addAll$1(0, other);
  4851. return t1;
  4852. },
  4853. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  4854. var t1, _i,
  4855. result = A.LinkedHashSet_LinkedHashSet($E);
  4856. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  4857. result.add$1(0, $E._as(elements[_i]));
  4858. return result;
  4859. },
  4860. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  4861. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  4862. t1.addAll$1(0, elements);
  4863. return t1;
  4864. },
  4865. ListMixin__compareAny(a, b) {
  4866. var t1 = type$.Comparable_dynamic;
  4867. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  4868. },
  4869. MapBase_mapToString(m) {
  4870. var result, t1 = {};
  4871. if (A._isToStringVisiting(m))
  4872. return "{...}";
  4873. result = new A.StringBuffer("");
  4874. try {
  4875. $._toStringVisiting.push(m);
  4876. result._contents += "{";
  4877. t1.first = true;
  4878. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  4879. result._contents += "}";
  4880. } finally {
  4881. $._toStringVisiting.pop();
  4882. }
  4883. t1 = result._contents;
  4884. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4885. },
  4886. MapBase__fillMapWithIterables(map, keys, values) {
  4887. var keyIterator = keys.get$iterator(keys),
  4888. valueIterator = values.get$iterator(values),
  4889. hasNextKey = keyIterator.moveNext$0(),
  4890. hasNextValue = valueIterator.moveNext$0();
  4891. while (true) {
  4892. if (!(hasNextKey && hasNextValue))
  4893. break;
  4894. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  4895. hasNextKey = keyIterator.moveNext$0();
  4896. hasNextValue = valueIterator.moveNext$0();
  4897. }
  4898. if (hasNextKey || hasNextValue)
  4899. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  4900. },
  4901. ListQueue$($E) {
  4902. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  4903. },
  4904. ListQueue__calculateCapacity(initialCapacity) {
  4905. return 8;
  4906. },
  4907. ListQueue_ListQueue$of(elements, $E) {
  4908. var t1 = A.ListQueue$($E);
  4909. t1.addAll$1(0, elements);
  4910. return t1;
  4911. },
  4912. ListQueue__nextPowerOf2(number) {
  4913. var nextNumber;
  4914. number = (number << 1 >>> 0) - 1;
  4915. for (; true; number = nextNumber) {
  4916. nextNumber = (number & number - 1) >>> 0;
  4917. if (nextNumber === 0)
  4918. return number;
  4919. }
  4920. },
  4921. _ListQueueIterator$(queue) {
  4922. return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
  4923. },
  4924. _UnmodifiableSetMixin__throwUnmodifiable() {
  4925. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  4926. },
  4927. _HashMap: function _HashMap(t0) {
  4928. var _ = this;
  4929. _._collection$_length = 0;
  4930. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4931. _.$ti = t0;
  4932. },
  4933. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  4934. this.$this = t0;
  4935. },
  4936. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  4937. this.$this = t0;
  4938. },
  4939. _IdentityHashMap: function _IdentityHashMap(t0) {
  4940. var _ = this;
  4941. _._collection$_length = 0;
  4942. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4943. _.$ti = t0;
  4944. },
  4945. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  4946. this._map = t0;
  4947. this.$ti = t1;
  4948. },
  4949. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
  4950. var _ = this;
  4951. _._map = t0;
  4952. _._collection$_keys = t1;
  4953. _._offset = 0;
  4954. _._collection$_current = null;
  4955. },
  4956. _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
  4957. var _ = this;
  4958. _.__js_helper$_length = 0;
  4959. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4960. _._modifications = 0;
  4961. _.$ti = t0;
  4962. },
  4963. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  4964. var _ = this;
  4965. _._equals = t0;
  4966. _._hashCode = t1;
  4967. _._validKey = t2;
  4968. _.__js_helper$_length = 0;
  4969. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4970. _._modifications = 0;
  4971. _.$ti = t3;
  4972. },
  4973. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  4974. this.K = t0;
  4975. },
  4976. _LinkedHashSet: function _LinkedHashSet(t0) {
  4977. var _ = this;
  4978. _._collection$_length = 0;
  4979. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4980. _._collection$_modifications = 0;
  4981. _.$ti = t0;
  4982. },
  4983. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  4984. var _ = this;
  4985. _._collection$_length = 0;
  4986. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4987. _._collection$_modifications = 0;
  4988. _.$ti = t0;
  4989. },
  4990. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  4991. this._element = t0;
  4992. this._collection$_previous = this._collection$_next = null;
  4993. },
  4994. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
  4995. var _ = this;
  4996. _._set = t0;
  4997. _._collection$_modifications = t1;
  4998. _._collection$_current = _._collection$_cell = null;
  4999. },
  5000. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  5001. this._collection$_source = t0;
  5002. this.$ti = t1;
  5003. },
  5004. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  5005. this.result = t0;
  5006. this.K = t1;
  5007. this.V = t2;
  5008. },
  5009. IterableBase: function IterableBase() {
  5010. },
  5011. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  5012. this.result = t0;
  5013. this.K = t1;
  5014. this.V = t2;
  5015. },
  5016. ListBase: function ListBase() {
  5017. },
  5018. ListMixin: function ListMixin() {
  5019. },
  5020. MapBase: function MapBase() {
  5021. },
  5022. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  5023. this._box_0 = t0;
  5024. this.result = t1;
  5025. },
  5026. MapMixin: function MapMixin() {
  5027. },
  5028. MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) {
  5029. this.$this = t0;
  5030. },
  5031. MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
  5032. this.$this = t0;
  5033. },
  5034. UnmodifiableMapBase: function UnmodifiableMapBase() {
  5035. },
  5036. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  5037. this._map = t0;
  5038. this.$ti = t1;
  5039. },
  5040. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
  5041. this._collection$_keys = t0;
  5042. this._map = t1;
  5043. this._collection$_current = null;
  5044. },
  5045. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  5046. },
  5047. MapView: function MapView() {
  5048. },
  5049. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  5050. this._map = t0;
  5051. this.$ti = t1;
  5052. },
  5053. ListQueue: function ListQueue(t0, t1) {
  5054. var _ = this;
  5055. _._collection$_table = t0;
  5056. _._modificationCount = _._collection$_tail = _._collection$_head = 0;
  5057. _.$ti = t1;
  5058. },
  5059. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
  5060. var _ = this;
  5061. _._queue = t0;
  5062. _._collection$_end = t1;
  5063. _._modificationCount = t2;
  5064. _._collection$_position = t3;
  5065. _._collection$_current = null;
  5066. },
  5067. SetMixin: function SetMixin() {
  5068. },
  5069. SetBase: function SetBase() {
  5070. },
  5071. _SetBase: function _SetBase() {
  5072. },
  5073. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  5074. },
  5075. _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
  5076. this._map = t0;
  5077. this.$ti = t1;
  5078. },
  5079. _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
  5080. },
  5081. _SetBase_Object_SetMixin: function _SetBase_Object_SetMixin() {
  5082. },
  5083. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  5084. },
  5085. __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
  5086. },
  5087. __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
  5088. },
  5089. Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
  5090. var casted, result;
  5091. if (codeUnits instanceof Uint8Array) {
  5092. casted = codeUnits;
  5093. end = casted.length;
  5094. if (end - start < 15)
  5095. return null;
  5096. result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
  5097. if (result != null && allowMalformed)
  5098. if (result.indexOf("\ufffd") >= 0)
  5099. return null;
  5100. return result;
  5101. }
  5102. return null;
  5103. },
  5104. Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  5105. var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
  5106. if (decoder == null)
  5107. return null;
  5108. if (0 === start && end === codeUnits.length)
  5109. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
  5110. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
  5111. },
  5112. Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  5113. var t1, exception;
  5114. try {
  5115. t1 = decoder.decode(codeUnits);
  5116. return t1;
  5117. } catch (exception) {
  5118. }
  5119. return null;
  5120. },
  5121. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  5122. if (B.JSInt_methods.$mod($length, 4) !== 0)
  5123. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  5124. if (firstPadding + paddingCount !== $length)
  5125. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  5126. if (paddingCount > 2)
  5127. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  5128. },
  5129. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  5130. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  5131. bits = state >>> 2,
  5132. expectedChars = 3 - (state & 3);
  5133. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  5134. byte = t1.$index(bytes, i);
  5135. byteOr = (byteOr | byte) >>> 0;
  5136. bits = (bits << 8 | byte) & 16777215;
  5137. --expectedChars;
  5138. if (expectedChars === 0) {
  5139. outputIndex0 = outputIndex + 1;
  5140. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
  5141. outputIndex = outputIndex0 + 1;
  5142. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
  5143. outputIndex0 = outputIndex + 1;
  5144. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
  5145. outputIndex = outputIndex0 + 1;
  5146. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
  5147. bits = 0;
  5148. expectedChars = 3;
  5149. }
  5150. }
  5151. if (byteOr >= 0 && byteOr <= 255) {
  5152. if (isLast && expectedChars < 3) {
  5153. outputIndex0 = outputIndex + 1;
  5154. outputIndex1 = outputIndex0 + 1;
  5155. if (3 - expectedChars === 1) {
  5156. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
  5157. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
  5158. output[outputIndex1] = 61;
  5159. output[outputIndex1 + 1] = 61;
  5160. } else {
  5161. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
  5162. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
  5163. output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
  5164. output[outputIndex1 + 1] = 61;
  5165. }
  5166. return 0;
  5167. }
  5168. return (bits << 2 | 3 - expectedChars) >>> 0;
  5169. }
  5170. for (i = start; i < end;) {
  5171. byte = t1.$index(bytes, i);
  5172. if (byte < 0 || byte > 255)
  5173. break;
  5174. ++i;
  5175. }
  5176. 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));
  5177. },
  5178. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  5179. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  5180. },
  5181. _defaultToEncodable(object) {
  5182. return object.toJson$0();
  5183. },
  5184. _JsonStringStringifier$(_sink, _toEncodable) {
  5185. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  5186. },
  5187. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  5188. var t1,
  5189. output = new A.StringBuffer(""),
  5190. stringifier = A._JsonStringStringifier$(output, toEncodable);
  5191. stringifier.writeObject$1(object);
  5192. t1 = output._contents;
  5193. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5194. },
  5195. _Utf8Decoder_errorDescription(state) {
  5196. switch (state) {
  5197. case 65:
  5198. return "Missing extension byte";
  5199. case 67:
  5200. return "Unexpected extension byte";
  5201. case 69:
  5202. return "Invalid UTF-8 byte";
  5203. case 71:
  5204. return "Overlong encoding";
  5205. case 73:
  5206. return "Out of unicode range";
  5207. case 75:
  5208. return "Encoded surrogate";
  5209. case 77:
  5210. return "Unfinished UTF-8 octet sequence";
  5211. default:
  5212. return "";
  5213. }
  5214. },
  5215. _Utf8Decoder__makeUint8List(codeUnits, start, end) {
  5216. var t1, i, b,
  5217. $length = end - start,
  5218. bytes = new Uint8Array($length);
  5219. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  5220. b = t1.$index(codeUnits, start + i);
  5221. bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
  5222. }
  5223. return bytes;
  5224. },
  5225. Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
  5226. },
  5227. Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
  5228. },
  5229. AsciiCodec: function AsciiCodec() {
  5230. },
  5231. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  5232. },
  5233. AsciiEncoder: function AsciiEncoder(t0) {
  5234. this._subsetMask = t0;
  5235. },
  5236. Base64Codec: function Base64Codec() {
  5237. },
  5238. Base64Encoder: function Base64Encoder() {
  5239. },
  5240. _Base64Encoder: function _Base64Encoder(t0) {
  5241. this._convert$_state = 0;
  5242. this._alphabet = t0;
  5243. },
  5244. _Base64EncoderSink: function _Base64EncoderSink() {
  5245. },
  5246. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  5247. this._sink = t0;
  5248. this._encoder = t1;
  5249. },
  5250. ByteConversionSink: function ByteConversionSink() {
  5251. },
  5252. ByteConversionSinkBase: function ByteConversionSinkBase() {
  5253. },
  5254. ChunkedConversionSink: function ChunkedConversionSink() {
  5255. },
  5256. Codec: function Codec() {
  5257. },
  5258. Converter: function Converter() {
  5259. },
  5260. Encoding: function Encoding() {
  5261. },
  5262. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  5263. this.unsupportedObject = t0;
  5264. this.cause = t1;
  5265. },
  5266. JsonCyclicError: function JsonCyclicError(t0, t1) {
  5267. this.unsupportedObject = t0;
  5268. this.cause = t1;
  5269. },
  5270. JsonCodec: function JsonCodec() {
  5271. },
  5272. JsonEncoder: function JsonEncoder(t0) {
  5273. this._toEncodable = t0;
  5274. },
  5275. _JsonStringifier: function _JsonStringifier() {
  5276. },
  5277. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  5278. this._box_0 = t0;
  5279. this.keyValueList = t1;
  5280. },
  5281. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  5282. this._sink = t0;
  5283. this._seen = t1;
  5284. this._toEncodable = t2;
  5285. },
  5286. StringConversionSinkBase: function StringConversionSinkBase() {
  5287. },
  5288. StringConversionSinkMixin: function StringConversionSinkMixin() {
  5289. },
  5290. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  5291. this._stringSink = t0;
  5292. },
  5293. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  5294. this._convert$_callback = t0;
  5295. this._stringSink = t1;
  5296. },
  5297. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  5298. this._decoder = t0;
  5299. this._sink = t1;
  5300. this._stringSink = t2;
  5301. },
  5302. Utf8Codec: function Utf8Codec() {
  5303. },
  5304. Utf8Encoder: function Utf8Encoder() {
  5305. },
  5306. _Utf8Encoder: function _Utf8Encoder(t0) {
  5307. this._bufferIndex = 0;
  5308. this._convert$_buffer = t0;
  5309. },
  5310. Utf8Decoder: function Utf8Decoder(t0) {
  5311. this._allowMalformed = t0;
  5312. },
  5313. _Utf8Decoder: function _Utf8Decoder(t0) {
  5314. this.allowMalformed = t0;
  5315. this._convert$_state = 16;
  5316. this._charOrIndex = 0;
  5317. },
  5318. identityHashCode(object) {
  5319. return A.objectHashCode(object);
  5320. },
  5321. Function_apply($function, positionalArguments) {
  5322. return A.Primitives_applyFunction($function, positionalArguments, null);
  5323. },
  5324. Expando$() {
  5325. return new A.Expando(new WeakMap());
  5326. },
  5327. Expando__checkType(object) {
  5328. if (A._isBool(object) || typeof object == "number" || typeof object == "string")
  5329. throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
  5330. },
  5331. int_parse(source, radix) {
  5332. var value = A.Primitives_parseInt(source, radix);
  5333. if (value != null)
  5334. return value;
  5335. throw A.wrapException(A.FormatException$(source, null, null));
  5336. },
  5337. double_parse(source) {
  5338. var value = A.Primitives_parseDouble(source);
  5339. if (value != null)
  5340. return value;
  5341. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  5342. },
  5343. Error__objectToString(object) {
  5344. if (object instanceof A.Closure)
  5345. return object.toString$0(0);
  5346. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  5347. },
  5348. Error__throw(error, stackTrace) {
  5349. error = A.wrapException(error);
  5350. error.stack = stackTrace.toString$0(0);
  5351. throw error;
  5352. throw A.wrapException("unreachable");
  5353. },
  5354. List_List$filled($length, fill, growable, $E) {
  5355. var i,
  5356. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  5357. if ($length !== 0 && fill != null)
  5358. for (i = 0; i < result.length; ++i)
  5359. result[i] = fill;
  5360. return result;
  5361. },
  5362. List_List$from(elements, growable, $E) {
  5363. var t1,
  5364. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5365. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5366. list.push(t1.get$current(t1));
  5367. if (growable)
  5368. return list;
  5369. return J.JSArray_markFixedList(list);
  5370. },
  5371. List_List$of(elements, growable, $E) {
  5372. var t1;
  5373. if (growable)
  5374. return A.List_List$_of(elements, $E);
  5375. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  5376. return t1;
  5377. },
  5378. List_List$_of(elements, $E) {
  5379. var list, t1;
  5380. if (Array.isArray(elements))
  5381. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  5382. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5383. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5384. list.push(t1.get$current(t1));
  5385. return list;
  5386. },
  5387. List_List$unmodifiable(elements, $E) {
  5388. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  5389. },
  5390. String_String$fromCharCodes(charCodes, start, end) {
  5391. var array, len;
  5392. if (Array.isArray(charCodes)) {
  5393. array = charCodes;
  5394. len = array.length;
  5395. end = A.RangeError_checkValidRange(start, end, len);
  5396. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  5397. }
  5398. if (type$.NativeUint8List._is(charCodes))
  5399. return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
  5400. return A.String__stringFromIterable(charCodes, start, end);
  5401. },
  5402. String_String$fromCharCode(charCode) {
  5403. return A.Primitives_stringFromCharCode(charCode);
  5404. },
  5405. String__stringFromIterable(charCodes, start, end) {
  5406. var t1, it, i, list, _null = null;
  5407. if (start < 0)
  5408. throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
  5409. t1 = end == null;
  5410. if (!t1 && end < start)
  5411. throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
  5412. it = J.get$iterator$ax(charCodes);
  5413. for (i = 0; i < start; ++i)
  5414. if (!it.moveNext$0())
  5415. throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
  5416. list = [];
  5417. if (t1)
  5418. for (; it.moveNext$0();)
  5419. list.push(it.get$current(it));
  5420. else
  5421. for (i = start; i < end; ++i) {
  5422. if (!it.moveNext$0())
  5423. throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
  5424. list.push(it.get$current(it));
  5425. }
  5426. return A.Primitives_stringFromCharCodes(list);
  5427. },
  5428. RegExp_RegExp(source, multiLine) {
  5429. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  5430. },
  5431. identical(a, b) {
  5432. return a == null ? b == null : a === b;
  5433. },
  5434. StringBuffer__writeAll(string, objects, separator) {
  5435. var iterator = J.get$iterator$ax(objects);
  5436. if (!iterator.moveNext$0())
  5437. return string;
  5438. if (separator.length === 0) {
  5439. do
  5440. string += A.S(iterator.get$current(iterator));
  5441. while (iterator.moveNext$0());
  5442. } else {
  5443. string += A.S(iterator.get$current(iterator));
  5444. for (; iterator.moveNext$0();)
  5445. string = string + separator + A.S(iterator.get$current(iterator));
  5446. }
  5447. return string;
  5448. },
  5449. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  5450. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null);
  5451. },
  5452. Uri_base() {
  5453. var uri = A.Primitives_currentUri();
  5454. if (uri != null)
  5455. return A.Uri_parse(uri);
  5456. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  5457. },
  5458. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  5459. var t1, bytes, i, t2, byte,
  5460. _s16_ = "0123456789ABCDEF";
  5461. if (encoding === B.C_Utf8Codec) {
  5462. t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
  5463. t1 = t1.test(text);
  5464. } else
  5465. t1 = false;
  5466. if (t1)
  5467. return text;
  5468. bytes = encoding.get$encoder().convert$1(text);
  5469. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  5470. byte = bytes[i];
  5471. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  5472. t2 += A.Primitives_stringFromCharCode(byte);
  5473. else
  5474. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  5475. }
  5476. return t2.charCodeAt(0) == 0 ? t2 : t2;
  5477. },
  5478. StackTrace_current() {
  5479. var stackTrace, exception;
  5480. if ($.$get$_hasErrorStackProperty())
  5481. return A.getTraceFromException(new Error());
  5482. try {
  5483. throw A.wrapException("");
  5484. } catch (exception) {
  5485. stackTrace = A.getTraceFromException(exception);
  5486. return stackTrace;
  5487. }
  5488. },
  5489. DateTime__fourDigits(n) {
  5490. var absN = Math.abs(n),
  5491. sign = n < 0 ? "-" : "";
  5492. if (absN >= 1000)
  5493. return "" + n;
  5494. if (absN >= 100)
  5495. return sign + "0" + absN;
  5496. if (absN >= 10)
  5497. return sign + "00" + absN;
  5498. return sign + "000" + absN;
  5499. },
  5500. DateTime__threeDigits(n) {
  5501. if (n >= 100)
  5502. return "" + n;
  5503. if (n >= 10)
  5504. return "0" + n;
  5505. return "00" + n;
  5506. },
  5507. DateTime__twoDigits(n) {
  5508. if (n >= 10)
  5509. return "" + n;
  5510. return "0" + n;
  5511. },
  5512. Duration$(milliseconds) {
  5513. return new A.Duration(1000 * milliseconds);
  5514. },
  5515. Error_safeToString(object) {
  5516. if (typeof object == "number" || A._isBool(object) || object == null)
  5517. return J.toString$0$(object);
  5518. if (typeof object == "string")
  5519. return JSON.stringify(object);
  5520. return A.Error__objectToString(object);
  5521. },
  5522. AssertionError$(message) {
  5523. return new A.AssertionError(message);
  5524. },
  5525. ArgumentError$(message, $name) {
  5526. return new A.ArgumentError(false, null, $name, message);
  5527. },
  5528. ArgumentError$value(value, $name, message) {
  5529. return new A.ArgumentError(true, value, $name, message);
  5530. },
  5531. ArgumentError_checkNotNull(argument, $name) {
  5532. return argument;
  5533. },
  5534. RangeError$(message) {
  5535. var _null = null;
  5536. return new A.RangeError(_null, _null, false, _null, _null, message);
  5537. },
  5538. RangeError$value(value, $name, message) {
  5539. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  5540. },
  5541. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  5542. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  5543. },
  5544. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  5545. if (value < minValue || value > maxValue)
  5546. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  5547. return value;
  5548. },
  5549. RangeError_checkValidRange(start, end, $length) {
  5550. if (0 > start || start > $length)
  5551. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  5552. if (end != null) {
  5553. if (start > end || end > $length)
  5554. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  5555. return end;
  5556. }
  5557. return $length;
  5558. },
  5559. RangeError_checkNotNegative(value, $name) {
  5560. if (value < 0)
  5561. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  5562. return value;
  5563. },
  5564. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  5565. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  5566. },
  5567. IndexError_check(index, $length, indexable, message, $name) {
  5568. if (0 > index || index >= $length)
  5569. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  5570. return index;
  5571. },
  5572. UnsupportedError$(message) {
  5573. return new A.UnsupportedError(message);
  5574. },
  5575. UnimplementedError$(message) {
  5576. return new A.UnimplementedError(message);
  5577. },
  5578. StateError$(message) {
  5579. return new A.StateError(message);
  5580. },
  5581. ConcurrentModificationError$(modifiedObject) {
  5582. return new A.ConcurrentModificationError(modifiedObject);
  5583. },
  5584. FormatException$(message, source, offset) {
  5585. return new A.FormatException(message, source, offset);
  5586. },
  5587. Iterable_Iterable$generate(count, generator, $E) {
  5588. if (count <= 0)
  5589. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  5590. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  5591. },
  5592. Map_castFrom(source, $K, $V, K2, V2) {
  5593. 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>"));
  5594. },
  5595. Object_hash(object1, object2, object3, object4) {
  5596. var t1, t2;
  5597. if (B.C_SentinelValue === object3) {
  5598. t1 = J.get$hashCode$(object1);
  5599. object2 = J.get$hashCode$(object2);
  5600. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  5601. }
  5602. if (B.C_SentinelValue === object4) {
  5603. t1 = J.get$hashCode$(object1);
  5604. object2 = J.get$hashCode$(object2);
  5605. object3 = J.get$hashCode$(object3);
  5606. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  5607. }
  5608. t1 = J.get$hashCode$(object1);
  5609. object2 = J.get$hashCode$(object2);
  5610. object3 = J.get$hashCode$(object3);
  5611. object4 = J.get$hashCode$(object4);
  5612. t2 = $.$get$_hashSeed();
  5613. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3), object4));
  5614. },
  5615. print(object) {
  5616. var line = A.S(object),
  5617. toZone = $.printToZone;
  5618. if (toZone == null)
  5619. A.printString(line);
  5620. else
  5621. toZone.call$1(line);
  5622. },
  5623. Set_castFrom(source, newSet, $S, $T) {
  5624. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  5625. },
  5626. _combineSurrogatePair(start, end) {
  5627. return 65536 + ((start & 1023) << 10) + (end & 1023);
  5628. },
  5629. Uri_Uri$dataFromString($content, encoding, mimeType) {
  5630. var encodingName, t1,
  5631. buffer = new A.StringBuffer(""),
  5632. indices = A._setArrayType([-1], type$.JSArray_int);
  5633. if (encoding == null)
  5634. encodingName = null;
  5635. else
  5636. encodingName = "utf-8";
  5637. if (encoding == null)
  5638. encoding = B.C_AsciiCodec;
  5639. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  5640. indices.push(buffer._contents.length);
  5641. buffer._contents += ",";
  5642. A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
  5643. t1 = buffer._contents;
  5644. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  5645. },
  5646. Uri_parse(uri) {
  5647. 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,
  5648. end = uri.length;
  5649. if (end >= 5) {
  5650. delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0;
  5651. if (delta === 0)
  5652. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  5653. else if (delta === 32)
  5654. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  5655. }
  5656. indices = A.List_List$filled(8, 0, false, type$.int);
  5657. indices[0] = 0;
  5658. indices[1] = -1;
  5659. indices[2] = -1;
  5660. indices[7] = -1;
  5661. indices[3] = 0;
  5662. indices[4] = 0;
  5663. indices[5] = end;
  5664. indices[6] = end;
  5665. if (A._scan(uri, 0, end, 0, indices) >= 14)
  5666. indices[7] = end;
  5667. schemeEnd = indices[1];
  5668. if (schemeEnd >= 0)
  5669. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  5670. indices[7] = schemeEnd;
  5671. hostStart = indices[2] + 1;
  5672. portStart = indices[3];
  5673. pathStart = indices[4];
  5674. queryStart = indices[5];
  5675. fragmentStart = indices[6];
  5676. if (fragmentStart < queryStart)
  5677. queryStart = fragmentStart;
  5678. if (pathStart < hostStart)
  5679. pathStart = queryStart;
  5680. else if (pathStart <= schemeEnd)
  5681. pathStart = schemeEnd + 1;
  5682. if (portStart < hostStart)
  5683. portStart = pathStart;
  5684. isSimple = indices[7] < 0;
  5685. if (isSimple)
  5686. if (hostStart > schemeEnd + 3) {
  5687. scheme = _null;
  5688. isSimple = false;
  5689. } else {
  5690. t1 = portStart > 0;
  5691. if (t1 && portStart + 1 === pathStart) {
  5692. scheme = _null;
  5693. isSimple = false;
  5694. } else {
  5695. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  5696. if (hostStart > 0)
  5697. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  5698. else
  5699. t2 = false;
  5700. else
  5701. t2 = true;
  5702. if (t2) {
  5703. scheme = _null;
  5704. isSimple = false;
  5705. } else {
  5706. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  5707. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  5708. else
  5709. t2 = true;
  5710. if (t2) {
  5711. scheme = _null;
  5712. isSimple = false;
  5713. } else {
  5714. if (schemeEnd === 4)
  5715. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  5716. if (hostStart <= 0) {
  5717. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  5718. schemeAuth = "file:///";
  5719. delta = 3;
  5720. } else {
  5721. schemeAuth = "file://";
  5722. delta = 2;
  5723. }
  5724. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  5725. schemeEnd -= 0;
  5726. t1 = delta - 0;
  5727. queryStart += t1;
  5728. fragmentStart += t1;
  5729. end = uri.length;
  5730. hostStart = 7;
  5731. portStart = 7;
  5732. pathStart = 7;
  5733. } else if (pathStart === queryStart) {
  5734. ++fragmentStart;
  5735. queryStart0 = queryStart + 1;
  5736. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  5737. ++end;
  5738. queryStart = queryStart0;
  5739. }
  5740. scheme = "file";
  5741. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  5742. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  5743. fragmentStart -= 3;
  5744. pathStart0 = pathStart - 3;
  5745. queryStart -= 3;
  5746. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5747. end -= 3;
  5748. pathStart = pathStart0;
  5749. }
  5750. scheme = "http";
  5751. } else
  5752. scheme = _null;
  5753. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  5754. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  5755. fragmentStart -= 4;
  5756. pathStart0 = pathStart - 4;
  5757. queryStart -= 4;
  5758. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5759. end -= 3;
  5760. pathStart = pathStart0;
  5761. }
  5762. scheme = "https";
  5763. } else
  5764. scheme = _null;
  5765. isSimple = true;
  5766. }
  5767. }
  5768. }
  5769. }
  5770. else
  5771. scheme = _null;
  5772. if (isSimple) {
  5773. if (end < uri.length) {
  5774. uri = B.JSString_methods.substring$2(uri, 0, end);
  5775. schemeEnd -= 0;
  5776. hostStart -= 0;
  5777. portStart -= 0;
  5778. pathStart -= 0;
  5779. queryStart -= 0;
  5780. fragmentStart -= 0;
  5781. }
  5782. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  5783. }
  5784. if (scheme == null)
  5785. if (schemeEnd > 0)
  5786. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  5787. else {
  5788. if (schemeEnd === 0)
  5789. A._Uri__fail(uri, 0, "Invalid empty scheme");
  5790. scheme = "";
  5791. }
  5792. if (hostStart > 0) {
  5793. userInfoStart = schemeEnd + 3;
  5794. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  5795. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  5796. t1 = portStart + 1;
  5797. if (t1 < pathStart) {
  5798. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  5799. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  5800. } else
  5801. port = _null;
  5802. } else {
  5803. port = _null;
  5804. host = port;
  5805. userInfo = "";
  5806. }
  5807. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  5808. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  5809. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  5810. },
  5811. Uri_decodeComponent(encodedComponent) {
  5812. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  5813. },
  5814. Uri__parseIPv4Address(host, start, end) {
  5815. var i, partStart, partIndex, char, part, partIndex0,
  5816. _s43_ = "IPv4 address should contain exactly 4 parts",
  5817. _s37_ = "each part must be in the range 0..255",
  5818. error = new A.Uri__parseIPv4Address_error(host),
  5819. result = new Uint8Array(4);
  5820. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  5821. char = B.JSString_methods.codeUnitAt$1(host, i);
  5822. if (char !== 46) {
  5823. if ((char ^ 48) > 9)
  5824. error.call$2("invalid character", i);
  5825. } else {
  5826. if (partIndex === 3)
  5827. error.call$2(_s43_, i);
  5828. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  5829. if (part > 255)
  5830. error.call$2(_s37_, partStart);
  5831. partIndex0 = partIndex + 1;
  5832. result[partIndex] = part;
  5833. partStart = i + 1;
  5834. partIndex = partIndex0;
  5835. }
  5836. }
  5837. if (partIndex !== 3)
  5838. error.call$2(_s43_, end);
  5839. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  5840. if (part > 255)
  5841. error.call$2(_s37_, partStart);
  5842. result[partIndex] = part;
  5843. return result;
  5844. },
  5845. Uri_parseIPv6Address(host, start, end) {
  5846. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  5847. error = new A.Uri_parseIPv6Address_error(host),
  5848. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  5849. if (host.length < 2)
  5850. error.call$2("address is too short", _null);
  5851. parts = A._setArrayType([], type$.JSArray_int);
  5852. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  5853. char = B.JSString_methods.codeUnitAt$1(host, i);
  5854. if (char === 58) {
  5855. if (i === start) {
  5856. ++i;
  5857. if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
  5858. error.call$2("invalid start colon.", i);
  5859. partStart = i;
  5860. }
  5861. if (i === partStart) {
  5862. if (wildcardSeen)
  5863. error.call$2("only one wildcard `::` is allowed", i);
  5864. parts.push(-1);
  5865. wildcardSeen = true;
  5866. } else
  5867. parts.push(parseHex.call$2(partStart, i));
  5868. partStart = i + 1;
  5869. } else if (char === 46)
  5870. seenDot = true;
  5871. }
  5872. if (parts.length === 0)
  5873. error.call$2("too few parts", _null);
  5874. atEnd = partStart === end;
  5875. t1 = B.JSArray_methods.get$last(parts);
  5876. if (atEnd && t1 !== -1)
  5877. error.call$2("expected a part after last `:`", end);
  5878. if (!atEnd)
  5879. if (!seenDot)
  5880. parts.push(parseHex.call$2(partStart, end));
  5881. else {
  5882. last = A.Uri__parseIPv4Address(host, partStart, end);
  5883. parts.push((last[0] << 8 | last[1]) >>> 0);
  5884. parts.push((last[2] << 8 | last[3]) >>> 0);
  5885. }
  5886. if (wildcardSeen) {
  5887. if (parts.length > 7)
  5888. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  5889. } else if (parts.length !== 8)
  5890. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  5891. bytes = new Uint8Array(16);
  5892. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  5893. value = parts[i];
  5894. if (value === -1)
  5895. for (j = 0; j < wildCardLength; ++j) {
  5896. bytes[index] = 0;
  5897. bytes[index + 1] = 0;
  5898. index += 2;
  5899. }
  5900. else {
  5901. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  5902. bytes[index + 1] = value & 255;
  5903. index += 2;
  5904. }
  5905. }
  5906. return bytes;
  5907. },
  5908. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  5909. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  5910. },
  5911. _Uri__Uri(host, path, pathSegments, scheme) {
  5912. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  5913. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  5914. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  5915. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  5916. query = A._Uri__makeQuery(_null, 0, 0, _null);
  5917. fragment = A._Uri__makeFragment(_null, 0, 0);
  5918. port = A._Uri__makePort(_null, scheme);
  5919. isFile = scheme === "file";
  5920. if (host == null)
  5921. t1 = userInfo.length !== 0 || port != null || isFile;
  5922. else
  5923. t1 = false;
  5924. if (t1)
  5925. host = "";
  5926. t1 = host == null;
  5927. hasAuthority = !t1;
  5928. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  5929. t2 = scheme.length === 0;
  5930. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  5931. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  5932. else
  5933. path = A._Uri__removeDotSegments(path);
  5934. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  5935. },
  5936. _Uri__defaultPort(scheme) {
  5937. if (scheme === "http")
  5938. return 80;
  5939. if (scheme === "https")
  5940. return 443;
  5941. return 0;
  5942. },
  5943. _Uri__fail(uri, index, message) {
  5944. throw A.wrapException(A.FormatException$(message, uri, index));
  5945. },
  5946. _Uri__Uri$file(path, windows) {
  5947. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  5948. },
  5949. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  5950. var t1, _i, segment, t2, t3;
  5951. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  5952. segment = segments[_i];
  5953. t2 = J.getInterceptor$asx(segment);
  5954. t3 = t2.get$length(segment);
  5955. if (0 > t3)
  5956. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  5957. if (A.stringContainsUnchecked(segment, "/", 0)) {
  5958. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  5959. throw A.wrapException(t1);
  5960. }
  5961. }
  5962. },
  5963. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  5964. var t1, t2, t3, t4, t5, _null = null;
  5965. for (t1 = A.SubListIterable$(segments, firstSegment, _null, A._arrayInstanceType(segments)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  5966. t3 = t1.__internal$_current;
  5967. if (t3 == null)
  5968. t3 = t2._as(t3);
  5969. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  5970. t5 = t3.length;
  5971. if (A.stringContainsUnchecked(t3, t4, 0))
  5972. if (argumentError)
  5973. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  5974. else
  5975. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  5976. }
  5977. },
  5978. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  5979. var t1,
  5980. _s21_ = "Illegal drive letter ";
  5981. if (!(65 <= charCode && charCode <= 90))
  5982. t1 = 97 <= charCode && charCode <= 122;
  5983. else
  5984. t1 = true;
  5985. if (t1)
  5986. return;
  5987. if (argumentError)
  5988. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  5989. else
  5990. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  5991. },
  5992. _Uri__makeFileUri(path, slashTerminated) {
  5993. var _null = null,
  5994. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  5995. if (B.JSString_methods.startsWith$1(path, "/"))
  5996. return A._Uri__Uri(_null, _null, segments, "file");
  5997. else
  5998. return A._Uri__Uri(_null, _null, segments, _null);
  5999. },
  6000. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  6001. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  6002. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  6003. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  6004. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  6005. else {
  6006. path = B.JSString_methods.substring$1(path, 4);
  6007. if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  6008. throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
  6009. }
  6010. else
  6011. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  6012. t1 = path.length;
  6013. if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
  6014. A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
  6015. if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  6016. throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
  6017. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6018. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  6019. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  6020. }
  6021. if (B.JSString_methods.startsWith$1(path, _s1_))
  6022. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  6023. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  6024. t1 = pathStart < 0;
  6025. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  6026. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  6027. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6028. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  6029. } else {
  6030. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6031. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6032. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  6033. }
  6034. else {
  6035. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  6036. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  6037. return A._Uri__Uri(_null, _null, pathSegments, _null);
  6038. }
  6039. },
  6040. _Uri__makePort(port, scheme) {
  6041. if (port != null && port === A._Uri__defaultPort(scheme))
  6042. return null;
  6043. return port;
  6044. },
  6045. _Uri__makeHost(host, start, end, strictIPv6) {
  6046. var t1, t2, index, zoneIDstart, zoneID, i;
  6047. if (host == null)
  6048. return null;
  6049. if (start === end)
  6050. return "";
  6051. if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
  6052. t1 = end - 1;
  6053. if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
  6054. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  6055. t2 = start + 1;
  6056. index = A._Uri__checkZoneID(host, t2, t1);
  6057. if (index < t1) {
  6058. zoneIDstart = index + 1;
  6059. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  6060. } else
  6061. zoneID = "";
  6062. A.Uri_parseIPv6Address(host, t2, index);
  6063. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  6064. }
  6065. for (i = start; i < end; ++i)
  6066. if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
  6067. index = B.JSString_methods.indexOf$2(host, "%", start);
  6068. index = index >= start && index < end ? index : end;
  6069. if (index < end) {
  6070. zoneIDstart = index + 1;
  6071. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  6072. } else
  6073. zoneID = "";
  6074. A.Uri_parseIPv6Address(host, start, index);
  6075. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  6076. }
  6077. return A._Uri__normalizeRegName(host, start, end);
  6078. },
  6079. _Uri__checkZoneID(host, start, end) {
  6080. var index = B.JSString_methods.indexOf$2(host, "%", start);
  6081. return index >= start && index < end ? index : end;
  6082. },
  6083. _Uri__normalizeZoneID(host, start, end, prefix) {
  6084. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  6085. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  6086. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  6087. char = B.JSString_methods.codeUnitAt$1(host, index);
  6088. if (char === 37) {
  6089. replacement = A._Uri__normalizeEscape(host, index, true);
  6090. t1 = replacement == null;
  6091. if (t1 && isNormalized) {
  6092. index += 3;
  6093. continue;
  6094. }
  6095. if (buffer == null)
  6096. buffer = new A.StringBuffer("");
  6097. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6098. if (t1)
  6099. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6100. else if (replacement === "%")
  6101. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  6102. buffer._contents = t2 + replacement;
  6103. index += 3;
  6104. sectionStart = index;
  6105. isNormalized = true;
  6106. } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
  6107. if (isNormalized && 65 <= char && 90 >= char) {
  6108. if (buffer == null)
  6109. buffer = new A.StringBuffer("");
  6110. if (sectionStart < index) {
  6111. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6112. sectionStart = index;
  6113. }
  6114. isNormalized = false;
  6115. }
  6116. ++index;
  6117. } else {
  6118. if ((char & 64512) === 55296 && index + 1 < end) {
  6119. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6120. if ((tail & 64512) === 56320) {
  6121. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6122. sourceLength = 2;
  6123. } else
  6124. sourceLength = 1;
  6125. } else
  6126. sourceLength = 1;
  6127. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6128. if (buffer == null) {
  6129. buffer = new A.StringBuffer("");
  6130. t1 = buffer;
  6131. } else
  6132. t1 = buffer;
  6133. t1._contents += slice;
  6134. t1._contents += A._Uri__escapeChar(char);
  6135. index += sourceLength;
  6136. sectionStart = index;
  6137. }
  6138. }
  6139. if (buffer == null)
  6140. return B.JSString_methods.substring$2(host, start, end);
  6141. if (sectionStart < end)
  6142. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  6143. t1 = buffer._contents;
  6144. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6145. },
  6146. _Uri__normalizeRegName(host, start, end) {
  6147. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  6148. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  6149. char = B.JSString_methods.codeUnitAt$1(host, index);
  6150. if (char === 37) {
  6151. replacement = A._Uri__normalizeEscape(host, index, true);
  6152. t1 = replacement == null;
  6153. if (t1 && isNormalized) {
  6154. index += 3;
  6155. continue;
  6156. }
  6157. if (buffer == null)
  6158. buffer = new A.StringBuffer("");
  6159. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6160. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6161. if (t1) {
  6162. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6163. sourceLength = 3;
  6164. } else if (replacement === "%") {
  6165. replacement = "%25";
  6166. sourceLength = 1;
  6167. } else
  6168. sourceLength = 3;
  6169. buffer._contents = t2 + replacement;
  6170. index += sourceLength;
  6171. sectionStart = index;
  6172. isNormalized = true;
  6173. } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
  6174. if (isNormalized && 65 <= char && 90 >= char) {
  6175. if (buffer == null)
  6176. buffer = new A.StringBuffer("");
  6177. if (sectionStart < index) {
  6178. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6179. sectionStart = index;
  6180. }
  6181. isNormalized = false;
  6182. }
  6183. ++index;
  6184. } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
  6185. A._Uri__fail(host, index, "Invalid character");
  6186. else {
  6187. if ((char & 64512) === 55296 && index + 1 < end) {
  6188. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6189. if ((tail & 64512) === 56320) {
  6190. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6191. sourceLength = 2;
  6192. } else
  6193. sourceLength = 1;
  6194. } else
  6195. sourceLength = 1;
  6196. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6197. if (!isNormalized)
  6198. slice = slice.toLowerCase();
  6199. if (buffer == null) {
  6200. buffer = new A.StringBuffer("");
  6201. t1 = buffer;
  6202. } else
  6203. t1 = buffer;
  6204. t1._contents += slice;
  6205. t1._contents += A._Uri__escapeChar(char);
  6206. index += sourceLength;
  6207. sectionStart = index;
  6208. }
  6209. }
  6210. if (buffer == null)
  6211. return B.JSString_methods.substring$2(host, start, end);
  6212. if (sectionStart < end) {
  6213. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  6214. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6215. }
  6216. t1 = buffer._contents;
  6217. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6218. },
  6219. _Uri__makeScheme(scheme, start, end) {
  6220. var i, containsUpperCase, codeUnit;
  6221. if (start === end)
  6222. return "";
  6223. if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
  6224. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  6225. for (i = start, containsUpperCase = false; i < end; ++i) {
  6226. codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
  6227. if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  6228. A._Uri__fail(scheme, i, "Illegal scheme character");
  6229. if (65 <= codeUnit && codeUnit <= 90)
  6230. containsUpperCase = true;
  6231. }
  6232. scheme = B.JSString_methods.substring$2(scheme, start, end);
  6233. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  6234. },
  6235. _Uri__canonicalizeScheme(scheme) {
  6236. if (scheme === "http")
  6237. return "http";
  6238. if (scheme === "file")
  6239. return "file";
  6240. if (scheme === "https")
  6241. return "https";
  6242. if (scheme === "package")
  6243. return "package";
  6244. return scheme;
  6245. },
  6246. _Uri__makeUserInfo(userInfo, start, end) {
  6247. if (userInfo == null)
  6248. return "";
  6249. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false, false);
  6250. },
  6251. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  6252. var result,
  6253. isFile = scheme === "file",
  6254. ensureLeadingSlash = isFile || hasAuthority;
  6255. if (path == null) {
  6256. if (pathSegments == null)
  6257. return isFile ? "/" : "";
  6258. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  6259. } else if (pathSegments != null)
  6260. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  6261. else
  6262. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true, true);
  6263. if (result.length === 0) {
  6264. if (isFile)
  6265. return "/";
  6266. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  6267. result = "/" + result;
  6268. return A._Uri__normalizePath(result, scheme, hasAuthority);
  6269. },
  6270. _Uri__normalizePath(path, scheme, hasAuthority) {
  6271. var t1 = scheme.length === 0;
  6272. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  6273. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  6274. return A._Uri__removeDotSegments(path);
  6275. },
  6276. _Uri__makeQuery(query, start, end, queryParameters) {
  6277. if (query != null)
  6278. return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true, false);
  6279. return null;
  6280. },
  6281. _Uri__makeFragment(fragment, start, end) {
  6282. if (fragment == null)
  6283. return null;
  6284. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true, false);
  6285. },
  6286. _Uri__normalizeEscape(source, index, lowerCase) {
  6287. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  6288. t1 = index + 2;
  6289. if (t1 >= source.length)
  6290. return "%";
  6291. firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
  6292. secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
  6293. firstDigitValue = A.hexDigitValue(firstDigit);
  6294. secondDigitValue = A.hexDigitValue(secondDigit);
  6295. if (firstDigitValue < 0 || secondDigitValue < 0)
  6296. return "%";
  6297. value = firstDigitValue * 16 + secondDigitValue;
  6298. if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  6299. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  6300. if (firstDigit >= 97 || secondDigit >= 97)
  6301. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  6302. return null;
  6303. },
  6304. _Uri__escapeChar(char) {
  6305. var codeUnits, flag, encodedBytes, index, byte,
  6306. _s16_ = "0123456789ABCDEF";
  6307. if (char < 128) {
  6308. codeUnits = new Uint8Array(3);
  6309. codeUnits[0] = 37;
  6310. codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
  6311. codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
  6312. } else {
  6313. if (char > 2047)
  6314. if (char > 65535) {
  6315. flag = 240;
  6316. encodedBytes = 4;
  6317. } else {
  6318. flag = 224;
  6319. encodedBytes = 3;
  6320. }
  6321. else {
  6322. flag = 192;
  6323. encodedBytes = 2;
  6324. }
  6325. codeUnits = new Uint8Array(3 * encodedBytes);
  6326. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  6327. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  6328. codeUnits[index] = 37;
  6329. codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
  6330. codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
  6331. index += 3;
  6332. }
  6333. }
  6334. return A.String_String$fromCharCodes(codeUnits, 0, null);
  6335. },
  6336. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6337. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  6338. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  6339. },
  6340. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6341. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  6342. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  6343. char = B.JSString_methods.codeUnitAt$1(component, index);
  6344. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  6345. ++index;
  6346. else {
  6347. if (char === 37) {
  6348. replacement = A._Uri__normalizeEscape(component, index, false);
  6349. if (replacement == null) {
  6350. index += 3;
  6351. continue;
  6352. }
  6353. if ("%" === replacement) {
  6354. replacement = "%25";
  6355. sourceLength = 1;
  6356. } else
  6357. sourceLength = 3;
  6358. } else if (char === 92 && replaceBackslash) {
  6359. replacement = "/";
  6360. sourceLength = 1;
  6361. } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
  6362. A._Uri__fail(component, index, "Invalid character");
  6363. sourceLength = _null;
  6364. replacement = sourceLength;
  6365. } else {
  6366. if ((char & 64512) === 55296) {
  6367. t2 = index + 1;
  6368. if (t2 < end) {
  6369. tail = B.JSString_methods.codeUnitAt$1(component, t2);
  6370. if ((tail & 64512) === 56320) {
  6371. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6372. sourceLength = 2;
  6373. } else
  6374. sourceLength = 1;
  6375. } else
  6376. sourceLength = 1;
  6377. } else
  6378. sourceLength = 1;
  6379. replacement = A._Uri__escapeChar(char);
  6380. }
  6381. if (buffer == null) {
  6382. buffer = new A.StringBuffer("");
  6383. t2 = buffer;
  6384. } else
  6385. t2 = buffer;
  6386. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  6387. t2._contents = t3 + A.S(replacement);
  6388. index += sourceLength;
  6389. sectionStart = index;
  6390. }
  6391. }
  6392. if (buffer == null)
  6393. return _null;
  6394. if (sectionStart < end)
  6395. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  6396. t1 = buffer._contents;
  6397. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6398. },
  6399. _Uri__mayContainDotSegments(path) {
  6400. if (B.JSString_methods.startsWith$1(path, "."))
  6401. return true;
  6402. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  6403. },
  6404. _Uri__removeDotSegments(path) {
  6405. var output, t1, t2, appendSlash, _i, segment;
  6406. if (!A._Uri__mayContainDotSegments(path))
  6407. return path;
  6408. output = A._setArrayType([], type$.JSArray_String);
  6409. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6410. segment = t1[_i];
  6411. if (J.$eq$(segment, "..")) {
  6412. if (output.length !== 0) {
  6413. output.pop();
  6414. if (output.length === 0)
  6415. output.push("");
  6416. }
  6417. appendSlash = true;
  6418. } else if ("." === segment)
  6419. appendSlash = true;
  6420. else {
  6421. output.push(segment);
  6422. appendSlash = false;
  6423. }
  6424. }
  6425. if (appendSlash)
  6426. output.push("");
  6427. return B.JSArray_methods.join$1(output, "/");
  6428. },
  6429. _Uri__normalizeRelativePath(path, allowScheme) {
  6430. var output, t1, t2, appendSlash, _i, segment;
  6431. if (!A._Uri__mayContainDotSegments(path))
  6432. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  6433. output = A._setArrayType([], type$.JSArray_String);
  6434. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6435. segment = t1[_i];
  6436. if (".." === segment)
  6437. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  6438. output.pop();
  6439. appendSlash = true;
  6440. } else {
  6441. output.push("..");
  6442. appendSlash = false;
  6443. }
  6444. else if ("." === segment)
  6445. appendSlash = true;
  6446. else {
  6447. output.push(segment);
  6448. appendSlash = false;
  6449. }
  6450. }
  6451. t1 = output.length;
  6452. if (t1 !== 0)
  6453. t1 = t1 === 1 && output[0].length === 0;
  6454. else
  6455. t1 = true;
  6456. if (t1)
  6457. return "./";
  6458. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  6459. output.push("");
  6460. if (!allowScheme)
  6461. output[0] = A._Uri__escapeScheme(output[0]);
  6462. return B.JSArray_methods.join$1(output, "/");
  6463. },
  6464. _Uri__escapeScheme(path) {
  6465. var i, char,
  6466. t1 = path.length;
  6467. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
  6468. for (i = 1; i < t1; ++i) {
  6469. char = B.JSString_methods._codeUnitAt$1(path, i);
  6470. if (char === 58)
  6471. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  6472. if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
  6473. break;
  6474. }
  6475. return path;
  6476. },
  6477. _Uri__packageNameEnd(uri, path) {
  6478. if (uri.isScheme$1("package") && uri._host == null)
  6479. return A._skipPackageNameChars(path, 0, path.length);
  6480. return -1;
  6481. },
  6482. _Uri__toWindowsFilePath(uri) {
  6483. var hasDriveLetter, t2, host,
  6484. segments = uri.get$pathSegments(),
  6485. t1 = segments.length;
  6486. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  6487. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  6488. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  6489. hasDriveLetter = true;
  6490. } else {
  6491. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  6492. hasDriveLetter = false;
  6493. }
  6494. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  6495. if (uri.get$hasAuthority()) {
  6496. host = uri.get$host();
  6497. if (host.length !== 0)
  6498. t2 = t2 + "\\" + host + "\\";
  6499. }
  6500. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  6501. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  6502. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6503. },
  6504. _Uri__hexCharPairToByte(s, pos) {
  6505. var byte, i, charCode;
  6506. for (byte = 0, i = 0; i < 2; ++i) {
  6507. charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
  6508. if (48 <= charCode && charCode <= 57)
  6509. byte = byte * 16 + charCode - 48;
  6510. else {
  6511. charCode |= 32;
  6512. if (97 <= charCode && charCode <= 102)
  6513. byte = byte * 16 + charCode - 87;
  6514. else
  6515. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  6516. }
  6517. }
  6518. return byte;
  6519. },
  6520. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  6521. var simple, codeUnit, t1, bytes,
  6522. i = start;
  6523. while (true) {
  6524. if (!(i < end)) {
  6525. simple = true;
  6526. break;
  6527. }
  6528. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6529. if (codeUnit <= 127)
  6530. if (codeUnit !== 37)
  6531. t1 = false;
  6532. else
  6533. t1 = true;
  6534. else
  6535. t1 = true;
  6536. if (t1) {
  6537. simple = false;
  6538. break;
  6539. }
  6540. ++i;
  6541. }
  6542. if (simple) {
  6543. if (B.C_Utf8Codec !== encoding)
  6544. t1 = false;
  6545. else
  6546. t1 = true;
  6547. if (t1)
  6548. return B.JSString_methods.substring$2(text, start, end);
  6549. else
  6550. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  6551. } else {
  6552. bytes = A._setArrayType([], type$.JSArray_int);
  6553. for (t1 = text.length, i = start; i < end; ++i) {
  6554. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6555. if (codeUnit > 127)
  6556. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  6557. if (codeUnit === 37) {
  6558. if (i + 3 > t1)
  6559. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  6560. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  6561. i += 2;
  6562. } else
  6563. bytes.push(codeUnit);
  6564. }
  6565. }
  6566. return B.Utf8Decoder_false.convert$1(bytes);
  6567. },
  6568. _Uri__isAlphabeticCharacter(codeUnit) {
  6569. var lowerCase = codeUnit | 32;
  6570. return 97 <= lowerCase && lowerCase <= 122;
  6571. },
  6572. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  6573. var t1, slashIndex;
  6574. if (mimeType != null)
  6575. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  6576. else
  6577. t1 = true;
  6578. if (t1)
  6579. mimeType = "";
  6580. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  6581. t1 = buffer._contents += mimeType;
  6582. else {
  6583. slashIndex = A.UriData__validateMimeType(mimeType);
  6584. if (slashIndex < 0)
  6585. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  6586. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  6587. buffer._contents = t1 + "/";
  6588. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  6589. }
  6590. if (charsetName != null) {
  6591. indices.push(t1.length);
  6592. indices.push(buffer._contents.length + 8);
  6593. buffer._contents += ";charset=";
  6594. buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
  6595. }
  6596. },
  6597. UriData__validateMimeType(mimeType) {
  6598. var t1, slashIndex, i;
  6599. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  6600. if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
  6601. continue;
  6602. if (slashIndex < 0) {
  6603. slashIndex = i;
  6604. continue;
  6605. }
  6606. return -1;
  6607. }
  6608. return slashIndex;
  6609. },
  6610. UriData__parse(text, start, sourceUri) {
  6611. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  6612. _s17_ = "Invalid MIME type",
  6613. indices = A._setArrayType([start - 1], type$.JSArray_int);
  6614. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  6615. char = B.JSString_methods._codeUnitAt$1(text, i);
  6616. if (char === 44 || char === 59)
  6617. break;
  6618. if (char === 47) {
  6619. if (slashIndex < 0) {
  6620. slashIndex = i;
  6621. continue;
  6622. }
  6623. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6624. }
  6625. }
  6626. if (slashIndex < 0 && i > start)
  6627. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6628. for (; char !== 44;) {
  6629. indices.push(i);
  6630. ++i;
  6631. for (equalsIndex = -1; i < t1; ++i) {
  6632. char = B.JSString_methods._codeUnitAt$1(text, i);
  6633. if (char === 61) {
  6634. if (equalsIndex < 0)
  6635. equalsIndex = i;
  6636. } else if (char === 59 || char === 44)
  6637. break;
  6638. }
  6639. if (equalsIndex >= 0)
  6640. indices.push(equalsIndex);
  6641. else {
  6642. lastSeparator = B.JSArray_methods.get$last(indices);
  6643. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  6644. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  6645. break;
  6646. }
  6647. }
  6648. indices.push(i);
  6649. t2 = i + 1;
  6650. if ((indices.length & 1) === 1)
  6651. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  6652. else {
  6653. data = A._Uri__normalize(text, t2, t1, B.List_CVk, true, false);
  6654. if (data != null)
  6655. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  6656. }
  6657. return new A.UriData(text, indices, sourceUri);
  6658. },
  6659. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  6660. var t1, byteOr, i, byte, t2, t3,
  6661. _s16_ = "0123456789ABCDEF";
  6662. for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
  6663. byte = t1.$index(bytes, i);
  6664. byteOr |= byte;
  6665. t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
  6666. t3 = buffer._contents;
  6667. if (t2)
  6668. buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
  6669. else {
  6670. t2 = t3 + A.Primitives_stringFromCharCode(37);
  6671. buffer._contents = t2;
  6672. t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
  6673. buffer._contents = t2;
  6674. buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
  6675. }
  6676. }
  6677. if ((byteOr & 4294967040) >>> 0 !== 0)
  6678. for (i = 0; i < t1.get$length(bytes); ++i) {
  6679. byte = t1.$index(bytes, i);
  6680. if (byte < 0 || byte > 255)
  6681. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  6682. }
  6683. },
  6684. _createTables() {
  6685. var _i, t1, t2, t3, b,
  6686. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  6687. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  6688. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  6689. for (_i = 0; _i < 22; ++_i)
  6690. tables[_i] = new Uint8Array(96);
  6691. t1 = new A._createTables_build(tables);
  6692. t2 = new A._createTables_setChars();
  6693. t3 = new A._createTables_setRange();
  6694. b = t1.call$2(0, 225);
  6695. t2.call$3(b, _s77_, 1);
  6696. t2.call$3(b, _s1_, 14);
  6697. t2.call$3(b, _s1_0, 34);
  6698. t2.call$3(b, _s1_1, 3);
  6699. t2.call$3(b, _s1_2, 227);
  6700. t2.call$3(b, _s1_3, 172);
  6701. t2.call$3(b, _s1_4, 205);
  6702. b = t1.call$2(14, 225);
  6703. t2.call$3(b, _s77_, 1);
  6704. t2.call$3(b, _s1_, 15);
  6705. t2.call$3(b, _s1_0, 34);
  6706. t2.call$3(b, _s2_, 234);
  6707. t2.call$3(b, _s1_3, 172);
  6708. t2.call$3(b, _s1_4, 205);
  6709. b = t1.call$2(15, 225);
  6710. t2.call$3(b, _s77_, 1);
  6711. t2.call$3(b, "%", 225);
  6712. t2.call$3(b, _s1_0, 34);
  6713. t2.call$3(b, _s1_1, 9);
  6714. t2.call$3(b, _s1_2, 233);
  6715. t2.call$3(b, _s1_3, 172);
  6716. t2.call$3(b, _s1_4, 205);
  6717. b = t1.call$2(1, 225);
  6718. t2.call$3(b, _s77_, 1);
  6719. t2.call$3(b, _s1_0, 34);
  6720. t2.call$3(b, _s1_1, 10);
  6721. t2.call$3(b, _s1_2, 234);
  6722. t2.call$3(b, _s1_3, 172);
  6723. t2.call$3(b, _s1_4, 205);
  6724. b = t1.call$2(2, 235);
  6725. t2.call$3(b, _s77_, 139);
  6726. t2.call$3(b, _s1_1, 131);
  6727. t2.call$3(b, _s1_2, 131);
  6728. t2.call$3(b, _s1_, 146);
  6729. t2.call$3(b, _s1_3, 172);
  6730. t2.call$3(b, _s1_4, 205);
  6731. b = t1.call$2(3, 235);
  6732. t2.call$3(b, _s77_, 11);
  6733. t2.call$3(b, _s1_1, 68);
  6734. t2.call$3(b, _s1_2, 68);
  6735. t2.call$3(b, _s1_, 18);
  6736. t2.call$3(b, _s1_3, 172);
  6737. t2.call$3(b, _s1_4, 205);
  6738. b = t1.call$2(4, 229);
  6739. t2.call$3(b, _s77_, 5);
  6740. t3.call$3(b, "AZ", 229);
  6741. t2.call$3(b, _s1_0, 102);
  6742. t2.call$3(b, "@", 68);
  6743. t2.call$3(b, "[", 232);
  6744. t2.call$3(b, _s1_1, 138);
  6745. t2.call$3(b, _s1_2, 138);
  6746. t2.call$3(b, _s1_3, 172);
  6747. t2.call$3(b, _s1_4, 205);
  6748. b = t1.call$2(5, 229);
  6749. t2.call$3(b, _s77_, 5);
  6750. t3.call$3(b, "AZ", 229);
  6751. t2.call$3(b, _s1_0, 102);
  6752. t2.call$3(b, "@", 68);
  6753. t2.call$3(b, _s1_1, 138);
  6754. t2.call$3(b, _s1_2, 138);
  6755. t2.call$3(b, _s1_3, 172);
  6756. t2.call$3(b, _s1_4, 205);
  6757. b = t1.call$2(6, 231);
  6758. t3.call$3(b, "19", 7);
  6759. t2.call$3(b, "@", 68);
  6760. t2.call$3(b, _s1_1, 138);
  6761. t2.call$3(b, _s1_2, 138);
  6762. t2.call$3(b, _s1_3, 172);
  6763. t2.call$3(b, _s1_4, 205);
  6764. b = t1.call$2(7, 231);
  6765. t3.call$3(b, "09", 7);
  6766. t2.call$3(b, "@", 68);
  6767. t2.call$3(b, _s1_1, 138);
  6768. t2.call$3(b, _s1_2, 138);
  6769. t2.call$3(b, _s1_3, 172);
  6770. t2.call$3(b, _s1_4, 205);
  6771. t2.call$3(t1.call$2(8, 8), "]", 5);
  6772. b = t1.call$2(9, 235);
  6773. t2.call$3(b, _s77_, 11);
  6774. t2.call$3(b, _s1_, 16);
  6775. t2.call$3(b, _s2_, 234);
  6776. t2.call$3(b, _s1_3, 172);
  6777. t2.call$3(b, _s1_4, 205);
  6778. b = t1.call$2(16, 235);
  6779. t2.call$3(b, _s77_, 11);
  6780. t2.call$3(b, _s1_, 17);
  6781. t2.call$3(b, _s2_, 234);
  6782. t2.call$3(b, _s1_3, 172);
  6783. t2.call$3(b, _s1_4, 205);
  6784. b = t1.call$2(17, 235);
  6785. t2.call$3(b, _s77_, 11);
  6786. t2.call$3(b, _s1_1, 9);
  6787. t2.call$3(b, _s1_2, 233);
  6788. t2.call$3(b, _s1_3, 172);
  6789. t2.call$3(b, _s1_4, 205);
  6790. b = t1.call$2(10, 235);
  6791. t2.call$3(b, _s77_, 11);
  6792. t2.call$3(b, _s1_, 18);
  6793. t2.call$3(b, _s1_1, 10);
  6794. t2.call$3(b, _s1_2, 234);
  6795. t2.call$3(b, _s1_3, 172);
  6796. t2.call$3(b, _s1_4, 205);
  6797. b = t1.call$2(18, 235);
  6798. t2.call$3(b, _s77_, 11);
  6799. t2.call$3(b, _s1_, 19);
  6800. t2.call$3(b, _s2_, 234);
  6801. t2.call$3(b, _s1_3, 172);
  6802. t2.call$3(b, _s1_4, 205);
  6803. b = t1.call$2(19, 235);
  6804. t2.call$3(b, _s77_, 11);
  6805. t2.call$3(b, _s2_, 234);
  6806. t2.call$3(b, _s1_3, 172);
  6807. t2.call$3(b, _s1_4, 205);
  6808. b = t1.call$2(11, 235);
  6809. t2.call$3(b, _s77_, 11);
  6810. t2.call$3(b, _s1_1, 10);
  6811. t2.call$3(b, _s1_2, 234);
  6812. t2.call$3(b, _s1_3, 172);
  6813. t2.call$3(b, _s1_4, 205);
  6814. b = t1.call$2(12, 236);
  6815. t2.call$3(b, _s77_, 12);
  6816. t2.call$3(b, _s1_3, 12);
  6817. t2.call$3(b, _s1_4, 205);
  6818. b = t1.call$2(13, 237);
  6819. t2.call$3(b, _s77_, 13);
  6820. t2.call$3(b, _s1_3, 13);
  6821. t3.call$3(t1.call$2(20, 245), "az", 21);
  6822. b = t1.call$2(21, 245);
  6823. t3.call$3(b, "az", 21);
  6824. t3.call$3(b, "09", 21);
  6825. t2.call$3(b, "+-.", 21);
  6826. return tables;
  6827. },
  6828. _scan(uri, start, end, state, indices) {
  6829. var i, table, char, transition,
  6830. tables = $.$get$_scannerTables();
  6831. for (i = start; i < end; ++i) {
  6832. table = tables[state];
  6833. char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
  6834. transition = table[char > 95 ? 31 : char];
  6835. state = transition & 31;
  6836. indices[transition >>> 5] = i;
  6837. }
  6838. return state;
  6839. },
  6840. _SimpleUri__packageNameEnd(uri) {
  6841. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  6842. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  6843. return -1;
  6844. },
  6845. _skipPackageNameChars(source, start, end) {
  6846. var i, dots, char;
  6847. for (i = start, dots = 0; i < end; ++i) {
  6848. char = B.JSString_methods.codeUnitAt$1(source, i);
  6849. if (char === 47)
  6850. return dots !== 0 ? i : -1;
  6851. if (char === 37 || char === 58)
  6852. return -1;
  6853. dots |= char ^ 46;
  6854. }
  6855. return -1;
  6856. },
  6857. _caseInsensitiveCompareStart(prefix, string, start) {
  6858. var t1, result, i, prefixChar, stringChar, delta, lowerChar;
  6859. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  6860. prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i);
  6861. stringChar = B.JSString_methods._codeUnitAt$1(string, start + i);
  6862. delta = prefixChar ^ stringChar;
  6863. if (delta !== 0) {
  6864. if (delta === 32) {
  6865. lowerChar = stringChar | delta;
  6866. if (97 <= lowerChar && lowerChar <= 122) {
  6867. result = 32;
  6868. continue;
  6869. }
  6870. }
  6871. return -1;
  6872. }
  6873. }
  6874. return result;
  6875. },
  6876. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  6877. this._box_0 = t0;
  6878. this.sb = t1;
  6879. },
  6880. DateTime: function DateTime(t0, t1) {
  6881. this._value = t0;
  6882. this.isUtc = t1;
  6883. },
  6884. Duration: function Duration(t0) {
  6885. this._duration = t0;
  6886. },
  6887. _Enum: function _Enum() {
  6888. },
  6889. Error: function Error() {
  6890. },
  6891. AssertionError: function AssertionError(t0) {
  6892. this.message = t0;
  6893. },
  6894. TypeError: function TypeError() {
  6895. },
  6896. NullThrownError: function NullThrownError() {
  6897. },
  6898. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  6899. var _ = this;
  6900. _._hasValue = t0;
  6901. _.invalidValue = t1;
  6902. _.name = t2;
  6903. _.message = t3;
  6904. },
  6905. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  6906. var _ = this;
  6907. _.start = t0;
  6908. _.end = t1;
  6909. _._hasValue = t2;
  6910. _.invalidValue = t3;
  6911. _.name = t4;
  6912. _.message = t5;
  6913. },
  6914. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  6915. var _ = this;
  6916. _.length = t0;
  6917. _._hasValue = t1;
  6918. _.invalidValue = t2;
  6919. _.name = t3;
  6920. _.message = t4;
  6921. },
  6922. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3, t4) {
  6923. var _ = this;
  6924. _._core$_receiver = t0;
  6925. _._memberName = t1;
  6926. _._core$_arguments = t2;
  6927. _._namedArguments = t3;
  6928. _._existingArgumentNames = t4;
  6929. },
  6930. UnsupportedError: function UnsupportedError(t0) {
  6931. this.message = t0;
  6932. },
  6933. UnimplementedError: function UnimplementedError(t0) {
  6934. this.message = t0;
  6935. },
  6936. StateError: function StateError(t0) {
  6937. this.message = t0;
  6938. },
  6939. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  6940. this.modifiedObject = t0;
  6941. },
  6942. OutOfMemoryError: function OutOfMemoryError() {
  6943. },
  6944. StackOverflowError: function StackOverflowError() {
  6945. },
  6946. CyclicInitializationError: function CyclicInitializationError(t0) {
  6947. this.variableName = t0;
  6948. },
  6949. _Exception: function _Exception(t0) {
  6950. this.message = t0;
  6951. },
  6952. FormatException: function FormatException(t0, t1, t2) {
  6953. this.message = t0;
  6954. this.source = t1;
  6955. this.offset = t2;
  6956. },
  6957. Iterable: function Iterable() {
  6958. },
  6959. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  6960. this.length = t0;
  6961. this._generator = t1;
  6962. this.$ti = t2;
  6963. },
  6964. Iterator: function Iterator() {
  6965. },
  6966. MapEntry: function MapEntry(t0, t1, t2) {
  6967. this.key = t0;
  6968. this.value = t1;
  6969. this.$ti = t2;
  6970. },
  6971. Null: function Null() {
  6972. },
  6973. Object: function Object() {
  6974. },
  6975. _StringStackTrace: function _StringStackTrace(t0) {
  6976. this._stackTrace = t0;
  6977. },
  6978. Runes: function Runes(t0) {
  6979. this.string = t0;
  6980. },
  6981. RuneIterator: function RuneIterator(t0) {
  6982. var _ = this;
  6983. _.string = t0;
  6984. _._nextPosition = _._position = 0;
  6985. _._currentCodePoint = -1;
  6986. },
  6987. StringBuffer: function StringBuffer(t0) {
  6988. this._contents = t0;
  6989. },
  6990. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  6991. this.host = t0;
  6992. },
  6993. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  6994. this.host = t0;
  6995. },
  6996. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  6997. this.error = t0;
  6998. this.host = t1;
  6999. },
  7000. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  7001. var _ = this;
  7002. _.scheme = t0;
  7003. _._userInfo = t1;
  7004. _._host = t2;
  7005. _._port = t3;
  7006. _.path = t4;
  7007. _._query = t5;
  7008. _._fragment = t6;
  7009. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  7010. },
  7011. _Uri__makePath_closure: function _Uri__makePath_closure() {
  7012. },
  7013. UriData: function UriData(t0, t1, t2) {
  7014. this._core$_text = t0;
  7015. this._separatorIndices = t1;
  7016. this._uriCache = t2;
  7017. },
  7018. _createTables_build: function _createTables_build(t0) {
  7019. this.tables = t0;
  7020. },
  7021. _createTables_setChars: function _createTables_setChars() {
  7022. },
  7023. _createTables_setRange: function _createTables_setRange() {
  7024. },
  7025. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  7026. var _ = this;
  7027. _._uri = t0;
  7028. _._schemeEnd = t1;
  7029. _._hostStart = t2;
  7030. _._portStart = t3;
  7031. _._pathStart = t4;
  7032. _._queryStart = t5;
  7033. _._fragmentStart = t6;
  7034. _._schemeCache = t7;
  7035. _._hashCodeCache = null;
  7036. },
  7037. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  7038. var _ = this;
  7039. _.scheme = t0;
  7040. _._userInfo = t1;
  7041. _._host = t2;
  7042. _._port = t3;
  7043. _.path = t4;
  7044. _._query = t5;
  7045. _._fragment = t6;
  7046. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  7047. },
  7048. Expando: function Expando(t0) {
  7049. this._jsWeakMap = t0;
  7050. },
  7051. _convertDataTree(data) {
  7052. var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
  7053. t1.toString;
  7054. return t1;
  7055. },
  7056. callConstructor(constr, $arguments) {
  7057. var args, factoryFunction;
  7058. if ($arguments instanceof Array)
  7059. switch ($arguments.length) {
  7060. case 0:
  7061. return new constr();
  7062. case 1:
  7063. return new constr($arguments[0]);
  7064. case 2:
  7065. return new constr($arguments[0], $arguments[1]);
  7066. case 3:
  7067. return new constr($arguments[0], $arguments[1], $arguments[2]);
  7068. case 4:
  7069. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  7070. }
  7071. args = [null];
  7072. B.JSArray_methods.addAll$1(args, $arguments);
  7073. factoryFunction = constr.bind.apply(constr, args);
  7074. String(factoryFunction);
  7075. return new factoryFunction();
  7076. },
  7077. _convertDataTree__convert: function _convertDataTree__convert(t0) {
  7078. this._convertedObjects = t0;
  7079. },
  7080. max(a, b) {
  7081. return Math.max(A.checkNum(a), A.checkNum(b));
  7082. },
  7083. pow(x, exponent) {
  7084. return Math.pow(x, exponent);
  7085. },
  7086. Random_Random() {
  7087. return B.C__JSRandom;
  7088. },
  7089. _JSRandom: function _JSRandom() {
  7090. },
  7091. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  7092. var _ = this;
  7093. _._arg_parser$_options = t0;
  7094. _._aliases = t1;
  7095. _.options = t2;
  7096. _.commands = t3;
  7097. _._optionsAndSeparators = t4;
  7098. _.allowTrailingOptions = t5;
  7099. _.usageLineLength = t6;
  7100. },
  7101. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  7102. this.$this = t0;
  7103. },
  7104. ArgParserException$(message, commands) {
  7105. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  7106. },
  7107. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  7108. var _ = this;
  7109. _.commands = t0;
  7110. _.message = t1;
  7111. _.source = t2;
  7112. _.offset = t3;
  7113. },
  7114. ArgResults: function ArgResults(t0, t1, t2, t3) {
  7115. var _ = this;
  7116. _._parser = t0;
  7117. _._parsed = t1;
  7118. _.name = t2;
  7119. _.rest = t3;
  7120. },
  7121. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  7122. var _ = this;
  7123. _.name = t0;
  7124. _.abbr = t1;
  7125. _.help = t2;
  7126. _.valueHelp = t3;
  7127. _.allowed = t4;
  7128. _.allowedHelp = t5;
  7129. _.defaultsTo = t6;
  7130. _.negatable = t7;
  7131. _.callback = t8;
  7132. _.type = t9;
  7133. _.splitCommas = t10;
  7134. _.mandatory = t11;
  7135. _.hide = t12;
  7136. },
  7137. OptionType: function OptionType(t0) {
  7138. this.name = t0;
  7139. },
  7140. Parser$(_commandName, _grammar, _args, _parent, rest) {
  7141. var t1 = A._setArrayType([], type$.JSArray_String);
  7142. if (rest != null)
  7143. B.JSArray_methods.addAll$1(t1, rest);
  7144. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  7145. },
  7146. _isLetterOrDigit(codeUnit) {
  7147. var t1;
  7148. if (!(codeUnit >= 65 && codeUnit <= 90))
  7149. if (!(codeUnit >= 97 && codeUnit <= 122))
  7150. t1 = codeUnit >= 48 && codeUnit <= 57;
  7151. else
  7152. t1 = true;
  7153. else
  7154. t1 = true;
  7155. return t1;
  7156. },
  7157. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  7158. var _ = this;
  7159. _._commandName = t0;
  7160. _._parser$_parent = t1;
  7161. _._grammar = t2;
  7162. _._args = t3;
  7163. _._parser$_rest = t4;
  7164. _._results = t5;
  7165. },
  7166. Parser_parse_closure: function Parser_parse_closure(t0) {
  7167. this.$this = t0;
  7168. },
  7169. Parser__setOption_closure: function Parser__setOption_closure() {
  7170. },
  7171. _Usage: function _Usage(t0, t1, t2) {
  7172. var _ = this;
  7173. _._usage$_optionsAndSeparators = t0;
  7174. _._buffer = t1;
  7175. _._currentColumn = 0;
  7176. _.___Usage__columnWidths_FI = $;
  7177. _._newlinesNeeded = 0;
  7178. _.lineLength = t2;
  7179. },
  7180. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  7181. },
  7182. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  7183. this.option = t0;
  7184. },
  7185. ErrorResult: function ErrorResult(t0, t1) {
  7186. this.error = t0;
  7187. this.stackTrace = t1;
  7188. },
  7189. ValueResult: function ValueResult(t0, t1) {
  7190. this.value = t0;
  7191. this.$ti = t1;
  7192. },
  7193. StreamCompleter: function StreamCompleter(t0, t1) {
  7194. this._stream_completer$_stream = t0;
  7195. this.$ti = t1;
  7196. },
  7197. _CompleterStream: function _CompleterStream(t0) {
  7198. this._sourceStream = this._stream_completer$_controller = null;
  7199. this.$ti = t0;
  7200. },
  7201. StreamGroup: function StreamGroup(t0, t1, t2) {
  7202. var _ = this;
  7203. _.__StreamGroup__controller_A = $;
  7204. _._closed = false;
  7205. _._stream_group$_state = t0;
  7206. _._subscriptions = t1;
  7207. _.$ti = t2;
  7208. },
  7209. StreamGroup_add_closure: function StreamGroup_add_closure() {
  7210. },
  7211. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  7212. this.$this = t0;
  7213. this.stream = t1;
  7214. },
  7215. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  7216. },
  7217. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  7218. this.$this = t0;
  7219. },
  7220. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  7221. this.$this = t0;
  7222. this.stream = t1;
  7223. },
  7224. _StreamGroupState: function _StreamGroupState(t0) {
  7225. this.name = t0;
  7226. },
  7227. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  7228. var _ = this;
  7229. _._stream_queue$_source = t0;
  7230. _._stream_queue$_subscription = null;
  7231. _._isDone = false;
  7232. _._eventsReceived = 0;
  7233. _._eventQueue = t1;
  7234. _._requestQueue = t2;
  7235. _.$ti = t3;
  7236. },
  7237. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  7238. this.$this = t0;
  7239. },
  7240. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  7241. this.$this = t0;
  7242. },
  7243. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  7244. this.$this = t0;
  7245. },
  7246. _NextRequest: function _NextRequest(t0, t1) {
  7247. this._completer = t0;
  7248. this.$ti = t1;
  7249. },
  7250. Repl: function Repl(t0, t1, t2, t3) {
  7251. var _ = this;
  7252. _.prompt = t0;
  7253. _.continuation = t1;
  7254. _.validator = t2;
  7255. _.__Repl__adapter_A = $;
  7256. _.history = t3;
  7257. },
  7258. alwaysValid_closure: function alwaysValid_closure() {
  7259. },
  7260. ReplAdapter: function ReplAdapter(t0) {
  7261. this.repl = t0;
  7262. this.rl = null;
  7263. },
  7264. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  7265. var _ = this;
  7266. _._box_0 = t0;
  7267. _.$this = t1;
  7268. _.rl = t2;
  7269. _.runController = t3;
  7270. },
  7271. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  7272. this.lineController = t0;
  7273. },
  7274. Stdin: function Stdin() {
  7275. },
  7276. Stdout: function Stdout() {
  7277. },
  7278. ReadlineModule: function ReadlineModule() {
  7279. },
  7280. ReadlineOptions: function ReadlineOptions() {
  7281. },
  7282. ReadlineInterface: function ReadlineInterface() {
  7283. },
  7284. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  7285. this.$ti = t0;
  7286. },
  7287. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  7288. },
  7289. DefaultEquality: function DefaultEquality() {
  7290. },
  7291. IterableEquality: function IterableEquality() {
  7292. },
  7293. ListEquality: function ListEquality() {
  7294. },
  7295. _MapEntry: function _MapEntry(t0, t1, t2) {
  7296. this.equality = t0;
  7297. this.key = t1;
  7298. this.value = t2;
  7299. },
  7300. MapEquality: function MapEquality() {
  7301. },
  7302. QueueList$(initialCapacity, $E) {
  7303. 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>"));
  7304. },
  7305. QueueList_QueueList$from(source, $E) {
  7306. var $length, queue, t1;
  7307. if (type$.List_dynamic._is(source)) {
  7308. $length = J.get$length$asx(source);
  7309. queue = A.QueueList$($length + 1, $E);
  7310. J.setRange$4$ax(queue._table, 0, $length, source, 0);
  7311. queue._tail = $length;
  7312. return queue;
  7313. } else {
  7314. t1 = A.QueueList$(null, $E);
  7315. t1.addAll$1(0, source);
  7316. return t1;
  7317. }
  7318. },
  7319. QueueList__computeInitialCapacity(initialCapacity) {
  7320. if (initialCapacity == null || initialCapacity < 8)
  7321. return 8;
  7322. ++initialCapacity;
  7323. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  7324. return initialCapacity;
  7325. return A.QueueList__nextPowerOf2(initialCapacity);
  7326. },
  7327. QueueList__nextPowerOf2(number) {
  7328. var nextNumber;
  7329. number = (number << 1 >>> 0) - 1;
  7330. for (; true; number = nextNumber) {
  7331. nextNumber = (number & number - 1) >>> 0;
  7332. if (nextNumber === 0)
  7333. return number;
  7334. }
  7335. },
  7336. QueueList: function QueueList(t0, t1, t2, t3) {
  7337. var _ = this;
  7338. _._table = t0;
  7339. _._head = t1;
  7340. _._tail = t2;
  7341. _.$ti = t3;
  7342. },
  7343. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  7344. var _ = this;
  7345. _._queue_list$_delegate = t0;
  7346. _._table = t1;
  7347. _._head = t2;
  7348. _._tail = t3;
  7349. _.$ti = t4;
  7350. },
  7351. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  7352. },
  7353. UnionSet: function UnionSet(t0, t1) {
  7354. this._sets = t0;
  7355. this.$ti = t1;
  7356. },
  7357. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  7358. this.$this = t0;
  7359. },
  7360. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  7361. this.$this = t0;
  7362. this.element = t1;
  7363. },
  7364. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  7365. },
  7366. UnmodifiableSetMixin__throw() {
  7367. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  7368. },
  7369. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  7370. this._base = t0;
  7371. this.$ti = t1;
  7372. },
  7373. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  7374. },
  7375. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  7376. },
  7377. _DelegatingIterableBase: function _DelegatingIterableBase() {
  7378. },
  7379. DelegatingSet: function DelegatingSet(t0, t1) {
  7380. this._base = t0;
  7381. this.$ti = t1;
  7382. },
  7383. MapKeySet: function MapKeySet(t0, t1) {
  7384. this._baseMap = t0;
  7385. this.$ti = t1;
  7386. },
  7387. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  7388. this.$this = t0;
  7389. this.other = t1;
  7390. },
  7391. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  7392. },
  7393. BufferModule: function BufferModule() {
  7394. },
  7395. BufferConstants: function BufferConstants() {
  7396. },
  7397. Buffer: function Buffer() {
  7398. },
  7399. ConsoleModule: function ConsoleModule() {
  7400. },
  7401. Console: function Console() {
  7402. },
  7403. EventEmitter: function EventEmitter() {
  7404. },
  7405. fs() {
  7406. var t1 = $._fs;
  7407. return t1 == null ? $._fs = self.fs : t1;
  7408. },
  7409. FS: function FS() {
  7410. },
  7411. FSConstants: function FSConstants() {
  7412. },
  7413. FSWatcher: function FSWatcher() {
  7414. },
  7415. ReadStream: function ReadStream() {
  7416. },
  7417. ReadStreamOptions: function ReadStreamOptions() {
  7418. },
  7419. WriteStream: function WriteStream() {
  7420. },
  7421. WriteStreamOptions: function WriteStreamOptions() {
  7422. },
  7423. FileOptions: function FileOptions() {
  7424. },
  7425. StatOptions: function StatOptions() {
  7426. },
  7427. MkdirOptions: function MkdirOptions() {
  7428. },
  7429. RmdirOptions: function RmdirOptions() {
  7430. },
  7431. WatchOptions: function WatchOptions() {
  7432. },
  7433. WatchFileOptions: function WatchFileOptions() {
  7434. },
  7435. Stats: function Stats() {
  7436. },
  7437. Promise: function Promise() {
  7438. },
  7439. Date: function Date() {
  7440. },
  7441. JsError: function JsError() {
  7442. },
  7443. Atomics: function Atomics() {
  7444. },
  7445. Modules: function Modules() {
  7446. },
  7447. Module1: function Module1() {
  7448. },
  7449. Net: function Net() {
  7450. },
  7451. Socket: function Socket() {
  7452. },
  7453. NetAddress: function NetAddress() {
  7454. },
  7455. NetServer: function NetServer() {
  7456. },
  7457. NodeJsError: function NodeJsError() {
  7458. },
  7459. JsAssertionError: function JsAssertionError() {
  7460. },
  7461. JsRangeError: function JsRangeError() {
  7462. },
  7463. JsReferenceError: function JsReferenceError() {
  7464. },
  7465. JsSyntaxError: function JsSyntaxError() {
  7466. },
  7467. JsTypeError: function JsTypeError() {
  7468. },
  7469. JsSystemError: function JsSystemError() {
  7470. },
  7471. Process: function Process() {
  7472. },
  7473. CPUUsage: function CPUUsage() {
  7474. },
  7475. Release: function Release() {
  7476. },
  7477. StreamModule: function StreamModule() {
  7478. },
  7479. Readable: function Readable() {
  7480. },
  7481. Writable: function Writable() {
  7482. },
  7483. Duplex: function Duplex() {
  7484. },
  7485. Transform: function Transform() {
  7486. },
  7487. WritableOptions: function WritableOptions() {
  7488. },
  7489. ReadableOptions: function ReadableOptions() {
  7490. },
  7491. Immediate: function Immediate() {
  7492. },
  7493. Timeout: function Timeout() {
  7494. },
  7495. TTY: function TTY() {
  7496. },
  7497. TTYReadStream: function TTYReadStream() {
  7498. },
  7499. TTYWriteStream: function TTYWriteStream() {
  7500. },
  7501. jsify(dartObject) {
  7502. if (A._isBasicType(dartObject))
  7503. return dartObject;
  7504. return A._convertDataTree(dartObject);
  7505. },
  7506. _isBasicType(value) {
  7507. var t1 = false;
  7508. if (t1)
  7509. return true;
  7510. return false;
  7511. },
  7512. promiseToFuture(promise, $T) {
  7513. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  7514. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  7515. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  7516. return t1;
  7517. },
  7518. futureToPromise(future, $T) {
  7519. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  7520. },
  7521. Util: function Util() {
  7522. },
  7523. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  7524. this.completer = t0;
  7525. },
  7526. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  7527. this.completer = t0;
  7528. },
  7529. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  7530. this.future = t0;
  7531. this.T = t1;
  7532. },
  7533. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  7534. this.resolve = t0;
  7535. this.T = t1;
  7536. },
  7537. Context_Context(style) {
  7538. var current = style == null ? A.current() : ".";
  7539. if (style == null)
  7540. style = $.$get$Style_platform();
  7541. return new A.Context(type$.InternalStyle._as(style), current);
  7542. },
  7543. _parseUri(uri) {
  7544. if (typeof uri == "string")
  7545. return A.Uri_parse(uri);
  7546. if (type$.Uri._is(uri))
  7547. return uri;
  7548. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  7549. },
  7550. _validateArgList(method, args) {
  7551. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  7552. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  7553. if (args[i] == null || args[i - 1] != null)
  7554. continue;
  7555. for (; numArgs >= 1; numArgs = numArgs0) {
  7556. numArgs0 = numArgs - 1;
  7557. if (args[numArgs0] != null)
  7558. break;
  7559. }
  7560. message = new A.StringBuffer("");
  7561. t1 = "" + (method + "(");
  7562. message._contents = t1;
  7563. t2 = A._arrayInstanceType(args);
  7564. t3 = t2._eval$1("SubListIterable<1>");
  7565. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  7566. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  7567. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  7568. message._contents = t3;
  7569. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  7570. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  7571. }
  7572. },
  7573. Context: function Context(t0, t1) {
  7574. this.style = t0;
  7575. this._context$_current = t1;
  7576. },
  7577. Context_joinAll_closure: function Context_joinAll_closure() {
  7578. },
  7579. Context_split_closure: function Context_split_closure() {
  7580. },
  7581. _validateArgList_closure: function _validateArgList_closure() {
  7582. },
  7583. _PathDirection: function _PathDirection(t0) {
  7584. this.name = t0;
  7585. },
  7586. _PathRelation: function _PathRelation(t0) {
  7587. this.name = t0;
  7588. },
  7589. InternalStyle: function InternalStyle() {
  7590. },
  7591. ParsedPath_ParsedPath$parse(path, style) {
  7592. var t1, parts, separators, start, i,
  7593. root = style.getRoot$1(path),
  7594. isRootRelative = style.isRootRelative$1(path);
  7595. if (root != null)
  7596. path = B.JSString_methods.substring$1(path, root.length);
  7597. t1 = type$.JSArray_String;
  7598. parts = A._setArrayType([], t1);
  7599. separators = A._setArrayType([], t1);
  7600. t1 = path.length;
  7601. if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
  7602. separators.push(path[0]);
  7603. start = 1;
  7604. } else {
  7605. separators.push("");
  7606. start = 0;
  7607. }
  7608. for (i = start; i < t1; ++i)
  7609. if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
  7610. parts.push(B.JSString_methods.substring$2(path, start, i));
  7611. separators.push(path[i]);
  7612. start = i + 1;
  7613. }
  7614. if (start < t1) {
  7615. parts.push(B.JSString_methods.substring$1(path, start));
  7616. separators.push("");
  7617. }
  7618. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  7619. },
  7620. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  7621. var _ = this;
  7622. _.style = t0;
  7623. _.root = t1;
  7624. _.isRootRelative = t2;
  7625. _.parts = t3;
  7626. _.separators = t4;
  7627. },
  7628. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  7629. },
  7630. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  7631. },
  7632. PathException$(message) {
  7633. return new A.PathException(message);
  7634. },
  7635. PathException: function PathException(t0) {
  7636. this.message = t0;
  7637. },
  7638. PathMap__create(context, $V) {
  7639. var t1 = {};
  7640. t1.context = context;
  7641. t1.context = $.$get$context();
  7642. 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);
  7643. },
  7644. PathMap: function PathMap(t0, t1) {
  7645. this._map = t0;
  7646. this.$ti = t1;
  7647. },
  7648. PathMap__create_closure: function PathMap__create_closure(t0) {
  7649. this._box_0 = t0;
  7650. },
  7651. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  7652. this._box_0 = t0;
  7653. },
  7654. PathMap__create_closure1: function PathMap__create_closure1() {
  7655. },
  7656. Style__getPlatformStyle() {
  7657. if (A.Uri_base().get$scheme() !== "file")
  7658. return $.$get$Style_url();
  7659. var t1 = A.Uri_base();
  7660. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  7661. return $.$get$Style_url();
  7662. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  7663. return $.$get$Style_windows();
  7664. return $.$get$Style_posix();
  7665. },
  7666. Style: function Style() {
  7667. },
  7668. PosixStyle: function PosixStyle(t0, t1, t2) {
  7669. this.separatorPattern = t0;
  7670. this.needsSeparatorPattern = t1;
  7671. this.rootPattern = t2;
  7672. },
  7673. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  7674. var _ = this;
  7675. _.separatorPattern = t0;
  7676. _.needsSeparatorPattern = t1;
  7677. _.rootPattern = t2;
  7678. _.relativeRootPattern = t3;
  7679. },
  7680. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  7681. var _ = this;
  7682. _.separatorPattern = t0;
  7683. _.needsSeparatorPattern = t1;
  7684. _.rootPattern = t2;
  7685. _.relativeRootPattern = t3;
  7686. },
  7687. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  7688. },
  7689. Version$_(major, minor, patch, preRelease, build, _text) {
  7690. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  7691. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  7692. if (major < 0)
  7693. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  7694. if (minor < 0)
  7695. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  7696. if (patch < 0)
  7697. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  7698. return new A.Version(major, minor, patch, t1, t2, _text);
  7699. },
  7700. Version___parse_tearOff(text) {
  7701. return A.Version_Version$parse(text);
  7702. },
  7703. Version_Version$parse(text) {
  7704. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  7705. _s17_ = 'Could not parse "',
  7706. match = $.$get$completeVersion().firstMatch$1(text);
  7707. if (match == null)
  7708. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  7709. try {
  7710. t1 = match._match[1];
  7711. t1.toString;
  7712. major = A.int_parse(t1, _null);
  7713. t1 = match._match[2];
  7714. t1.toString;
  7715. minor = A.int_parse(t1, _null);
  7716. t1 = match._match[3];
  7717. t1.toString;
  7718. patch = A.int_parse(t1, _null);
  7719. preRelease = match._match[5];
  7720. build = match._match[8];
  7721. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  7722. return t1;
  7723. } catch (exception) {
  7724. if (type$.FormatException._is(A.unwrapException(exception)))
  7725. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  7726. else
  7727. throw exception;
  7728. }
  7729. },
  7730. Version__splitParts(text) {
  7731. var t1 = type$.MappedListIterable_String_Object;
  7732. 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"));
  7733. },
  7734. Version: function Version(t0, t1, t2, t3, t4, t5) {
  7735. var _ = this;
  7736. _.major = t0;
  7737. _.minor = t1;
  7738. _.patch = t2;
  7739. _.preRelease = t3;
  7740. _.build = t4;
  7741. _._text = t5;
  7742. },
  7743. Version__splitParts_closure: function Version__splitParts_closure() {
  7744. },
  7745. VersionRange: function VersionRange(t0, t1, t2, t3) {
  7746. var _ = this;
  7747. _.min = t0;
  7748. _.max = t1;
  7749. _.includeMin = t2;
  7750. _.includeMax = t3;
  7751. },
  7752. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  7753. var t1 = A.SpanScanner$(contents, null);
  7754. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0();
  7755. },
  7756. CssMediaQuery$type(type, conditions, modifier) {
  7757. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  7758. },
  7759. CssMediaQuery$condition(conditions, conjunction) {
  7760. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  7761. if (t1.length > 1 && conjunction == null)
  7762. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  7763. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  7764. },
  7765. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  7766. var _ = this;
  7767. _.modifier = t0;
  7768. _.type = t1;
  7769. _.conjunction = t2;
  7770. _.conditions = t3;
  7771. },
  7772. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  7773. this._media_query$_name = t0;
  7774. },
  7775. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  7776. this.query = t0;
  7777. },
  7778. ModifiableCssAtRule$($name, span, childless, value) {
  7779. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7780. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7781. },
  7782. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  7783. var _ = this;
  7784. _.name = t0;
  7785. _.value = t1;
  7786. _.isChildless = t2;
  7787. _.span = t3;
  7788. _.children = t4;
  7789. _._children = t5;
  7790. _._indexInParent = _._parent = null;
  7791. _.isGroupEnd = false;
  7792. },
  7793. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  7794. var _ = this;
  7795. _.text = t0;
  7796. _.span = t1;
  7797. _._indexInParent = _._parent = null;
  7798. _.isGroupEnd = false;
  7799. },
  7800. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  7801. var t2,
  7802. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  7803. if (parsedAsCustomProperty)
  7804. if (!J.startsWith$1$s($name.value, "--"))
  7805. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  7806. else {
  7807. t2 = value.value;
  7808. if (!(t2 instanceof A.SassString))
  7809. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(t2).toString$0(0) + ").", null));
  7810. }
  7811. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  7812. },
  7813. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  7814. var _ = this;
  7815. _.name = t0;
  7816. _.value = t1;
  7817. _.parsedAsCustomProperty = t2;
  7818. _.valueSpanForMap = t3;
  7819. _.span = t4;
  7820. _._indexInParent = _._parent = null;
  7821. _.isGroupEnd = false;
  7822. },
  7823. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  7824. var _ = this;
  7825. _.url = t0;
  7826. _.modifiers = t1;
  7827. _.span = t2;
  7828. _._indexInParent = _._parent = null;
  7829. _.isGroupEnd = false;
  7830. },
  7831. ModifiableCssKeyframeBlock$(selector, span) {
  7832. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7833. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7834. },
  7835. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  7836. var _ = this;
  7837. _.selector = t0;
  7838. _.span = t1;
  7839. _.children = t2;
  7840. _._children = t3;
  7841. _._indexInParent = _._parent = null;
  7842. _.isGroupEnd = false;
  7843. },
  7844. ModifiableCssMediaRule$(queries, span) {
  7845. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  7846. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7847. if (J.get$isEmpty$asx(queries))
  7848. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  7849. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  7850. },
  7851. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  7852. var _ = this;
  7853. _.queries = t0;
  7854. _.span = t1;
  7855. _.children = t2;
  7856. _._children = t3;
  7857. _._indexInParent = _._parent = null;
  7858. _.isGroupEnd = false;
  7859. },
  7860. ModifiableCssNode: function ModifiableCssNode() {
  7861. },
  7862. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  7863. },
  7864. ModifiableCssParentNode: function ModifiableCssParentNode() {
  7865. },
  7866. ModifiableCssStyleRule$(_selector, span, originalSelector) {
  7867. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7868. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7869. },
  7870. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  7871. var _ = this;
  7872. _._style_rule$_selector = t0;
  7873. _.originalSelector = t1;
  7874. _.span = t2;
  7875. _.children = t3;
  7876. _._children = t4;
  7877. _._indexInParent = _._parent = null;
  7878. _.isGroupEnd = false;
  7879. },
  7880. ModifiableCssStylesheet$(span) {
  7881. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7882. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7883. },
  7884. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  7885. var _ = this;
  7886. _.span = t0;
  7887. _.children = t1;
  7888. _._children = t2;
  7889. _._indexInParent = _._parent = null;
  7890. _.isGroupEnd = false;
  7891. },
  7892. ModifiableCssSupportsRule$(condition, span) {
  7893. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7894. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7895. },
  7896. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  7897. var _ = this;
  7898. _.condition = t0;
  7899. _.span = t1;
  7900. _.children = t2;
  7901. _._children = t3;
  7902. _._indexInParent = _._parent = null;
  7903. _.isGroupEnd = false;
  7904. },
  7905. CssNode: function CssNode() {
  7906. },
  7907. CssParentNode: function CssParentNode() {
  7908. },
  7909. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  7910. this.includeBogus = t0;
  7911. this.includeComments = t1;
  7912. },
  7913. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  7914. },
  7915. CssStylesheet: function CssStylesheet(t0, t1) {
  7916. this.children = t0;
  7917. this.span = t1;
  7918. },
  7919. CssValue: function CssValue(t0, t1, t2) {
  7920. this.value = t0;
  7921. this.span = t1;
  7922. this.$ti = t2;
  7923. },
  7924. AstNode: function AstNode() {
  7925. },
  7926. _FakeAstNode: function _FakeAstNode(t0) {
  7927. this._callback = t0;
  7928. },
  7929. Argument: function Argument(t0, t1, t2) {
  7930. this.name = t0;
  7931. this.defaultValue = t1;
  7932. this.span = t2;
  7933. },
  7934. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  7935. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  7936. },
  7937. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  7938. this.$arguments = t0;
  7939. this.restArgument = t1;
  7940. this.span = t2;
  7941. },
  7942. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  7943. },
  7944. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  7945. },
  7946. ArgumentInvocation$empty(span) {
  7947. return new A.ArgumentInvocation(B.List_empty10, B.Map_empty3, null, null, span);
  7948. },
  7949. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  7950. var _ = this;
  7951. _.positional = t0;
  7952. _.named = t1;
  7953. _.rest = t2;
  7954. _.keywordRest = t3;
  7955. _.span = t4;
  7956. },
  7957. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  7958. var _ = this;
  7959. _.include = t0;
  7960. _.names = t1;
  7961. _._all = t2;
  7962. _._at_root_query$_rule = t3;
  7963. },
  7964. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  7965. var _ = this;
  7966. _.name = t0;
  7967. _.expression = t1;
  7968. _.isGuarded = t2;
  7969. _.span = t3;
  7970. },
  7971. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  7972. var _ = this;
  7973. _.operator = t0;
  7974. _.left = t1;
  7975. _.right = t2;
  7976. _.allowsSlash = t3;
  7977. },
  7978. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  7979. var _ = this;
  7980. _.name = t0;
  7981. _.operator = t1;
  7982. _.precedence = t2;
  7983. _.isAssociative = t3;
  7984. _._name = t4;
  7985. },
  7986. BooleanExpression: function BooleanExpression(t0, t1) {
  7987. this.value = t0;
  7988. this.span = t1;
  7989. },
  7990. CalculationExpression__verifyArguments($arguments) {
  7991. return A.List_List$unmodifiable(J.map$1$1$ax($arguments, new A.CalculationExpression__verifyArguments_closure(), type$.dynamic), type$.Expression);
  7992. },
  7993. CalculationExpression__verify(expression) {
  7994. var t1,
  7995. _s29_ = "Invalid calculation argument ";
  7996. if (expression instanceof A.NumberExpression)
  7997. return;
  7998. if (expression instanceof A.CalculationExpression)
  7999. return;
  8000. if (expression instanceof A.VariableExpression)
  8001. return;
  8002. if (expression instanceof A.FunctionExpression)
  8003. return;
  8004. if (expression instanceof A.IfExpression)
  8005. return;
  8006. if (expression instanceof A.StringExpression) {
  8007. if (expression.hasQuotes)
  8008. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8009. } else if (expression instanceof A.ParenthesizedExpression)
  8010. A.CalculationExpression__verify(expression.expression);
  8011. else if (expression instanceof A.BinaryOperationExpression) {
  8012. A.CalculationExpression__verify(expression.left);
  8013. A.CalculationExpression__verify(expression.right);
  8014. t1 = expression.operator;
  8015. if (t1 === B.BinaryOperator_anB)
  8016. return;
  8017. if (t1 === B.BinaryOperator_olz)
  8018. return;
  8019. if (t1 === B.BinaryOperator_qN2)
  8020. return;
  8021. if (t1 === B.BinaryOperator_t8B)
  8022. return;
  8023. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8024. } else
  8025. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  8026. },
  8027. CalculationExpression: function CalculationExpression(t0, t1, t2) {
  8028. this.name = t0;
  8029. this.$arguments = t1;
  8030. this.span = t2;
  8031. },
  8032. CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
  8033. },
  8034. ColorExpression: function ColorExpression(t0, t1) {
  8035. this.value = t0;
  8036. this.span = t1;
  8037. },
  8038. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  8039. var _ = this;
  8040. _.namespace = t0;
  8041. _.originalName = t1;
  8042. _.$arguments = t2;
  8043. _.span = t3;
  8044. },
  8045. IfExpression: function IfExpression(t0, t1) {
  8046. this.$arguments = t0;
  8047. this.span = t1;
  8048. },
  8049. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  8050. this.name = t0;
  8051. this.$arguments = t1;
  8052. this.span = t2;
  8053. },
  8054. ListExpression: function ListExpression(t0, t1, t2, t3) {
  8055. var _ = this;
  8056. _.contents = t0;
  8057. _.separator = t1;
  8058. _.hasBrackets = t2;
  8059. _.span = t3;
  8060. },
  8061. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  8062. this.$this = t0;
  8063. },
  8064. MapExpression: function MapExpression(t0, t1) {
  8065. this.pairs = t0;
  8066. this.span = t1;
  8067. },
  8068. MapExpression_toString_closure: function MapExpression_toString_closure() {
  8069. },
  8070. NullExpression: function NullExpression(t0) {
  8071. this.span = t0;
  8072. },
  8073. NumberExpression: function NumberExpression(t0, t1, t2) {
  8074. this.value = t0;
  8075. this.unit = t1;
  8076. this.span = t2;
  8077. },
  8078. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  8079. this.expression = t0;
  8080. this.span = t1;
  8081. },
  8082. SelectorExpression: function SelectorExpression(t0) {
  8083. this.span = t0;
  8084. },
  8085. StringExpression_quoteText(text) {
  8086. var t1,
  8087. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  8088. buffer = new A.StringBuffer("");
  8089. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  8090. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  8091. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  8092. return t1.charCodeAt(0) == 0 ? t1 : t1;
  8093. },
  8094. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  8095. var t1, t2, i, codeUnit, next, t3;
  8096. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  8097. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  8098. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  8099. buffer.writeCharCode$1(92);
  8100. buffer.writeCharCode$1(97);
  8101. if (i !== t2) {
  8102. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  8103. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
  8104. buffer.writeCharCode$1(32);
  8105. }
  8106. } else {
  8107. if (codeUnit !== quote)
  8108. if (codeUnit !== 92)
  8109. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  8110. else
  8111. t3 = true;
  8112. else
  8113. t3 = true;
  8114. if (t3)
  8115. buffer.writeCharCode$1(92);
  8116. buffer.writeCharCode$1(codeUnit);
  8117. }
  8118. }
  8119. },
  8120. StringExpression__bestQuote(strings) {
  8121. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  8122. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  8123. t2 = t1.get$current(t1);
  8124. for (t3 = t2.length, i = 0; i < t3; ++i) {
  8125. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  8126. if (codeUnit === 39)
  8127. return 34;
  8128. if (codeUnit === 34)
  8129. containsDoubleQuote = true;
  8130. }
  8131. }
  8132. return containsDoubleQuote ? 39 : 34;
  8133. },
  8134. StringExpression: function StringExpression(t0, t1) {
  8135. this.text = t0;
  8136. this.hasQuotes = t1;
  8137. },
  8138. SupportsExpression: function SupportsExpression(t0) {
  8139. this.condition = t0;
  8140. },
  8141. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  8142. this.operator = t0;
  8143. this.operand = t1;
  8144. this.span = t2;
  8145. },
  8146. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  8147. this.name = t0;
  8148. this.operator = t1;
  8149. this._name = t2;
  8150. },
  8151. ValueExpression: function ValueExpression(t0, t1) {
  8152. this.value = t0;
  8153. this.span = t1;
  8154. },
  8155. VariableExpression: function VariableExpression(t0, t1, t2) {
  8156. this.namespace = t0;
  8157. this.name = t1;
  8158. this.span = t2;
  8159. },
  8160. DynamicImport: function DynamicImport(t0, t1) {
  8161. this.urlString = t0;
  8162. this.span = t1;
  8163. },
  8164. StaticImport: function StaticImport(t0, t1, t2) {
  8165. this.url = t0;
  8166. this.modifiers = t1;
  8167. this.span = t2;
  8168. },
  8169. Interpolation$(contents, span) {
  8170. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  8171. t1.Interpolation$2(contents, span);
  8172. return t1;
  8173. },
  8174. Interpolation: function Interpolation(t0, t1) {
  8175. this.contents = t0;
  8176. this.span = t1;
  8177. },
  8178. Interpolation_toString_closure: function Interpolation_toString_closure() {
  8179. },
  8180. AtRootRule$(children, span, query) {
  8181. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8182. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8183. return new A.AtRootRule(query, span, t1, t2);
  8184. },
  8185. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  8186. var _ = this;
  8187. _.query = t0;
  8188. _.span = t1;
  8189. _.children = t2;
  8190. _.hasDeclarations = t3;
  8191. },
  8192. AtRule$($name, span, children, value) {
  8193. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  8194. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8195. return new A.AtRule($name, value, span, t1, t2 === true);
  8196. },
  8197. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  8198. var _ = this;
  8199. _.name = t0;
  8200. _.value = t1;
  8201. _.span = t2;
  8202. _.children = t3;
  8203. _.hasDeclarations = t4;
  8204. },
  8205. CallableDeclaration: function CallableDeclaration() {
  8206. },
  8207. ContentBlock$($arguments, children, span) {
  8208. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8209. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8210. return new A.ContentBlock("@content", $arguments, span, t1, t2);
  8211. },
  8212. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
  8213. var _ = this;
  8214. _.name = t0;
  8215. _.$arguments = t1;
  8216. _.span = t2;
  8217. _.children = t3;
  8218. _.hasDeclarations = t4;
  8219. },
  8220. ContentRule: function ContentRule(t0, t1) {
  8221. this.$arguments = t0;
  8222. this.span = t1;
  8223. },
  8224. DebugRule: function DebugRule(t0, t1) {
  8225. this.expression = t0;
  8226. this.span = t1;
  8227. },
  8228. Declaration$($name, value, span) {
  8229. return new A.Declaration($name, value, span, null, false);
  8230. },
  8231. Declaration$nested($name, children, span, value) {
  8232. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8233. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8234. return new A.Declaration($name, value, span, t1, t2);
  8235. },
  8236. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  8237. var _ = this;
  8238. _.name = t0;
  8239. _.value = t1;
  8240. _.span = t2;
  8241. _.children = t3;
  8242. _.hasDeclarations = t4;
  8243. },
  8244. EachRule$(variables, list, children, span) {
  8245. var t1 = A.List_List$unmodifiable(variables, type$.String),
  8246. t2 = A.List_List$unmodifiable(children, type$.Statement),
  8247. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  8248. return new A.EachRule(t1, list, span, t2, t3);
  8249. },
  8250. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  8251. var _ = this;
  8252. _.variables = t0;
  8253. _.list = t1;
  8254. _.span = t2;
  8255. _.children = t3;
  8256. _.hasDeclarations = t4;
  8257. },
  8258. EachRule_toString_closure: function EachRule_toString_closure() {
  8259. },
  8260. ErrorRule: function ErrorRule(t0, t1) {
  8261. this.expression = t0;
  8262. this.span = t1;
  8263. },
  8264. ExtendRule: function ExtendRule(t0, t1, t2) {
  8265. this.selector = t0;
  8266. this.isOptional = t1;
  8267. this.span = t2;
  8268. },
  8269. ForRule$(variable, from, to, children, span, exclusive) {
  8270. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8271. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8272. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  8273. },
  8274. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  8275. var _ = this;
  8276. _.variable = t0;
  8277. _.from = t1;
  8278. _.to = t2;
  8279. _.isExclusive = t3;
  8280. _.span = t4;
  8281. _.children = t5;
  8282. _.hasDeclarations = t6;
  8283. },
  8284. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  8285. var _ = this;
  8286. _.url = t0;
  8287. _.shownMixinsAndFunctions = t1;
  8288. _.shownVariables = t2;
  8289. _.hiddenMixinsAndFunctions = t3;
  8290. _.hiddenVariables = t4;
  8291. _.prefix = t5;
  8292. _.configuration = t6;
  8293. _.span = t7;
  8294. },
  8295. FunctionRule$($name, $arguments, children, span, comment) {
  8296. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8297. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8298. return new A.FunctionRule($name, $arguments, span, t1, t2);
  8299. },
  8300. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  8301. var _ = this;
  8302. _.name = t0;
  8303. _.$arguments = t1;
  8304. _.span = t2;
  8305. _.children = t3;
  8306. _.hasDeclarations = t4;
  8307. },
  8308. IfClause$(expression, children) {
  8309. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8310. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8311. },
  8312. ElseClause$(children) {
  8313. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8314. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8315. },
  8316. IfRule: function IfRule(t0, t1, t2) {
  8317. this.clauses = t0;
  8318. this.lastClause = t1;
  8319. this.span = t2;
  8320. },
  8321. IfRule_toString_closure: function IfRule_toString_closure() {
  8322. },
  8323. IfRuleClause: function IfRuleClause() {
  8324. },
  8325. IfRuleClause$__closure: function IfRuleClause$__closure() {
  8326. },
  8327. IfRuleClause$___closure: function IfRuleClause$___closure() {
  8328. },
  8329. IfClause: function IfClause(t0, t1, t2) {
  8330. this.expression = t0;
  8331. this.children = t1;
  8332. this.hasDeclarations = t2;
  8333. },
  8334. ElseClause: function ElseClause(t0, t1) {
  8335. this.children = t0;
  8336. this.hasDeclarations = t1;
  8337. },
  8338. ImportRule: function ImportRule(t0, t1) {
  8339. this.imports = t0;
  8340. this.span = t1;
  8341. },
  8342. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  8343. var _ = this;
  8344. _.namespace = t0;
  8345. _.name = t1;
  8346. _.$arguments = t2;
  8347. _.content = t3;
  8348. _.span = t4;
  8349. },
  8350. LoudComment: function LoudComment(t0) {
  8351. this.text = t0;
  8352. },
  8353. MediaRule$(query, children, span) {
  8354. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8355. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8356. return new A.MediaRule(query, span, t1, t2);
  8357. },
  8358. MediaRule: function MediaRule(t0, t1, t2, t3) {
  8359. var _ = this;
  8360. _.query = t0;
  8361. _.span = t1;
  8362. _.children = t2;
  8363. _.hasDeclarations = t3;
  8364. },
  8365. MixinRule$($name, $arguments, children, span, comment) {
  8366. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8367. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8368. return new A.MixinRule($name, $arguments, span, t1, t2);
  8369. },
  8370. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  8371. var _ = this;
  8372. _.__MixinRule_hasContent_FI = $;
  8373. _.name = t0;
  8374. _.$arguments = t1;
  8375. _.span = t2;
  8376. _.children = t3;
  8377. _.hasDeclarations = t4;
  8378. },
  8379. _HasContentVisitor: function _HasContentVisitor() {
  8380. },
  8381. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  8382. },
  8383. ParentStatement: function ParentStatement() {
  8384. },
  8385. ParentStatement_closure: function ParentStatement_closure() {
  8386. },
  8387. ParentStatement__closure: function ParentStatement__closure() {
  8388. },
  8389. ReturnRule: function ReturnRule(t0, t1) {
  8390. this.expression = t0;
  8391. this.span = t1;
  8392. },
  8393. SilentComment: function SilentComment(t0, t1) {
  8394. this.text = t0;
  8395. this.span = t1;
  8396. },
  8397. StyleRule$(selector, children, span) {
  8398. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8399. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8400. return new A.StyleRule(selector, span, t1, t2);
  8401. },
  8402. StyleRule: function StyleRule(t0, t1, t2, t3) {
  8403. var _ = this;
  8404. _.selector = t0;
  8405. _.span = t1;
  8406. _.children = t2;
  8407. _.hasDeclarations = t3;
  8408. },
  8409. Stylesheet$(children, span) {
  8410. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8411. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8412. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8413. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8414. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  8415. t1.Stylesheet$internal$3$plainCss(children, span, false);
  8416. return t1;
  8417. },
  8418. Stylesheet$internal(children, span, plainCss) {
  8419. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8420. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8421. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8422. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8423. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  8424. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  8425. return t1;
  8426. },
  8427. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  8428. var t1, t2;
  8429. switch (syntax) {
  8430. case B.Syntax_Sass_sass:
  8431. t1 = A.SpanScanner$(contents, url);
  8432. t2 = logger == null ? B.StderrLogger_false : logger;
  8433. return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null).parse$0();
  8434. case B.Syntax_SCSS_scss:
  8435. return A.ScssParser$(contents, logger, url).parse$0();
  8436. case B.Syntax_CSS_css:
  8437. t1 = A.SpanScanner$(contents, url);
  8438. t2 = logger == null ? B.StderrLogger_false : logger;
  8439. return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null).parse$0();
  8440. default:
  8441. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  8442. }
  8443. },
  8444. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  8445. var _ = this;
  8446. _.span = t0;
  8447. _.plainCss = t1;
  8448. _._uses = t2;
  8449. _._forwards = t3;
  8450. _.children = t4;
  8451. _.hasDeclarations = t5;
  8452. },
  8453. SupportsRule$(condition, children, span) {
  8454. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8455. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8456. return new A.SupportsRule(condition, span, t1, t2);
  8457. },
  8458. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  8459. var _ = this;
  8460. _.condition = t0;
  8461. _.span = t1;
  8462. _.children = t2;
  8463. _.hasDeclarations = t3;
  8464. },
  8465. UseRule: function UseRule(t0, t1, t2, t3) {
  8466. var _ = this;
  8467. _.url = t0;
  8468. _.namespace = t1;
  8469. _.configuration = t2;
  8470. _.span = t3;
  8471. },
  8472. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  8473. if (namespace != null && global)
  8474. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  8475. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  8476. },
  8477. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  8478. var _ = this;
  8479. _.namespace = t0;
  8480. _.name = t1;
  8481. _.expression = t2;
  8482. _.isGuarded = t3;
  8483. _.isGlobal = t4;
  8484. _.span = t5;
  8485. },
  8486. WarnRule: function WarnRule(t0, t1) {
  8487. this.expression = t0;
  8488. this.span = t1;
  8489. },
  8490. WhileRule$(condition, children, span) {
  8491. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8492. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8493. return new A.WhileRule(condition, span, t1, t2);
  8494. },
  8495. WhileRule: function WhileRule(t0, t1, t2, t3) {
  8496. var _ = this;
  8497. _.condition = t0;
  8498. _.span = t1;
  8499. _.children = t2;
  8500. _.hasDeclarations = t3;
  8501. },
  8502. SupportsAnything: function SupportsAnything(t0, t1) {
  8503. this.contents = t0;
  8504. this.span = t1;
  8505. },
  8506. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  8507. this.name = t0;
  8508. this.value = t1;
  8509. this.span = t2;
  8510. },
  8511. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  8512. this.name = t0;
  8513. this.$arguments = t1;
  8514. this.span = t2;
  8515. },
  8516. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  8517. this.expression = t0;
  8518. this.span = t1;
  8519. },
  8520. SupportsNegation: function SupportsNegation(t0, t1) {
  8521. this.condition = t0;
  8522. this.span = t1;
  8523. },
  8524. SupportsOperation$(left, right, operator, span) {
  8525. var lowerOperator = operator.toLowerCase();
  8526. if (lowerOperator !== "and" && lowerOperator !== "or")
  8527. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  8528. return new A.SupportsOperation(left, right, operator, span);
  8529. },
  8530. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  8531. var _ = this;
  8532. _.left = t0;
  8533. _.right = t1;
  8534. _.operator = t2;
  8535. _.span = t3;
  8536. },
  8537. Selector: function Selector() {
  8538. },
  8539. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  8540. this.includeBogus = t0;
  8541. },
  8542. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  8543. this.includeLeadingCombinator = t0;
  8544. },
  8545. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  8546. this.$this = t0;
  8547. },
  8548. _IsUselessVisitor: function _IsUselessVisitor() {
  8549. },
  8550. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  8551. this.$this = t0;
  8552. },
  8553. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  8554. },
  8555. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  8556. },
  8557. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  8558. },
  8559. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  8560. var _ = this;
  8561. _.name = t0;
  8562. _.op = t1;
  8563. _.value = t2;
  8564. _.modifier = t3;
  8565. _.span = t4;
  8566. },
  8567. AttributeOperator: function AttributeOperator(t0, t1) {
  8568. this._attribute$_text = t0;
  8569. this._name = t1;
  8570. },
  8571. ClassSelector: function ClassSelector(t0, t1) {
  8572. this.name = t0;
  8573. this.span = t1;
  8574. },
  8575. Combinator: function Combinator(t0, t1) {
  8576. this._combinator$_text = t0;
  8577. this._name = t1;
  8578. },
  8579. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  8580. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  8581. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  8582. if (t1.length === 0 && t2.length === 0)
  8583. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  8584. return new A.ComplexSelector(t1, t2, lineBreak, span);
  8585. },
  8586. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  8587. var _ = this;
  8588. _.leadingCombinators = t0;
  8589. _.components = t1;
  8590. _.lineBreak = t2;
  8591. _.__ComplexSelector_specificity_FI = $;
  8592. _.span = t3;
  8593. },
  8594. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  8595. },
  8596. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  8597. this.selector = t0;
  8598. this.combinators = t1;
  8599. this.span = t2;
  8600. },
  8601. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  8602. },
  8603. CompoundSelector$(components, span) {
  8604. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  8605. if (t1.length === 0)
  8606. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8607. return new A.CompoundSelector(t1, span);
  8608. },
  8609. CompoundSelector: function CompoundSelector(t0, t1) {
  8610. this.components = t0;
  8611. this.__CompoundSelector_specificity_FI = $;
  8612. this.span = t1;
  8613. },
  8614. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  8615. },
  8616. IDSelector: function IDSelector(t0, t1) {
  8617. this.name = t0;
  8618. this.span = t1;
  8619. },
  8620. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  8621. this.$this = t0;
  8622. },
  8623. SelectorList$(components, span) {
  8624. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  8625. if (t1.length === 0)
  8626. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8627. return new A.SelectorList(t1, span);
  8628. },
  8629. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  8630. return A.SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  8631. },
  8632. SelectorList: function SelectorList(t0, t1) {
  8633. this.components = t0;
  8634. this.span = t1;
  8635. },
  8636. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  8637. },
  8638. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  8639. this.$this = t0;
  8640. this.implicitParent = t1;
  8641. this.parent = t2;
  8642. },
  8643. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  8644. this.complex = t0;
  8645. },
  8646. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  8647. this.complex = t0;
  8648. },
  8649. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  8650. },
  8651. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  8652. this.parent = t0;
  8653. },
  8654. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  8655. this.parentSelector = t0;
  8656. this.resolvedSimples = t1;
  8657. this.component = t2;
  8658. },
  8659. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  8660. this.combinators = t0;
  8661. },
  8662. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  8663. },
  8664. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  8665. },
  8666. ParentSelector: function ParentSelector(t0, t1) {
  8667. this.suffix = t0;
  8668. this.span = t1;
  8669. },
  8670. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  8671. this.name = t0;
  8672. this.span = t1;
  8673. },
  8674. PseudoSelector$($name, span, argument, element, selector) {
  8675. var t1 = !element,
  8676. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  8677. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  8678. },
  8679. PseudoSelector__isFakePseudoElement($name) {
  8680. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  8681. case 97:
  8682. case 65:
  8683. return A.equalsIgnoreCase($name, "after");
  8684. case 98:
  8685. case 66:
  8686. return A.equalsIgnoreCase($name, "before");
  8687. case 102:
  8688. case 70:
  8689. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  8690. default:
  8691. return false;
  8692. }
  8693. },
  8694. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  8695. var _ = this;
  8696. _.name = t0;
  8697. _.normalizedName = t1;
  8698. _.isClass = t2;
  8699. _.isSyntacticClass = t3;
  8700. _.argument = t4;
  8701. _.selector = t5;
  8702. _.__PseudoSelector_specificity_FI = $;
  8703. _.span = t6;
  8704. },
  8705. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  8706. this.$this = t0;
  8707. },
  8708. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  8709. },
  8710. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  8711. },
  8712. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  8713. },
  8714. QualifiedName: function QualifiedName(t0, t1) {
  8715. this.name = t0;
  8716. this.namespace = t1;
  8717. },
  8718. SimpleSelector: function SimpleSelector() {
  8719. },
  8720. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  8721. this.$this = t0;
  8722. },
  8723. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  8724. this.$this = t0;
  8725. },
  8726. TypeSelector: function TypeSelector(t0, t1) {
  8727. this.name = t0;
  8728. this.span = t1;
  8729. },
  8730. UniversalSelector: function UniversalSelector(t0, t1) {
  8731. this.namespace = t0;
  8732. this.span = t1;
  8733. },
  8734. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8735. return A.compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
  8736. },
  8737. compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8738. var $async$goto = 0,
  8739. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8740. $async$returnValue, t4, t0, stylesheet, result, t1, t2, t3;
  8741. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8742. if ($async$errorCode === 1)
  8743. return A._asyncRethrow($async$result, $async$completer);
  8744. while (true)
  8745. switch ($async$goto) {
  8746. case 0:
  8747. // Function start
  8748. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8749. t2 = type$.Deprecation;
  8750. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8751. t3.addAll$1(0, fatalDeprecations);
  8752. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8753. t4.addAll$1(0, futureDeprecations);
  8754. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), t1, t3, t4, !verbose);
  8755. t1 = syntax === A.Syntax_forPath(path);
  8756. $async$goto = t1 ? 3 : 5;
  8757. break;
  8758. case 3:
  8759. // then
  8760. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  8761. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  8762. t2 = $.$get$context();
  8763. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  8764. t0 = t3;
  8765. t3 = t2;
  8766. t2 = t0;
  8767. } else {
  8768. t2 = $.$get$context();
  8769. t3 = t2.canonicalize$1(0, path);
  8770. t0 = t3;
  8771. t3 = t2;
  8772. t2 = t0;
  8773. }
  8774. $async$goto = 6;
  8775. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t1), t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  8776. case 6:
  8777. // returning from await.
  8778. t3 = $async$result;
  8779. t3.toString;
  8780. stylesheet = t3;
  8781. // goto join
  8782. $async$goto = 4;
  8783. break;
  8784. case 5:
  8785. // else
  8786. t1 = A.readFile(path);
  8787. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  8788. case 4:
  8789. // join
  8790. $async$goto = 7;
  8791. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  8792. case 7:
  8793. // returning from await.
  8794. result = $async$result;
  8795. logger.summarize$1$node(false);
  8796. $async$returnValue = result;
  8797. // goto return
  8798. $async$goto = 1;
  8799. break;
  8800. case 1:
  8801. // return
  8802. return A._asyncReturn($async$returnValue, $async$completer);
  8803. }
  8804. });
  8805. return A._asyncStartSync($async$compileAsync, $async$completer);
  8806. },
  8807. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8808. return A.compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
  8809. },
  8810. compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8811. var $async$goto = 0,
  8812. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8813. $async$returnValue, t4, stylesheet, result, t1, t2, t3;
  8814. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8815. if ($async$errorCode === 1)
  8816. return A._asyncRethrow($async$result, $async$completer);
  8817. while (true)
  8818. switch ($async$goto) {
  8819. case 0:
  8820. // Function start
  8821. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8822. t2 = type$.Deprecation;
  8823. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8824. t3.addAll$1(0, fatalDeprecations);
  8825. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  8826. t4.addAll$1(0, futureDeprecations);
  8827. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), t1, t3, t4, !verbose);
  8828. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  8829. $async$goto = 3;
  8830. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  8831. case 3:
  8832. // returning from await.
  8833. result = $async$result;
  8834. logger.summarize$1$node(false);
  8835. $async$returnValue = result;
  8836. // goto return
  8837. $async$goto = 1;
  8838. break;
  8839. case 1:
  8840. // return
  8841. return A._asyncReturn($async$returnValue, $async$completer);
  8842. }
  8843. });
  8844. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  8845. },
  8846. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8847. var $async$goto = 0,
  8848. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8849. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  8850. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8851. if ($async$errorCode === 1)
  8852. return A._asyncRethrow($async$result, $async$completer);
  8853. while (true)
  8854. switch ($async$goto) {
  8855. case 0:
  8856. // Function start
  8857. $async$temp1 = A;
  8858. $async$goto = 3;
  8859. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  8860. case 3:
  8861. // returning from await.
  8862. serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  8863. resultSourceMap = serializeResult.sourceMap;
  8864. if (resultSourceMap != null && true)
  8865. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  8866. $async$returnValue = new A.CompileResult(serializeResult);
  8867. // goto return
  8868. $async$goto = 1;
  8869. break;
  8870. case 1:
  8871. // return
  8872. return A._asyncReturn($async$returnValue, $async$completer);
  8873. }
  8874. });
  8875. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  8876. },
  8877. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  8878. this.stylesheet = t0;
  8879. this.importCache = t1;
  8880. },
  8881. AsyncEnvironment$() {
  8882. var t1 = type$.String,
  8883. t2 = type$.Module_AsyncCallable,
  8884. t3 = type$.AstNode,
  8885. t4 = type$.int,
  8886. t5 = type$.AsyncCallable,
  8887. t6 = type$.JSArray_Map_String_AsyncCallable;
  8888. 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);
  8889. },
  8890. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  8891. var t1 = type$.String,
  8892. t2 = type$.int;
  8893. 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);
  8894. },
  8895. _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
  8896. var t1, t2, t3, t4, t5, t6;
  8897. if (forwarded == null)
  8898. forwarded = B.Set_empty1;
  8899. t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  8900. t2 = 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);
  8901. t3 = 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);
  8902. t4 = type$.Map_String_AsyncCallable;
  8903. t5 = type$.AsyncCallable;
  8904. t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t4), t5);
  8905. t5 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t4), t5);
  8906. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  8907. return A._EnvironmentModule$_0(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
  8908. },
  8909. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  8910. var modulesByVariable, t1, t2, t3, t4, t5;
  8911. if (forwarded.get$isEmpty(forwarded))
  8912. return B.Map_empty4;
  8913. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  8914. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  8915. t2 = t1.get$current(t1);
  8916. if (t2 instanceof A._EnvironmentModule0) {
  8917. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  8918. t4 = t3.get$current(t3);
  8919. t5 = t4.get$variables();
  8920. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  8921. }
  8922. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  8923. } else {
  8924. t3 = t2.get$variables();
  8925. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  8926. }
  8927. }
  8928. return modulesByVariable;
  8929. },
  8930. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  8931. var t1, t2, t3;
  8932. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  8933. if (otherMaps.get$isEmpty(otherMaps))
  8934. return localMap;
  8935. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  8936. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  8937. t3 = t2.get$current(t2);
  8938. if (t3.get$isNotEmpty(t3))
  8939. t1.push(t3);
  8940. }
  8941. t1.push(localMap);
  8942. if (t1.length === 1)
  8943. return localMap;
  8944. return A.MergedMapView$(t1, type$.String, $V);
  8945. },
  8946. _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  8947. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  8948. },
  8949. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  8950. var _ = this;
  8951. _._async_environment$_modules = t0;
  8952. _._async_environment$_namespaceNodes = t1;
  8953. _._async_environment$_globalModules = t2;
  8954. _._async_environment$_importedModules = t3;
  8955. _._async_environment$_forwardedModules = t4;
  8956. _._async_environment$_nestedForwardedModules = t5;
  8957. _._async_environment$_allModules = t6;
  8958. _._async_environment$_variables = t7;
  8959. _._async_environment$_variableNodes = t8;
  8960. _._async_environment$_variableIndices = t9;
  8961. _._async_environment$_functions = t10;
  8962. _._async_environment$_functionIndices = t11;
  8963. _._async_environment$_mixins = t12;
  8964. _._async_environment$_mixinIndices = t13;
  8965. _._async_environment$_content = t14;
  8966. _._async_environment$_inMixin = false;
  8967. _._async_environment$_inSemiGlobalScope = true;
  8968. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  8969. },
  8970. AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
  8971. },
  8972. AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
  8973. },
  8974. AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
  8975. },
  8976. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  8977. this.name = t0;
  8978. },
  8979. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  8980. this.$this = t0;
  8981. this.name = t1;
  8982. },
  8983. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  8984. this.name = t0;
  8985. },
  8986. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  8987. this.$this = t0;
  8988. this.name = t1;
  8989. },
  8990. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  8991. this.name = t0;
  8992. },
  8993. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  8994. this.name = t0;
  8995. },
  8996. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  8997. },
  8998. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  8999. },
  9000. AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
  9001. this.callback = t0;
  9002. this.T = t1;
  9003. },
  9004. AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
  9005. this.entry = t0;
  9006. this.T = t1;
  9007. },
  9008. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9009. var _ = this;
  9010. _.upstream = t0;
  9011. _.variables = t1;
  9012. _.variableNodes = t2;
  9013. _.functions = t3;
  9014. _.mixins = t4;
  9015. _.extensionStore = t5;
  9016. _.css = t6;
  9017. _.transitivelyContainsCss = t7;
  9018. _.transitivelyContainsExtensions = t8;
  9019. _._async_environment$_environment = t9;
  9020. _._async_environment$_modulesByVariable = t10;
  9021. },
  9022. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  9023. },
  9024. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  9025. },
  9026. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  9027. },
  9028. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  9029. },
  9030. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  9031. },
  9032. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  9033. },
  9034. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  9035. var sassPath, t2, t3, _i, path, _null = null,
  9036. t1 = J.get$env$x(self.process);
  9037. if (t1 == null)
  9038. t1 = type$.Object._as(t1);
  9039. sassPath = A._asStringQ(t1.SASS_PATH);
  9040. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  9041. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  9042. t3 = t2.get$current(t2);
  9043. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  9044. }
  9045. if (sassPath != null) {
  9046. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  9047. t3 = t2.length;
  9048. _i = 0;
  9049. for (; _i < t3; ++_i) {
  9050. path = t2[_i];
  9051. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  9052. }
  9053. }
  9054. return t1;
  9055. },
  9056. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  9057. var _ = this;
  9058. _._async_import_cache$_importers = t0;
  9059. _._async_import_cache$_logger = t1;
  9060. _._async_import_cache$_canonicalizeCache = t2;
  9061. _._async_import_cache$_relativeCanonicalizeCache = t3;
  9062. _._async_import_cache$_importCache = t4;
  9063. _._async_import_cache$_resultsCache = t5;
  9064. },
  9065. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  9066. var _ = this;
  9067. _.$this = t0;
  9068. _.baseUrl = t1;
  9069. _.url = t2;
  9070. _.baseImporter = t3;
  9071. _.forImport = t4;
  9072. },
  9073. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
  9074. this.$this = t0;
  9075. this.url = t1;
  9076. this.forImport = t2;
  9077. },
  9078. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  9079. this.importer = t0;
  9080. this.url = t1;
  9081. },
  9082. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  9083. var _ = this;
  9084. _.$this = t0;
  9085. _.importer = t1;
  9086. _.canonicalUrl = t2;
  9087. _.originalUrl = t3;
  9088. _.quiet = t4;
  9089. },
  9090. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  9091. this.canonicalUrl = t0;
  9092. },
  9093. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  9094. },
  9095. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  9096. },
  9097. AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
  9098. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
  9099. },
  9100. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
  9101. this.name = t0;
  9102. this._async_built_in$_arguments = t1;
  9103. this._async_built_in$_callback = t2;
  9104. },
  9105. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  9106. this.callback = t0;
  9107. },
  9108. BuiltInCallable$function($name, $arguments, callback, url) {
  9109. return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  9110. },
  9111. BuiltInCallable$mixin($name, $arguments, callback, url) {
  9112. return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  9113. },
  9114. BuiltInCallable$overloadedFunction($name, overloads) {
  9115. var t2, t3, t4, t5, t6, t7, t8,
  9116. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
  9117. for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration; t2.moveNext$0();) {
  9118. t7 = t2.get$current(t2);
  9119. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  9120. t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false, null).parseArgumentDeclaration$0(), t7.value, t3));
  9121. }
  9122. return new A.BuiltInCallable($name, t1);
  9123. },
  9124. BuiltInCallable: function BuiltInCallable(t0, t1) {
  9125. this.name = t0;
  9126. this._overloads = t1;
  9127. },
  9128. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  9129. this.callback = t0;
  9130. },
  9131. PlainCssCallable: function PlainCssCallable(t0) {
  9132. this.name = t0;
  9133. },
  9134. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  9135. var _ = this;
  9136. _.declaration = t0;
  9137. _.environment = t1;
  9138. _.inDependency = t2;
  9139. _.$ti = t3;
  9140. },
  9141. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  9142. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet).stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true),
  9143. resultSourceMap = serializeResult.sourceMap;
  9144. if (resultSourceMap != null && true)
  9145. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  9146. return new A.CompileResult(serializeResult);
  9147. },
  9148. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  9149. this.stylesheet = t0;
  9150. this.importCache = t1;
  9151. },
  9152. CompileResult: function CompileResult(t0) {
  9153. this._serialize = t0;
  9154. },
  9155. Configuration: function Configuration(t0, t1) {
  9156. this._values = t0;
  9157. this.__originalConfiguration = t1;
  9158. },
  9159. Configuration_toString_closure: function Configuration_toString_closure() {
  9160. },
  9161. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  9162. this.nodeWithSpan = t0;
  9163. this._values = t1;
  9164. this.__originalConfiguration = t2;
  9165. },
  9166. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  9167. this.value = t0;
  9168. this.configurationSpan = t1;
  9169. this.assignmentNode = t2;
  9170. },
  9171. Deprecation_fromId(id) {
  9172. return A.IterableExtension_firstWhereOrNull(B.List_4mn, new A.Deprecation_fromId_closure(id));
  9173. },
  9174. Deprecation_forVersion(version) {
  9175. var t2, _i, deprecation, $self, t3,
  9176. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  9177. for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i < 13; ++_i) {
  9178. deprecation = B.List_4mn[_i];
  9179. $self = deprecation._deprecatedIn;
  9180. if ($self == null)
  9181. t3 = null;
  9182. else
  9183. t3 = A.Version___parse_tearOff($self);
  9184. if (t3 == null)
  9185. t3 = null;
  9186. else
  9187. t3 = t2.call$1(t3);
  9188. if (t3 == null ? false : t3)
  9189. t1.add$1(0, deprecation);
  9190. }
  9191. return t1;
  9192. },
  9193. Deprecation: function Deprecation(t0, t1, t2, t3, t4) {
  9194. var _ = this;
  9195. _.id = t0;
  9196. _._deprecatedIn = t1;
  9197. _.description = t2;
  9198. _.isFuture = t3;
  9199. _._name = t4;
  9200. },
  9201. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  9202. this.id = t0;
  9203. },
  9204. Environment$() {
  9205. var t1 = type$.String,
  9206. t2 = type$.Module_Callable,
  9207. t3 = type$.AstNode,
  9208. t4 = type$.int,
  9209. t5 = type$.Callable,
  9210. t6 = type$.JSArray_Map_String_Callable;
  9211. 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);
  9212. },
  9213. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  9214. var t1 = type$.String,
  9215. t2 = type$.int;
  9216. 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);
  9217. },
  9218. _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
  9219. var t1, t2, t3, t4, t5, t6;
  9220. if (forwarded == null)
  9221. forwarded = B.Set_empty;
  9222. t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  9223. t2 = 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);
  9224. t3 = 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);
  9225. t4 = type$.Map_String_Callable;
  9226. t5 = type$.Callable;
  9227. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
  9228. t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
  9229. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  9230. return A._EnvironmentModule$_(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
  9231. },
  9232. _EnvironmentModule__makeModulesByVariable(forwarded) {
  9233. var modulesByVariable, t1, t2, t3, t4, t5;
  9234. if (forwarded.get$isEmpty(forwarded))
  9235. return B.Map_empty;
  9236. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  9237. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  9238. t2 = t1.get$current(t1);
  9239. if (t2 instanceof A._EnvironmentModule) {
  9240. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  9241. t4 = t3.get$current(t3);
  9242. t5 = t4.get$variables();
  9243. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  9244. }
  9245. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  9246. } else {
  9247. t3 = t2.get$variables();
  9248. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  9249. }
  9250. }
  9251. return modulesByVariable;
  9252. },
  9253. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  9254. var t1, t2, t3;
  9255. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  9256. if (otherMaps.get$isEmpty(otherMaps))
  9257. return localMap;
  9258. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  9259. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  9260. t3 = t2.get$current(t2);
  9261. if (t3.get$isNotEmpty(t3))
  9262. t1.push(t3);
  9263. }
  9264. t1.push(localMap);
  9265. if (t1.length === 1)
  9266. return localMap;
  9267. return A.MergedMapView$(t1, type$.String, $V);
  9268. },
  9269. _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  9270. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  9271. },
  9272. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  9273. var _ = this;
  9274. _._environment$_modules = t0;
  9275. _._namespaceNodes = t1;
  9276. _._globalModules = t2;
  9277. _._importedModules = t3;
  9278. _._forwardedModules = t4;
  9279. _._nestedForwardedModules = t5;
  9280. _._allModules = t6;
  9281. _._variables = t7;
  9282. _._variableNodes = t8;
  9283. _._variableIndices = t9;
  9284. _._functions = t10;
  9285. _._functionIndices = t11;
  9286. _._mixins = t12;
  9287. _._mixinIndices = t13;
  9288. _._content = t14;
  9289. _._inMixin = false;
  9290. _._inSemiGlobalScope = true;
  9291. _._lastVariableIndex = _._lastVariableName = null;
  9292. },
  9293. Environment_importForwards_closure: function Environment_importForwards_closure() {
  9294. },
  9295. Environment_importForwards_closure0: function Environment_importForwards_closure0() {
  9296. },
  9297. Environment_importForwards_closure1: function Environment_importForwards_closure1() {
  9298. },
  9299. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  9300. this.name = t0;
  9301. },
  9302. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  9303. this.$this = t0;
  9304. this.name = t1;
  9305. },
  9306. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  9307. this.name = t0;
  9308. },
  9309. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  9310. this.$this = t0;
  9311. this.name = t1;
  9312. },
  9313. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  9314. this.name = t0;
  9315. },
  9316. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  9317. this.name = t0;
  9318. },
  9319. Environment_toModule_closure: function Environment_toModule_closure() {
  9320. },
  9321. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  9322. },
  9323. Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
  9324. this.callback = t0;
  9325. this.T = t1;
  9326. },
  9327. Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
  9328. this.entry = t0;
  9329. this.T = t1;
  9330. },
  9331. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9332. var _ = this;
  9333. _.upstream = t0;
  9334. _.variables = t1;
  9335. _.variableNodes = t2;
  9336. _.functions = t3;
  9337. _.mixins = t4;
  9338. _.extensionStore = t5;
  9339. _.css = t6;
  9340. _.transitivelyContainsCss = t7;
  9341. _.transitivelyContainsExtensions = t8;
  9342. _._environment$_environment = t9;
  9343. _._modulesByVariable = t10;
  9344. },
  9345. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  9346. },
  9347. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  9348. },
  9349. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  9350. },
  9351. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  9352. },
  9353. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  9354. },
  9355. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  9356. },
  9357. SassException$(message, span) {
  9358. return new A.SassException(message, span);
  9359. },
  9360. MultiSpanSassException$(message, span, primaryLabel, secondarySpans) {
  9361. return new A.MultiSpanSassException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  9362. },
  9363. SassRuntimeException$(message, span, trace) {
  9364. return new A.SassRuntimeException(trace, message, span);
  9365. },
  9366. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
  9367. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  9368. },
  9369. SassFormatException$(message, span) {
  9370. return new A.SassFormatException(message, span);
  9371. },
  9372. SassScriptException$(message, argumentName) {
  9373. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  9374. },
  9375. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  9376. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9377. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  9378. },
  9379. SassException: function SassException(t0, t1) {
  9380. this._span_exception$_message = t0;
  9381. this._span = t1;
  9382. },
  9383. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
  9384. var _ = this;
  9385. _.primaryLabel = t0;
  9386. _.secondarySpans = t1;
  9387. _._span_exception$_message = t2;
  9388. _._span = t3;
  9389. },
  9390. SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
  9391. this.trace = t0;
  9392. this._span_exception$_message = t1;
  9393. this._span = t2;
  9394. },
  9395. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
  9396. var _ = this;
  9397. _.trace = t0;
  9398. _.primaryLabel = t1;
  9399. _.secondarySpans = t2;
  9400. _._span_exception$_message = t3;
  9401. _._span = t4;
  9402. },
  9403. SassFormatException: function SassFormatException(t0, t1) {
  9404. this._span_exception$_message = t0;
  9405. this._span = t1;
  9406. },
  9407. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3) {
  9408. var _ = this;
  9409. _.primaryLabel = t0;
  9410. _.secondarySpans = t1;
  9411. _._span_exception$_message = t2;
  9412. _._span = t3;
  9413. },
  9414. SassScriptException: function SassScriptException(t0) {
  9415. this.message = t0;
  9416. },
  9417. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  9418. this.primaryLabel = t0;
  9419. this.secondarySpans = t1;
  9420. this.message = t2;
  9421. },
  9422. compileStylesheet(options, graph, source, destination, ifModified) {
  9423. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  9424. },
  9425. compileStylesheet$body(options, graph, source, destination, ifModified) {
  9426. var $async$goto = 0,
  9427. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9428. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t1, t2, t3, t4, t5, t6, t7, t8, t9, result0, t10, t11, t12, t13, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  9429. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9430. if ($async$errorCode === 1) {
  9431. $async$currentError = $async$result;
  9432. $async$goto = $async$handler;
  9433. }
  9434. while (true)
  9435. switch ($async$goto) {
  9436. case 0:
  9437. // Function start
  9438. importer = new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9439. if (ifModified)
  9440. try {
  9441. if (source != null && destination != null && !graph.modifiedSince$3($.$get$context().toUri$1(source), A.modificationTime(destination), importer)) {
  9442. // goto return
  9443. $async$goto = 1;
  9444. break;
  9445. }
  9446. } catch (exception) {
  9447. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  9448. throw exception;
  9449. }
  9450. syntax = null;
  9451. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  9452. syntax = B.Syntax_Sass_sass;
  9453. else if (source != null)
  9454. syntax = A.Syntax_forPath(source);
  9455. else
  9456. syntax = B.Syntax_SCSS_scss;
  9457. result = null;
  9458. $async$handler = 4;
  9459. t1 = options._options;
  9460. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  9461. break;
  9462. case 7:
  9463. // then
  9464. t2 = type$.List_String._as(t1.$index(0, "load-path"));
  9465. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9466. t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
  9467. t5 = type$.Uri;
  9468. t2 = A.AsyncImportCache__toImporters(null, t2, null);
  9469. importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
  9470. $async$goto = source == null ? 10 : 12;
  9471. break;
  9472. case 10:
  9473. // then
  9474. $async$goto = 13;
  9475. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9476. case 13:
  9477. // returning from await.
  9478. t2 = $async$result;
  9479. t3 = syntax;
  9480. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9481. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9482. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9483. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9484. t8 = A._asBool(t1.$index(0, "verbose"));
  9485. t9 = options.get$emitSourceMap();
  9486. $async$goto = 14;
  9487. return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), options.get$fatalDeprecations(), options.get$futureDeprecations(), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
  9488. case 14:
  9489. // returning from await.
  9490. result0 = $async$result;
  9491. // goto join
  9492. $async$goto = 11;
  9493. break;
  9494. case 12:
  9495. // else
  9496. t2 = syntax;
  9497. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9498. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9499. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9500. t6 = A._asBool(t1.$index(0, "verbose"));
  9501. t7 = options.get$emitSourceMap();
  9502. $async$goto = 15;
  9503. return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), options.get$fatalDeprecations(), options.get$futureDeprecations(), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
  9504. case 15:
  9505. // returning from await.
  9506. result0 = $async$result;
  9507. case 11:
  9508. // join
  9509. result = result0;
  9510. // goto join
  9511. $async$goto = 8;
  9512. break;
  9513. case 9:
  9514. // else
  9515. $async$goto = source == null ? 16 : 18;
  9516. break;
  9517. case 16:
  9518. // then
  9519. $async$goto = 19;
  9520. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9521. case 19:
  9522. // returning from await.
  9523. t2 = $async$result;
  9524. t3 = syntax;
  9525. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9526. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9527. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9528. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9529. t8 = A._asBool(t1.$index(0, "verbose"));
  9530. t9 = options.get$emitSourceMap();
  9531. t1 = A._asBool(t1.$index(0, "charset"));
  9532. t10 = options.get$fatalDeprecations();
  9533. t11 = options.get$futureDeprecations();
  9534. t12 = type$.Deprecation;
  9535. t13 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  9536. t13.addAll$1(0, t10);
  9537. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  9538. t10.addAll$1(0, t11);
  9539. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t12, type$.int), t4, t13, t10, !t8);
  9540. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  9541. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t5), null, t6, true, null, null, t7, t9, t1);
  9542. logger.summarize$1$node(false);
  9543. // goto join
  9544. $async$goto = 17;
  9545. break;
  9546. case 18:
  9547. // else
  9548. t2 = syntax;
  9549. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9550. importCache = graph.importCache;
  9551. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9552. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9553. t6 = A._asBool(t1.$index(0, "verbose"));
  9554. t7 = options.get$emitSourceMap();
  9555. t1 = A._asBool(t1.$index(0, "charset"));
  9556. t8 = options.get$fatalDeprecations();
  9557. t9 = options.get$futureDeprecations();
  9558. t10 = type$.Deprecation;
  9559. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  9560. t11.addAll$1(0, t8);
  9561. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  9562. t8.addAll$1(0, t9);
  9563. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t10, type$.int), t3, t11, t8, !t6);
  9564. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  9565. if (t3) {
  9566. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9567. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  9568. t3 = $.$get$context();
  9569. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9570. t0 = t6;
  9571. t6 = t3;
  9572. t3 = t0;
  9573. } else {
  9574. t3 = $.$get$context();
  9575. t6 = t3.canonicalize$1(0, source);
  9576. t0 = t6;
  9577. t6 = t3;
  9578. t3 = t0;
  9579. }
  9580. t6 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t6.toUri$1(t3), t6.toUri$1(source));
  9581. t6.toString;
  9582. stylesheet = t6;
  9583. } else {
  9584. t3 = A.readFile(source);
  9585. if (t2 == null)
  9586. t2 = A.Syntax_forPath(source);
  9587. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  9588. }
  9589. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), null, t4, true, null, null, t5, t7, t1);
  9590. logger.summarize$1$node(false);
  9591. case 17:
  9592. // join
  9593. result = result0;
  9594. case 8:
  9595. // join
  9596. $async$handler = 2;
  9597. // goto after finally
  9598. $async$goto = 6;
  9599. break;
  9600. case 4:
  9601. // catch
  9602. $async$handler = 3;
  9603. $async$exception = $async$currentError;
  9604. t1 = A.unwrapException($async$exception);
  9605. if (t1 instanceof A.SassException) {
  9606. error = t1;
  9607. if (options.get$emitErrorCss())
  9608. if (destination == null)
  9609. A.print(error.toCssString$0());
  9610. else {
  9611. A.ensureDir($.$get$context().dirname$1(destination));
  9612. A.writeFile(destination, error.toCssString$0() + "\n");
  9613. }
  9614. throw $async$exception;
  9615. } else
  9616. throw $async$exception;
  9617. // goto after finally
  9618. $async$goto = 6;
  9619. break;
  9620. case 3:
  9621. // uncaught
  9622. // goto rethrow
  9623. $async$goto = 2;
  9624. break;
  9625. case 6:
  9626. // after finally
  9627. css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
  9628. if (destination == null) {
  9629. if (css.length !== 0)
  9630. A.print(css);
  9631. } else {
  9632. A.ensureDir($.$get$context().dirname$1(destination));
  9633. A.writeFile(destination, css + "\n");
  9634. }
  9635. t1 = options._options;
  9636. if (!A._asBool(t1.$index(0, "quiet")))
  9637. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  9638. else
  9639. t1 = true;
  9640. if (t1) {
  9641. // goto return
  9642. $async$goto = 1;
  9643. break;
  9644. }
  9645. buffer = new A.StringBuffer("");
  9646. if (source == null)
  9647. sourceName = "stdin";
  9648. else {
  9649. t1 = $.$get$context();
  9650. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  9651. }
  9652. destination.toString;
  9653. t1 = $.$get$context();
  9654. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  9655. nowStr = new A.DateTime(Date.now(), false).toString$0(0);
  9656. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  9657. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  9658. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  9659. if (options.get$color())
  9660. t1 = buffer._contents = t1 + "\x1b[32m";
  9661. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  9662. buffer._contents = t1;
  9663. if (options.get$color())
  9664. buffer._contents = t1 + "\x1b[0m";
  9665. A.print(buffer);
  9666. case 1:
  9667. // return
  9668. return A._asyncReturn($async$returnValue, $async$completer);
  9669. case 2:
  9670. // rethrow
  9671. return A._asyncRethrow($async$currentError, $async$completer);
  9672. }
  9673. });
  9674. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  9675. },
  9676. _writeSourceMap(options, sourceMap, destination) {
  9677. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  9678. if (sourceMap == null)
  9679. return "";
  9680. if (destination != null) {
  9681. t1 = $.$get$context();
  9682. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  9683. }
  9684. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  9685. t1 = options._options;
  9686. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  9687. if (A._asBool(t1.$index(0, "embed-source-map")))
  9688. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  9689. else {
  9690. destination.toString;
  9691. sourceMapPath = destination + ".map";
  9692. t2 = $.$get$context();
  9693. A.ensureDir(t2.dirname$1(sourceMapPath));
  9694. A.writeFile(sourceMapPath, sourceMapText);
  9695. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  9696. }
  9697. t2 = url.toString$0(0);
  9698. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  9699. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  9700. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  9701. },
  9702. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  9703. this.options = t0;
  9704. this.destination = t1;
  9705. },
  9706. ExecutableOptions__separator(text) {
  9707. var t1 = $.$get$ExecutableOptions__separatorBar(),
  9708. t2 = B.JSString_methods.$mul(t1, 3),
  9709. t3 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "",
  9710. t4 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "";
  9711. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  9712. },
  9713. ExecutableOptions__fail(message) {
  9714. return A.throwExpression(A.UsageException$(message));
  9715. },
  9716. ExecutableOptions_ExecutableOptions$parse(args) {
  9717. var options, error, t1, exception;
  9718. try {
  9719. t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
  9720. if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
  9721. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  9722. options = new A.ExecutableOptions(t1);
  9723. if (A._asBool(options._options.$index(0, "help")))
  9724. A.ExecutableOptions__fail("Compile Sass to CSS.");
  9725. return options;
  9726. } catch (exception) {
  9727. t1 = A.unwrapException(exception);
  9728. if (type$.FormatException._is(t1)) {
  9729. error = t1;
  9730. A.ExecutableOptions__fail(J.get$message$x(error));
  9731. } else
  9732. throw exception;
  9733. }
  9734. },
  9735. UsageException$(message) {
  9736. return new A.UsageException(message);
  9737. },
  9738. ExecutableOptions: function ExecutableOptions(t0) {
  9739. var _ = this;
  9740. _._options = t0;
  9741. _.__ExecutableOptions_interactive_FI = $;
  9742. _._sourcesToDestinations = null;
  9743. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  9744. _._fatalDeprecations = null;
  9745. },
  9746. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  9747. },
  9748. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  9749. this.$this = t0;
  9750. },
  9751. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  9752. },
  9753. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  9754. this.$this = t0;
  9755. },
  9756. UsageException: function UsageException(t0) {
  9757. this.message = t0;
  9758. },
  9759. watch(options, graph) {
  9760. return A.watch$body(options, graph);
  9761. },
  9762. watch$body(options, graph) {
  9763. var $async$goto = 0,
  9764. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9765. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
  9766. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9767. if ($async$errorCode === 1)
  9768. return A._asyncRethrow($async$result, $async$completer);
  9769. while (true)
  9770. switch ($async$goto) {
  9771. case 0:
  9772. // Function start
  9773. options._ensureSources$0();
  9774. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  9775. t1 === $ && A.throwUnnamedLateFieldNI();
  9776. t2 = type$.String;
  9777. t1 = t1.cast$2$0(0, t2, t2);
  9778. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  9779. 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();) {
  9780. t4 = t3.get$current(t3);
  9781. t1.push($.$get$context().dirname$1(t4));
  9782. }
  9783. t3 = options._options;
  9784. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  9785. t4 = A._asBool(t3.$index(0, "poll"));
  9786. t5 = type$.Stream_WatchEvent;
  9787. t6 = A.PathMap__create(null, t5);
  9788. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  9789. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  9790. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  9791. $async$goto = 3;
  9792. return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t1, new A.watch_closure(dirWatcher), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$watch);
  9793. case 3:
  9794. // returning from await.
  9795. watcher = new A._Watcher(options, graph);
  9796. options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  9797. case 4:
  9798. // for condition
  9799. if (!t1.moveNext$0()) {
  9800. // goto after for
  9801. $async$goto = 5;
  9802. break;
  9803. }
  9804. t2 = t1.get$current(t1);
  9805. t4 = $.$get$context();
  9806. t5 = t4.absolute$15(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9807. t6 = t2.key;
  9808. graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$15(t4.normalize$1(t6), null, null, null, null, null, null, null, null, null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
  9809. $async$goto = 6;
  9810. return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
  9811. case 6:
  9812. // returning from await.
  9813. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  9814. t1 = dirWatcher._group.__StreamGroup__controller_A;
  9815. t1 === $ && A.throwUnnamedLateFieldNI();
  9816. t1._subscribe$4(null, null, null, false).cancel$0();
  9817. // goto return
  9818. $async$goto = 1;
  9819. break;
  9820. }
  9821. // goto for condition
  9822. $async$goto = 4;
  9823. break;
  9824. case 5:
  9825. // after for
  9826. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  9827. $async$goto = 7;
  9828. return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
  9829. case 7:
  9830. // returning from await.
  9831. case 1:
  9832. // return
  9833. return A._asyncReturn($async$returnValue, $async$completer);
  9834. }
  9835. });
  9836. return A._asyncStartSync($async$watch, $async$completer);
  9837. },
  9838. watch_closure: function watch_closure(t0) {
  9839. this.dirWatcher = t0;
  9840. },
  9841. _Watcher: function _Watcher(t0, t1) {
  9842. this._watch$_options = t0;
  9843. this._graph = t1;
  9844. },
  9845. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  9846. },
  9847. EmptyExtensionStore: function EmptyExtensionStore() {
  9848. },
  9849. Extension: function Extension(t0, t1, t2, t3, t4) {
  9850. var _ = this;
  9851. _.extender = t0;
  9852. _.target = t1;
  9853. _.mediaContext = t2;
  9854. _.isOptional = t3;
  9855. _.span = t4;
  9856. },
  9857. Extender: function Extender(t0, t1) {
  9858. this.selector = t0;
  9859. this.isOriginal = t1;
  9860. this._extension = null;
  9861. },
  9862. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  9863. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  9864. extender = A.ExtensionStore$_mode(mode);
  9865. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  9866. extender._originals.addAll$1(0, selector.components);
  9867. 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) {
  9868. complex = t1[_i];
  9869. if (complex.leadingCombinators.length === 0) {
  9870. t9 = complex.components;
  9871. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  9872. } else
  9873. t9 = false;
  9874. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  9875. if (compound == null)
  9876. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  9877. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  9878. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  9879. simple = t10[_i0];
  9880. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  9881. for (_i1 = 0; _i1 < t4; ++_i1) {
  9882. complex = t3[_i1];
  9883. complex.get$specificity();
  9884. t13 = new A.Extender(complex, false);
  9885. t14 = new A.Extension(t13, simple, null, true, span);
  9886. t13._extension = t14;
  9887. t12.$indexSet(0, complex, t14);
  9888. }
  9889. t9.$indexSet(0, simple, t12);
  9890. }
  9891. selector = extender._extendList$2(selector, t9);
  9892. }
  9893. return selector;
  9894. },
  9895. ExtensionStore$() {
  9896. var t1 = type$.SimpleSelector;
  9897. 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._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_normal);
  9898. },
  9899. ExtensionStore$_mode(_mode) {
  9900. var t1 = type$.SimpleSelector;
  9901. 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._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  9902. },
  9903. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  9904. var _ = this;
  9905. _._selectors = t0;
  9906. _._extensions = t1;
  9907. _._extensionsByExtender = t2;
  9908. _._mediaContexts = t3;
  9909. _._sourceSpecificity = t4;
  9910. _._originals = t5;
  9911. _._mode = t6;
  9912. },
  9913. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  9914. },
  9915. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  9916. },
  9917. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  9918. },
  9919. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  9920. },
  9921. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  9922. this.complex = t0;
  9923. },
  9924. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  9925. },
  9926. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  9927. },
  9928. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
  9929. this._box_0 = t0;
  9930. this.$this = t1;
  9931. },
  9932. ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
  9933. var _ = this;
  9934. _._box_0 = t0;
  9935. _.existingSources = t1;
  9936. _.extensionsForTarget = t2;
  9937. _.selectorsForTarget = t3;
  9938. _.target = t4;
  9939. },
  9940. ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
  9941. },
  9942. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
  9943. this._box_0 = t0;
  9944. this.$this = t1;
  9945. },
  9946. ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
  9947. this.$this = t0;
  9948. this.newExtensions = t1;
  9949. },
  9950. ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
  9951. this.$this = t0;
  9952. this.newExtensions = t1;
  9953. },
  9954. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  9955. this._box_0 = t0;
  9956. this.$this = t1;
  9957. this.complex = t2;
  9958. },
  9959. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  9960. this._box_0 = t0;
  9961. this.$this = t1;
  9962. this.complex = t2;
  9963. },
  9964. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  9965. },
  9966. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  9967. },
  9968. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  9969. this.original = t0;
  9970. },
  9971. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  9972. this.$this = t0;
  9973. this.extensions = t1;
  9974. this.targetsUsed = t2;
  9975. },
  9976. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  9977. this.$this = t0;
  9978. this.withoutPseudo = t1;
  9979. },
  9980. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  9981. },
  9982. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  9983. },
  9984. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  9985. },
  9986. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  9987. },
  9988. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  9989. this.pseudo = t0;
  9990. },
  9991. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  9992. this.pseudo = t0;
  9993. this.selector = t1;
  9994. },
  9995. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  9996. this._box_0 = t0;
  9997. this.complex1 = t1;
  9998. },
  9999. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  10000. this._box_0 = t0;
  10001. this.complex1 = t1;
  10002. },
  10003. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  10004. var _ = this;
  10005. _.$this = t0;
  10006. _.newSelectors = t1;
  10007. _.oldToNewSelectors = t2;
  10008. _.newMediaContexts = t3;
  10009. },
  10010. unifyComplex(complexes, span) {
  10011. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  10012. t1 = J.getInterceptor$asx(complexes);
  10013. if (t1.get$length(complexes) === 1)
  10014. return complexes;
  10015. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  10016. t3 = t2.get$current(t2);
  10017. if (t3.accept$1(B.C__IsUselessVisitor))
  10018. return _null;
  10019. t4 = t3.components;
  10020. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  10021. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  10022. if (leadingCombinator != null)
  10023. t3 = !(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value));
  10024. else
  10025. t3 = false;
  10026. if (t3)
  10027. return _null;
  10028. leadingCombinator = newLeadingCombinator;
  10029. }
  10030. base = B.JSArray_methods.get$last(t4);
  10031. t3 = base.combinators;
  10032. if (t3.length !== 0) {
  10033. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  10034. if (trailingCombinator != null)
  10035. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  10036. else
  10037. t3 = false;
  10038. if (t3)
  10039. return _null;
  10040. trailingCombinator = newTrailingCombinator;
  10041. }
  10042. if (unifiedBase == null)
  10043. unifiedBase = base.selector.components;
  10044. else
  10045. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  10046. unifiedBase = t3[_i].unify$1(unifiedBase);
  10047. if (unifiedBase == null)
  10048. return _null;
  10049. }
  10050. }
  10051. t2 = type$.JSArray_ComplexSelector;
  10052. t3 = A._setArrayType([], t2);
  10053. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  10054. t5 = t4.get$current(t4);
  10055. t6 = t5.components;
  10056. t7 = t6.length;
  10057. if (t7 > 1) {
  10058. t8 = t5.leadingCombinators;
  10059. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  10060. }
  10061. }
  10062. t4 = leadingCombinator == null ? B.List_empty1 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  10063. unifiedBase.toString;
  10064. t5 = A.CompoundSelector$(unifiedBase, span);
  10065. t6 = trailingCombinator == null ? B.List_empty1 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  10066. 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()));
  10067. if (t3.length === 0)
  10068. t1 = A._setArrayType([base], t2);
  10069. else {
  10070. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  10071. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  10072. }
  10073. return A.weave(t1, span, false);
  10074. },
  10075. unifyCompound(compound1, compound2) {
  10076. var t1, t2, _i, unified,
  10077. result = compound2.components;
  10078. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  10079. unified = t1[_i].unify$1(result);
  10080. if (unified == null)
  10081. return null;
  10082. }
  10083. return A.CompoundSelector$(result, compound1.span);
  10084. },
  10085. unifyUniversalAndElement(selector1, selector2) {
  10086. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  10087. _s45_ = string$.must_b;
  10088. if (selector1 instanceof A.UniversalSelector) {
  10089. namespace1 = selector1.namespace;
  10090. name1 = _null;
  10091. } else if (selector1 instanceof A.TypeSelector) {
  10092. t1 = selector1.name;
  10093. namespace1 = t1.namespace;
  10094. name1 = t1.name;
  10095. } else
  10096. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  10097. if (selector2 instanceof A.UniversalSelector) {
  10098. namespace2 = selector2.namespace;
  10099. name2 = _null;
  10100. } else if (selector2 instanceof A.TypeSelector) {
  10101. t1 = selector2.name;
  10102. namespace2 = t1.namespace;
  10103. name2 = t1.name;
  10104. } else
  10105. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  10106. if (namespace1 == namespace2 || namespace2 === "*")
  10107. namespace = namespace1;
  10108. else {
  10109. if (namespace1 !== "*")
  10110. return _null;
  10111. namespace = namespace2;
  10112. }
  10113. if (name1 == name2 || name2 == null)
  10114. $name = name1;
  10115. else {
  10116. if (!(name1 == null || name1 === "*"))
  10117. return _null;
  10118. $name = name2;
  10119. }
  10120. t1 = selector1.span;
  10121. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  10122. },
  10123. weave(complexes, span, forceLineBreak) {
  10124. var complex, t2, prefixes, t3, t4, t5, i, t6, t7, _i, t8, t9, _i0, parentPrefix, t10, t11,
  10125. t1 = J.getInterceptor$asx(complexes);
  10126. if (t1.get$length(complexes) === 1) {
  10127. complex = t1.get$first(complexes);
  10128. if (!forceLineBreak || complex.lineBreak)
  10129. return complexes;
  10130. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  10131. }
  10132. t2 = type$.JSArray_ComplexSelector;
  10133. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  10134. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.ComplexSelectorComponent; t1.moveNext$0();) {
  10135. t4 = t1.get$current(t1);
  10136. t5 = t4.components;
  10137. if (t5.length === 1) {
  10138. for (i = 0; i < prefixes.length; ++i)
  10139. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t4, span, forceLineBreak);
  10140. continue;
  10141. }
  10142. t6 = A._setArrayType([], t2);
  10143. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  10144. t8 = A._weaveParents(prefixes[_i], t4, span);
  10145. if (t8 == null)
  10146. t8 = B.List_empty2;
  10147. t9 = t8.length;
  10148. _i0 = 0;
  10149. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  10150. parentPrefix = t8[_i0];
  10151. t10 = B.JSArray_methods.get$last(t5);
  10152. t11 = A.List_List$of(parentPrefix.components, true, t3);
  10153. t11.push(t10);
  10154. t10 = parentPrefix.lineBreak || forceLineBreak;
  10155. t6.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t11, span, t10));
  10156. }
  10157. }
  10158. prefixes = t6;
  10159. }
  10160. return prefixes;
  10161. },
  10162. _weaveParents(prefix, base, span) {
  10163. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, rootish, t2, t3, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  10164. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  10165. if (leadingCombinators == null)
  10166. return _null;
  10167. t1 = type$.ComplexSelectorComponent;
  10168. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  10169. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast(base.components), t1);
  10170. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  10171. if (trailingCombinators == null)
  10172. return _null;
  10173. rootish1 = A._firstIfRootish(queue1);
  10174. rootish2 = A._firstIfRootish(queue2);
  10175. t1 = rootish1 == null;
  10176. if (!t1 && rootish2 != null) {
  10177. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  10178. if (rootish == null)
  10179. return _null;
  10180. t1 = rootish1.combinators;
  10181. t2 = rootish1.span;
  10182. t3 = type$.CssValue_Combinator;
  10183. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  10184. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  10185. } else if (!t1 || rootish2 != null) {
  10186. t1 = t1 ? rootish2 : rootish1;
  10187. t1.toString;
  10188. queue1.addFirst$1(t1);
  10189. queue2.addFirst$1(t1);
  10190. }
  10191. groups1 = A._groupSelectors(queue1);
  10192. groups2 = A._groupSelectors(queue2);
  10193. t1 = type$.List_ComplexSelectorComponent;
  10194. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  10195. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  10196. 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) {
  10197. group = lcs[_i];
  10198. t5 = A._setArrayType([], t3);
  10199. 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) {
  10200. chunk = t6[_i0];
  10201. t8 = A._setArrayType([], t4);
  10202. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  10203. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  10204. t5.push(t8);
  10205. }
  10206. choices.push(t5);
  10207. choices.push(A._setArrayType([group], t3));
  10208. groups1.removeFirst$0();
  10209. groups2.removeFirst$0();
  10210. }
  10211. t2 = A._setArrayType([], t3);
  10212. 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) {
  10213. chunk = t1[_i];
  10214. t5 = A._setArrayType([], t4);
  10215. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  10216. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  10217. t2.push(t5);
  10218. }
  10219. choices.push(t2);
  10220. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  10221. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  10222. 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();) {
  10223. t6 = t2.get$current(t2);
  10224. t7 = A._setArrayType([], t4);
  10225. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  10226. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  10227. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  10228. }
  10229. return t1;
  10230. },
  10231. _firstIfRootish(queue) {
  10232. var first, t1, t2, _i, simple;
  10233. if (queue._collection$_head === queue._collection$_tail)
  10234. return null;
  10235. first = queue.get$first(queue);
  10236. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  10237. simple = t1[_i];
  10238. if (simple instanceof A.PseudoSelector && simple.isClass && $._rootishPseudoClasses.contains$1(0, simple.normalizedName)) {
  10239. queue.removeFirst$0();
  10240. return first;
  10241. }
  10242. }
  10243. return null;
  10244. },
  10245. _mergeLeadingCombinators(combinators1, combinators2) {
  10246. var t2, _null = null,
  10247. t1 = combinators1.length;
  10248. if (t1 > 1)
  10249. return _null;
  10250. t2 = combinators2.length;
  10251. if (t2 > 1)
  10252. return _null;
  10253. if (t1 === 0)
  10254. return combinators2;
  10255. if (t2 === 0)
  10256. return combinators1;
  10257. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  10258. },
  10259. _mergeTrailingCombinators(components1, components2, span, result) {
  10260. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  10261. if (result == null)
  10262. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  10263. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty1 : components1.get$last(components1).combinators;
  10264. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty1 : components2.get$last(components2).combinators;
  10265. t1 = combinators1.length;
  10266. t2 = t1 === 0;
  10267. if (t2 && combinators2.length === 0)
  10268. return result;
  10269. if (t1 > 1 || combinators2.length > 1)
  10270. return _null;
  10271. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  10272. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  10273. t1 = combinator1 != null;
  10274. if (t1 && combinator2 != null) {
  10275. component1 = components1.removeLast$0(0);
  10276. component2 = components2.removeLast$0(0);
  10277. t1 = combinator1.value;
  10278. t2 = t1 === B.Combinator_Htt;
  10279. if (t2 && combinator2.value === B.Combinator_Htt) {
  10280. t1 = component1.selector;
  10281. t2 = component2.selector;
  10282. if (A.compoundIsSuperselector(t1, t2, _null))
  10283. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10284. else {
  10285. t3 = type$.JSArray_ComplexSelectorComponent;
  10286. t4 = type$.JSArray_List_ComplexSelectorComponent;
  10287. if (A.compoundIsSuperselector(t2, t1, _null))
  10288. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  10289. else {
  10290. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  10291. unified = A.unifyCompound(t1, t2);
  10292. if (unified != null)
  10293. choices.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t3));
  10294. result.addFirst$1(choices);
  10295. }
  10296. }
  10297. } else {
  10298. if (!(t2 && combinator2.value === B.Combinator_4QF))
  10299. t3 = t1 === B.Combinator_4QF && combinator2.value === B.Combinator_Htt;
  10300. else
  10301. t3 = true;
  10302. if (t3) {
  10303. followingSiblingComponent = t2 ? component1 : component2;
  10304. nextSiblingComponent = t2 ? component2 : component1;
  10305. t1 = type$.JSArray_ComplexSelectorComponent;
  10306. t2 = type$.JSArray_List_ComplexSelectorComponent;
  10307. if (A.compoundIsSuperselector(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  10308. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  10309. else {
  10310. unified = A.unifyCompound(component1.selector, component2.selector);
  10311. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  10312. if (unified != null)
  10313. t2.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(nextSiblingComponent.combinators, type$.CssValue_Combinator), span)], t1));
  10314. result.addFirst$1(t2);
  10315. }
  10316. } else {
  10317. if (t1 === B.Combinator_Cht) {
  10318. t3 = combinator2.value;
  10319. t3 = t3 === B.Combinator_4QF || t3 === B.Combinator_Htt;
  10320. } else
  10321. t3 = false;
  10322. if (t3) {
  10323. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10324. components1._add$1(component1);
  10325. } else {
  10326. if (combinator2.value === B.Combinator_Cht)
  10327. t1 = t1 === B.Combinator_4QF || t2;
  10328. else
  10329. t1 = false;
  10330. if (t1) {
  10331. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10332. components2._add$1(component2);
  10333. } else if (combinator1.$eq(0, combinator2)) {
  10334. unified = A.unifyCompound(component1.selector, component2.selector);
  10335. if (unified == null)
  10336. return _null;
  10337. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10338. } else
  10339. return _null;
  10340. }
  10341. }
  10342. }
  10343. return A._mergeTrailingCombinators(components1, components2, span, result);
  10344. } else if (t1) {
  10345. if (combinator1.value === B.Combinator_Cht && !components2.get$isEmpty(components2) && A.compoundIsSuperselector(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  10346. components2.removeLast$0(0);
  10347. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10348. return A._mergeTrailingCombinators(components1, components2, span, result);
  10349. } else {
  10350. if (J.$eq$(combinator2 == null ? _null : combinator2.value, B.Combinator_Cht) && !components1.get$isEmpty(components1) && A.compoundIsSuperselector(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  10351. components1.removeLast$0(0);
  10352. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10353. return A._mergeTrailingCombinators(components1, components2, span, result);
  10354. }
  10355. },
  10356. _mustUnify(complex1, complex2) {
  10357. var t2, t3, t4,
  10358. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  10359. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  10360. 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();)
  10361. t1.add$1(0, t3.get$current(t3));
  10362. if (t1._collection$_length === 0)
  10363. return false;
  10364. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  10365. },
  10366. _isUnique(simple) {
  10367. var t1;
  10368. if (!(simple instanceof A.IDSelector))
  10369. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  10370. else
  10371. t1 = true;
  10372. return t1;
  10373. },
  10374. _chunks(queue1, queue2, done, $T) {
  10375. var chunk2, t2,
  10376. t1 = $T._eval$1("JSArray<0>"),
  10377. chunk1 = A._setArrayType([], t1);
  10378. for (; !done.call$1(queue1);)
  10379. chunk1.push(queue1.removeFirst$0());
  10380. chunk2 = A._setArrayType([], t1);
  10381. for (; !done.call$1(queue2);)
  10382. chunk2.push(queue2.removeFirst$0());
  10383. t1 = chunk1.length === 0;
  10384. if (t1 && chunk2.length === 0)
  10385. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  10386. if (t1)
  10387. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  10388. if (chunk2.length === 0)
  10389. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  10390. t1 = A.List_List$of(chunk1, true, $T);
  10391. B.JSArray_methods.addAll$1(t1, chunk2);
  10392. t2 = A.List_List$of(chunk2, true, $T);
  10393. B.JSArray_methods.addAll$1(t2, chunk1);
  10394. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  10395. },
  10396. paths(choices, $T) {
  10397. 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));
  10398. },
  10399. _groupSelectors(complex) {
  10400. var t2, t3, t4,
  10401. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  10402. t1 = type$.JSArray_ComplexSelectorComponent,
  10403. group = A._setArrayType([], t1);
  10404. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  10405. t4 = t2._collection$_current;
  10406. if (t4 == null)
  10407. t4 = t3._as(t4);
  10408. group.push(t4);
  10409. if (t4.combinators.length === 0) {
  10410. groups._queue_list$_add$1(group);
  10411. group = A._setArrayType([], t1);
  10412. }
  10413. }
  10414. if (group.length !== 0)
  10415. groups._queue_list$_add$1(group);
  10416. return groups;
  10417. },
  10418. listIsSuperselector(list1, list2) {
  10419. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  10420. },
  10421. _complexIsParentSuperselector(complex1, complex2) {
  10422. var t1, base, t2;
  10423. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  10424. return false;
  10425. t1 = $.$get$bogusSpan();
  10426. 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);
  10427. t1 = type$.ComplexSelectorComponent;
  10428. t2 = A.List_List$of(complex1, true, t1);
  10429. t2.push(base);
  10430. t1 = A.List_List$of(complex2, true, t1);
  10431. t1.push(base);
  10432. return A.complexIsSuperselector(t2, t1);
  10433. },
  10434. complexIsSuperselector(complex1, complex2) {
  10435. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  10436. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  10437. return false;
  10438. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  10439. return false;
  10440. 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) {
  10441. remaining1 = complex1.length - i1;
  10442. t4 = complex2.length;
  10443. remaining2 = t4 - i2;
  10444. if (remaining1 === 0 || remaining2 === 0)
  10445. return false;
  10446. if (remaining1 > remaining2)
  10447. return false;
  10448. component1 = complex1[i1];
  10449. t5 = component1.combinators;
  10450. if (t5.length > 1)
  10451. return false;
  10452. if (remaining1 === 1) {
  10453. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  10454. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  10455. return false;
  10456. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  10457. }
  10458. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  10459. component2 = complex2[endOfSubselector];
  10460. if (component2.combinators.length > 1)
  10461. return false;
  10462. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  10463. break;
  10464. ++endOfSubselector;
  10465. if (endOfSubselector === complex2.length - 1)
  10466. return false;
  10467. if (parents == null)
  10468. parents = A._setArrayType([], t1);
  10469. parents.push(component2);
  10470. }
  10471. if (!A._compatibleWithPreviousCombinator(previousCombinator, parents == null ? B.List_empty0 : parents))
  10472. return false;
  10473. component2 = complex2[endOfSubselector];
  10474. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  10475. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  10476. return false;
  10477. ++i1;
  10478. i2 = endOfSubselector + 1;
  10479. if (complex1.length - i1 === 1) {
  10480. t4 = combinator1 == null;
  10481. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt)) {
  10482. t4 = complex2.length - 1;
  10483. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  10484. t5.SubListIterable$3(complex2, 0, t4, t3);
  10485. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  10486. return false;
  10487. } else if (!t4)
  10488. if (complex2.length - i2 > 1)
  10489. return false;
  10490. }
  10491. }
  10492. },
  10493. _compatibleWithPreviousCombinator(previous, parents) {
  10494. if (parents.length === 0)
  10495. return true;
  10496. if (previous == null)
  10497. return true;
  10498. if (previous.value !== B.Combinator_Htt)
  10499. return false;
  10500. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure());
  10501. },
  10502. _isSupercombinator(combinator1, combinator2) {
  10503. var t1, t2;
  10504. if (!J.$eq$(combinator1, combinator2)) {
  10505. t1 = combinator1 == null;
  10506. if (t1)
  10507. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht);
  10508. else
  10509. t2 = false;
  10510. if (!t2)
  10511. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt))
  10512. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF);
  10513. else
  10514. t1 = false;
  10515. else
  10516. t1 = true;
  10517. } else
  10518. t1 = true;
  10519. return t1;
  10520. },
  10521. compoundIsSuperselector(compound1, compound2, parents) {
  10522. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  10523. tuple1 = A._findPseudoElementIndexed(compound1),
  10524. tuple2 = A._findPseudoElementIndexed(compound2),
  10525. t1 = tuple1 == null;
  10526. if (!t1 && tuple2 != null) {
  10527. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  10528. t1 = compound1.components;
  10529. t2 = tuple1.item2;
  10530. t3 = type$.int;
  10531. t4 = A._arrayInstanceType(t1)._precomputed1;
  10532. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  10533. t6 = compound2.components;
  10534. t7 = tuple2.item2;
  10535. t8 = A._arrayInstanceType(t6)._precomputed1;
  10536. t1 = A._compoundComponentsIsSuperselector(t5, A.SubListIterable$(t6, 0, A.checkNotNullable(t7, "count", t3), t8), parents) && A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, t2 + 1, null, t4), A.SubListIterable$(t6, t7 + 1, null, t8), parents);
  10537. } else
  10538. t1 = false;
  10539. return t1;
  10540. } else if (!t1 || tuple2 != null)
  10541. return false;
  10542. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  10543. simple1 = t1[_i];
  10544. if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
  10545. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  10546. return false;
  10547. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  10548. return false;
  10549. }
  10550. return true;
  10551. },
  10552. _findPseudoElementIndexed(compound) {
  10553. var t1, t2, i, simple;
  10554. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  10555. simple = t1[i];
  10556. if (simple instanceof A.PseudoSelector && !simple.isClass)
  10557. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int);
  10558. }
  10559. return null;
  10560. },
  10561. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  10562. var t1;
  10563. if (compound1.get$length(compound1) === 0)
  10564. return true;
  10565. if (compound2.get$length(compound2) === 0)
  10566. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  10567. t1 = $.$get$bogusSpan();
  10568. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  10569. },
  10570. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  10571. var selector1_ = pseudo1.selector;
  10572. if (selector1_ == null)
  10573. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  10574. switch (pseudo1.normalizedName) {
  10575. case "is":
  10576. case "matches":
  10577. case "any":
  10578. case "where":
  10579. 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));
  10580. case "has":
  10581. case "host":
  10582. case "host-context":
  10583. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
  10584. case "slotted":
  10585. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
  10586. case "not":
  10587. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  10588. case "current":
  10589. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
  10590. case "nth-child":
  10591. case "nth-last-child":
  10592. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
  10593. default:
  10594. throw A.wrapException("unreachable");
  10595. }
  10596. },
  10597. _selectorPseudoArgs(compound, $name, isClass) {
  10598. var t1 = type$.WhereTypeIterable_PseudoSelector;
  10599. 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);
  10600. },
  10601. unifyComplex_closure: function unifyComplex_closure() {
  10602. },
  10603. _weaveParents_closure: function _weaveParents_closure(t0) {
  10604. this.span = t0;
  10605. },
  10606. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  10607. this.group = t0;
  10608. },
  10609. _weaveParents_closure1: function _weaveParents_closure1() {
  10610. },
  10611. _weaveParents_closure2: function _weaveParents_closure2() {
  10612. },
  10613. _mustUnify_closure: function _mustUnify_closure(t0) {
  10614. this.uniqueSelectors = t0;
  10615. },
  10616. _mustUnify__closure: function _mustUnify__closure(t0) {
  10617. this.uniqueSelectors = t0;
  10618. },
  10619. paths_closure: function paths_closure(t0) {
  10620. this.T = t0;
  10621. },
  10622. paths__closure: function paths__closure(t0, t1) {
  10623. this.paths = t0;
  10624. this.T = t1;
  10625. },
  10626. paths___closure: function paths___closure(t0, t1) {
  10627. this.option = t0;
  10628. this.T = t1;
  10629. },
  10630. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  10631. this.list1 = t0;
  10632. },
  10633. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  10634. this.complex1 = t0;
  10635. },
  10636. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  10637. },
  10638. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  10639. this.combinator1 = t0;
  10640. },
  10641. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  10642. },
  10643. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  10644. this.selector1 = t0;
  10645. },
  10646. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  10647. this.parents = t0;
  10648. this.compound2 = t1;
  10649. },
  10650. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  10651. this.selector1 = t0;
  10652. },
  10653. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  10654. this.selector1 = t0;
  10655. },
  10656. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  10657. this.compound2 = t0;
  10658. this.pseudo1 = t1;
  10659. },
  10660. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  10661. this.complex = t0;
  10662. this.pseudo1 = t1;
  10663. },
  10664. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  10665. this.simple2 = t0;
  10666. },
  10667. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  10668. this.simple2 = t0;
  10669. },
  10670. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  10671. this.selector1 = t0;
  10672. },
  10673. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  10674. this.pseudo1 = t0;
  10675. this.selector1 = t1;
  10676. },
  10677. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  10678. this.isClass = t0;
  10679. this.name = t1;
  10680. },
  10681. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  10682. },
  10683. MergedExtension_merge(left, right) {
  10684. var t2, t3, t4, t5,
  10685. t1 = left.extender.selector;
  10686. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  10687. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  10688. t2 = left.mediaContext;
  10689. t3 = t2 == null;
  10690. if (!t3) {
  10691. t4 = right.mediaContext;
  10692. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  10693. } else
  10694. t4 = false;
  10695. if (t4)
  10696. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  10697. if (right.isOptional && right.mediaContext == null)
  10698. return left;
  10699. if (left.isOptional && t3)
  10700. return right;
  10701. t4 = left.target;
  10702. t5 = left.span;
  10703. if (t3)
  10704. t2 = right.mediaContext;
  10705. t1.get$specificity();
  10706. t1 = new A.Extender(t1, false);
  10707. return t1._extension = new A.MergedExtension(left, right, t1, t4, t2, true, t5);
  10708. },
  10709. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  10710. var _ = this;
  10711. _.left = t0;
  10712. _.right = t1;
  10713. _.extender = t2;
  10714. _.target = t3;
  10715. _.mediaContext = t4;
  10716. _.isOptional = t5;
  10717. _.span = t6;
  10718. },
  10719. ExtendMode: function ExtendMode(t0, t1) {
  10720. this.name = t0;
  10721. this._name = t1;
  10722. },
  10723. globalFunctions_closure: function globalFunctions_closure() {
  10724. },
  10725. _updateComponents($arguments, adjust, change, scale) {
  10726. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  10727. t1 = J.getInterceptor$asx($arguments),
  10728. color = t1.$index($arguments, 0).assertColor$1("color"),
  10729. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  10730. if (argumentList._list$_contents.length !== 0)
  10731. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  10732. argumentList._wereKeywordsAccessed = true;
  10733. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  10734. t1 = new A._updateComponents_getParam(keywords, scale, change);
  10735. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  10736. red = t1.call$2("red", 255);
  10737. green = t1.call$2("green", 255);
  10738. blue = t1.call$2("blue", 255);
  10739. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  10740. saturation = t1.call$3$checkPercent("saturation", 100, true);
  10741. lightness = t1.call$3$checkPercent("lightness", 100, true);
  10742. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  10743. blackness = t1.call$3$assertPercent("blackness", 100, true);
  10744. t1 = keywords.__js_helper$_length;
  10745. if (t1 !== 0)
  10746. throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.S(A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or")) + ".", _null));
  10747. hasRgb = red != null || green != null || blue != null;
  10748. hasSL = saturation != null || lightness != null;
  10749. hasWB = whiteness != null || blackness != null;
  10750. if (hasRgb)
  10751. t1 = hasSL || hasWB || hue != null;
  10752. else
  10753. t1 = false;
  10754. if (t1)
  10755. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  10756. if (hasSL && hasWB)
  10757. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  10758. t1 = new A._updateComponents_updateValue(change, adjust);
  10759. t2 = new A._updateComponents_updateRgb(t1);
  10760. if (hasRgb) {
  10761. t3 = t2.call$2(color.get$red(color), red);
  10762. t4 = t2.call$2(color.get$green(color), green);
  10763. t2 = t2.call$2(color.get$blue(color), blue);
  10764. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10765. } else if (hasWB) {
  10766. if (change)
  10767. t2 = hue;
  10768. else {
  10769. t2 = color.get$hue(color);
  10770. t2 += hue == null ? 0 : hue;
  10771. }
  10772. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  10773. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  10774. t5 = color._alpha;
  10775. t1 = t1.call$3(t5, alpha, 1);
  10776. if (t2 == null)
  10777. t2 = color.get$hue(color);
  10778. if (t3 == null)
  10779. t3 = color.get$whiteness(color);
  10780. if (t4 == null)
  10781. t4 = color.get$blackness(color);
  10782. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  10783. } else {
  10784. t2 = hue == null;
  10785. if (!t2 || hasSL) {
  10786. if (change)
  10787. t2 = hue;
  10788. else {
  10789. t3 = color.get$hue(color);
  10790. t3 += t2 ? 0 : hue;
  10791. t2 = t3;
  10792. }
  10793. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  10794. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  10795. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10796. } else if (alpha != null)
  10797. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  10798. else
  10799. return color;
  10800. }
  10801. },
  10802. _functionString($name, $arguments) {
  10803. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  10804. },
  10805. _removedColorFunction($name, argument, negative) {
  10806. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  10807. },
  10808. _rgb($name, $arguments) {
  10809. var t2, red, green, blue,
  10810. t1 = J.getInterceptor$asx($arguments),
  10811. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10812. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10813. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10814. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10815. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10816. t2 = t2 === true;
  10817. } else
  10818. t2 = true;
  10819. else
  10820. t2 = true;
  10821. else
  10822. t2 = true;
  10823. if (t2)
  10824. return A._functionString($name, $arguments);
  10825. red = t1.$index($arguments, 0).assertNumber$1("red");
  10826. green = t1.$index($arguments, 1).assertNumber$1("green");
  10827. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  10828. return A.SassColor$rgbInternal(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), B._ColorFormatEnum_rgbFunction);
  10829. },
  10830. _rgbTwoArg($name, $arguments) {
  10831. var first, color,
  10832. t1 = J.getInterceptor$asx($arguments);
  10833. if (t1.$index($arguments, 0).get$isVar())
  10834. return A._functionString($name, $arguments);
  10835. else if (t1.$index($arguments, 1).get$isVar()) {
  10836. first = t1.$index($arguments, 0);
  10837. if (first instanceof A.SassColor)
  10838. return new A.SassString($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  10839. else
  10840. return A._functionString($name, $arguments);
  10841. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  10842. color = t1.$index($arguments, 0).assertColor$1("color");
  10843. return new A.SassString($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  10844. }
  10845. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  10846. },
  10847. _hsl($name, $arguments) {
  10848. var t2, hue, saturation, lightness,
  10849. _s10_ = "saturation",
  10850. _s9_ = "lightness",
  10851. t1 = J.getInterceptor$asx($arguments),
  10852. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10853. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10854. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10855. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10856. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10857. t2 = t2 === true;
  10858. } else
  10859. t2 = true;
  10860. else
  10861. t2 = true;
  10862. else
  10863. t2 = true;
  10864. if (t2)
  10865. return A._functionString($name, $arguments);
  10866. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  10867. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  10868. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  10869. A._checkPercent(saturation, _s10_);
  10870. A._checkPercent(lightness, _s9_);
  10871. return A.SassColor$hslInternal(hue, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()), B._ColorFormatEnum_hslFunction);
  10872. },
  10873. _angleValue(angleValue, $name) {
  10874. var t1, t2,
  10875. angle = angleValue.assertNumber$1($name);
  10876. if (angle.compatibleWithUnit$1("deg"))
  10877. return angle.coerceValueToUnit$1("deg");
  10878. t1 = angle.toString$0(0);
  10879. t2 = angle.unitSuggestion$1($name);
  10880. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_8WR);
  10881. return angle._number$_value;
  10882. },
  10883. _checkPercent(number, $name) {
  10884. var t1, t2;
  10885. if (number.hasUnit$1("%"))
  10886. return;
  10887. t1 = number.toString$0(0);
  10888. t2 = number.unitSuggestion$2($name, "%");
  10889. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  10890. },
  10891. _hwb($arguments) {
  10892. var _s9_ = "whiteness",
  10893. _s9_0 = "blackness",
  10894. t1 = J.getInterceptor$asx($arguments),
  10895. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  10896. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  10897. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  10898. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  10899. whiteness.assertUnit$2("%", _s9_);
  10900. blackness.assertUnit$2("%", _s9_0);
  10901. return A.SassColor_SassColor$hwb(hue, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen(alpha, new A._hwb_closure()));
  10902. },
  10903. _parseChannels($name, argumentNames, channels) {
  10904. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  10905. _s17_ = "$channels must be";
  10906. if (channels.get$isVar())
  10907. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10908. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  10909. list = channels.get$asList();
  10910. t1 = list.length;
  10911. if (t1 !== 2)
  10912. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  10913. channels0 = list[0];
  10914. alphaFromSlashList = list[1];
  10915. if (!alphaFromSlashList.get$isSpecialNumber())
  10916. alphaFromSlashList.assertNumber$1("alpha");
  10917. if (list[0].get$isVar())
  10918. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10919. } else {
  10920. alphaFromSlashList = _null;
  10921. channels0 = channels;
  10922. }
  10923. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  10924. isBracketed = channels0.get$hasBrackets();
  10925. if (isCommaSeparated || isBracketed) {
  10926. buffer = new A.StringBuffer(_s17_);
  10927. if (isBracketed) {
  10928. t1 = _s17_ + " an unbracketed";
  10929. buffer._contents = t1;
  10930. } else
  10931. t1 = _s17_;
  10932. if (isCommaSeparated) {
  10933. t1 += isBracketed ? "," : " a";
  10934. buffer._contents = t1;
  10935. t1 = buffer._contents = t1 + " space-separated";
  10936. }
  10937. buffer._contents = t1 + " list.";
  10938. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  10939. }
  10940. list = channels0.get$asList();
  10941. t1 = list.length;
  10942. if (t1 > 3)
  10943. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  10944. else if (t1 < 3) {
  10945. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  10946. if (list.length !== 0) {
  10947. t1 = B.JSArray_methods.get$last(list);
  10948. if (t1 instanceof A.SassString)
  10949. if (t1._hasQuotes) {
  10950. t1 = t1._string$_text;
  10951. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  10952. } else
  10953. t1 = false;
  10954. else
  10955. t1 = false;
  10956. } else
  10957. t1 = false;
  10958. else
  10959. t1 = true;
  10960. if (t1)
  10961. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10962. else
  10963. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  10964. }
  10965. if (alphaFromSlashList != null) {
  10966. t1 = A.List_List$of(list, true, type$.Value);
  10967. t1.push(alphaFromSlashList);
  10968. return t1;
  10969. }
  10970. maybeSlashSeparated = list[2];
  10971. if (maybeSlashSeparated instanceof A.SassNumber) {
  10972. slash = maybeSlashSeparated.asSlash;
  10973. if (slash == null)
  10974. return list;
  10975. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
  10976. } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
  10977. return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  10978. else
  10979. return list;
  10980. },
  10981. _percentageOrUnitless(number, max, $name) {
  10982. var value;
  10983. if (!number.get$hasUnits())
  10984. value = number._number$_value;
  10985. else if (number.hasUnit$1("%"))
  10986. value = max * number._number$_value / 100;
  10987. else
  10988. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  10989. return B.JSNumber_methods.clamp$2(value, 0, max);
  10990. },
  10991. _mixColors(color1, color2, weight) {
  10992. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  10993. A._checkPercent(weight, "weight");
  10994. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  10995. normalizedWeight = weightScale * 2 - 1;
  10996. t1 = color1._alpha;
  10997. t2 = color2._alpha;
  10998. alphaDistance = t1 - t2;
  10999. t3 = normalizedWeight * alphaDistance;
  11000. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  11001. weight2 = 1 - weight1;
  11002. return A.SassColor$rgb(A.fuzzyRound(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  11003. },
  11004. _opacify($arguments) {
  11005. var t1 = J.getInterceptor$asx($arguments),
  11006. color = t1.$index($arguments, 0).assertColor$1("color");
  11007. 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));
  11008. },
  11009. _transparentize($arguments) {
  11010. var t1 = J.getInterceptor$asx($arguments),
  11011. color = t1.$index($arguments, 0).assertColor$1("color");
  11012. 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));
  11013. },
  11014. _function4($name, $arguments, callback) {
  11015. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  11016. },
  11017. global_closure: function global_closure() {
  11018. },
  11019. global_closure0: function global_closure0() {
  11020. },
  11021. global_closure1: function global_closure1() {
  11022. },
  11023. global_closure2: function global_closure2() {
  11024. },
  11025. global_closure3: function global_closure3() {
  11026. },
  11027. global_closure4: function global_closure4() {
  11028. },
  11029. global_closure5: function global_closure5() {
  11030. },
  11031. global_closure6: function global_closure6() {
  11032. },
  11033. global_closure7: function global_closure7() {
  11034. },
  11035. global_closure8: function global_closure8() {
  11036. },
  11037. global_closure9: function global_closure9() {
  11038. },
  11039. global_closure10: function global_closure10() {
  11040. },
  11041. global_closure11: function global_closure11() {
  11042. },
  11043. global_closure12: function global_closure12() {
  11044. },
  11045. global_closure13: function global_closure13() {
  11046. },
  11047. global_closure14: function global_closure14() {
  11048. },
  11049. global_closure15: function global_closure15() {
  11050. },
  11051. global_closure16: function global_closure16() {
  11052. },
  11053. global_closure17: function global_closure17() {
  11054. },
  11055. global_closure18: function global_closure18() {
  11056. },
  11057. global_closure19: function global_closure19() {
  11058. },
  11059. global_closure20: function global_closure20() {
  11060. },
  11061. global_closure21: function global_closure21() {
  11062. },
  11063. global_closure22: function global_closure22() {
  11064. },
  11065. global_closure23: function global_closure23() {
  11066. },
  11067. global_closure24: function global_closure24() {
  11068. },
  11069. global__closure: function global__closure() {
  11070. },
  11071. global_closure25: function global_closure25() {
  11072. },
  11073. module_closure0: function module_closure0() {
  11074. },
  11075. module_closure1: function module_closure1() {
  11076. },
  11077. module_closure2: function module_closure2() {
  11078. },
  11079. module_closure3: function module_closure3() {
  11080. },
  11081. module_closure4: function module_closure4() {
  11082. },
  11083. module_closure5: function module_closure5() {
  11084. },
  11085. module_closure6: function module_closure6() {
  11086. },
  11087. module_closure7: function module_closure7() {
  11088. },
  11089. module__closure1: function module__closure1() {
  11090. },
  11091. module_closure8: function module_closure8() {
  11092. },
  11093. _red_closure: function _red_closure() {
  11094. },
  11095. _green_closure: function _green_closure() {
  11096. },
  11097. _blue_closure: function _blue_closure() {
  11098. },
  11099. _mix_closure: function _mix_closure() {
  11100. },
  11101. _hue_closure: function _hue_closure() {
  11102. },
  11103. _saturation_closure: function _saturation_closure() {
  11104. },
  11105. _lightness_closure: function _lightness_closure() {
  11106. },
  11107. _complement_closure: function _complement_closure() {
  11108. },
  11109. _adjust_closure: function _adjust_closure() {
  11110. },
  11111. _scale_closure: function _scale_closure() {
  11112. },
  11113. _change_closure: function _change_closure() {
  11114. },
  11115. _ieHexStr_closure: function _ieHexStr_closure() {
  11116. },
  11117. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  11118. },
  11119. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  11120. this.keywords = t0;
  11121. this.scale = t1;
  11122. this.change = t2;
  11123. },
  11124. _updateComponents_closure: function _updateComponents_closure() {
  11125. },
  11126. _updateComponents_closure0: function _updateComponents_closure0() {
  11127. },
  11128. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  11129. this.change = t0;
  11130. this.adjust = t1;
  11131. },
  11132. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  11133. this.updateValue = t0;
  11134. },
  11135. _functionString_closure: function _functionString_closure() {
  11136. },
  11137. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  11138. this.name = t0;
  11139. this.argument = t1;
  11140. this.negative = t2;
  11141. },
  11142. _rgb_closure: function _rgb_closure() {
  11143. },
  11144. _hsl_closure: function _hsl_closure() {
  11145. },
  11146. _hwb_closure: function _hwb_closure() {
  11147. },
  11148. _parseChannels_closure: function _parseChannels_closure() {
  11149. },
  11150. _function3($name, $arguments, callback) {
  11151. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  11152. },
  11153. _length_closure0: function _length_closure0() {
  11154. },
  11155. _nth_closure: function _nth_closure() {
  11156. },
  11157. _setNth_closure: function _setNth_closure() {
  11158. },
  11159. _join_closure: function _join_closure() {
  11160. },
  11161. _append_closure0: function _append_closure0() {
  11162. },
  11163. _zip_closure: function _zip_closure() {
  11164. },
  11165. _zip__closure: function _zip__closure() {
  11166. },
  11167. _zip__closure0: function _zip__closure0(t0) {
  11168. this._box_0 = t0;
  11169. },
  11170. _zip__closure1: function _zip__closure1(t0) {
  11171. this._box_0 = t0;
  11172. },
  11173. _index_closure0: function _index_closure0() {
  11174. },
  11175. _separator_closure: function _separator_closure() {
  11176. },
  11177. _isBracketed_closure: function _isBracketed_closure() {
  11178. },
  11179. _slash_closure: function _slash_closure() {
  11180. },
  11181. _modify(map, keys, modify, addNesting) {
  11182. var keyIterator = J.get$iterator$ax(keys);
  11183. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  11184. },
  11185. _deepMergeImpl(map1, map2) {
  11186. var t2, t3, result,
  11187. t1 = map1._map$_contents;
  11188. if (t1.get$isEmpty(t1))
  11189. return map2;
  11190. t2 = map2._map$_contents;
  11191. if (t2.get$isEmpty(t2))
  11192. return map1;
  11193. t3 = type$.Value;
  11194. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  11195. t2.forEach$1(0, new A._deepMergeImpl_closure(result));
  11196. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  11197. },
  11198. _function2($name, $arguments, callback) {
  11199. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  11200. },
  11201. _get_closure: function _get_closure() {
  11202. },
  11203. _set_closure: function _set_closure() {
  11204. },
  11205. _set__closure0: function _set__closure0(t0) {
  11206. this.$arguments = t0;
  11207. },
  11208. _set_closure0: function _set_closure0() {
  11209. },
  11210. _set__closure: function _set__closure(t0) {
  11211. this.args = t0;
  11212. },
  11213. _merge_closure: function _merge_closure() {
  11214. },
  11215. _merge_closure0: function _merge_closure0() {
  11216. },
  11217. _merge__closure: function _merge__closure(t0) {
  11218. this.map2 = t0;
  11219. },
  11220. _deepMerge_closure: function _deepMerge_closure() {
  11221. },
  11222. _deepRemove_closure: function _deepRemove_closure() {
  11223. },
  11224. _deepRemove__closure: function _deepRemove__closure(t0) {
  11225. this.keys = t0;
  11226. },
  11227. _remove_closure: function _remove_closure() {
  11228. },
  11229. _remove_closure0: function _remove_closure0() {
  11230. },
  11231. _keys_closure: function _keys_closure() {
  11232. },
  11233. _values_closure: function _values_closure() {
  11234. },
  11235. _hasKey_closure: function _hasKey_closure() {
  11236. },
  11237. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  11238. this.keyIterator = t0;
  11239. this.modify = t1;
  11240. this.addNesting = t2;
  11241. },
  11242. _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
  11243. this.result = t0;
  11244. },
  11245. _numberFunction($name, transform) {
  11246. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  11247. },
  11248. _function1($name, $arguments, callback) {
  11249. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  11250. },
  11251. _ceil_closure: function _ceil_closure() {
  11252. },
  11253. _clamp_closure: function _clamp_closure() {
  11254. },
  11255. _floor_closure: function _floor_closure() {
  11256. },
  11257. _max_closure: function _max_closure() {
  11258. },
  11259. _min_closure: function _min_closure() {
  11260. },
  11261. _round_closure: function _round_closure() {
  11262. },
  11263. _abs_closure: function _abs_closure() {
  11264. },
  11265. _hypot_closure: function _hypot_closure() {
  11266. },
  11267. _hypot__closure: function _hypot__closure() {
  11268. },
  11269. _log_closure: function _log_closure() {
  11270. },
  11271. _pow_closure: function _pow_closure() {
  11272. },
  11273. _sqrt_closure: function _sqrt_closure() {
  11274. },
  11275. _acos_closure: function _acos_closure() {
  11276. },
  11277. _asin_closure: function _asin_closure() {
  11278. },
  11279. _atan_closure: function _atan_closure() {
  11280. },
  11281. _atan2_closure: function _atan2_closure() {
  11282. },
  11283. _cos_closure: function _cos_closure() {
  11284. },
  11285. _sin_closure: function _sin_closure() {
  11286. },
  11287. _tan_closure: function _tan_closure() {
  11288. },
  11289. _compatible_closure: function _compatible_closure() {
  11290. },
  11291. _isUnitless_closure: function _isUnitless_closure() {
  11292. },
  11293. _unit_closure: function _unit_closure() {
  11294. },
  11295. _percentage_closure: function _percentage_closure() {
  11296. },
  11297. _randomFunction_closure: function _randomFunction_closure() {
  11298. },
  11299. _div_closure: function _div_closure() {
  11300. },
  11301. _numberFunction_closure: function _numberFunction_closure(t0) {
  11302. this.transform = t0;
  11303. },
  11304. _function5($name, $arguments, callback) {
  11305. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  11306. },
  11307. global_closure26: function global_closure26() {
  11308. },
  11309. global_closure27: function global_closure27() {
  11310. },
  11311. global_closure28: function global_closure28() {
  11312. },
  11313. global_closure29: function global_closure29() {
  11314. },
  11315. local_closure: function local_closure() {
  11316. },
  11317. local_closure0: function local_closure0() {
  11318. },
  11319. local__closure: function local__closure() {
  11320. },
  11321. _prependParent(compound) {
  11322. var span, t2, _null = null,
  11323. t1 = compound.components,
  11324. first = B.JSArray_methods.get$first(t1);
  11325. if (first instanceof A.UniversalSelector)
  11326. return _null;
  11327. span = A.EvaluationContext_current().get$currentCallableSpan();
  11328. if (first instanceof A.TypeSelector) {
  11329. t2 = first.name;
  11330. if (t2.namespace != null)
  11331. return _null;
  11332. t2 = A._setArrayType([new A.ParentSelector(t2.name, span)], type$.JSArray_SimpleSelector);
  11333. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  11334. return A.CompoundSelector$(t2, span);
  11335. } else {
  11336. t2 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  11337. B.JSArray_methods.addAll$1(t2, t1);
  11338. return A.CompoundSelector$(t2, span);
  11339. }
  11340. },
  11341. _function0($name, $arguments, callback) {
  11342. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  11343. },
  11344. _nest_closure: function _nest_closure() {
  11345. },
  11346. _nest__closure: function _nest__closure(t0) {
  11347. this._box_0 = t0;
  11348. },
  11349. _nest__closure0: function _nest__closure0() {
  11350. },
  11351. _append_closure: function _append_closure() {
  11352. },
  11353. _append__closure: function _append__closure() {
  11354. },
  11355. _append__closure0: function _append__closure0(t0) {
  11356. this.span = t0;
  11357. },
  11358. _append___closure: function _append___closure(t0, t1) {
  11359. this.parent = t0;
  11360. this.span = t1;
  11361. },
  11362. _extend_closure: function _extend_closure() {
  11363. },
  11364. _replace_closure: function _replace_closure() {
  11365. },
  11366. _unify_closure: function _unify_closure() {
  11367. },
  11368. _isSuperselector_closure: function _isSuperselector_closure() {
  11369. },
  11370. _simpleSelectors_closure: function _simpleSelectors_closure() {
  11371. },
  11372. _simpleSelectors__closure: function _simpleSelectors__closure() {
  11373. },
  11374. _parse_closure: function _parse_closure() {
  11375. },
  11376. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  11377. var result;
  11378. if (index === 0)
  11379. return 0;
  11380. if (index > 0)
  11381. return Math.min(index - 1, lengthInCodepoints);
  11382. result = lengthInCodepoints + index;
  11383. if (result < 0 && !allowNegative)
  11384. return 0;
  11385. return result;
  11386. },
  11387. _function($name, $arguments, callback) {
  11388. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  11389. },
  11390. module_closure: function module_closure() {
  11391. },
  11392. module__closure: function module__closure(t0) {
  11393. this.string = t0;
  11394. },
  11395. module__closure0: function module__closure0(t0) {
  11396. this.string = t0;
  11397. },
  11398. _unquote_closure: function _unquote_closure() {
  11399. },
  11400. _quote_closure: function _quote_closure() {
  11401. },
  11402. _length_closure: function _length_closure() {
  11403. },
  11404. _insert_closure: function _insert_closure() {
  11405. },
  11406. _index_closure: function _index_closure() {
  11407. },
  11408. _slice_closure: function _slice_closure() {
  11409. },
  11410. _toUpperCase_closure: function _toUpperCase_closure() {
  11411. },
  11412. _toLowerCase_closure: function _toLowerCase_closure() {
  11413. },
  11414. _uniqueId_closure: function _uniqueId_closure() {
  11415. },
  11416. ImportCache$(loadPaths, logger) {
  11417. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
  11418. t2 = type$.Uri,
  11419. t3 = A.ImportCache__toImporters(null, loadPaths, null);
  11420. return new A.ImportCache(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
  11421. },
  11422. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  11423. var sassPath, t2, t3, _i, path, _null = null,
  11424. t1 = J.get$env$x(self.process);
  11425. if (t1 == null)
  11426. t1 = type$.Object._as(t1);
  11427. sassPath = A._asStringQ(t1.SASS_PATH);
  11428. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  11429. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  11430. t3 = t2.get$current(t2);
  11431. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  11432. }
  11433. if (sassPath != null) {
  11434. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  11435. t3 = t2.length;
  11436. _i = 0;
  11437. for (; _i < t3; ++_i) {
  11438. path = t2[_i];
  11439. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  11440. }
  11441. }
  11442. return t1;
  11443. },
  11444. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  11445. var _ = this;
  11446. _._importers = t0;
  11447. _._logger = t1;
  11448. _._canonicalizeCache = t2;
  11449. _._relativeCanonicalizeCache = t3;
  11450. _._importCache = t4;
  11451. _._resultsCache = t5;
  11452. },
  11453. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  11454. var _ = this;
  11455. _.$this = t0;
  11456. _.baseUrl = t1;
  11457. _.url = t2;
  11458. _.baseImporter = t3;
  11459. _.forImport = t4;
  11460. },
  11461. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
  11462. this.$this = t0;
  11463. this.url = t1;
  11464. this.forImport = t2;
  11465. },
  11466. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  11467. this.importer = t0;
  11468. this.url = t1;
  11469. },
  11470. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  11471. var _ = this;
  11472. _.$this = t0;
  11473. _.importer = t1;
  11474. _.canonicalUrl = t2;
  11475. _.originalUrl = t3;
  11476. _.quiet = t4;
  11477. },
  11478. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  11479. this.canonicalUrl = t0;
  11480. },
  11481. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  11482. },
  11483. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  11484. },
  11485. Importer: function Importer() {
  11486. },
  11487. AsyncImporter: function AsyncImporter() {
  11488. },
  11489. FilesystemImporter: function FilesystemImporter(t0) {
  11490. this._loadPath = t0;
  11491. },
  11492. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  11493. },
  11494. ImporterResult: function ImporterResult(t0, t1, t2) {
  11495. this.contents = t0;
  11496. this._sourceMapUrl = t1;
  11497. this.syntax = t2;
  11498. },
  11499. fromImport() {
  11500. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  11501. return t1 === true;
  11502. },
  11503. resolveImportPath(path) {
  11504. var t1,
  11505. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  11506. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  11507. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  11508. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  11509. }
  11510. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  11511. if (t1 == null)
  11512. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  11513. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  11514. },
  11515. _tryPathWithExtensions(path) {
  11516. var result = A._tryPath(path + ".sass");
  11517. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  11518. return result.length !== 0 ? result : A._tryPath(path + ".css");
  11519. },
  11520. _tryPath(path) {
  11521. var t1 = $.$get$context(),
  11522. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  11523. t1 = A._setArrayType([], type$.JSArray_String);
  11524. if (A.fileExists(partial))
  11525. t1.push(partial);
  11526. if (A.fileExists(path))
  11527. t1.push(path);
  11528. return t1;
  11529. },
  11530. _tryPathAsDirectory(path) {
  11531. var t1;
  11532. if (!A.dirExists(path))
  11533. return null;
  11534. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  11535. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  11536. },
  11537. _exactlyOne(paths) {
  11538. var t1 = paths.length;
  11539. if (t1 === 0)
  11540. return null;
  11541. if (t1 === 1)
  11542. return B.JSArray_methods.get$first(paths);
  11543. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  11544. },
  11545. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  11546. this.path = t0;
  11547. this.extension = t1;
  11548. },
  11549. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  11550. this.path = t0;
  11551. },
  11552. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  11553. this.path = t0;
  11554. },
  11555. _exactlyOne_closure: function _exactlyOne_closure() {
  11556. },
  11557. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  11558. this._interpolation_buffer$_text = t0;
  11559. this._interpolation_buffer$_contents = t1;
  11560. },
  11561. InterpolationMap$(_interpolation, targetLocations) {
  11562. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  11563. t2 = _interpolation.contents.length,
  11564. expectedLocations = Math.max(0, t2 - 1);
  11565. if (t1.length !== expectedLocations)
  11566. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  11567. return new A.InterpolationMap(_interpolation, t1);
  11568. },
  11569. InterpolationMap: function InterpolationMap(t0, t1) {
  11570. this._interpolation = t0;
  11571. this._targetLocations = t1;
  11572. },
  11573. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  11574. },
  11575. _realCasePath(path) {
  11576. var prefix, t1;
  11577. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  11578. return path;
  11579. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  11580. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  11581. t1 = prefix.length;
  11582. if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  11583. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  11584. }
  11585. return new A._realCasePath_helper().call$1(path);
  11586. },
  11587. _realCasePath_helper: function _realCasePath_helper() {
  11588. },
  11589. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  11590. this.helper = t0;
  11591. this.dirname = t1;
  11592. this.path = t2;
  11593. },
  11594. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  11595. this.basename = t0;
  11596. },
  11597. readFile(path) {
  11598. var sourceFile, t1, i,
  11599. contents = A._asString(A._readFile(path, "utf8"));
  11600. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  11601. return contents;
  11602. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  11603. for (t1 = contents.length, i = 0; i < t1; ++i) {
  11604. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  11605. continue;
  11606. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  11607. }
  11608. return contents;
  11609. },
  11610. _readFile(path, encoding) {
  11611. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  11612. },
  11613. writeFile(path, contents) {
  11614. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  11615. },
  11616. deleteFile(path) {
  11617. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  11618. },
  11619. readStdin() {
  11620. return A.readStdin$body();
  11621. },
  11622. readStdin$body() {
  11623. var $async$goto = 0,
  11624. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  11625. $async$returnValue, sink, t1, t2, completer;
  11626. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11627. if ($async$errorCode === 1)
  11628. return A._asyncRethrow($async$result, $async$completer);
  11629. while (true)
  11630. switch ($async$goto) {
  11631. case 0:
  11632. // Function start
  11633. t1 = {};
  11634. t2 = new A._Future($.Zone__current, type$._Future_String);
  11635. completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
  11636. t1.contents = null;
  11637. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  11638. J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  11639. J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  11640. J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  11641. $async$returnValue = t2;
  11642. // goto return
  11643. $async$goto = 1;
  11644. break;
  11645. case 1:
  11646. // return
  11647. return A._asyncReturn($async$returnValue, $async$completer);
  11648. }
  11649. });
  11650. return A._asyncStartSync($async$readStdin, $async$completer);
  11651. },
  11652. fileExists(path) {
  11653. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  11654. },
  11655. dirExists(path) {
  11656. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  11657. },
  11658. ensureDir(path) {
  11659. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  11660. },
  11661. listDir(path, recursive) {
  11662. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  11663. },
  11664. modificationTime(path) {
  11665. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  11666. },
  11667. _systemErrorToFileSystemException(callback) {
  11668. var error, t1, exception, t2;
  11669. try {
  11670. t1 = callback.call$0();
  11671. return t1;
  11672. } catch (exception) {
  11673. error = A.unwrapException(exception);
  11674. if (!type$.JsSystemError._is(error))
  11675. throw exception;
  11676. t1 = error;
  11677. t2 = J.getInterceptor$x(t1);
  11678. 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)));
  11679. }
  11680. },
  11681. isWindows() {
  11682. return J.$eq$(J.get$platform$x(self.process), "win32");
  11683. },
  11684. watchDir(path, poll) {
  11685. var t2, t3, t1 = {},
  11686. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  11687. t1.controller = null;
  11688. t2 = J.getInterceptor$x(watcher);
  11689. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  11690. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  11691. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  11692. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  11693. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  11694. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  11695. return t3;
  11696. },
  11697. FileSystemException: function FileSystemException(t0, t1) {
  11698. this.message = t0;
  11699. this.path = t1;
  11700. },
  11701. Stderr: function Stderr(t0) {
  11702. this._stderr = t0;
  11703. },
  11704. _readFile_closure: function _readFile_closure(t0, t1) {
  11705. this.path = t0;
  11706. this.encoding = t1;
  11707. },
  11708. writeFile_closure: function writeFile_closure(t0, t1) {
  11709. this.path = t0;
  11710. this.contents = t1;
  11711. },
  11712. deleteFile_closure: function deleteFile_closure(t0) {
  11713. this.path = t0;
  11714. },
  11715. readStdin_closure: function readStdin_closure(t0, t1) {
  11716. this._box_0 = t0;
  11717. this.completer = t1;
  11718. },
  11719. readStdin_closure0: function readStdin_closure0(t0) {
  11720. this.sink = t0;
  11721. },
  11722. readStdin_closure1: function readStdin_closure1(t0) {
  11723. this.sink = t0;
  11724. },
  11725. readStdin_closure2: function readStdin_closure2(t0) {
  11726. this.completer = t0;
  11727. },
  11728. fileExists_closure: function fileExists_closure(t0) {
  11729. this.path = t0;
  11730. },
  11731. dirExists_closure: function dirExists_closure(t0) {
  11732. this.path = t0;
  11733. },
  11734. ensureDir_closure: function ensureDir_closure(t0) {
  11735. this.path = t0;
  11736. },
  11737. listDir_closure: function listDir_closure(t0, t1) {
  11738. this.recursive = t0;
  11739. this.path = t1;
  11740. },
  11741. listDir__closure: function listDir__closure(t0) {
  11742. this.path = t0;
  11743. },
  11744. listDir__closure0: function listDir__closure0() {
  11745. },
  11746. listDir_closure_list: function listDir_closure_list() {
  11747. },
  11748. listDir__list_closure: function listDir__list_closure(t0, t1) {
  11749. this.parent = t0;
  11750. this.list = t1;
  11751. },
  11752. modificationTime_closure: function modificationTime_closure(t0) {
  11753. this.path = t0;
  11754. },
  11755. watchDir_closure: function watchDir_closure(t0) {
  11756. this._box_0 = t0;
  11757. },
  11758. watchDir_closure0: function watchDir_closure0(t0) {
  11759. this._box_0 = t0;
  11760. },
  11761. watchDir_closure1: function watchDir_closure1(t0) {
  11762. this._box_0 = t0;
  11763. },
  11764. watchDir_closure2: function watchDir_closure2(t0) {
  11765. this._box_0 = t0;
  11766. },
  11767. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  11768. this._box_0 = t0;
  11769. this.watcher = t1;
  11770. this.completer = t2;
  11771. },
  11772. watchDir__closure: function watchDir__closure(t0) {
  11773. this.watcher = t0;
  11774. },
  11775. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  11776. if (_this instanceof A.DeprecationHandlingLogger)
  11777. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  11778. else if (!deprecation.isFuture)
  11779. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  11780. },
  11781. _QuietLogger: function _QuietLogger() {
  11782. },
  11783. DeprecationHandlingLogger: function DeprecationHandlingLogger(t0, t1, t2, t3, t4) {
  11784. var _ = this;
  11785. _._warningCounts = t0;
  11786. _._inner = t1;
  11787. _.fatalDeprecations = t2;
  11788. _.futureDeprecations = t3;
  11789. _.limitRepetition = t4;
  11790. },
  11791. DeprecationHandlingLogger_summarize_closure: function DeprecationHandlingLogger_summarize_closure() {
  11792. },
  11793. DeprecationHandlingLogger_summarize_closure0: function DeprecationHandlingLogger_summarize_closure0() {
  11794. },
  11795. StderrLogger: function StderrLogger(t0) {
  11796. this.color = t0;
  11797. },
  11798. TrackingLogger: function TrackingLogger(t0) {
  11799. this._tracking$_logger = t0;
  11800. this._emittedDebug = this._emittedWarning = false;
  11801. },
  11802. BuiltInModule$($name, functions, mixins, variables, $T) {
  11803. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  11804. t2 = A.BuiltInModule__callableMap(functions, $T),
  11805. t3 = A.BuiltInModule__callableMap(mixins, $T),
  11806. t4 = variables == null ? B.Map_empty2 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  11807. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  11808. },
  11809. BuiltInModule__callableMap(callables, $T) {
  11810. var t2, _i, callable,
  11811. t1 = type$.String;
  11812. if (callables == null)
  11813. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11814. else {
  11815. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11816. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  11817. callable = callables[_i];
  11818. t1.$indexSet(0, J.get$name$x(callable), callable);
  11819. }
  11820. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11821. }
  11822. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11823. },
  11824. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  11825. var _ = this;
  11826. _.url = t0;
  11827. _.functions = t1;
  11828. _.mixins = t2;
  11829. _.variables = t3;
  11830. _.$ti = t4;
  11831. },
  11832. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  11833. var t1;
  11834. if (rule.prefix == null)
  11835. if (rule.shownMixinsAndFunctions == null)
  11836. if (rule.shownVariables == null) {
  11837. t1 = rule.hiddenMixinsAndFunctions;
  11838. if (t1 == null)
  11839. t1 = null;
  11840. else {
  11841. t1 = t1._base;
  11842. t1 = t1.get$isEmpty(t1);
  11843. }
  11844. if (t1 === true) {
  11845. t1 = rule.hiddenVariables;
  11846. if (t1 == null)
  11847. t1 = null;
  11848. else {
  11849. t1 = t1._base;
  11850. t1 = t1.get$isEmpty(t1);
  11851. }
  11852. t1 = t1 === true;
  11853. } else
  11854. t1 = false;
  11855. } else
  11856. t1 = false;
  11857. else
  11858. t1 = false;
  11859. else
  11860. t1 = false;
  11861. if (t1)
  11862. return inner;
  11863. else
  11864. return A.ForwardedModuleView$(inner, rule, $T);
  11865. },
  11866. ForwardedModuleView$(_inner, _rule, $T) {
  11867. var t1 = _rule.prefix,
  11868. t2 = _rule.shownVariables,
  11869. t3 = _rule.hiddenVariables,
  11870. t4 = _rule.shownMixinsAndFunctions,
  11871. t5 = _rule.hiddenMixinsAndFunctions;
  11872. 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>"));
  11873. },
  11874. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  11875. var t2,
  11876. t1 = prefix == null;
  11877. if (t1)
  11878. if (safelist == null)
  11879. if (blocklist != null) {
  11880. t2 = blocklist._base;
  11881. t2 = t2.get$isEmpty(t2);
  11882. } else
  11883. t2 = true;
  11884. else
  11885. t2 = false;
  11886. else
  11887. t2 = false;
  11888. if (t2)
  11889. return map;
  11890. if (!t1)
  11891. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  11892. if (safelist != null)
  11893. 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>"));
  11894. else {
  11895. if (blocklist != null) {
  11896. t1 = blocklist._base;
  11897. t1 = t1.get$isNotEmpty(t1);
  11898. } else
  11899. t1 = false;
  11900. if (t1)
  11901. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11902. }
  11903. return map;
  11904. },
  11905. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  11906. var _ = this;
  11907. _._forwarded_view$_inner = t0;
  11908. _._rule = t1;
  11909. _.variables = t2;
  11910. _.variableNodes = t3;
  11911. _.functions = t4;
  11912. _.mixins = t5;
  11913. _.$ti = t6;
  11914. },
  11915. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  11916. 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;
  11917. },
  11918. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  11919. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  11920. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11921. },
  11922. ShadowedModuleView__needsBlocklist(map, blocklist) {
  11923. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  11924. },
  11925. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  11926. var _ = this;
  11927. _._shadowed_view$_inner = t0;
  11928. _.variables = t1;
  11929. _.variableNodes = t2;
  11930. _.functions = t3;
  11931. _.mixins = t4;
  11932. _.$ti = t5;
  11933. },
  11934. JSArray0: function JSArray0() {
  11935. },
  11936. Chokidar: function Chokidar() {
  11937. },
  11938. ChokidarOptions: function ChokidarOptions() {
  11939. },
  11940. ChokidarWatcher: function ChokidarWatcher() {
  11941. },
  11942. JSFunction: function JSFunction() {
  11943. },
  11944. NodeImporterResult: function NodeImporterResult() {
  11945. },
  11946. RenderContext: function RenderContext() {
  11947. },
  11948. RenderContextOptions: function RenderContextOptions() {
  11949. },
  11950. RenderContextResult: function RenderContextResult() {
  11951. },
  11952. RenderContextResultStats: function RenderContextResultStats() {
  11953. },
  11954. JSClass: function JSClass() {
  11955. },
  11956. JSUrl: function JSUrl() {
  11957. },
  11958. _PropertyDescriptor: function _PropertyDescriptor() {
  11959. },
  11960. AtRootQueryParser$(contents, logger, url) {
  11961. var t1 = A.SpanScanner$(contents, url);
  11962. return new A.AtRootQueryParser(t1, logger, null);
  11963. },
  11964. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  11965. this.scanner = t0;
  11966. this.logger = t1;
  11967. this._interpolationMap = t2;
  11968. },
  11969. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  11970. this.$this = t0;
  11971. },
  11972. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  11973. },
  11974. CssParser: function CssParser(t0, t1, t2, t3) {
  11975. var _ = this;
  11976. _._isUseAllowed = true;
  11977. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11978. _._globalVariables = t0;
  11979. _.lastSilentComment = null;
  11980. _.scanner = t1;
  11981. _.logger = t2;
  11982. _._interpolationMap = t3;
  11983. },
  11984. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  11985. var t1 = A.SpanScanner$(contents, null);
  11986. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  11987. },
  11988. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  11989. this.scanner = t0;
  11990. this.logger = t1;
  11991. this._interpolationMap = t2;
  11992. },
  11993. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  11994. this.$this = t0;
  11995. },
  11996. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  11997. this.scanner = t0;
  11998. this.logger = t1;
  11999. this._interpolationMap = t2;
  12000. },
  12001. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  12002. this.$this = t0;
  12003. },
  12004. Parser_isIdentifier(text) {
  12005. var t1, t2, exception, logger = null;
  12006. try {
  12007. t1 = logger;
  12008. t2 = A.SpanScanner$(text, null);
  12009. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  12010. return true;
  12011. } catch (exception) {
  12012. if (type$.SassFormatException._is(A.unwrapException(exception)))
  12013. return false;
  12014. else
  12015. throw exception;
  12016. }
  12017. },
  12018. Parser: function Parser(t0, t1, t2) {
  12019. this.scanner = t0;
  12020. this.logger = t1;
  12021. this._interpolationMap = t2;
  12022. },
  12023. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  12024. this.$this = t0;
  12025. },
  12026. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  12027. this.caseSensitive = t0;
  12028. this.char = t1;
  12029. },
  12030. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  12031. this.$this = t0;
  12032. this.span = t1;
  12033. },
  12034. SassParser: function SassParser(t0, t1, t2, t3) {
  12035. var _ = this;
  12036. _._currentIndentation = 0;
  12037. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  12038. _._isUseAllowed = true;
  12039. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  12040. _._globalVariables = t0;
  12041. _.lastSilentComment = null;
  12042. _.scanner = t1;
  12043. _.logger = t2;
  12044. _._interpolationMap = t3;
  12045. },
  12046. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  12047. this.$this = t0;
  12048. this.child = t1;
  12049. this.children = t2;
  12050. },
  12051. ScssParser$(contents, logger, url) {
  12052. var t1 = A.SpanScanner$(contents, url),
  12053. t2 = logger == null ? B.StderrLogger_false : logger;
  12054. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  12055. },
  12056. ScssParser: function ScssParser(t0, t1, t2, t3) {
  12057. var _ = this;
  12058. _._isUseAllowed = true;
  12059. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  12060. _._globalVariables = t0;
  12061. _.lastSilentComment = null;
  12062. _.scanner = t1;
  12063. _.logger = t2;
  12064. _._interpolationMap = t3;
  12065. },
  12066. SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  12067. var t1 = A.SpanScanner$(contents, url);
  12068. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  12069. },
  12070. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  12071. var _ = this;
  12072. _._allowParent = t0;
  12073. _._allowPlaceholder = t1;
  12074. _.scanner = t2;
  12075. _.logger = t3;
  12076. _._interpolationMap = t4;
  12077. },
  12078. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  12079. this.$this = t0;
  12080. },
  12081. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  12082. this.$this = t0;
  12083. },
  12084. StylesheetParser: function StylesheetParser() {
  12085. },
  12086. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  12087. this.$this = t0;
  12088. },
  12089. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  12090. this.$this = t0;
  12091. },
  12092. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  12093. },
  12094. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  12095. this.$this = t0;
  12096. },
  12097. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  12098. this.$this = t0;
  12099. },
  12100. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  12101. this.$this = t0;
  12102. },
  12103. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  12104. this.$this = t0;
  12105. this.production = t1;
  12106. this.T = t2;
  12107. },
  12108. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  12109. this.$this = t0;
  12110. },
  12111. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  12112. this.$this = t0;
  12113. this.start = t1;
  12114. },
  12115. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  12116. this.declaration = t0;
  12117. },
  12118. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  12119. this.name = t0;
  12120. },
  12121. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  12122. this._box_0 = t0;
  12123. this.name = t1;
  12124. },
  12125. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  12126. var _ = this;
  12127. _._box_0 = t0;
  12128. _.$this = t1;
  12129. _.wasInStyleRule = t2;
  12130. _.start = t3;
  12131. },
  12132. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  12133. this._box_0 = t0;
  12134. },
  12135. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  12136. this._box_0 = t0;
  12137. this.value = t1;
  12138. },
  12139. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  12140. this.query = t0;
  12141. },
  12142. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  12143. },
  12144. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  12145. var _ = this;
  12146. _.$this = t0;
  12147. _.wasInControlDirective = t1;
  12148. _.variables = t2;
  12149. _.list = t3;
  12150. },
  12151. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  12152. this.name = t0;
  12153. this.$arguments = t1;
  12154. this.precedingComment = t2;
  12155. },
  12156. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  12157. this._box_0 = t0;
  12158. this.$this = t1;
  12159. },
  12160. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  12161. var _ = this;
  12162. _._box_0 = t0;
  12163. _.$this = t1;
  12164. _.wasInControlDirective = t2;
  12165. _.variable = t3;
  12166. _.from = t4;
  12167. _.to = t5;
  12168. },
  12169. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  12170. this.$this = t0;
  12171. this.variables = t1;
  12172. this.identifiers = t2;
  12173. },
  12174. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  12175. this.contentArguments_ = t0;
  12176. },
  12177. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  12178. this.query = t0;
  12179. },
  12180. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  12181. var _ = this;
  12182. _.$this = t0;
  12183. _.name = t1;
  12184. _.$arguments = t2;
  12185. _.precedingComment = t3;
  12186. },
  12187. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  12188. var _ = this;
  12189. _._box_0 = t0;
  12190. _.$this = t1;
  12191. _.name = t2;
  12192. _.value = t3;
  12193. },
  12194. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  12195. this.condition = t0;
  12196. },
  12197. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  12198. this.$this = t0;
  12199. this.wasInControlDirective = t1;
  12200. this.condition = t2;
  12201. },
  12202. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  12203. this._box_0 = t0;
  12204. this.name = t1;
  12205. },
  12206. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  12207. this._box_0 = t0;
  12208. this.$this = t1;
  12209. this.start = t2;
  12210. },
  12211. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  12212. this._box_0 = t0;
  12213. this.$this = t1;
  12214. },
  12215. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  12216. this._box_0 = t0;
  12217. this.resolveOneOperation = t1;
  12218. },
  12219. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  12220. var _ = this;
  12221. _._box_0 = t0;
  12222. _.$this = t1;
  12223. _.resetState = t2;
  12224. _.resolveOperations = t3;
  12225. },
  12226. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  12227. this._box_0 = t0;
  12228. this.$this = t1;
  12229. this.resolveOneOperation = t2;
  12230. },
  12231. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  12232. this._box_0 = t0;
  12233. this.$this = t1;
  12234. this.resolveOperations = t2;
  12235. },
  12236. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  12237. this.$this = t0;
  12238. },
  12239. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  12240. },
  12241. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  12242. },
  12243. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  12244. this.$this = t0;
  12245. this.start = t1;
  12246. },
  12247. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  12248. },
  12249. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  12250. this.$this = t0;
  12251. },
  12252. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  12253. this.$this = t0;
  12254. this.start = t1;
  12255. },
  12256. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  12257. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  12258. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  12259. return t1;
  12260. },
  12261. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  12262. this._nodes = t0;
  12263. this.importCache = t1;
  12264. this._transitiveModificationTimes = t2;
  12265. },
  12266. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  12267. this.$this = t0;
  12268. },
  12269. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  12270. this.node = t0;
  12271. this.transitiveModificationTime = t1;
  12272. },
  12273. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  12274. var _ = this;
  12275. _.$this = t0;
  12276. _.url = t1;
  12277. _.baseImporter = t2;
  12278. _.baseUrl = t3;
  12279. },
  12280. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  12281. var _ = this;
  12282. _.$this = t0;
  12283. _.importer = t1;
  12284. _.canonicalUrl = t2;
  12285. _.originalUrl = t3;
  12286. },
  12287. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  12288. this.$this = t0;
  12289. this.node = t1;
  12290. this.canonicalUrl = t2;
  12291. },
  12292. StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
  12293. var _ = this;
  12294. _.$this = t0;
  12295. _.importer = t1;
  12296. _.canonicalUrl = t2;
  12297. _.node = t3;
  12298. _.forImport = t4;
  12299. _.newMap = t5;
  12300. },
  12301. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  12302. var _ = this;
  12303. _.$this = t0;
  12304. _.url = t1;
  12305. _.baseImporter = t2;
  12306. _.baseUrl = t3;
  12307. _.forImport = t4;
  12308. },
  12309. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
  12310. var _ = this;
  12311. _.$this = t0;
  12312. _.importer = t1;
  12313. _.canonicalUrl = t2;
  12314. _.resolvedUrl = t3;
  12315. },
  12316. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  12317. var _ = this;
  12318. _._stylesheet = t0;
  12319. _.importer = t1;
  12320. _.canonicalUrl = t2;
  12321. _._upstream = t3;
  12322. _._upstreamImports = t4;
  12323. _._downstream = t5;
  12324. },
  12325. Syntax_forPath(path) {
  12326. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  12327. case ".sass":
  12328. return B.Syntax_Sass_sass;
  12329. case ".css":
  12330. return B.Syntax_CSS_css;
  12331. default:
  12332. return B.Syntax_SCSS_scss;
  12333. }
  12334. },
  12335. Syntax: function Syntax(t0, t1) {
  12336. this._syntax$_name = t0;
  12337. this._name = t1;
  12338. },
  12339. Box: function Box(t0, t1) {
  12340. this._box$_inner = t0;
  12341. this.$ti = t1;
  12342. },
  12343. ModifiableBox: function ModifiableBox(t0, t1) {
  12344. this.value = t0;
  12345. this.$ti = t1;
  12346. },
  12347. LazyFileSpan: function LazyFileSpan(t0) {
  12348. this._builder = t0;
  12349. this._lazy_file_span$_span = null;
  12350. },
  12351. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  12352. var t2, key,
  12353. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  12354. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  12355. key = t2.get$current(t2);
  12356. if (!blocklist.contains$1(0, key))
  12357. t1.add$1(0, key);
  12358. }
  12359. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  12360. },
  12361. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  12362. this._limited_map_view$_map = t0;
  12363. this._limited_map_view$_keys = t1;
  12364. this.$ti = t2;
  12365. },
  12366. MergedMapView$(maps, $K, $V) {
  12367. var t1 = $K._eval$1("@<0>")._bind$1($V);
  12368. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  12369. t1.MergedMapView$1(maps, $K, $V);
  12370. return t1;
  12371. },
  12372. MergedMapView: function MergedMapView(t0, t1) {
  12373. this._mapsByKey = t0;
  12374. this.$ti = t1;
  12375. },
  12376. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  12377. this._watchers = t0;
  12378. this._group = t1;
  12379. this._poll = t2;
  12380. },
  12381. MultiSpan: function MultiSpan(t0, t1, t2) {
  12382. this._multi_span$_primary = t0;
  12383. this.primaryLabel = t1;
  12384. this.secondarySpans = t2;
  12385. },
  12386. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  12387. this._no_source_map_buffer$_buffer = t0;
  12388. },
  12389. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  12390. this._prefixed_map_view$_map = t0;
  12391. this._prefix = t1;
  12392. this.$ti = t2;
  12393. },
  12394. _PrefixedKeys: function _PrefixedKeys(t0) {
  12395. this._view = t0;
  12396. },
  12397. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  12398. this.$this = t0;
  12399. },
  12400. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  12401. this._public_member_map_view$_inner = t0;
  12402. this.$ti = t1;
  12403. },
  12404. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  12405. var _ = this;
  12406. _._source_map_buffer$_buffer = t0;
  12407. _._entries = t1;
  12408. _._column = _._line = 0;
  12409. _._inSpan = false;
  12410. },
  12411. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  12412. this._box_0 = t0;
  12413. this.prefixLength = t1;
  12414. },
  12415. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  12416. this._unprefixed_map_view$_map = t0;
  12417. this._unprefixed_map_view$_prefix = t1;
  12418. this.$ti = t2;
  12419. },
  12420. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  12421. this._unprefixed_map_view$_view = t0;
  12422. },
  12423. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  12424. this.$this = t0;
  12425. },
  12426. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  12427. this.$this = t0;
  12428. },
  12429. toSentence(iter, conjunction) {
  12430. var t1 = iter.__internal$_iterable,
  12431. t2 = J.getInterceptor$asx(t1);
  12432. if (t2.get$length(t1) === 1)
  12433. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  12434. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  12435. },
  12436. indent(string, indentation) {
  12437. 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");
  12438. },
  12439. pluralize($name, number, plural) {
  12440. if (number === 1)
  12441. return $name;
  12442. if (plural != null)
  12443. return plural;
  12444. return $name + "s";
  12445. },
  12446. trimAscii(string, excludeEscape) {
  12447. var t1,
  12448. start = A._firstNonWhitespace(string);
  12449. if (start == null)
  12450. t1 = "";
  12451. else {
  12452. t1 = A._lastNonWhitespace(string, true);
  12453. t1.toString;
  12454. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  12455. }
  12456. return t1;
  12457. },
  12458. trimAsciiRight(string, excludeEscape) {
  12459. var end = A._lastNonWhitespace(string, excludeEscape);
  12460. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  12461. },
  12462. _firstNonWhitespace(string) {
  12463. var t1, i, t2;
  12464. for (t1 = string.length, i = 0; i < t1; ++i) {
  12465. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  12466. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  12467. return i;
  12468. }
  12469. return null;
  12470. },
  12471. _lastNonWhitespace(string, excludeEscape) {
  12472. var i, i0, codeUnit;
  12473. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  12474. codeUnit = B.JSString_methods.codeUnitAt$1(string, i0);
  12475. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  12476. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  12477. return i0 + 1;
  12478. else
  12479. return i0;
  12480. }
  12481. return null;
  12482. },
  12483. isPublic(member) {
  12484. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  12485. return start !== 45 && start !== 95;
  12486. },
  12487. flattenVertically(iterable, $T) {
  12488. var result,
  12489. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  12490. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  12491. if (queues.length === 1)
  12492. return B.JSArray_methods.get$first(queues);
  12493. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  12494. for (; queues.length !== 0;) {
  12495. if (!!queues.fixed$length)
  12496. A.throwExpression(A.UnsupportedError$("removeWhere"));
  12497. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  12498. }
  12499. return result;
  12500. },
  12501. firstOrNull(iterable) {
  12502. var iterator = J.get$iterator$ax(iterable);
  12503. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  12504. },
  12505. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  12506. var codeUnitIndex, i, codeUnitIndex0;
  12507. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  12508. codeUnitIndex0 = codeUnitIndex + 1;
  12509. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  12510. }
  12511. return codeUnitIndex;
  12512. },
  12513. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  12514. var codepointIndex, i;
  12515. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  12516. ++codepointIndex;
  12517. return codepointIndex;
  12518. },
  12519. frameForSpan(span, member, url) {
  12520. var t2, t3,
  12521. t1 = url == null ? span.get$sourceUrl(span) : url;
  12522. if (t1 == null)
  12523. t1 = $.$get$_noSourceUrl();
  12524. t2 = span.get$start(span);
  12525. t2 = t2.file.getLine$1(t2.offset);
  12526. t3 = span.get$start(span);
  12527. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  12528. },
  12529. declarationName(span) {
  12530. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  12531. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  12532. },
  12533. unvendor($name) {
  12534. var i,
  12535. t1 = $name.length;
  12536. if (t1 < 2)
  12537. return $name;
  12538. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  12539. return $name;
  12540. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  12541. return $name;
  12542. for (i = 2; i < t1; ++i)
  12543. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  12544. return B.JSString_methods.substring$1($name, i + 1);
  12545. return $name;
  12546. },
  12547. equalsIgnoreCase(string1, string2) {
  12548. var t1, i;
  12549. if (string1 === string2)
  12550. return true;
  12551. if (string1 == null || false)
  12552. return false;
  12553. t1 = string1.length;
  12554. if (t1 !== string2.length)
  12555. return false;
  12556. for (i = 0; i < t1; ++i)
  12557. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  12558. return false;
  12559. return true;
  12560. },
  12561. startsWithIgnoreCase(string, prefix) {
  12562. var i,
  12563. t1 = prefix.length;
  12564. if (string.length < t1)
  12565. return false;
  12566. for (i = 0; i < t1; ++i)
  12567. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  12568. return false;
  12569. return true;
  12570. },
  12571. mapInPlace(list, $function) {
  12572. var i;
  12573. for (i = 0; i < list.length; ++i)
  12574. list[i] = $function.call$1(list[i]);
  12575. },
  12576. longestCommonSubsequence(list1, list2, select, $T) {
  12577. var t1, _i, selections, i, i0, j, selection, j0,
  12578. _length = list1.get$length(list1) + 1,
  12579. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  12580. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  12581. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  12582. _length = list1.get$length(list1);
  12583. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  12584. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  12585. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  12586. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  12587. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  12588. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  12589. selections[i][j] = selection;
  12590. t1 = lengths[i0];
  12591. j0 = j + 1;
  12592. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  12593. }
  12594. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  12595. },
  12596. removeFirstWhere(list, test, orElse) {
  12597. var i;
  12598. for (i = 0; i < list.length; ++i) {
  12599. if (!test.call$1(list[i]))
  12600. continue;
  12601. B.JSArray_methods.removeAt$1(list, i);
  12602. return;
  12603. }
  12604. orElse.call$0();
  12605. },
  12606. mapAddAll2(destination, source, K1, K2, $V) {
  12607. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  12608. },
  12609. setAll(map, keys, value) {
  12610. var t1;
  12611. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  12612. map.$indexSet(0, t1.get$current(t1), value);
  12613. },
  12614. rotateSlice(list, start, end) {
  12615. var i, next,
  12616. element = list.$index(0, end - 1);
  12617. for (i = start; i < end; ++i, element = next) {
  12618. next = list.$index(0, i);
  12619. list.$indexSet(0, i, element);
  12620. }
  12621. },
  12622. mapAsync(iterable, callback, $E, $F) {
  12623. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  12624. },
  12625. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  12626. var $async$goto = 0,
  12627. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12628. $async$returnValue, t2, _i, t1, $async$temp1;
  12629. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12630. if ($async$errorCode === 1)
  12631. return A._asyncRethrow($async$result, $async$completer);
  12632. while (true)
  12633. switch ($async$goto) {
  12634. case 0:
  12635. // Function start
  12636. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  12637. t2 = iterable.length, _i = 0;
  12638. case 3:
  12639. // for condition
  12640. if (!(_i < t2)) {
  12641. // goto after for
  12642. $async$goto = 5;
  12643. break;
  12644. }
  12645. $async$temp1 = t1;
  12646. $async$goto = 6;
  12647. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  12648. case 6:
  12649. // returning from await.
  12650. $async$temp1.push($async$result);
  12651. case 4:
  12652. // for update
  12653. ++_i;
  12654. // goto for condition
  12655. $async$goto = 3;
  12656. break;
  12657. case 5:
  12658. // after for
  12659. $async$returnValue = t1;
  12660. // goto return
  12661. $async$goto = 1;
  12662. break;
  12663. case 1:
  12664. // return
  12665. return A._asyncReturn($async$returnValue, $async$completer);
  12666. }
  12667. });
  12668. return A._asyncStartSync($async$mapAsync, $async$completer);
  12669. },
  12670. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  12671. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  12672. },
  12673. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  12674. var $async$goto = 0,
  12675. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12676. $async$returnValue, t1, value;
  12677. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12678. if ($async$errorCode === 1)
  12679. return A._asyncRethrow($async$result, $async$completer);
  12680. while (true)
  12681. switch ($async$goto) {
  12682. case 0:
  12683. // Function start
  12684. if (map.containsKey$1(key)) {
  12685. t1 = map.$index(0, key);
  12686. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  12687. // goto return
  12688. $async$goto = 1;
  12689. break;
  12690. }
  12691. $async$goto = 3;
  12692. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  12693. case 3:
  12694. // returning from await.
  12695. value = $async$result;
  12696. map.$indexSet(0, key, value);
  12697. $async$returnValue = value;
  12698. // goto return
  12699. $async$goto = 1;
  12700. break;
  12701. case 1:
  12702. // return
  12703. return A._asyncReturn($async$returnValue, $async$completer);
  12704. }
  12705. });
  12706. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  12707. },
  12708. copyMapOfMap(map, K1, K2, $V) {
  12709. var t2, t3, t4, t5,
  12710. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  12711. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12712. t3 = t2.get$current(t2);
  12713. t4 = t3.key;
  12714. t3 = t3.value;
  12715. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  12716. t5.addAll$1(0, t3);
  12717. t1.$indexSet(0, t4, t5);
  12718. }
  12719. return t1;
  12720. },
  12721. copyMapOfList(map, $K, $E) {
  12722. var t2, t3,
  12723. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  12724. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12725. t3 = t2.get$current(t2);
  12726. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  12727. }
  12728. return t1;
  12729. },
  12730. consumeEscapedCharacter(scanner) {
  12731. var first, value, i, next, t1;
  12732. scanner.expectChar$1(92);
  12733. first = scanner.peekChar$0();
  12734. if (first == null)
  12735. return 65533;
  12736. else if (first === 10 || first === 13 || first === 12)
  12737. scanner.error$1(0, "Expected escape sequence.");
  12738. else if (A.isHex(first)) {
  12739. for (value = 0, i = 0; i < 6; ++i) {
  12740. next = scanner.peekChar$0();
  12741. if (next == null || !A.isHex(next))
  12742. break;
  12743. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  12744. }
  12745. t1 = scanner.peekChar$0();
  12746. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  12747. scanner.readChar$0();
  12748. if (value !== 0)
  12749. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  12750. else
  12751. t1 = true;
  12752. if (t1)
  12753. return 65533;
  12754. else
  12755. return value;
  12756. } else
  12757. return scanner.readChar$0();
  12758. },
  12759. throwWithTrace(error, trace) {
  12760. A.attachTrace(error, trace);
  12761. throw A.wrapException(error);
  12762. },
  12763. attachTrace(error, trace) {
  12764. var t1;
  12765. if (trace.toString$0(0).length === 0)
  12766. return;
  12767. t1 = $.$get$_traces();
  12768. A.Expando__checkType(error);
  12769. t1 = t1._jsWeakMap;
  12770. if (t1.get(error) == null)
  12771. t1.set(error, trace);
  12772. },
  12773. getTrace(error) {
  12774. var t1;
  12775. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  12776. t1 = null;
  12777. else {
  12778. t1 = $.$get$_traces();
  12779. A.Expando__checkType(error);
  12780. t1 = t1._jsWeakMap.get(error);
  12781. }
  12782. return t1;
  12783. },
  12784. IterableExtension_search(_this, callback) {
  12785. var t1, value;
  12786. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  12787. value = callback.call$1(t1.get$current(t1));
  12788. if (value != null)
  12789. return value;
  12790. }
  12791. return null;
  12792. },
  12793. IterableExtension_get_exceptLast(_this) {
  12794. var t1 = J.getInterceptor$asx(_this),
  12795. size = t1.get$length(_this) - 1;
  12796. if (size < 0)
  12797. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  12798. return t1.take$1(_this, size);
  12799. },
  12800. indent_closure: function indent_closure(t0) {
  12801. this.indentation = t0;
  12802. },
  12803. flattenVertically_closure: function flattenVertically_closure(t0) {
  12804. this.T = t0;
  12805. },
  12806. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  12807. this.result = t0;
  12808. this.T = t1;
  12809. },
  12810. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  12811. this.selections = t0;
  12812. this.lengths = t1;
  12813. this.T = t2;
  12814. },
  12815. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  12816. var _ = this;
  12817. _.destination = t0;
  12818. _.K1 = t1;
  12819. _.K2 = t2;
  12820. _.V = t3;
  12821. },
  12822. SassApiValue_assertSelector(_this, allowParent, $name) {
  12823. var error, stackTrace, t1, exception,
  12824. string = _this._selectorString$1($name);
  12825. try {
  12826. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null, null);
  12827. return t1;
  12828. } catch (exception) {
  12829. t1 = A.unwrapException(exception);
  12830. if (type$.SassFormatException._is(t1)) {
  12831. error = t1;
  12832. stackTrace = A.getTraceFromException(exception);
  12833. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12834. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  12835. } else
  12836. throw exception;
  12837. }
  12838. },
  12839. SassApiValue_assertCompoundSelector(_this, $name) {
  12840. var error, stackTrace, t1, exception,
  12841. allowParent = false,
  12842. string = _this._selectorString$1($name);
  12843. try {
  12844. t1 = A.SelectorParser$(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  12845. return t1;
  12846. } catch (exception) {
  12847. t1 = A.unwrapException(exception);
  12848. if (type$.SassFormatException._is(t1)) {
  12849. error = t1;
  12850. stackTrace = A.getTraceFromException(exception);
  12851. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12852. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
  12853. } else
  12854. throw exception;
  12855. }
  12856. },
  12857. Value: function Value() {
  12858. },
  12859. SassArgumentList$(contents, keywords, separator) {
  12860. var t1 = type$.Value;
  12861. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  12862. t1.SassList$3$brackets(contents, separator, false);
  12863. return t1;
  12864. },
  12865. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  12866. var _ = this;
  12867. _._keywords = t0;
  12868. _._wereKeywordsAccessed = false;
  12869. _._list$_contents = t1;
  12870. _._separator = t2;
  12871. _._hasBrackets = t3;
  12872. },
  12873. SassBoolean: function SassBoolean(t0) {
  12874. this.value = t0;
  12875. },
  12876. SassCalculation_calc(argument) {
  12877. argument = A.SassCalculation__simplify(argument);
  12878. if (argument instanceof A.SassNumber)
  12879. return argument;
  12880. if (argument instanceof A.SassCalculation)
  12881. return argument;
  12882. return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
  12883. },
  12884. SassCalculation_min($arguments) {
  12885. var minimum, _i, arg, t2,
  12886. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12887. t1 = args.length;
  12888. if (t1 === 0)
  12889. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  12890. for (minimum = null, _i = 0; _i < t1; ++_i) {
  12891. arg = args[_i];
  12892. if (arg instanceof A.SassNumber)
  12893. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  12894. else
  12895. t2 = true;
  12896. if (t2) {
  12897. minimum = null;
  12898. break;
  12899. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  12900. minimum = arg;
  12901. }
  12902. if (minimum != null)
  12903. return minimum;
  12904. A.SassCalculation__verifyCompatibleNumbers(args);
  12905. return new A.SassCalculation("min", args);
  12906. },
  12907. SassCalculation_max($arguments) {
  12908. var maximum, _i, arg, t2,
  12909. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12910. t1 = args.length;
  12911. if (t1 === 0)
  12912. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  12913. for (maximum = null, _i = 0; _i < t1; ++_i) {
  12914. arg = args[_i];
  12915. if (arg instanceof A.SassNumber)
  12916. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  12917. else
  12918. t2 = true;
  12919. if (t2) {
  12920. maximum = null;
  12921. break;
  12922. } else if (maximum == null || maximum.lessThan$1(arg).value)
  12923. maximum = arg;
  12924. }
  12925. if (maximum != null)
  12926. return maximum;
  12927. A.SassCalculation__verifyCompatibleNumbers(args);
  12928. return new A.SassCalculation("max", args);
  12929. },
  12930. SassCalculation_clamp(min, value, max) {
  12931. var t1, args;
  12932. if (value == null && max != null)
  12933. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  12934. min = A.SassCalculation__simplify(min);
  12935. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  12936. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  12937. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  12938. if (value.lessThanOrEquals$1(min).value)
  12939. return min;
  12940. if (value.greaterThanOrEquals$1(max).value)
  12941. return max;
  12942. return value;
  12943. }
  12944. t1 = [min];
  12945. if (value != null)
  12946. t1.push(value);
  12947. if (max != null)
  12948. t1.push(max);
  12949. args = A.List_List$unmodifiable(t1, type$.Object);
  12950. A.SassCalculation__verifyCompatibleNumbers(args);
  12951. A.SassCalculation__verifyLength(args, 3);
  12952. return new A.SassCalculation("clamp", args);
  12953. },
  12954. SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
  12955. var t1, t2;
  12956. if (!simplify)
  12957. return new A.CalculationOperation(operator, left, right);
  12958. left = A.SassCalculation__simplify(left);
  12959. right = A.SassCalculation__simplify(right);
  12960. t1 = operator === B.CalculationOperator_IyK;
  12961. if (t1 || operator === B.CalculationOperator_2bx) {
  12962. if (left instanceof A.SassNumber)
  12963. if (right instanceof A.SassNumber)
  12964. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  12965. else
  12966. t2 = false;
  12967. else
  12968. t2 = false;
  12969. if (t2)
  12970. return t1 ? left.plus$1(right) : left.minus$1(right);
  12971. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  12972. if (right instanceof A.SassNumber) {
  12973. t2 = right._number$_value;
  12974. t2 = t2 < 0 && !A.fuzzyEquals(t2, 0);
  12975. } else
  12976. t2 = false;
  12977. if (t2) {
  12978. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  12979. operator = t1 ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  12980. }
  12981. return new A.CalculationOperation(operator, left, right);
  12982. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  12983. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  12984. else
  12985. return new A.CalculationOperation(operator, left, right);
  12986. },
  12987. SassCalculation__simplify(arg) {
  12988. var _s32_ = " can't be used in a calculation.";
  12989. if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
  12990. return arg;
  12991. else if (arg instanceof A.SassString) {
  12992. if (!arg._hasQuotes)
  12993. return arg;
  12994. throw A.wrapException(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, null));
  12995. } else if (arg instanceof A.SassCalculation)
  12996. return arg.name === "calc" ? arg.$arguments[0] : arg;
  12997. else if (arg instanceof A.Value)
  12998. throw A.wrapException(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, null));
  12999. else
  13000. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  13001. },
  13002. SassCalculation__verifyCompatibleNumbers(args) {
  13003. var t1, _i, t2, arg, i, number1, j, number2;
  13004. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  13005. arg = args[_i];
  13006. if (!(arg instanceof A.SassNumber))
  13007. continue;
  13008. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  13009. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  13010. }
  13011. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  13012. number1 = args[i];
  13013. if (!(number1 instanceof A.SassNumber))
  13014. continue;
  13015. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  13016. number2 = args[j];
  13017. if (!(number2 instanceof A.SassNumber))
  13018. continue;
  13019. if (number1.hasPossiblyCompatibleUnits$1(number2))
  13020. continue;
  13021. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  13022. }
  13023. }
  13024. },
  13025. SassCalculation__verifyLength(args, expectedLength) {
  13026. var t1 = args.length;
  13027. if (t1 === expectedLength)
  13028. return;
  13029. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  13030. return;
  13031. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  13032. },
  13033. SassCalculation: function SassCalculation(t0, t1) {
  13034. this.name = t0;
  13035. this.$arguments = t1;
  13036. },
  13037. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  13038. },
  13039. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  13040. this.operator = t0;
  13041. this.left = t1;
  13042. this.right = t2;
  13043. },
  13044. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  13045. var _ = this;
  13046. _.name = t0;
  13047. _.operator = t1;
  13048. _.precedence = t2;
  13049. _._name = t3;
  13050. },
  13051. CalculationInterpolation: function CalculationInterpolation(t0) {
  13052. this.value = t0;
  13053. },
  13054. SassColor$rgb(red, green, blue, alpha) {
  13055. var _null = null,
  13056. t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
  13057. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  13058. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  13059. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  13060. return t1;
  13061. },
  13062. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  13063. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  13064. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  13065. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  13066. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  13067. return t1;
  13068. },
  13069. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  13070. var t1 = B.JSNumber_methods.$mod(hue, 360),
  13071. t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
  13072. t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
  13073. return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  13074. },
  13075. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  13076. var t2, t1 = {},
  13077. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  13078. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  13079. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  13080. sum = scaledWhiteness + scaledBlackness;
  13081. if (sum > 1) {
  13082. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  13083. scaledBlackness /= sum;
  13084. } else
  13085. t2 = scaledWhiteness;
  13086. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  13087. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  13088. },
  13089. SassColor__hueToRgb(m1, m2, hue) {
  13090. if (hue < 0)
  13091. ++hue;
  13092. if (hue > 1)
  13093. --hue;
  13094. if (hue < 0.16666666666666666)
  13095. return m1 + (m2 - m1) * hue * 6;
  13096. else if (hue < 0.5)
  13097. return m2;
  13098. else if (hue < 0.6666666666666666)
  13099. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  13100. else
  13101. return m1;
  13102. },
  13103. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  13104. var _ = this;
  13105. _._red = t0;
  13106. _._green = t1;
  13107. _._blue = t2;
  13108. _._hue = t3;
  13109. _._saturation = t4;
  13110. _._lightness = t5;
  13111. _._alpha = t6;
  13112. _.format = t7;
  13113. },
  13114. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  13115. this._box_0 = t0;
  13116. this.factor = t1;
  13117. },
  13118. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  13119. this._color$_name = t0;
  13120. },
  13121. SpanColorFormat: function SpanColorFormat(t0) {
  13122. this._color$_span = t0;
  13123. },
  13124. SassFunction: function SassFunction(t0) {
  13125. this.callable = t0;
  13126. },
  13127. SassList$(contents, _separator, brackets) {
  13128. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  13129. t1.SassList$3$brackets(contents, _separator, brackets);
  13130. return t1;
  13131. },
  13132. SassList: function SassList(t0, t1, t2) {
  13133. this._list$_contents = t0;
  13134. this._separator = t1;
  13135. this._hasBrackets = t2;
  13136. },
  13137. SassList_isBlank_closure: function SassList_isBlank_closure() {
  13138. },
  13139. ListSeparator: function ListSeparator(t0, t1, t2) {
  13140. this._list$_name = t0;
  13141. this.separator = t1;
  13142. this._name = t2;
  13143. },
  13144. SassMap: function SassMap(t0) {
  13145. this._map$_contents = t0;
  13146. },
  13147. SassMap_asList_closure: function SassMap_asList_closure(t0) {
  13148. this.result = t0;
  13149. },
  13150. _SassNull: function _SassNull() {
  13151. },
  13152. conversionFactor(unit1, unit2) {
  13153. var innerMap;
  13154. if (unit1 === unit2)
  13155. return 1;
  13156. innerMap = B.Map_K2BWj.$index(0, unit1);
  13157. if (innerMap == null)
  13158. return null;
  13159. return innerMap.$index(0, unit2);
  13160. },
  13161. SassNumber_SassNumber(value, unit) {
  13162. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  13163. },
  13164. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  13165. var t1, numerators, unsimplifiedDenominators, denominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  13166. if (denominatorUnits == null || denominatorUnits.length === 0) {
  13167. t1 = numeratorUnits.length;
  13168. if (t1 === 0)
  13169. return new A.UnitlessSassNumber(value, _null);
  13170. else if (t1 === 1)
  13171. return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
  13172. else
  13173. return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  13174. } else {
  13175. t1 = numeratorUnits.length;
  13176. if (t1 === 0)
  13177. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  13178. else {
  13179. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  13180. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
  13181. denominators = A._setArrayType([], type$.JSArray_String);
  13182. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  13183. denominator = unsimplifiedDenominators[_i];
  13184. i = 0;
  13185. while (true) {
  13186. if (!(i < numerators.length)) {
  13187. simplifiedAway = false;
  13188. break;
  13189. }
  13190. c$0: {
  13191. factor = A.conversionFactor(denominator, numerators[i]);
  13192. if (factor == null)
  13193. break c$0;
  13194. valueDouble *= factor;
  13195. B.JSArray_methods.removeAt$1(numerators, i);
  13196. simplifiedAway = true;
  13197. break;
  13198. }
  13199. ++i;
  13200. }
  13201. if (!simplifiedAway)
  13202. denominators.push(denominator);
  13203. }
  13204. if (denominatorUnits.length === 0) {
  13205. t1 = numeratorUnits.length;
  13206. if (t1 === 0)
  13207. return new A.UnitlessSassNumber(valueDouble, _null);
  13208. else if (t1 === 1)
  13209. return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), valueDouble, _null);
  13210. }
  13211. t1 = type$.String;
  13212. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  13213. }
  13214. }
  13215. },
  13216. SassNumber: function SassNumber() {
  13217. },
  13218. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  13219. var _ = this;
  13220. _.$this = t0;
  13221. _.other = t1;
  13222. _.otherName = t2;
  13223. _.otherHasUnits = t3;
  13224. _.name = t4;
  13225. _.newNumerators = t5;
  13226. _.newDenominators = t6;
  13227. },
  13228. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  13229. this._box_0 = t0;
  13230. this.newNumerator = t1;
  13231. },
  13232. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  13233. this.compatibilityException = t0;
  13234. },
  13235. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  13236. this._box_0 = t0;
  13237. this.newDenominator = t1;
  13238. },
  13239. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  13240. this.compatibilityException = t0;
  13241. },
  13242. SassNumber_plus_closure: function SassNumber_plus_closure() {
  13243. },
  13244. SassNumber_minus_closure: function SassNumber_minus_closure() {
  13245. },
  13246. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  13247. this._box_0 = t0;
  13248. this.numerator = t1;
  13249. },
  13250. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  13251. this.newNumerators = t0;
  13252. this.numerator = t1;
  13253. },
  13254. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  13255. this._box_0 = t0;
  13256. this.numerator = t1;
  13257. },
  13258. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  13259. this.newNumerators = t0;
  13260. this.numerator = t1;
  13261. },
  13262. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  13263. this.units2 = t0;
  13264. },
  13265. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  13266. },
  13267. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  13268. this.$this = t0;
  13269. },
  13270. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  13271. },
  13272. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  13273. },
  13274. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  13275. var _ = this;
  13276. _._numeratorUnits = t0;
  13277. _._denominatorUnits = t1;
  13278. _._number$_value = t2;
  13279. _.hashCache = null;
  13280. _.asSlash = t3;
  13281. },
  13282. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  13283. var _ = this;
  13284. _._unit = t0;
  13285. _._number$_value = t1;
  13286. _.hashCache = null;
  13287. _.asSlash = t2;
  13288. },
  13289. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  13290. this.$this = t0;
  13291. this.unit = t1;
  13292. },
  13293. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  13294. this.$this = t0;
  13295. },
  13296. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  13297. this._box_0 = t0;
  13298. this.$this = t1;
  13299. },
  13300. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  13301. this._box_0 = t0;
  13302. this.$this = t1;
  13303. },
  13304. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  13305. this._number$_value = t0;
  13306. this.hashCache = null;
  13307. this.asSlash = t1;
  13308. },
  13309. SassString$(_text, quotes) {
  13310. return new A.SassString(_text, quotes);
  13311. },
  13312. SassString: function SassString(t0, t1) {
  13313. var _ = this;
  13314. _._string$_text = t0;
  13315. _._hasQuotes = t1;
  13316. _.__SassString__sassLength_FI = $;
  13317. _._hashCache = null;
  13318. },
  13319. AnySelectorVisitor: function AnySelectorVisitor() {
  13320. },
  13321. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  13322. this.$this = t0;
  13323. },
  13324. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  13325. this.$this = t0;
  13326. },
  13327. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  13328. var t1 = type$.Uri,
  13329. t2 = type$.Module_AsyncCallable,
  13330. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode);
  13331. 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$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  13332. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13333. return t1;
  13334. },
  13335. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13336. var _ = this;
  13337. _._async_evaluate$_importCache = t0;
  13338. _._async_evaluate$_nodeImporter = t1;
  13339. _._async_evaluate$_builtInFunctions = t2;
  13340. _._async_evaluate$_builtInModules = t3;
  13341. _._async_evaluate$_modules = t4;
  13342. _._async_evaluate$_moduleConfigurations = t5;
  13343. _._async_evaluate$_moduleNodes = t6;
  13344. _._async_evaluate$_logger = t7;
  13345. _._async_evaluate$_warningsEmitted = t8;
  13346. _._async_evaluate$_quietDeps = t9;
  13347. _._async_evaluate$_sourceMap = t10;
  13348. _._async_evaluate$_environment = t11;
  13349. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  13350. _._async_evaluate$_member = "root stylesheet";
  13351. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  13352. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  13353. _._async_evaluate$_loadedUrls = t12;
  13354. _._async_evaluate$_activeModules = t13;
  13355. _._async_evaluate$_stack = t14;
  13356. _._async_evaluate$_importer = null;
  13357. _._async_evaluate$_inDependency = false;
  13358. _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  13359. _._async_evaluate$_configuration = t15;
  13360. },
  13361. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  13362. this.$this = t0;
  13363. },
  13364. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  13365. this.$this = t0;
  13366. },
  13367. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  13368. this.$this = t0;
  13369. },
  13370. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  13371. this.$this = t0;
  13372. },
  13373. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  13374. this.$this = t0;
  13375. },
  13376. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  13377. this.$this = t0;
  13378. },
  13379. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  13380. this.$this = t0;
  13381. },
  13382. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  13383. this.$this = t0;
  13384. },
  13385. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
  13386. this.$this = t0;
  13387. this.name = t1;
  13388. this.module = t2;
  13389. },
  13390. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  13391. this.$this = t0;
  13392. },
  13393. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  13394. this.$this = t0;
  13395. },
  13396. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  13397. this.values = t0;
  13398. this.span = t1;
  13399. this.callableNode = t2;
  13400. },
  13401. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
  13402. this.$this = t0;
  13403. },
  13404. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  13405. this.$this = t0;
  13406. this.node = t1;
  13407. this.importer = t2;
  13408. },
  13409. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  13410. this.$this = t0;
  13411. this.importer = t1;
  13412. this.node = t2;
  13413. },
  13414. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  13415. this.callback = t0;
  13416. this.builtInModule = t1;
  13417. },
  13418. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  13419. var _ = this;
  13420. _.$this = t0;
  13421. _.url = t1;
  13422. _.nodeWithSpan = t2;
  13423. _.baseUrl = t3;
  13424. _.namesInErrors = t4;
  13425. _.configuration = t5;
  13426. _.callback = t6;
  13427. },
  13428. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  13429. this.$this = t0;
  13430. this.message = t1;
  13431. },
  13432. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
  13433. this._box_0 = t0;
  13434. this.callback = t1;
  13435. },
  13436. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
  13437. var _ = this;
  13438. _.$this = t0;
  13439. _.importer = t1;
  13440. _.stylesheet = t2;
  13441. _.extensionStore = t3;
  13442. _.configuration = t4;
  13443. _.css = t5;
  13444. },
  13445. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
  13446. },
  13447. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
  13448. this.selectors = t0;
  13449. },
  13450. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
  13451. },
  13452. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  13453. this.originalSelectors = t0;
  13454. },
  13455. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  13456. },
  13457. _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
  13458. this.seen = t0;
  13459. this.sorted = t1;
  13460. },
  13461. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  13462. this.$this = t0;
  13463. this.node = t1;
  13464. },
  13465. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  13466. this.$this = t0;
  13467. this.node = t1;
  13468. },
  13469. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  13470. this.$this = t0;
  13471. this.newParent = t1;
  13472. this.node = t2;
  13473. },
  13474. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  13475. this.$this = t0;
  13476. this.innerScope = t1;
  13477. },
  13478. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  13479. this.$this = t0;
  13480. this.innerScope = t1;
  13481. },
  13482. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  13483. this.innerScope = t0;
  13484. this.callback = t1;
  13485. },
  13486. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  13487. this.$this = t0;
  13488. this.innerScope = t1;
  13489. },
  13490. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  13491. },
  13492. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  13493. this.$this = t0;
  13494. this.innerScope = t1;
  13495. },
  13496. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  13497. this.$this = t0;
  13498. this.content = t1;
  13499. },
  13500. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
  13501. this.$this = t0;
  13502. },
  13503. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  13504. this.$this = t0;
  13505. this.children = t1;
  13506. },
  13507. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  13508. this.$this = t0;
  13509. this.node = t1;
  13510. this.nodeWithSpan = t2;
  13511. },
  13512. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  13513. this.$this = t0;
  13514. this.node = t1;
  13515. this.nodeWithSpan = t2;
  13516. },
  13517. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  13518. var _ = this;
  13519. _.$this = t0;
  13520. _.list = t1;
  13521. _.setVariables = t2;
  13522. _.node = t3;
  13523. },
  13524. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  13525. this.$this = t0;
  13526. this.setVariables = t1;
  13527. this.node = t2;
  13528. },
  13529. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  13530. this.$this = t0;
  13531. },
  13532. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  13533. this.$this = t0;
  13534. },
  13535. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  13536. this.$this = t0;
  13537. this.name = t1;
  13538. this.children = t2;
  13539. },
  13540. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  13541. this.$this = t0;
  13542. this.children = t1;
  13543. },
  13544. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  13545. },
  13546. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  13547. this.$this = t0;
  13548. this.node = t1;
  13549. },
  13550. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  13551. this.$this = t0;
  13552. this.node = t1;
  13553. },
  13554. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  13555. this.fromNumber = t0;
  13556. },
  13557. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  13558. this.toNumber = t0;
  13559. this.fromNumber = t1;
  13560. },
  13561. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  13562. var _ = this;
  13563. _._box_0 = t0;
  13564. _.$this = t1;
  13565. _.node = t2;
  13566. _.from = t3;
  13567. _.direction = t4;
  13568. _.fromNumber = t5;
  13569. },
  13570. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  13571. this.$this = t0;
  13572. },
  13573. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  13574. this.$this = t0;
  13575. this.node = t1;
  13576. },
  13577. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  13578. this.$this = t0;
  13579. this.node = t1;
  13580. },
  13581. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
  13582. this._box_0 = t0;
  13583. this.$this = t1;
  13584. },
  13585. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
  13586. this.$this = t0;
  13587. },
  13588. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  13589. this.$this = t0;
  13590. this.$import = t1;
  13591. },
  13592. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  13593. this.$this = t0;
  13594. },
  13595. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  13596. },
  13597. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  13598. },
  13599. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
  13600. var _ = this;
  13601. _.$this = t0;
  13602. _.result = t1;
  13603. _.stylesheet = t2;
  13604. _.loadsUserDefinedModules = t3;
  13605. _.environment = t4;
  13606. _.children = t5;
  13607. },
  13608. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
  13609. this.$this = t0;
  13610. this.node = t1;
  13611. },
  13612. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  13613. this.node = t0;
  13614. },
  13615. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  13616. this.$this = t0;
  13617. },
  13618. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
  13619. var _ = this;
  13620. _.$this = t0;
  13621. _.contentCallable = t1;
  13622. _.mixin = t2;
  13623. _.nodeWithSpan = t3;
  13624. },
  13625. _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
  13626. this.$this = t0;
  13627. this.mixin = t1;
  13628. this.nodeWithSpan = t2;
  13629. },
  13630. _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
  13631. this.$this = t0;
  13632. this.mixin = t1;
  13633. this.nodeWithSpan = t2;
  13634. },
  13635. _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
  13636. this.$this = t0;
  13637. this.statement = t1;
  13638. },
  13639. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  13640. this.$this = t0;
  13641. this.queries = t1;
  13642. },
  13643. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  13644. var _ = this;
  13645. _.$this = t0;
  13646. _.mergedQueries = t1;
  13647. _.queries = t2;
  13648. _.mergedSources = t3;
  13649. _.node = t4;
  13650. },
  13651. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  13652. this.$this = t0;
  13653. this.node = t1;
  13654. },
  13655. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  13656. this.$this = t0;
  13657. this.node = t1;
  13658. },
  13659. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  13660. this.mergedSources = t0;
  13661. },
  13662. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1) {
  13663. this.$this = t0;
  13664. this.node = t1;
  13665. },
  13666. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  13667. },
  13668. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  13669. this.$this = t0;
  13670. this.rule = t1;
  13671. this.node = t2;
  13672. },
  13673. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  13674. this.$this = t0;
  13675. this.node = t1;
  13676. },
  13677. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7() {
  13678. },
  13679. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  13680. },
  13681. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  13682. this.$this = t0;
  13683. this.node = t1;
  13684. },
  13685. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  13686. this.$this = t0;
  13687. this.node = t1;
  13688. },
  13689. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  13690. },
  13691. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  13692. this.$this = t0;
  13693. this.node = t1;
  13694. this.override = t2;
  13695. },
  13696. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  13697. this.$this = t0;
  13698. this.node = t1;
  13699. },
  13700. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  13701. this.$this = t0;
  13702. this.node = t1;
  13703. this.value = t2;
  13704. },
  13705. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  13706. this.$this = t0;
  13707. this.node = t1;
  13708. },
  13709. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  13710. this.$this = t0;
  13711. this.node = t1;
  13712. },
  13713. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  13714. this.$this = t0;
  13715. this.node = t1;
  13716. },
  13717. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  13718. this.$this = t0;
  13719. },
  13720. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  13721. this.$this = t0;
  13722. this.node = t1;
  13723. },
  13724. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
  13725. },
  13726. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  13727. this.$this = t0;
  13728. this.node = t1;
  13729. },
  13730. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  13731. this.node = t0;
  13732. this.operand = t1;
  13733. },
  13734. _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
  13735. this.$this = t0;
  13736. this.node = t1;
  13737. this.inMinMax = t2;
  13738. },
  13739. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  13740. this.$this = t0;
  13741. },
  13742. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
  13743. this.$this = t0;
  13744. this.node = t1;
  13745. },
  13746. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
  13747. this._box_0 = t0;
  13748. this.$this = t1;
  13749. this.node = t2;
  13750. },
  13751. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  13752. this.$this = t0;
  13753. this.node = t1;
  13754. this.$function = t2;
  13755. },
  13756. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  13757. var _ = this;
  13758. _.$this = t0;
  13759. _.callable = t1;
  13760. _.evaluated = t2;
  13761. _.nodeWithSpan = t3;
  13762. _.run = t4;
  13763. _.V = t5;
  13764. },
  13765. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  13766. var _ = this;
  13767. _.$this = t0;
  13768. _.evaluated = t1;
  13769. _.callable = t2;
  13770. _.nodeWithSpan = t3;
  13771. _.run = t4;
  13772. _.V = t5;
  13773. },
  13774. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  13775. var _ = this;
  13776. _.$this = t0;
  13777. _.evaluated = t1;
  13778. _.callable = t2;
  13779. _.nodeWithSpan = t3;
  13780. _.run = t4;
  13781. _.V = t5;
  13782. },
  13783. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  13784. },
  13785. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  13786. this.$this = t0;
  13787. this.callable = t1;
  13788. },
  13789. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  13790. this.overload = t0;
  13791. this.evaluated = t1;
  13792. this.namedSet = t2;
  13793. },
  13794. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  13795. this.callback = t0;
  13796. this.evaluated = t1;
  13797. },
  13798. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  13799. },
  13800. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  13801. },
  13802. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  13803. this.$this = t0;
  13804. this.restNodeForSpan = t1;
  13805. },
  13806. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  13807. var _ = this;
  13808. _.$this = t0;
  13809. _.named = t1;
  13810. _.restNodeForSpan = t2;
  13811. _.namedNodes = t3;
  13812. },
  13813. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  13814. },
  13815. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  13816. this.restArgs = t0;
  13817. },
  13818. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  13819. this.$this = t0;
  13820. this.restNodeForSpan = t1;
  13821. this.restArgs = t2;
  13822. },
  13823. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  13824. var _ = this;
  13825. _.$this = t0;
  13826. _.named = t1;
  13827. _.restNodeForSpan = t2;
  13828. _.restArgs = t3;
  13829. },
  13830. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  13831. this.$this = t0;
  13832. this.keywordRestNodeForSpan = t1;
  13833. this.keywordRestArgs = t2;
  13834. },
  13835. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  13836. var _ = this;
  13837. _.$this = t0;
  13838. _.values = t1;
  13839. _.convert = t2;
  13840. _.expressionNode = t3;
  13841. _.map = t4;
  13842. _.nodeWithSpan = t5;
  13843. },
  13844. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  13845. this.$arguments = t0;
  13846. this.positional = t1;
  13847. this.named = t2;
  13848. },
  13849. _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
  13850. this.$this = t0;
  13851. },
  13852. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  13853. this.$this = t0;
  13854. this.node = t1;
  13855. },
  13856. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  13857. },
  13858. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  13859. this.$this = t0;
  13860. this.node = t1;
  13861. },
  13862. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  13863. },
  13864. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  13865. this.$this = t0;
  13866. this.node = t1;
  13867. },
  13868. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  13869. var _ = this;
  13870. _.$this = t0;
  13871. _.mergedQueries = t1;
  13872. _.node = t2;
  13873. _.mergedSources = t3;
  13874. },
  13875. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  13876. this.$this = t0;
  13877. this.node = t1;
  13878. },
  13879. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  13880. this.$this = t0;
  13881. this.node = t1;
  13882. },
  13883. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  13884. this.mergedSources = t0;
  13885. },
  13886. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
  13887. this.$this = t0;
  13888. this.rule = t1;
  13889. this.node = t2;
  13890. },
  13891. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  13892. this.$this = t0;
  13893. this.node = t1;
  13894. },
  13895. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
  13896. },
  13897. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  13898. this.$this = t0;
  13899. this.node = t1;
  13900. },
  13901. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  13902. this.$this = t0;
  13903. this.node = t1;
  13904. },
  13905. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  13906. },
  13907. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  13908. this.value = t0;
  13909. this.quote = t1;
  13910. },
  13911. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  13912. this.$this = t0;
  13913. this.expression = t1;
  13914. },
  13915. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  13916. },
  13917. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  13918. this.$this = t0;
  13919. },
  13920. _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
  13921. this.$this = t0;
  13922. },
  13923. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  13924. this._async_evaluate$_visitor = t0;
  13925. },
  13926. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  13927. },
  13928. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  13929. this.hasBeenMerged = t0;
  13930. },
  13931. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  13932. },
  13933. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  13934. },
  13935. EvaluateResult: function EvaluateResult(t0) {
  13936. this.stylesheet = t0;
  13937. },
  13938. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  13939. this._async_evaluate$_visitor = t0;
  13940. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  13941. },
  13942. _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
  13943. var _ = this;
  13944. _.positional = t0;
  13945. _.positionalNodes = t1;
  13946. _.named = t2;
  13947. _.namedNodes = t3;
  13948. _.separator = t4;
  13949. },
  13950. _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
  13951. this.stylesheet = t0;
  13952. this.importer = t1;
  13953. this.isDependency = t2;
  13954. },
  13955. cloneCssStylesheet(stylesheet, extensionStore) {
  13956. var result = extensionStore.clone$0();
  13957. return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
  13958. },
  13959. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  13960. this._oldToNewSelectors = t0;
  13961. },
  13962. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  13963. var t1 = type$.Uri,
  13964. t2 = type$.Module_Callable,
  13965. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode);
  13966. 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$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  13967. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13968. return t1;
  13969. },
  13970. Evaluator: function Evaluator(t0, t1) {
  13971. this._visitor = t0;
  13972. this._importer = t1;
  13973. },
  13974. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13975. var _ = this;
  13976. _._evaluate$_importCache = t0;
  13977. _._nodeImporter = t1;
  13978. _._builtInFunctions = t2;
  13979. _._builtInModules = t3;
  13980. _._modules = t4;
  13981. _._moduleConfigurations = t5;
  13982. _._moduleNodes = t6;
  13983. _._evaluate$_logger = t7;
  13984. _._warningsEmitted = t8;
  13985. _._quietDeps = t9;
  13986. _._sourceMap = t10;
  13987. _._environment = t11;
  13988. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  13989. _._member = "root stylesheet";
  13990. _._importSpan = _._callableNode = _._currentCallable = null;
  13991. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  13992. _._loadedUrls = t12;
  13993. _._activeModules = t13;
  13994. _._stack = t14;
  13995. _._importer = null;
  13996. _._inDependency = false;
  13997. _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  13998. _._configuration = t15;
  13999. },
  14000. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  14001. this.$this = t0;
  14002. },
  14003. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  14004. this.$this = t0;
  14005. },
  14006. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  14007. this.$this = t0;
  14008. },
  14009. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  14010. this.$this = t0;
  14011. },
  14012. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  14013. this.$this = t0;
  14014. },
  14015. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  14016. this.$this = t0;
  14017. },
  14018. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  14019. this.$this = t0;
  14020. },
  14021. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  14022. this.$this = t0;
  14023. },
  14024. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  14025. this.$this = t0;
  14026. this.name = t1;
  14027. this.module = t2;
  14028. },
  14029. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  14030. this.$this = t0;
  14031. },
  14032. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  14033. this.$this = t0;
  14034. },
  14035. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  14036. this.values = t0;
  14037. this.span = t1;
  14038. this.callableNode = t2;
  14039. },
  14040. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  14041. this.$this = t0;
  14042. },
  14043. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  14044. this.$this = t0;
  14045. this.node = t1;
  14046. this.importer = t2;
  14047. },
  14048. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  14049. this.$this = t0;
  14050. this.importer = t1;
  14051. this.node = t2;
  14052. },
  14053. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  14054. this.$this = t0;
  14055. this.importer = t1;
  14056. this.expression = t2;
  14057. },
  14058. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  14059. this.$this = t0;
  14060. this.expression = t1;
  14061. },
  14062. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  14063. this.$this = t0;
  14064. this.expression = t1;
  14065. },
  14066. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  14067. this.$this = t0;
  14068. this.importer = t1;
  14069. this.statement = t2;
  14070. },
  14071. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  14072. this.$this = t0;
  14073. this.statement = t1;
  14074. },
  14075. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  14076. this.$this = t0;
  14077. this.statement = t1;
  14078. },
  14079. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  14080. this.callback = t0;
  14081. this.builtInModule = t1;
  14082. },
  14083. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  14084. var _ = this;
  14085. _.$this = t0;
  14086. _.url = t1;
  14087. _.nodeWithSpan = t2;
  14088. _.baseUrl = t3;
  14089. _.namesInErrors = t4;
  14090. _.configuration = t5;
  14091. _.callback = t6;
  14092. },
  14093. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  14094. this.$this = t0;
  14095. this.message = t1;
  14096. },
  14097. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
  14098. this._box_0 = t0;
  14099. this.callback = t1;
  14100. },
  14101. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
  14102. var _ = this;
  14103. _.$this = t0;
  14104. _.importer = t1;
  14105. _.stylesheet = t2;
  14106. _.extensionStore = t3;
  14107. _.configuration = t4;
  14108. _.css = t5;
  14109. },
  14110. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  14111. },
  14112. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  14113. this.selectors = t0;
  14114. },
  14115. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  14116. },
  14117. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  14118. this.originalSelectors = t0;
  14119. },
  14120. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  14121. },
  14122. _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
  14123. this.seen = t0;
  14124. this.sorted = t1;
  14125. },
  14126. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  14127. this.$this = t0;
  14128. this.node = t1;
  14129. },
  14130. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  14131. this.$this = t0;
  14132. this.node = t1;
  14133. },
  14134. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  14135. this.$this = t0;
  14136. this.newParent = t1;
  14137. this.node = t2;
  14138. },
  14139. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  14140. this.$this = t0;
  14141. this.innerScope = t1;
  14142. },
  14143. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  14144. this.$this = t0;
  14145. this.innerScope = t1;
  14146. },
  14147. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  14148. this.innerScope = t0;
  14149. this.callback = t1;
  14150. },
  14151. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  14152. this.$this = t0;
  14153. this.innerScope = t1;
  14154. },
  14155. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  14156. },
  14157. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  14158. this.$this = t0;
  14159. this.innerScope = t1;
  14160. },
  14161. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  14162. this.$this = t0;
  14163. this.content = t1;
  14164. },
  14165. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
  14166. this.$this = t0;
  14167. },
  14168. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  14169. this.$this = t0;
  14170. this.children = t1;
  14171. },
  14172. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  14173. this.$this = t0;
  14174. this.node = t1;
  14175. this.nodeWithSpan = t2;
  14176. },
  14177. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  14178. this.$this = t0;
  14179. this.node = t1;
  14180. this.nodeWithSpan = t2;
  14181. },
  14182. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  14183. var _ = this;
  14184. _.$this = t0;
  14185. _.list = t1;
  14186. _.setVariables = t2;
  14187. _.node = t3;
  14188. },
  14189. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  14190. this.$this = t0;
  14191. this.setVariables = t1;
  14192. this.node = t2;
  14193. },
  14194. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  14195. this.$this = t0;
  14196. },
  14197. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  14198. this.$this = t0;
  14199. },
  14200. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  14201. this.$this = t0;
  14202. this.name = t1;
  14203. this.children = t2;
  14204. },
  14205. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  14206. this.$this = t0;
  14207. this.children = t1;
  14208. },
  14209. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  14210. },
  14211. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  14212. this.$this = t0;
  14213. this.node = t1;
  14214. },
  14215. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  14216. this.$this = t0;
  14217. this.node = t1;
  14218. },
  14219. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  14220. this.fromNumber = t0;
  14221. },
  14222. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  14223. this.toNumber = t0;
  14224. this.fromNumber = t1;
  14225. },
  14226. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  14227. var _ = this;
  14228. _._box_0 = t0;
  14229. _.$this = t1;
  14230. _.node = t2;
  14231. _.from = t3;
  14232. _.direction = t4;
  14233. _.fromNumber = t5;
  14234. },
  14235. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  14236. this.$this = t0;
  14237. },
  14238. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  14239. this.$this = t0;
  14240. this.node = t1;
  14241. },
  14242. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  14243. this.$this = t0;
  14244. this.node = t1;
  14245. },
  14246. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
  14247. this._box_0 = t0;
  14248. this.$this = t1;
  14249. },
  14250. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
  14251. this.$this = t0;
  14252. },
  14253. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  14254. this.$this = t0;
  14255. this.$import = t1;
  14256. },
  14257. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  14258. this.$this = t0;
  14259. },
  14260. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  14261. },
  14262. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  14263. },
  14264. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
  14265. var _ = this;
  14266. _.$this = t0;
  14267. _.result = t1;
  14268. _.stylesheet = t2;
  14269. _.loadsUserDefinedModules = t3;
  14270. _.environment = t4;
  14271. _.children = t5;
  14272. },
  14273. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  14274. this.$this = t0;
  14275. this.node = t1;
  14276. },
  14277. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  14278. this.node = t0;
  14279. },
  14280. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
  14281. this.$this = t0;
  14282. },
  14283. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
  14284. var _ = this;
  14285. _.$this = t0;
  14286. _.contentCallable = t1;
  14287. _.mixin = t2;
  14288. _.nodeWithSpan = t3;
  14289. },
  14290. _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
  14291. this.$this = t0;
  14292. this.mixin = t1;
  14293. this.nodeWithSpan = t2;
  14294. },
  14295. _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
  14296. this.$this = t0;
  14297. this.mixin = t1;
  14298. this.nodeWithSpan = t2;
  14299. },
  14300. _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
  14301. this.$this = t0;
  14302. this.statement = t1;
  14303. },
  14304. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  14305. this.$this = t0;
  14306. this.queries = t1;
  14307. },
  14308. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  14309. var _ = this;
  14310. _.$this = t0;
  14311. _.mergedQueries = t1;
  14312. _.queries = t2;
  14313. _.mergedSources = t3;
  14314. _.node = t4;
  14315. },
  14316. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  14317. this.$this = t0;
  14318. this.node = t1;
  14319. },
  14320. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  14321. this.$this = t0;
  14322. this.node = t1;
  14323. },
  14324. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  14325. this.mergedSources = t0;
  14326. },
  14327. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  14328. this.$this = t0;
  14329. this.node = t1;
  14330. },
  14331. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  14332. },
  14333. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1(t0, t1, t2) {
  14334. this.$this = t0;
  14335. this.rule = t1;
  14336. this.node = t2;
  14337. },
  14338. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  14339. this.$this = t0;
  14340. this.node = t1;
  14341. },
  14342. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2() {
  14343. },
  14344. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3() {
  14345. },
  14346. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  14347. this.$this = t0;
  14348. this.node = t1;
  14349. },
  14350. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  14351. this.$this = t0;
  14352. this.node = t1;
  14353. },
  14354. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  14355. },
  14356. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  14357. this.$this = t0;
  14358. this.node = t1;
  14359. this.override = t2;
  14360. },
  14361. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  14362. this.$this = t0;
  14363. this.node = t1;
  14364. },
  14365. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  14366. this.$this = t0;
  14367. this.node = t1;
  14368. this.value = t2;
  14369. },
  14370. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  14371. this.$this = t0;
  14372. this.node = t1;
  14373. },
  14374. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  14375. this.$this = t0;
  14376. this.node = t1;
  14377. },
  14378. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  14379. this.$this = t0;
  14380. this.node = t1;
  14381. },
  14382. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  14383. this.$this = t0;
  14384. },
  14385. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  14386. this.$this = t0;
  14387. this.node = t1;
  14388. },
  14389. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
  14390. },
  14391. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  14392. this.$this = t0;
  14393. this.node = t1;
  14394. },
  14395. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  14396. this.node = t0;
  14397. this.operand = t1;
  14398. },
  14399. _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
  14400. this.$this = t0;
  14401. this.node = t1;
  14402. this.inMinMax = t2;
  14403. },
  14404. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  14405. this.$this = t0;
  14406. },
  14407. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  14408. this.$this = t0;
  14409. this.node = t1;
  14410. },
  14411. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
  14412. this._box_0 = t0;
  14413. this.$this = t1;
  14414. this.node = t2;
  14415. },
  14416. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  14417. this.$this = t0;
  14418. this.node = t1;
  14419. this.$function = t2;
  14420. },
  14421. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  14422. var _ = this;
  14423. _.$this = t0;
  14424. _.callable = t1;
  14425. _.evaluated = t2;
  14426. _.nodeWithSpan = t3;
  14427. _.run = t4;
  14428. _.V = t5;
  14429. },
  14430. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  14431. var _ = this;
  14432. _.$this = t0;
  14433. _.evaluated = t1;
  14434. _.callable = t2;
  14435. _.nodeWithSpan = t3;
  14436. _.run = t4;
  14437. _.V = t5;
  14438. },
  14439. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  14440. var _ = this;
  14441. _.$this = t0;
  14442. _.evaluated = t1;
  14443. _.callable = t2;
  14444. _.nodeWithSpan = t3;
  14445. _.run = t4;
  14446. _.V = t5;
  14447. },
  14448. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  14449. },
  14450. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  14451. this.$this = t0;
  14452. this.callable = t1;
  14453. },
  14454. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  14455. this.overload = t0;
  14456. this.evaluated = t1;
  14457. this.namedSet = t2;
  14458. },
  14459. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  14460. this.callback = t0;
  14461. this.evaluated = t1;
  14462. },
  14463. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  14464. },
  14465. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  14466. },
  14467. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  14468. this.$this = t0;
  14469. this.restNodeForSpan = t1;
  14470. },
  14471. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  14472. var _ = this;
  14473. _.$this = t0;
  14474. _.named = t1;
  14475. _.restNodeForSpan = t2;
  14476. _.namedNodes = t3;
  14477. },
  14478. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  14479. },
  14480. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  14481. this.restArgs = t0;
  14482. },
  14483. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  14484. this.$this = t0;
  14485. this.restNodeForSpan = t1;
  14486. this.restArgs = t2;
  14487. },
  14488. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  14489. var _ = this;
  14490. _.$this = t0;
  14491. _.named = t1;
  14492. _.restNodeForSpan = t2;
  14493. _.restArgs = t3;
  14494. },
  14495. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  14496. this.$this = t0;
  14497. this.keywordRestNodeForSpan = t1;
  14498. this.keywordRestArgs = t2;
  14499. },
  14500. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  14501. var _ = this;
  14502. _.$this = t0;
  14503. _.values = t1;
  14504. _.convert = t2;
  14505. _.expressionNode = t3;
  14506. _.map = t4;
  14507. _.nodeWithSpan = t5;
  14508. },
  14509. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  14510. this.$arguments = t0;
  14511. this.positional = t1;
  14512. this.named = t2;
  14513. },
  14514. _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
  14515. this.$this = t0;
  14516. },
  14517. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  14518. this.$this = t0;
  14519. this.node = t1;
  14520. },
  14521. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  14522. },
  14523. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14524. this.$this = t0;
  14525. this.node = t1;
  14526. },
  14527. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  14528. },
  14529. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  14530. this.$this = t0;
  14531. this.node = t1;
  14532. },
  14533. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  14534. var _ = this;
  14535. _.$this = t0;
  14536. _.mergedQueries = t1;
  14537. _.node = t2;
  14538. _.mergedSources = t3;
  14539. },
  14540. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  14541. this.$this = t0;
  14542. this.node = t1;
  14543. },
  14544. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  14545. this.$this = t0;
  14546. this.node = t1;
  14547. },
  14548. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  14549. this.mergedSources = t0;
  14550. },
  14551. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  14552. this.$this = t0;
  14553. this.rule = t1;
  14554. this.node = t2;
  14555. },
  14556. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  14557. this.$this = t0;
  14558. this.node = t1;
  14559. },
  14560. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  14561. },
  14562. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  14563. this.$this = t0;
  14564. this.node = t1;
  14565. },
  14566. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  14567. this.$this = t0;
  14568. this.node = t1;
  14569. },
  14570. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  14571. },
  14572. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  14573. this.value = t0;
  14574. this.quote = t1;
  14575. },
  14576. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  14577. this.$this = t0;
  14578. this.expression = t1;
  14579. },
  14580. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  14581. },
  14582. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  14583. this.$this = t0;
  14584. },
  14585. _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
  14586. this.$this = t0;
  14587. },
  14588. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  14589. this._visitor = t0;
  14590. },
  14591. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  14592. },
  14593. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  14594. this.hasBeenMerged = t0;
  14595. },
  14596. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  14597. },
  14598. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  14599. },
  14600. _EvaluationContext: function _EvaluationContext(t0, t1) {
  14601. this._visitor = t0;
  14602. this._defaultWarnNodeWithSpan = t1;
  14603. },
  14604. _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
  14605. var _ = this;
  14606. _.positional = t0;
  14607. _.positionalNodes = t1;
  14608. _.named = t2;
  14609. _.namedNodes = t3;
  14610. _.separator = t4;
  14611. },
  14612. _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
  14613. this.stylesheet = t0;
  14614. this.importer = t1;
  14615. this.isDependency = t2;
  14616. },
  14617. EveryCssVisitor: function EveryCssVisitor() {
  14618. },
  14619. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  14620. this.$this = t0;
  14621. },
  14622. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  14623. this.$this = t0;
  14624. },
  14625. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  14626. this.$this = t0;
  14627. },
  14628. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  14629. this.$this = t0;
  14630. },
  14631. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  14632. this.$this = t0;
  14633. },
  14634. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  14635. this.$this = t0;
  14636. },
  14637. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  14638. },
  14639. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  14640. },
  14641. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  14642. var _ = this;
  14643. _._find_dependencies$_uses = t0;
  14644. _._find_dependencies$_forwards = t1;
  14645. _._metaLoadCss = t2;
  14646. _._imports = t3;
  14647. _._metaNamespaces = t4;
  14648. },
  14649. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  14650. var _ = this;
  14651. _.uses = t0;
  14652. _.forwards = t1;
  14653. _.metaLoadCss = t2;
  14654. _.imports = t3;
  14655. },
  14656. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  14657. },
  14658. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  14659. },
  14660. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  14661. },
  14662. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  14663. this.$this = t0;
  14664. },
  14665. ReplaceExpressionVisitor_visitMapExpression_closure: function ReplaceExpressionVisitor_visitMapExpression_closure(t0) {
  14666. this.$this = t0;
  14667. },
  14668. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  14669. this.$this = t0;
  14670. },
  14671. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  14672. this.$this = t0;
  14673. },
  14674. SelectorSearchVisitor: function SelectorSearchVisitor() {
  14675. },
  14676. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  14677. this.$this = t0;
  14678. },
  14679. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  14680. this.$this = t0;
  14681. },
  14682. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  14683. var t1, css, t2, prefix,
  14684. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  14685. node.accept$1(visitor);
  14686. t1 = visitor._serialize$_buffer;
  14687. css = t1.toString$0(0);
  14688. if (charset) {
  14689. t2 = new A.CodeUnits(css);
  14690. t2 = t2.any$1(t2, new A.serialize_closure());
  14691. } else
  14692. t2 = false;
  14693. if (t2)
  14694. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  14695. else
  14696. prefix = "";
  14697. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  14698. return new A.SerializeResult(prefix + css, t1);
  14699. },
  14700. serializeValue(value, inspect, quote) {
  14701. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  14702. value.accept$1(visitor);
  14703. return visitor._serialize$_buffer.toString$0(0);
  14704. },
  14705. serializeSelector(selector, inspect) {
  14706. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  14707. selector.accept$1(visitor);
  14708. return visitor._serialize$_buffer.toString$0(0);
  14709. },
  14710. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  14711. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  14712. t2 = style == null ? B.OutputStyle_0 : style,
  14713. t3 = indentWidth == null ? 2 : indentWidth;
  14714. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  14715. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  14716. },
  14717. serialize_closure: function serialize_closure() {
  14718. },
  14719. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  14720. var _ = this;
  14721. _._serialize$_buffer = t0;
  14722. _._indentation = 0;
  14723. _._style = t1;
  14724. _._inspect = t2;
  14725. _._quote = t3;
  14726. _._indentCharacter = t4;
  14727. _._indentWidth = t5;
  14728. _._serialize$_lineFeed = t6;
  14729. },
  14730. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  14731. this.$this = t0;
  14732. this.node = t1;
  14733. },
  14734. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  14735. this.$this = t0;
  14736. this.node = t1;
  14737. },
  14738. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  14739. this.$this = t0;
  14740. this.node = t1;
  14741. },
  14742. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  14743. this.$this = t0;
  14744. this.node = t1;
  14745. },
  14746. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  14747. this.$this = t0;
  14748. this.node = t1;
  14749. },
  14750. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14751. this.$this = t0;
  14752. this.node = t1;
  14753. },
  14754. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  14755. this.$this = t0;
  14756. this.node = t1;
  14757. },
  14758. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  14759. this.$this = t0;
  14760. this.node = t1;
  14761. },
  14762. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  14763. this.$this = t0;
  14764. this.node = t1;
  14765. },
  14766. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  14767. this.$this = t0;
  14768. this.node = t1;
  14769. },
  14770. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  14771. },
  14772. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  14773. this.$this = t0;
  14774. this.value = t1;
  14775. },
  14776. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  14777. this.$this = t0;
  14778. },
  14779. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  14780. this.$this = t0;
  14781. },
  14782. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  14783. },
  14784. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  14785. this.$this = t0;
  14786. this.value = t1;
  14787. },
  14788. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  14789. this.$this = t0;
  14790. this.child = t1;
  14791. },
  14792. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  14793. this.$this = t0;
  14794. this.child = t1;
  14795. },
  14796. OutputStyle: function OutputStyle(t0) {
  14797. this._name = t0;
  14798. },
  14799. LineFeed: function LineFeed(t0) {
  14800. this._name = t0;
  14801. },
  14802. SerializeResult: function SerializeResult(t0, t1) {
  14803. this.css = t0;
  14804. this.sourceMap = t1;
  14805. },
  14806. StatementSearchVisitor: function StatementSearchVisitor() {
  14807. },
  14808. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  14809. this.$this = t0;
  14810. },
  14811. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  14812. this.$this = t0;
  14813. },
  14814. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  14815. this.$this = t0;
  14816. },
  14817. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  14818. this.$this = t0;
  14819. },
  14820. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  14821. this.$this = t0;
  14822. },
  14823. Entry: function Entry(t0, t1, t2) {
  14824. this.source = t0;
  14825. this.target = t1;
  14826. this.identifierName = t2;
  14827. },
  14828. SingleMapping_SingleMapping$fromEntries(entries) {
  14829. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  14830. sourceEntries = J.toList$0$ax(entries);
  14831. B.JSArray_methods.sort$0(sourceEntries);
  14832. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  14833. t1 = type$.String;
  14834. t2 = type$.int;
  14835. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14836. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14837. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  14838. targetEntries = A._Cell$();
  14839. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, t4 = targetEntries.__late_helper$_name, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  14840. sourceEntry = sourceEntries[_i];
  14841. if (lineNum == null || sourceEntry.target.line > lineNum) {
  14842. lineNum = sourceEntry.target.line;
  14843. t5 = A._setArrayType([], t3);
  14844. targetEntries.__late_helper$_value = t5;
  14845. lines.push(new A.TargetLineEntry(lineNum, t5));
  14846. }
  14847. t5 = sourceEntry.source;
  14848. t6 = t5.file;
  14849. sourceUrl = t6.url;
  14850. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  14851. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  14852. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  14853. t7 = targetEntries.__late_helper$_value;
  14854. if (t7 === targetEntries)
  14855. A.throwExpression(A.LateError$localNI(t4));
  14856. t5 = t5.offset;
  14857. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  14858. }
  14859. t2 = urls.get$values(urls);
  14860. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  14861. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  14862. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14863. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14864. 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));
  14865. },
  14866. Mapping: function Mapping() {
  14867. },
  14868. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  14869. var _ = this;
  14870. _.urls = t0;
  14871. _.names = t1;
  14872. _.files = t2;
  14873. _.lines = t3;
  14874. _.targetUrl = t4;
  14875. _.sourceRoot = null;
  14876. _.extensions = t5;
  14877. },
  14878. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  14879. this.urls = t0;
  14880. },
  14881. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  14882. this.sourceEntry = t0;
  14883. },
  14884. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  14885. this.files = t0;
  14886. },
  14887. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  14888. },
  14889. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  14890. this.result = t0;
  14891. },
  14892. TargetLineEntry: function TargetLineEntry(t0, t1) {
  14893. this.line = t0;
  14894. this.entries = t1;
  14895. },
  14896. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  14897. var _ = this;
  14898. _.column = t0;
  14899. _.sourceUrlId = t1;
  14900. _.sourceLine = t2;
  14901. _.sourceColumn = t3;
  14902. _.sourceNameId = t4;
  14903. },
  14904. SourceFile$fromString(text, url) {
  14905. var t1 = new A.CodeUnits(text),
  14906. t2 = A._setArrayType([0], type$.JSArray_int),
  14907. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14908. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  14909. t2.SourceFile$decoded$2$url(t1, url);
  14910. return t2;
  14911. },
  14912. SourceFile$decoded(decodedChars, url) {
  14913. var t1 = A._setArrayType([0], type$.JSArray_int),
  14914. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14915. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  14916. t1.SourceFile$decoded$2$url(decodedChars, url);
  14917. return t1;
  14918. },
  14919. FileLocation$_(file, offset) {
  14920. if (offset < 0)
  14921. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  14922. else if (offset > file._decodedChars.length)
  14923. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
  14924. return new A.FileLocation(file, offset);
  14925. },
  14926. _FileSpan$(file, _start, _end) {
  14927. if (_end < _start)
  14928. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  14929. else if (_end > file._decodedChars.length)
  14930. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
  14931. else if (_start < 0)
  14932. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  14933. return new A._FileSpan(file, _start, _end);
  14934. },
  14935. FileSpanExtension_subspan(_this, start, end) {
  14936. var t1, startOffset, t2;
  14937. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  14938. if (start === 0)
  14939. t1 = end == null || end === _this.get$length(_this);
  14940. else
  14941. t1 = false;
  14942. if (t1)
  14943. return _this;
  14944. startOffset = _this.get$start(_this).offset;
  14945. t1 = _this.get$file(_this);
  14946. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  14947. return t1.span$2(0, startOffset + start, t2);
  14948. },
  14949. SourceFile: function SourceFile(t0, t1, t2) {
  14950. var _ = this;
  14951. _.url = t0;
  14952. _._lineStarts = t1;
  14953. _._decodedChars = t2;
  14954. _._cachedLine = null;
  14955. },
  14956. FileLocation: function FileLocation(t0, t1) {
  14957. this.file = t0;
  14958. this.offset = t1;
  14959. },
  14960. _FileSpan: function _FileSpan(t0, t1, t2) {
  14961. this.file = t0;
  14962. this._file$_start = t1;
  14963. this._end = t2;
  14964. },
  14965. Highlighter$(span, color) {
  14966. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  14967. t2 = new A.Highlighter_closure(color).call$0(),
  14968. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  14969. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  14970. t5 = A._arrayInstanceType(t1);
  14971. 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(""));
  14972. },
  14973. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  14974. var t2, t3, t4, t5, t6,
  14975. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  14976. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  14977. t3 = t2.get$current(t2);
  14978. t1.push(A._Highlight$(t3.key, t3.value, false));
  14979. }
  14980. t1 = A.Highlighter__collateLines(t1);
  14981. if (color)
  14982. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  14983. else
  14984. t2 = null;
  14985. if (color)
  14986. t3 = "\x1b[34m";
  14987. else
  14988. t3 = null;
  14989. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  14990. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  14991. t6 = A._arrayInstanceType(t1);
  14992. 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(""));
  14993. },
  14994. Highlighter__contiguous(lines) {
  14995. var i, thisLine, nextLine;
  14996. for (i = 0; i < lines.length - 1;) {
  14997. thisLine = lines[i];
  14998. ++i;
  14999. nextLine = lines[i];
  15000. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  15001. return false;
  15002. }
  15003. return true;
  15004. },
  15005. Highlighter__collateLines(highlights) {
  15006. var t1, t2, t3,
  15007. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  15008. for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  15009. t3 = t1.__internal$_current;
  15010. if (t3 == null)
  15011. t3 = t2._as(t3);
  15012. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  15013. }
  15014. t1 = highlightsByUrl.get$entries(highlightsByUrl);
  15015. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  15016. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  15017. },
  15018. _Highlight$(span, label, primary) {
  15019. var t2,
  15020. t1 = new A._Highlight_closure(span).call$0();
  15021. if (label == null)
  15022. t2 = null;
  15023. else
  15024. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  15025. return new A._Highlight(t1, primary, t2);
  15026. },
  15027. _Highlight__normalizeNewlines(span) {
  15028. var endOffset, t1, i, t2, t3, t4,
  15029. text = span.get$text();
  15030. if (!B.JSString_methods.contains$1(text, "\r\n"))
  15031. return span;
  15032. endOffset = span.get$end(span).get$offset();
  15033. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  15034. if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
  15035. --endOffset;
  15036. t1 = span.get$start(span);
  15037. t2 = span.get$sourceUrl(span);
  15038. t3 = span.get$end(span).get$line();
  15039. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  15040. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  15041. t4 = span.get$context(span);
  15042. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  15043. },
  15044. _Highlight__normalizeTrailingNewline(span) {
  15045. var context, text, start, end, t1, t2, t3;
  15046. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  15047. return span;
  15048. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  15049. return span;
  15050. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  15051. text = span.get$text();
  15052. start = span.get$start(span);
  15053. end = span.get$end(span);
  15054. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  15055. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  15056. t1.toString;
  15057. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  15058. } else
  15059. t1 = false;
  15060. if (t1) {
  15061. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  15062. if (text.length === 0)
  15063. end = start;
  15064. else {
  15065. t1 = span.get$end(span).get$offset();
  15066. t2 = span.get$sourceUrl(span);
  15067. t3 = span.get$end(span).get$line();
  15068. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  15069. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  15070. }
  15071. }
  15072. return A.SourceSpanWithContext$(start, end, text, context);
  15073. },
  15074. _Highlight__normalizeEndOfLine(span) {
  15075. var text, t1, t2, t3, t4;
  15076. if (span.get$end(span).get$column() !== 0)
  15077. return span;
  15078. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  15079. return span;
  15080. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  15081. t1 = span.get$start(span);
  15082. t2 = span.get$end(span).get$offset();
  15083. t3 = span.get$sourceUrl(span);
  15084. t4 = span.get$end(span).get$line();
  15085. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  15086. 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));
  15087. },
  15088. _Highlight__lastLineLength(text) {
  15089. var t1 = text.length;
  15090. if (t1 === 0)
  15091. return 0;
  15092. else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
  15093. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  15094. else
  15095. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  15096. },
  15097. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  15098. var _ = this;
  15099. _._lines = t0;
  15100. _._primaryColor = t1;
  15101. _._secondaryColor = t2;
  15102. _._paddingBeforeSidebar = t3;
  15103. _._maxMultilineSpans = t4;
  15104. _._multipleFiles = t5;
  15105. _._highlighter$_buffer = t6;
  15106. },
  15107. Highlighter_closure: function Highlighter_closure(t0) {
  15108. this.color = t0;
  15109. },
  15110. Highlighter$__closure: function Highlighter$__closure() {
  15111. },
  15112. Highlighter$___closure: function Highlighter$___closure() {
  15113. },
  15114. Highlighter$__closure0: function Highlighter$__closure0() {
  15115. },
  15116. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  15117. },
  15118. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  15119. },
  15120. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  15121. },
  15122. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  15123. this.line = t0;
  15124. },
  15125. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  15126. },
  15127. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  15128. this.$this = t0;
  15129. },
  15130. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  15131. this.$this = t0;
  15132. this.startLine = t1;
  15133. this.line = t2;
  15134. },
  15135. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  15136. this.$this = t0;
  15137. this.highlight = t1;
  15138. },
  15139. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  15140. this.$this = t0;
  15141. },
  15142. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  15143. var _ = this;
  15144. _._box_0 = t0;
  15145. _.$this = t1;
  15146. _.current = t2;
  15147. _.startLine = t3;
  15148. _.line = t4;
  15149. _.highlight = t5;
  15150. _.endLine = t6;
  15151. },
  15152. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  15153. this._box_0 = t0;
  15154. this.$this = t1;
  15155. },
  15156. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  15157. this.$this = t0;
  15158. this.vertical = t1;
  15159. },
  15160. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  15161. var _ = this;
  15162. _.$this = t0;
  15163. _.text = t1;
  15164. _.startColumn = t2;
  15165. _.endColumn = t3;
  15166. },
  15167. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  15168. this.$this = t0;
  15169. this.line = t1;
  15170. this.highlight = t2;
  15171. },
  15172. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  15173. this.$this = t0;
  15174. this.line = t1;
  15175. this.highlight = t2;
  15176. },
  15177. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  15178. var _ = this;
  15179. _.$this = t0;
  15180. _.coversWholeLine = t1;
  15181. _.line = t2;
  15182. _.highlight = t3;
  15183. },
  15184. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  15185. this.$this = t0;
  15186. this.lines = t1;
  15187. },
  15188. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  15189. this.$this = t0;
  15190. this.text = t1;
  15191. },
  15192. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  15193. this._box_0 = t0;
  15194. this.$this = t1;
  15195. this.end = t2;
  15196. },
  15197. _Highlight: function _Highlight(t0, t1, t2) {
  15198. this.span = t0;
  15199. this.isPrimary = t1;
  15200. this.label = t2;
  15201. },
  15202. _Highlight_closure: function _Highlight_closure(t0) {
  15203. this.span = t0;
  15204. },
  15205. _Line: function _Line(t0, t1, t2, t3) {
  15206. var _ = this;
  15207. _.text = t0;
  15208. _.number = t1;
  15209. _.url = t2;
  15210. _.highlights = t3;
  15211. },
  15212. SourceLocation$(offset, column, line, sourceUrl) {
  15213. var t1 = line == null,
  15214. t2 = t1 ? 0 : line,
  15215. t3 = column == null,
  15216. t4 = t3 ? offset : column;
  15217. if (offset < 0)
  15218. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  15219. else if (!t1 && line < 0)
  15220. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  15221. else if (!t3 && column < 0)
  15222. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  15223. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  15224. },
  15225. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  15226. var _ = this;
  15227. _.sourceUrl = t0;
  15228. _.offset = t1;
  15229. _.line = t2;
  15230. _.column = t3;
  15231. },
  15232. SourceLocationMixin: function SourceLocationMixin() {
  15233. },
  15234. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  15235. var t2,
  15236. t1 = _this.get$start(_this);
  15237. t1 = t1.file.getLine$1(t1.offset);
  15238. t2 = _this.get$start(_this);
  15239. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  15240. if (_this.get$sourceUrl(_this) != null) {
  15241. t1 = _this.get$sourceUrl(_this);
  15242. t1 = t2 + (" of " + $.$get$context().prettyUri$1(t1));
  15243. } else
  15244. t1 = t2;
  15245. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  15246. return t1.charCodeAt(0) == 0 ? t1 : t1;
  15247. },
  15248. SourceSpanBase: function SourceSpanBase() {
  15249. },
  15250. SourceSpanException: function SourceSpanException() {
  15251. },
  15252. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  15253. this.source = t0;
  15254. this._span_exception$_message = t1;
  15255. this._span = t2;
  15256. },
  15257. MultiSourceSpanException: function MultiSourceSpanException() {
  15258. },
  15259. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3) {
  15260. var _ = this;
  15261. _.primaryLabel = t0;
  15262. _.secondarySpans = t1;
  15263. _._span_exception$_message = t2;
  15264. _._span = t3;
  15265. },
  15266. SourceSpanMixin: function SourceSpanMixin() {
  15267. },
  15268. SourceSpanWithContext$(start, end, text, _context) {
  15269. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  15270. t1.SourceSpanBase$3(start, end, text);
  15271. if (!B.JSString_methods.contains$1(_context, text))
  15272. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  15273. if (A.findLineStart(_context, text, start.get$column()) == null)
  15274. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  15275. return t1;
  15276. },
  15277. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  15278. var _ = this;
  15279. _._context = t0;
  15280. _.start = t1;
  15281. _.end = t2;
  15282. _.text = t3;
  15283. },
  15284. Chain_Chain$parse(chain) {
  15285. var t1, t2,
  15286. _s51_ = string$.x3d_____;
  15287. if (chain.length === 0)
  15288. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  15289. t1 = $.$get$vmChainGap();
  15290. if (B.JSString_methods.contains$1(chain, t1)) {
  15291. t1 = B.JSString_methods.split$1(chain, t1);
  15292. t2 = A._arrayInstanceType(t1);
  15293. 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));
  15294. }
  15295. if (!B.JSString_methods.contains$1(chain, _s51_))
  15296. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  15297. 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));
  15298. },
  15299. Chain: function Chain(t0) {
  15300. this.traces = t0;
  15301. },
  15302. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  15303. },
  15304. Chain_toTrace_closure: function Chain_toTrace_closure() {
  15305. },
  15306. Chain_toString_closure0: function Chain_toString_closure0() {
  15307. },
  15308. Chain_toString__closure0: function Chain_toString__closure0() {
  15309. },
  15310. Chain_toString_closure: function Chain_toString_closure(t0) {
  15311. this.longest = t0;
  15312. },
  15313. Chain_toString__closure: function Chain_toString__closure(t0) {
  15314. this.longest = t0;
  15315. },
  15316. Frame___parseVM_tearOff(frame) {
  15317. return A.Frame_Frame$parseVM(frame);
  15318. },
  15319. Frame_Frame$parseVM(frame) {
  15320. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  15321. },
  15322. Frame___parseV8_tearOff(frame) {
  15323. return A.Frame_Frame$parseV8(frame);
  15324. },
  15325. Frame_Frame$parseV8(frame) {
  15326. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  15327. },
  15328. Frame_Frame$_parseFirefoxEval(frame) {
  15329. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  15330. },
  15331. Frame___parseFirefox_tearOff(frame) {
  15332. return A.Frame_Frame$parseFirefox(frame);
  15333. },
  15334. Frame_Frame$parseFirefox(frame) {
  15335. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  15336. },
  15337. Frame___parseFriendly_tearOff(frame) {
  15338. return A.Frame_Frame$parseFriendly(frame);
  15339. },
  15340. Frame_Frame$parseFriendly(frame) {
  15341. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  15342. },
  15343. Frame__uriOrPathToUri(uriOrPath) {
  15344. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  15345. return A.Uri_parse(uriOrPath);
  15346. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  15347. return A._Uri__Uri$file(uriOrPath, true);
  15348. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  15349. return A._Uri__Uri$file(uriOrPath, false);
  15350. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  15351. return $.$get$windows().toUri$1(uriOrPath);
  15352. return A.Uri_parse(uriOrPath);
  15353. },
  15354. Frame__catchFormatException(text, body) {
  15355. var t1, exception;
  15356. try {
  15357. t1 = body.call$0();
  15358. return t1;
  15359. } catch (exception) {
  15360. if (type$.FormatException._is(A.unwrapException(exception)))
  15361. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  15362. else
  15363. throw exception;
  15364. }
  15365. },
  15366. Frame: function Frame(t0, t1, t2, t3) {
  15367. var _ = this;
  15368. _.uri = t0;
  15369. _.line = t1;
  15370. _.column = t2;
  15371. _.member = t3;
  15372. },
  15373. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  15374. this.frame = t0;
  15375. },
  15376. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  15377. this.frame = t0;
  15378. },
  15379. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  15380. this.frame = t0;
  15381. },
  15382. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  15383. this.frame = t0;
  15384. },
  15385. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  15386. this.frame = t0;
  15387. },
  15388. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  15389. this.frame = t0;
  15390. },
  15391. LazyTrace: function LazyTrace(t0) {
  15392. this._thunk = t0;
  15393. this.__LazyTrace__trace_FI = $;
  15394. },
  15395. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  15396. this.$this = t0;
  15397. },
  15398. Trace_Trace$from(trace) {
  15399. if (type$.Trace._is(trace))
  15400. return trace;
  15401. if (trace instanceof A.Chain)
  15402. return trace.toTrace$0();
  15403. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  15404. },
  15405. Trace_Trace$parse(trace) {
  15406. var error, t1, exception;
  15407. try {
  15408. if (trace.length === 0) {
  15409. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  15410. return t1;
  15411. }
  15412. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  15413. t1 = A.Trace$parseV8(trace);
  15414. return t1;
  15415. }
  15416. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  15417. t1 = A.Trace$parseJSCore(trace);
  15418. return t1;
  15419. }
  15420. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  15421. t1 = A.Trace$parseFirefox(trace);
  15422. return t1;
  15423. }
  15424. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  15425. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  15426. return t1;
  15427. }
  15428. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  15429. t1 = A.Trace$parseFriendly(trace);
  15430. return t1;
  15431. }
  15432. t1 = A.Trace$parseVM(trace);
  15433. return t1;
  15434. } catch (exception) {
  15435. t1 = A.unwrapException(exception);
  15436. if (type$.FormatException._is(t1)) {
  15437. error = t1;
  15438. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  15439. } else
  15440. throw exception;
  15441. }
  15442. },
  15443. Trace___parseVM_tearOff(trace) {
  15444. return A.Trace$parseVM(trace);
  15445. },
  15446. Trace$parseVM(trace) {
  15447. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  15448. return new A.Trace(t1, new A._StringStackTrace(trace));
  15449. },
  15450. Trace__parseVM(trace) {
  15451. var $frames,
  15452. t1 = B.JSString_methods.trim$0(trace),
  15453. t2 = $.$get$vmChainGap(),
  15454. t3 = type$.WhereIterable_String,
  15455. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  15456. if (!lines.get$iterator(lines).moveNext$0())
  15457. return A._setArrayType([], type$.JSArray_Frame);
  15458. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
  15459. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  15460. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  15461. if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
  15462. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
  15463. return $frames;
  15464. },
  15465. Trace$parseV8(trace) {
  15466. 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()),
  15467. t2 = type$.Frame;
  15468. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  15469. return new A.Trace(t2, new A._StringStackTrace(trace));
  15470. },
  15471. Trace$parseJSCore(trace) {
  15472. 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);
  15473. return new A.Trace(t1, new A._StringStackTrace(trace));
  15474. },
  15475. Trace$parseFirefox(trace) {
  15476. 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);
  15477. return new A.Trace(t1, new A._StringStackTrace(trace));
  15478. },
  15479. Trace___parseFriendly_tearOff(trace) {
  15480. return A.Trace$parseFriendly(trace);
  15481. },
  15482. Trace$parseFriendly(trace) {
  15483. 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);
  15484. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  15485. return new A.Trace(t1, new A._StringStackTrace(trace));
  15486. },
  15487. Trace$($frames, original) {
  15488. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  15489. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  15490. },
  15491. Trace: function Trace(t0, t1) {
  15492. this.frames = t0;
  15493. this.original = t1;
  15494. },
  15495. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  15496. this.trace = t0;
  15497. },
  15498. Trace__parseVM_closure: function Trace__parseVM_closure() {
  15499. },
  15500. Trace$parseV8_closure: function Trace$parseV8_closure() {
  15501. },
  15502. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  15503. },
  15504. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  15505. },
  15506. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  15507. },
  15508. Trace_terse_closure: function Trace_terse_closure() {
  15509. },
  15510. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  15511. this.oldPredicate = t0;
  15512. },
  15513. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  15514. this._box_0 = t0;
  15515. },
  15516. Trace_toString_closure0: function Trace_toString_closure0() {
  15517. },
  15518. Trace_toString_closure: function Trace_toString_closure(t0) {
  15519. this.longest = t0;
  15520. },
  15521. UnparsedFrame: function UnparsedFrame(t0, t1) {
  15522. this.uri = t0;
  15523. this.member = t1;
  15524. },
  15525. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  15526. var _null = null, t1 = {},
  15527. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  15528. t1.subscription = null;
  15529. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  15530. return controller.get$stream();
  15531. },
  15532. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  15533. sink.addError$2(error, stackTrace);
  15534. },
  15535. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  15536. var _ = this;
  15537. _._box_1 = t0;
  15538. _._this = t1;
  15539. _.handleData = t2;
  15540. _.controller = t3;
  15541. _.handleError = t4;
  15542. _.handleDone = t5;
  15543. _.S = t6;
  15544. },
  15545. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  15546. this.handleData = t0;
  15547. this.controller = t1;
  15548. this.S = t2;
  15549. },
  15550. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  15551. this.handleError = t0;
  15552. this.controller = t1;
  15553. },
  15554. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  15555. this._box_0 = t0;
  15556. this.handleDone = t1;
  15557. this.controller = t2;
  15558. },
  15559. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  15560. this._box_1 = t0;
  15561. this._box_0 = t1;
  15562. },
  15563. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  15564. var t1 = {};
  15565. t1.soFar = t1.timer = null;
  15566. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  15567. 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);
  15568. },
  15569. _collect($event, soFar, $T) {
  15570. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  15571. J.add$1$ax(t1, $event);
  15572. return t1;
  15573. },
  15574. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  15575. var _ = this;
  15576. _._box_0 = t0;
  15577. _.S = t1;
  15578. _.collect = t2;
  15579. _.leading = t3;
  15580. _.duration = t4;
  15581. _.trailing = t5;
  15582. _.T = t6;
  15583. },
  15584. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  15585. this._box_0 = t0;
  15586. this.sink = t1;
  15587. this.S = t2;
  15588. },
  15589. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  15590. var _ = this;
  15591. _._box_0 = t0;
  15592. _.trailing = t1;
  15593. _.emit = t2;
  15594. _.sink = t3;
  15595. },
  15596. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  15597. this._box_0 = t0;
  15598. this.trailing = t1;
  15599. this.S = t2;
  15600. },
  15601. StringScannerException$(message, span, source) {
  15602. return new A.StringScannerException(source, message, span);
  15603. },
  15604. StringScannerException: function StringScannerException(t0, t1, t2) {
  15605. this.source = t0;
  15606. this._span_exception$_message = t1;
  15607. this._span = t2;
  15608. },
  15609. LineScanner$(string) {
  15610. return new A.LineScanner(null, string);
  15611. },
  15612. LineScanner: function LineScanner(t0, t1) {
  15613. var _ = this;
  15614. _._line_scanner$_column = _._line_scanner$_line = 0;
  15615. _.sourceUrl = t0;
  15616. _.string = t1;
  15617. _._string_scanner$_position = 0;
  15618. _._lastMatchPosition = _._lastMatch = null;
  15619. },
  15620. SpanScanner$(string, sourceUrl) {
  15621. var t2,
  15622. t1 = A.SourceFile$fromString(string, sourceUrl);
  15623. if (sourceUrl == null)
  15624. t2 = null;
  15625. else
  15626. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15627. return new A.SpanScanner(t1, t2, string);
  15628. },
  15629. SpanScanner: function SpanScanner(t0, t1, t2) {
  15630. var _ = this;
  15631. _._sourceFile = t0;
  15632. _.sourceUrl = t1;
  15633. _.string = t2;
  15634. _._string_scanner$_position = 0;
  15635. _._lastMatchPosition = _._lastMatch = null;
  15636. },
  15637. _SpanScannerState: function _SpanScannerState(t0, t1) {
  15638. this._scanner = t0;
  15639. this.position = t1;
  15640. },
  15641. StringScanner$(string, position, sourceUrl) {
  15642. var t1;
  15643. if (sourceUrl == null)
  15644. t1 = null;
  15645. else
  15646. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15647. return new A.StringScanner(t1, string);
  15648. },
  15649. StringScanner: function StringScanner(t0, t1) {
  15650. var _ = this;
  15651. _.sourceUrl = t0;
  15652. _.string = t1;
  15653. _._string_scanner$_position = 0;
  15654. _._lastMatchPosition = _._lastMatch = null;
  15655. },
  15656. AsciiGlyphSet: function AsciiGlyphSet() {
  15657. },
  15658. UnicodeGlyphSet: function UnicodeGlyphSet() {
  15659. },
  15660. Tuple2: function Tuple2(t0, t1, t2) {
  15661. this.item1 = t0;
  15662. this.item2 = t1;
  15663. this.$ti = t2;
  15664. },
  15665. Tuple3: function Tuple3(t0, t1, t2, t3) {
  15666. var _ = this;
  15667. _.item1 = t0;
  15668. _.item2 = t1;
  15669. _.item3 = t2;
  15670. _.$ti = t3;
  15671. },
  15672. Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
  15673. var _ = this;
  15674. _.item1 = t0;
  15675. _.item2 = t1;
  15676. _.item3 = t2;
  15677. _.item4 = t3;
  15678. _.$ti = t4;
  15679. },
  15680. WatchEvent: function WatchEvent(t0, t1) {
  15681. this.type = t0;
  15682. this.path = t1;
  15683. },
  15684. ChangeType: function ChangeType(t0) {
  15685. this._watch_event$_name = t0;
  15686. },
  15687. AnySelectorVisitor0: function AnySelectorVisitor0() {
  15688. },
  15689. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  15690. this.$this = t0;
  15691. },
  15692. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  15693. this.$this = t0;
  15694. },
  15695. SupportsAnything0: function SupportsAnything0(t0, t1) {
  15696. this.contents = t0;
  15697. this.span = t1;
  15698. },
  15699. Argument0: function Argument0(t0, t1, t2) {
  15700. this.name = t0;
  15701. this.defaultValue = t1;
  15702. this.span = t2;
  15703. },
  15704. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  15705. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  15706. },
  15707. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  15708. this.$arguments = t0;
  15709. this.restArgument = t1;
  15710. this.span = t2;
  15711. },
  15712. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  15713. },
  15714. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  15715. },
  15716. ArgumentInvocation$empty0(span) {
  15717. return new A.ArgumentInvocation0(B.List_empty21, B.Map_empty9, null, null, span);
  15718. },
  15719. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  15720. var _ = this;
  15721. _.positional = t0;
  15722. _.named = t1;
  15723. _.rest = t2;
  15724. _.keywordRest = t3;
  15725. _.span = t4;
  15726. },
  15727. argumentListClass_closure: function argumentListClass_closure() {
  15728. },
  15729. argumentListClass__closure: function argumentListClass__closure() {
  15730. },
  15731. argumentListClass__closure0: function argumentListClass__closure0() {
  15732. },
  15733. SassArgumentList$0(contents, keywords, separator) {
  15734. var t1 = type$.Value_2;
  15735. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15736. t1.SassList$3$brackets0(contents, separator, false);
  15737. return t1;
  15738. },
  15739. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  15740. var _ = this;
  15741. _._argument_list$_keywords = t0;
  15742. _._argument_list$_wereKeywordsAccessed = false;
  15743. _._list1$_contents = t1;
  15744. _._list1$_separator = t2;
  15745. _._list1$_hasBrackets = t3;
  15746. },
  15747. JSArray1: function JSArray1() {
  15748. },
  15749. AsyncImporter0: function AsyncImporter0() {
  15750. },
  15751. NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
  15752. this._async0$_canonicalize = t0;
  15753. this._load = t1;
  15754. },
  15755. AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
  15756. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
  15757. },
  15758. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
  15759. this.name = t0;
  15760. this._async_built_in0$_arguments = t1;
  15761. this._async_built_in0$_callback = t2;
  15762. },
  15763. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  15764. this.callback = t0;
  15765. },
  15766. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  15767. var $async$goto = 0,
  15768. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15769. $async$returnValue, t2, t3, t4, t0, stylesheet, result, t1;
  15770. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15771. if ($async$errorCode === 1)
  15772. return A._asyncRethrow($async$result, $async$completer);
  15773. while (true)
  15774. switch ($async$goto) {
  15775. case 0:
  15776. // Function start
  15777. t1 = type$.Deprecation_2;
  15778. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  15779. t1 = nodeImporter == null;
  15780. if (t1)
  15781. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  15782. else
  15783. t2 = false;
  15784. $async$goto = t2 ? 3 : 5;
  15785. break;
  15786. case 3:
  15787. // then
  15788. if (importCache == null)
  15789. importCache = A.AsyncImportCache$none(logger);
  15790. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  15791. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  15792. t3 = $.$get$context();
  15793. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  15794. t0 = t4;
  15795. t4 = t3;
  15796. t3 = t0;
  15797. } else {
  15798. t3 = $.$get$context();
  15799. t4 = t3.canonicalize$1(0, path);
  15800. t0 = t4;
  15801. t4 = t3;
  15802. t3 = t0;
  15803. }
  15804. $async$goto = 6;
  15805. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  15806. case 6:
  15807. // returning from await.
  15808. t4 = $async$result;
  15809. t4.toString;
  15810. stylesheet = t4;
  15811. // goto join
  15812. $async$goto = 4;
  15813. break;
  15814. case 5:
  15815. // else
  15816. t2 = A.readFile0(path);
  15817. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  15818. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  15819. case 4:
  15820. // join
  15821. $async$goto = 7;
  15822. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  15823. case 7:
  15824. // returning from await.
  15825. result = $async$result;
  15826. logger.summarize$1$node(!t1);
  15827. $async$returnValue = result;
  15828. // goto return
  15829. $async$goto = 1;
  15830. break;
  15831. case 1:
  15832. // return
  15833. return A._asyncReturn($async$returnValue, $async$completer);
  15834. }
  15835. });
  15836. return A._asyncStartSync($async$compileAsync0, $async$completer);
  15837. },
  15838. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  15839. var $async$goto = 0,
  15840. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15841. $async$returnValue, stylesheet, result, t1;
  15842. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15843. if ($async$errorCode === 1)
  15844. return A._asyncRethrow($async$result, $async$completer);
  15845. while (true)
  15846. switch ($async$goto) {
  15847. case 0:
  15848. // Function start
  15849. t1 = type$.Deprecation_2;
  15850. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  15851. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  15852. $async$goto = 3;
  15853. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  15854. case 3:
  15855. // returning from await.
  15856. result = $async$result;
  15857. logger.summarize$1$node(nodeImporter != null);
  15858. $async$returnValue = result;
  15859. // goto return
  15860. $async$goto = 1;
  15861. break;
  15862. case 1:
  15863. // return
  15864. return A._asyncReturn($async$returnValue, $async$completer);
  15865. }
  15866. });
  15867. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  15868. },
  15869. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  15870. var $async$goto = 0,
  15871. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15872. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  15873. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15874. if ($async$errorCode === 1)
  15875. return A._asyncRethrow($async$result, $async$completer);
  15876. while (true)
  15877. switch ($async$goto) {
  15878. case 0:
  15879. // Function start
  15880. $async$goto = 3;
  15881. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  15882. case 3:
  15883. // returning from await.
  15884. evaluateResult = $async$result;
  15885. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  15886. resultSourceMap = serializeResult.sourceMap;
  15887. if (resultSourceMap != null && importCache != null)
  15888. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  15889. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  15890. // goto return
  15891. $async$goto = 1;
  15892. break;
  15893. case 1:
  15894. // return
  15895. return A._asyncReturn($async$returnValue, $async$completer);
  15896. }
  15897. });
  15898. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  15899. },
  15900. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  15901. this.stylesheet = t0;
  15902. this.importCache = t1;
  15903. },
  15904. AsyncEnvironment$0() {
  15905. var t1 = type$.String,
  15906. t2 = type$.Module_AsyncCallable_2,
  15907. t3 = type$.AstNode_2,
  15908. t4 = type$.int,
  15909. t5 = type$.AsyncCallable_2,
  15910. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  15911. 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);
  15912. },
  15913. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  15914. var t1 = type$.String,
  15915. t2 = type$.int;
  15916. 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);
  15917. },
  15918. _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
  15919. var t1, t2, t3, t4, t5, t6;
  15920. if (forwarded == null)
  15921. forwarded = B.Set_empty5;
  15922. t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  15923. t2 = 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);
  15924. t3 = 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);
  15925. t4 = type$.Map_String_AsyncCallable_2;
  15926. t5 = type$.AsyncCallable_2;
  15927. t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t4), t5);
  15928. t5 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t4), t5);
  15929. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  15930. return A._EnvironmentModule$_2(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
  15931. },
  15932. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  15933. var modulesByVariable, t1, t2, t3, t4, t5;
  15934. if (forwarded.get$isEmpty(forwarded))
  15935. return B.Map_empty10;
  15936. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  15937. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  15938. t2 = t1.get$current(t1);
  15939. if (t2 instanceof A._EnvironmentModule2) {
  15940. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  15941. t4 = t3.get$current(t3);
  15942. t5 = t4.get$variables();
  15943. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  15944. }
  15945. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  15946. } else {
  15947. t3 = t2.get$variables();
  15948. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  15949. }
  15950. }
  15951. return modulesByVariable;
  15952. },
  15953. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  15954. var t1, t2, t3;
  15955. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  15956. if (otherMaps.get$isEmpty(otherMaps))
  15957. return localMap;
  15958. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  15959. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  15960. t3 = t2.get$current(t2);
  15961. if (t3.get$isNotEmpty(t3))
  15962. t1.push(t3);
  15963. }
  15964. t1.push(localMap);
  15965. if (t1.length === 1)
  15966. return localMap;
  15967. return A.MergedMapView$0(t1, type$.String, $V);
  15968. },
  15969. _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  15970. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  15971. },
  15972. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  15973. var _ = this;
  15974. _._async_environment0$_modules = t0;
  15975. _._async_environment0$_namespaceNodes = t1;
  15976. _._async_environment0$_globalModules = t2;
  15977. _._async_environment0$_importedModules = t3;
  15978. _._async_environment0$_forwardedModules = t4;
  15979. _._async_environment0$_nestedForwardedModules = t5;
  15980. _._async_environment0$_allModules = t6;
  15981. _._async_environment0$_variables = t7;
  15982. _._async_environment0$_variableNodes = t8;
  15983. _._async_environment0$_variableIndices = t9;
  15984. _._async_environment0$_functions = t10;
  15985. _._async_environment0$_functionIndices = t11;
  15986. _._async_environment0$_mixins = t12;
  15987. _._async_environment0$_mixinIndices = t13;
  15988. _._async_environment0$_content = t14;
  15989. _._async_environment0$_inMixin = false;
  15990. _._async_environment0$_inSemiGlobalScope = true;
  15991. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  15992. },
  15993. AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
  15994. },
  15995. AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
  15996. },
  15997. AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
  15998. },
  15999. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  16000. this.name = t0;
  16001. },
  16002. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  16003. this.$this = t0;
  16004. this.name = t1;
  16005. },
  16006. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  16007. this.name = t0;
  16008. },
  16009. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  16010. this.$this = t0;
  16011. this.name = t1;
  16012. },
  16013. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  16014. this.name = t0;
  16015. },
  16016. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  16017. this.name = t0;
  16018. },
  16019. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  16020. },
  16021. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  16022. },
  16023. AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
  16024. this.callback = t0;
  16025. this.T = t1;
  16026. },
  16027. AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
  16028. this.entry = t0;
  16029. this.T = t1;
  16030. },
  16031. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  16032. var _ = this;
  16033. _.upstream = t0;
  16034. _.variables = t1;
  16035. _.variableNodes = t2;
  16036. _.functions = t3;
  16037. _.mixins = t4;
  16038. _.extensionStore = t5;
  16039. _.css = t6;
  16040. _.transitivelyContainsCss = t7;
  16041. _.transitivelyContainsExtensions = t8;
  16042. _._async_environment0$_environment = t9;
  16043. _._async_environment0$_modulesByVariable = t10;
  16044. },
  16045. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  16046. },
  16047. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  16048. },
  16049. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  16050. },
  16051. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  16052. },
  16053. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  16054. },
  16055. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  16056. },
  16057. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  16058. var t4,
  16059. t1 = type$.Uri,
  16060. t2 = type$.Module_AsyncCallable_2,
  16061. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  16062. if (nodeImporter == null)
  16063. t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
  16064. else
  16065. t4 = null;
  16066. 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$.Tuple2_String_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);
  16067. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  16068. return t1;
  16069. },
  16070. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  16071. var _ = this;
  16072. _._async_evaluate0$_importCache = t0;
  16073. _._async_evaluate0$_nodeImporter = t1;
  16074. _._async_evaluate0$_builtInFunctions = t2;
  16075. _._async_evaluate0$_builtInModules = t3;
  16076. _._async_evaluate0$_modules = t4;
  16077. _._async_evaluate0$_moduleConfigurations = t5;
  16078. _._async_evaluate0$_moduleNodes = t6;
  16079. _._async_evaluate0$_logger = t7;
  16080. _._async_evaluate0$_warningsEmitted = t8;
  16081. _._async_evaluate0$_quietDeps = t9;
  16082. _._async_evaluate0$_sourceMap = t10;
  16083. _._async_evaluate0$_environment = t11;
  16084. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  16085. _._async_evaluate0$_member = "root stylesheet";
  16086. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  16087. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  16088. _._async_evaluate0$_loadedUrls = t12;
  16089. _._async_evaluate0$_activeModules = t13;
  16090. _._async_evaluate0$_stack = t14;
  16091. _._async_evaluate0$_importer = null;
  16092. _._async_evaluate0$_inDependency = false;
  16093. _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  16094. _._async_evaluate0$_configuration = t15;
  16095. },
  16096. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  16097. this.$this = t0;
  16098. },
  16099. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  16100. this.$this = t0;
  16101. },
  16102. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  16103. this.$this = t0;
  16104. },
  16105. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  16106. this.$this = t0;
  16107. },
  16108. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  16109. this.$this = t0;
  16110. },
  16111. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  16112. this.$this = t0;
  16113. },
  16114. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  16115. this.$this = t0;
  16116. },
  16117. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  16118. this.$this = t0;
  16119. },
  16120. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  16121. this.$this = t0;
  16122. this.name = t1;
  16123. this.module = t2;
  16124. },
  16125. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  16126. this.$this = t0;
  16127. },
  16128. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  16129. this.$this = t0;
  16130. },
  16131. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
  16132. this.values = t0;
  16133. this.span = t1;
  16134. this.callableNode = t2;
  16135. },
  16136. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
  16137. this.$this = t0;
  16138. },
  16139. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  16140. this.$this = t0;
  16141. this.node = t1;
  16142. this.importer = t2;
  16143. },
  16144. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  16145. this.$this = t0;
  16146. this.importer = t1;
  16147. this.node = t2;
  16148. },
  16149. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  16150. this.callback = t0;
  16151. this.builtInModule = t1;
  16152. },
  16153. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  16154. var _ = this;
  16155. _.$this = t0;
  16156. _.url = t1;
  16157. _.nodeWithSpan = t2;
  16158. _.baseUrl = t3;
  16159. _.namesInErrors = t4;
  16160. _.configuration = t5;
  16161. _.callback = t6;
  16162. },
  16163. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  16164. this.$this = t0;
  16165. this.message = t1;
  16166. },
  16167. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1) {
  16168. this._box_0 = t0;
  16169. this.callback = t1;
  16170. },
  16171. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
  16172. var _ = this;
  16173. _.$this = t0;
  16174. _.importer = t1;
  16175. _.stylesheet = t2;
  16176. _.extensionStore = t3;
  16177. _.configuration = t4;
  16178. _.css = t5;
  16179. },
  16180. _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
  16181. },
  16182. _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
  16183. this.selectors = t0;
  16184. },
  16185. _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
  16186. },
  16187. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  16188. this.originalSelectors = t0;
  16189. },
  16190. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  16191. },
  16192. _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
  16193. this.seen = t0;
  16194. this.sorted = t1;
  16195. },
  16196. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  16197. this.$this = t0;
  16198. this.node = t1;
  16199. },
  16200. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  16201. this.$this = t0;
  16202. this.node = t1;
  16203. },
  16204. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  16205. this.$this = t0;
  16206. this.newParent = t1;
  16207. this.node = t2;
  16208. },
  16209. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  16210. this.$this = t0;
  16211. this.innerScope = t1;
  16212. },
  16213. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  16214. this.$this = t0;
  16215. this.innerScope = t1;
  16216. },
  16217. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  16218. this.innerScope = t0;
  16219. this.callback = t1;
  16220. },
  16221. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  16222. this.$this = t0;
  16223. this.innerScope = t1;
  16224. },
  16225. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  16226. },
  16227. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  16228. this.$this = t0;
  16229. this.innerScope = t1;
  16230. },
  16231. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  16232. this.$this = t0;
  16233. this.content = t1;
  16234. },
  16235. _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
  16236. this.$this = t0;
  16237. },
  16238. _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
  16239. this.$this = t0;
  16240. this.children = t1;
  16241. },
  16242. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  16243. this.$this = t0;
  16244. this.node = t1;
  16245. this.nodeWithSpan = t2;
  16246. },
  16247. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  16248. this.$this = t0;
  16249. this.node = t1;
  16250. this.nodeWithSpan = t2;
  16251. },
  16252. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  16253. var _ = this;
  16254. _.$this = t0;
  16255. _.list = t1;
  16256. _.setVariables = t2;
  16257. _.node = t3;
  16258. },
  16259. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  16260. this.$this = t0;
  16261. this.setVariables = t1;
  16262. this.node = t2;
  16263. },
  16264. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  16265. this.$this = t0;
  16266. },
  16267. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  16268. this.$this = t0;
  16269. },
  16270. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  16271. this.$this = t0;
  16272. this.name = t1;
  16273. this.children = t2;
  16274. },
  16275. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  16276. this.$this = t0;
  16277. this.children = t1;
  16278. },
  16279. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  16280. },
  16281. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  16282. this.$this = t0;
  16283. this.node = t1;
  16284. },
  16285. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  16286. this.$this = t0;
  16287. this.node = t1;
  16288. },
  16289. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  16290. this.fromNumber = t0;
  16291. },
  16292. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  16293. this.toNumber = t0;
  16294. this.fromNumber = t1;
  16295. },
  16296. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  16297. var _ = this;
  16298. _._box_0 = t0;
  16299. _.$this = t1;
  16300. _.node = t2;
  16301. _.from = t3;
  16302. _.direction = t4;
  16303. _.fromNumber = t5;
  16304. },
  16305. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  16306. this.$this = t0;
  16307. },
  16308. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  16309. this.$this = t0;
  16310. this.node = t1;
  16311. },
  16312. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  16313. this.$this = t0;
  16314. this.node = t1;
  16315. },
  16316. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
  16317. this._box_0 = t0;
  16318. this.$this = t1;
  16319. },
  16320. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
  16321. this.$this = t0;
  16322. },
  16323. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  16324. this.$this = t0;
  16325. this.$import = t1;
  16326. },
  16327. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  16328. this.$this = t0;
  16329. },
  16330. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  16331. },
  16332. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  16333. },
  16334. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
  16335. var _ = this;
  16336. _.$this = t0;
  16337. _.result = t1;
  16338. _.stylesheet = t2;
  16339. _.loadsUserDefinedModules = t3;
  16340. _.environment = t4;
  16341. _.children = t5;
  16342. },
  16343. _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
  16344. this.$this = t0;
  16345. this.node = t1;
  16346. },
  16347. _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
  16348. this.node = t0;
  16349. },
  16350. _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
  16351. this.$this = t0;
  16352. },
  16353. _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
  16354. var _ = this;
  16355. _.$this = t0;
  16356. _.contentCallable = t1;
  16357. _.mixin = t2;
  16358. _.nodeWithSpan = t3;
  16359. },
  16360. _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
  16361. this.$this = t0;
  16362. this.mixin = t1;
  16363. this.nodeWithSpan = t2;
  16364. },
  16365. _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
  16366. this.$this = t0;
  16367. this.mixin = t1;
  16368. this.nodeWithSpan = t2;
  16369. },
  16370. _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
  16371. this.$this = t0;
  16372. this.statement = t1;
  16373. },
  16374. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  16375. this.$this = t0;
  16376. this.queries = t1;
  16377. },
  16378. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  16379. var _ = this;
  16380. _.$this = t0;
  16381. _.mergedQueries = t1;
  16382. _.queries = t2;
  16383. _.mergedSources = t3;
  16384. _.node = t4;
  16385. },
  16386. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  16387. this.$this = t0;
  16388. this.node = t1;
  16389. },
  16390. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  16391. this.$this = t0;
  16392. this.node = t1;
  16393. },
  16394. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  16395. this.mergedSources = t0;
  16396. },
  16397. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
  16398. this.$this = t0;
  16399. this.node = t1;
  16400. },
  16401. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
  16402. },
  16403. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1, t2) {
  16404. this.$this = t0;
  16405. this.rule = t1;
  16406. this.node = t2;
  16407. },
  16408. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  16409. this.$this = t0;
  16410. this.node = t1;
  16411. },
  16412. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  16413. },
  16414. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18() {
  16415. },
  16416. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  16417. this.$this = t0;
  16418. this.node = t1;
  16419. },
  16420. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  16421. this.$this = t0;
  16422. this.node = t1;
  16423. },
  16424. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  16425. },
  16426. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  16427. this.$this = t0;
  16428. this.node = t1;
  16429. this.override = t2;
  16430. },
  16431. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  16432. this.$this = t0;
  16433. this.node = t1;
  16434. },
  16435. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  16436. this.$this = t0;
  16437. this.node = t1;
  16438. this.value = t2;
  16439. },
  16440. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  16441. this.$this = t0;
  16442. this.node = t1;
  16443. },
  16444. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  16445. this.$this = t0;
  16446. this.node = t1;
  16447. },
  16448. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  16449. this.$this = t0;
  16450. this.node = t1;
  16451. },
  16452. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  16453. this.$this = t0;
  16454. },
  16455. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  16456. this.$this = t0;
  16457. this.node = t1;
  16458. },
  16459. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
  16460. },
  16461. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  16462. this.$this = t0;
  16463. this.node = t1;
  16464. },
  16465. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  16466. this.node = t0;
  16467. this.operand = t1;
  16468. },
  16469. _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
  16470. this.$this = t0;
  16471. this.node = t1;
  16472. this.inMinMax = t2;
  16473. },
  16474. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  16475. this.$this = t0;
  16476. },
  16477. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  16478. this.$this = t0;
  16479. this.node = t1;
  16480. },
  16481. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
  16482. this._box_0 = t0;
  16483. this.$this = t1;
  16484. this.node = t2;
  16485. },
  16486. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  16487. this.$this = t0;
  16488. this.node = t1;
  16489. this.$function = t2;
  16490. },
  16491. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  16492. var _ = this;
  16493. _.$this = t0;
  16494. _.callable = t1;
  16495. _.evaluated = t2;
  16496. _.nodeWithSpan = t3;
  16497. _.run = t4;
  16498. _.V = t5;
  16499. },
  16500. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  16501. var _ = this;
  16502. _.$this = t0;
  16503. _.evaluated = t1;
  16504. _.callable = t2;
  16505. _.nodeWithSpan = t3;
  16506. _.run = t4;
  16507. _.V = t5;
  16508. },
  16509. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  16510. var _ = this;
  16511. _.$this = t0;
  16512. _.evaluated = t1;
  16513. _.callable = t2;
  16514. _.nodeWithSpan = t3;
  16515. _.run = t4;
  16516. _.V = t5;
  16517. },
  16518. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  16519. },
  16520. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  16521. this.$this = t0;
  16522. this.callable = t1;
  16523. },
  16524. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  16525. this.overload = t0;
  16526. this.evaluated = t1;
  16527. this.namedSet = t2;
  16528. },
  16529. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  16530. this.callback = t0;
  16531. this.evaluated = t1;
  16532. },
  16533. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  16534. },
  16535. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  16536. },
  16537. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  16538. this.$this = t0;
  16539. this.restNodeForSpan = t1;
  16540. },
  16541. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  16542. var _ = this;
  16543. _.$this = t0;
  16544. _.named = t1;
  16545. _.restNodeForSpan = t2;
  16546. _.namedNodes = t3;
  16547. },
  16548. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  16549. },
  16550. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  16551. this.restArgs = t0;
  16552. },
  16553. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  16554. this.$this = t0;
  16555. this.restNodeForSpan = t1;
  16556. this.restArgs = t2;
  16557. },
  16558. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  16559. var _ = this;
  16560. _.$this = t0;
  16561. _.named = t1;
  16562. _.restNodeForSpan = t2;
  16563. _.restArgs = t3;
  16564. },
  16565. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  16566. this.$this = t0;
  16567. this.keywordRestNodeForSpan = t1;
  16568. this.keywordRestArgs = t2;
  16569. },
  16570. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  16571. var _ = this;
  16572. _.$this = t0;
  16573. _.values = t1;
  16574. _.convert = t2;
  16575. _.expressionNode = t3;
  16576. _.map = t4;
  16577. _.nodeWithSpan = t5;
  16578. },
  16579. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  16580. this.$arguments = t0;
  16581. this.positional = t1;
  16582. this.named = t2;
  16583. },
  16584. _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
  16585. this.$this = t0;
  16586. },
  16587. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  16588. this.$this = t0;
  16589. this.node = t1;
  16590. },
  16591. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  16592. },
  16593. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  16594. this.$this = t0;
  16595. this.node = t1;
  16596. },
  16597. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  16598. },
  16599. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  16600. this.$this = t0;
  16601. this.node = t1;
  16602. },
  16603. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  16604. var _ = this;
  16605. _.$this = t0;
  16606. _.mergedQueries = t1;
  16607. _.node = t2;
  16608. _.mergedSources = t3;
  16609. },
  16610. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  16611. this.$this = t0;
  16612. this.node = t1;
  16613. },
  16614. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  16615. this.$this = t0;
  16616. this.node = t1;
  16617. },
  16618. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  16619. this.mergedSources = t0;
  16620. },
  16621. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  16622. this.$this = t0;
  16623. this.rule = t1;
  16624. this.node = t2;
  16625. },
  16626. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  16627. this.$this = t0;
  16628. this.node = t1;
  16629. },
  16630. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  16631. },
  16632. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  16633. this.$this = t0;
  16634. this.node = t1;
  16635. },
  16636. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  16637. this.$this = t0;
  16638. this.node = t1;
  16639. },
  16640. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  16641. },
  16642. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  16643. this.value = t0;
  16644. this.quote = t1;
  16645. },
  16646. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  16647. this.$this = t0;
  16648. this.expression = t1;
  16649. },
  16650. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  16651. },
  16652. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  16653. this.$this = t0;
  16654. },
  16655. _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
  16656. this.$this = t0;
  16657. },
  16658. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  16659. this._async_evaluate0$_visitor = t0;
  16660. },
  16661. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  16662. },
  16663. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  16664. this.hasBeenMerged = t0;
  16665. },
  16666. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  16667. },
  16668. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  16669. },
  16670. EvaluateResult0: function EvaluateResult0(t0, t1) {
  16671. this.stylesheet = t0;
  16672. this.loadedUrls = t1;
  16673. },
  16674. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  16675. this._async_evaluate0$_visitor = t0;
  16676. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  16677. },
  16678. _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
  16679. var _ = this;
  16680. _.positional = t0;
  16681. _.positionalNodes = t1;
  16682. _.named = t2;
  16683. _.namedNodes = t3;
  16684. _.separator = t4;
  16685. },
  16686. _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
  16687. this.stylesheet = t0;
  16688. this.importer = t1;
  16689. this.isDependency = t2;
  16690. },
  16691. NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
  16692. this._findFileUrl = t0;
  16693. },
  16694. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  16695. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16696. t2 = type$.Uri,
  16697. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  16698. return new A.AsyncImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  16699. },
  16700. AsyncImportCache$none(logger) {
  16701. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16702. t2 = type$.Uri;
  16703. return new A.AsyncImportCache0(B.List_empty25, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  16704. },
  16705. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  16706. var sassPath, t2, t3, _i, path, _null = null,
  16707. t1 = J.get$env$x(self.process);
  16708. if (t1 == null)
  16709. t1 = type$.Object._as(t1);
  16710. sassPath = A._asStringQ(t1.SASS_PATH);
  16711. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  16712. if (importers != null)
  16713. B.JSArray_methods.addAll$1(t1, importers);
  16714. if (loadPaths != null)
  16715. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  16716. t3 = t2.get$current(t2);
  16717. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  16718. }
  16719. if (sassPath != null) {
  16720. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  16721. t3 = t2.length;
  16722. _i = 0;
  16723. for (; _i < t3; ++_i) {
  16724. path = t2[_i];
  16725. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  16726. }
  16727. }
  16728. return t1;
  16729. },
  16730. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  16731. var _ = this;
  16732. _._async_import_cache0$_importers = t0;
  16733. _._async_import_cache0$_logger = t1;
  16734. _._async_import_cache0$_canonicalizeCache = t2;
  16735. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  16736. _._async_import_cache0$_importCache = t4;
  16737. _._async_import_cache0$_resultsCache = t5;
  16738. },
  16739. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  16740. var _ = this;
  16741. _.$this = t0;
  16742. _.baseUrl = t1;
  16743. _.url = t2;
  16744. _.baseImporter = t3;
  16745. _.forImport = t4;
  16746. },
  16747. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
  16748. this.$this = t0;
  16749. this.url = t1;
  16750. this.forImport = t2;
  16751. },
  16752. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  16753. this.importer = t0;
  16754. this.url = t1;
  16755. },
  16756. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  16757. var _ = this;
  16758. _.$this = t0;
  16759. _.importer = t1;
  16760. _.canonicalUrl = t2;
  16761. _.originalUrl = t3;
  16762. _.quiet = t4;
  16763. },
  16764. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  16765. this.canonicalUrl = t0;
  16766. },
  16767. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
  16768. },
  16769. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  16770. },
  16771. AtRootQueryParser$0(contents, logger, url) {
  16772. var t1 = A.SpanScanner$(contents, url);
  16773. return new A.AtRootQueryParser0(t1, logger, null);
  16774. },
  16775. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  16776. this.scanner = t0;
  16777. this.logger = t1;
  16778. this._parser0$_interpolationMap = t2;
  16779. },
  16780. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  16781. this.$this = t0;
  16782. },
  16783. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  16784. var _ = this;
  16785. _.include = t0;
  16786. _.names = t1;
  16787. _._at_root_query0$_all = t2;
  16788. _._at_root_query0$_rule = t3;
  16789. },
  16790. AtRootRule$0(children, span, query) {
  16791. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  16792. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16793. return new A.AtRootRule0(query, span, t1, t2);
  16794. },
  16795. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  16796. var _ = this;
  16797. _.query = t0;
  16798. _.span = t1;
  16799. _.children = t2;
  16800. _.hasDeclarations = t3;
  16801. },
  16802. ModifiableCssAtRule$0($name, span, childless, value) {
  16803. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  16804. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  16805. },
  16806. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  16807. var _ = this;
  16808. _.name = t0;
  16809. _.value = t1;
  16810. _.isChildless = t2;
  16811. _.span = t3;
  16812. _.children = t4;
  16813. _._node0$_children = t5;
  16814. _._node0$_indexInParent = _._node0$_parent = null;
  16815. _.isGroupEnd = false;
  16816. },
  16817. AtRule$0($name, span, children, value) {
  16818. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  16819. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16820. return new A.AtRule0($name, value, span, t1, t2 === true);
  16821. },
  16822. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  16823. var _ = this;
  16824. _.name = t0;
  16825. _.value = t1;
  16826. _.span = t2;
  16827. _.children = t3;
  16828. _.hasDeclarations = t4;
  16829. },
  16830. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  16831. var _ = this;
  16832. _.name = t0;
  16833. _.op = t1;
  16834. _.value = t2;
  16835. _.modifier = t3;
  16836. _.span = t4;
  16837. },
  16838. AttributeOperator0: function AttributeOperator0(t0, t1) {
  16839. this._attribute0$_text = t0;
  16840. this._name = t1;
  16841. },
  16842. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  16843. var _ = this;
  16844. _.operator = t0;
  16845. _.left = t1;
  16846. _.right = t2;
  16847. _.allowsSlash = t3;
  16848. },
  16849. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  16850. var _ = this;
  16851. _.name = t0;
  16852. _.operator = t1;
  16853. _.precedence = t2;
  16854. _.isAssociative = t3;
  16855. _._name = t4;
  16856. },
  16857. BooleanExpression0: function BooleanExpression0(t0, t1) {
  16858. this.value = t0;
  16859. this.span = t1;
  16860. },
  16861. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  16862. },
  16863. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  16864. },
  16865. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  16866. },
  16867. booleanClass_closure: function booleanClass_closure() {
  16868. },
  16869. booleanClass__closure: function booleanClass__closure() {
  16870. },
  16871. SassBoolean0: function SassBoolean0(t0) {
  16872. this.value = t0;
  16873. },
  16874. Box0: function Box0(t0, t1) {
  16875. this._box0$_inner = t0;
  16876. this.$ti = t1;
  16877. },
  16878. ModifiableBox0: function ModifiableBox0(t0, t1) {
  16879. this.value = t0;
  16880. this.$ti = t1;
  16881. },
  16882. BuiltInCallable$function0($name, $arguments, callback, url) {
  16883. return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  16884. },
  16885. BuiltInCallable$mixin0($name, $arguments, callback, url) {
  16886. return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  16887. },
  16888. BuiltInCallable$overloadedFunction0($name, overloads) {
  16889. var t2, t3, t4, t5, t6, t7, t8,
  16890. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
  16891. for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration_2; t2.moveNext$0();) {
  16892. t7 = t2.get$current(t2);
  16893. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  16894. t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), t7.value, t3));
  16895. }
  16896. return new A.BuiltInCallable0($name, t1);
  16897. },
  16898. BuiltInCallable0: function BuiltInCallable0(t0, t1) {
  16899. this.name = t0;
  16900. this._built_in$_overloads = t1;
  16901. },
  16902. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  16903. this.callback = t0;
  16904. },
  16905. BuiltInModule$0($name, functions, mixins, variables, $T) {
  16906. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  16907. t2 = A.BuiltInModule__callableMap0(functions, $T),
  16908. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  16909. t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  16910. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  16911. },
  16912. BuiltInModule__callableMap0(callables, $T) {
  16913. var t2, _i, callable,
  16914. t1 = type$.String;
  16915. if (callables == null)
  16916. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16917. else {
  16918. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16919. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  16920. callable = callables[_i];
  16921. t1.$indexSet(0, J.get$name$x(callable), callable);
  16922. }
  16923. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16924. }
  16925. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16926. },
  16927. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  16928. var _ = this;
  16929. _.url = t0;
  16930. _.functions = t1;
  16931. _.mixins = t2;
  16932. _.variables = t3;
  16933. _.$ti = t4;
  16934. },
  16935. CalculationExpression__verifyArguments0($arguments) {
  16936. return A.List_List$unmodifiable(J.map$1$1$ax($arguments, new A.CalculationExpression__verifyArguments_closure0(), type$.dynamic), type$.Expression_2);
  16937. },
  16938. CalculationExpression__verify0(expression) {
  16939. var t1,
  16940. _s29_ = "Invalid calculation argument ";
  16941. if (expression instanceof A.NumberExpression0)
  16942. return;
  16943. if (expression instanceof A.CalculationExpression0)
  16944. return;
  16945. if (expression instanceof A.VariableExpression0)
  16946. return;
  16947. if (expression instanceof A.FunctionExpression0)
  16948. return;
  16949. if (expression instanceof A.IfExpression0)
  16950. return;
  16951. if (expression instanceof A.StringExpression0) {
  16952. if (expression.hasQuotes)
  16953. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16954. } else if (expression instanceof A.ParenthesizedExpression0)
  16955. A.CalculationExpression__verify0(expression.expression);
  16956. else if (expression instanceof A.BinaryOperationExpression0) {
  16957. A.CalculationExpression__verify0(expression.left);
  16958. A.CalculationExpression__verify0(expression.right);
  16959. t1 = expression.operator;
  16960. if (t1 === B.BinaryOperator_anB0)
  16961. return;
  16962. if (t1 === B.BinaryOperator_olz0)
  16963. return;
  16964. if (t1 === B.BinaryOperator_qN20)
  16965. return;
  16966. if (t1 === B.BinaryOperator_t8B0)
  16967. return;
  16968. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16969. } else
  16970. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16971. },
  16972. CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
  16973. this.name = t0;
  16974. this.$arguments = t1;
  16975. this.span = t2;
  16976. },
  16977. CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
  16978. },
  16979. SassCalculation_calc0(argument) {
  16980. argument = A.SassCalculation__simplify0(argument);
  16981. if (argument instanceof A.SassNumber0)
  16982. return argument;
  16983. if (argument instanceof A.SassCalculation0)
  16984. return argument;
  16985. return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
  16986. },
  16987. SassCalculation_min0($arguments) {
  16988. var minimum, _i, arg, t2,
  16989. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16990. t1 = args.length;
  16991. if (t1 === 0)
  16992. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  16993. for (minimum = null, _i = 0; _i < t1; ++_i) {
  16994. arg = args[_i];
  16995. if (arg instanceof A.SassNumber0)
  16996. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  16997. else
  16998. t2 = true;
  16999. if (t2) {
  17000. minimum = null;
  17001. break;
  17002. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  17003. minimum = arg;
  17004. }
  17005. if (minimum != null)
  17006. return minimum;
  17007. A.SassCalculation__verifyCompatibleNumbers0(args);
  17008. return new A.SassCalculation0("min", args);
  17009. },
  17010. SassCalculation_max0($arguments) {
  17011. var maximum, _i, arg, t2,
  17012. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  17013. t1 = args.length;
  17014. if (t1 === 0)
  17015. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  17016. for (maximum = null, _i = 0; _i < t1; ++_i) {
  17017. arg = args[_i];
  17018. if (arg instanceof A.SassNumber0)
  17019. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  17020. else
  17021. t2 = true;
  17022. if (t2) {
  17023. maximum = null;
  17024. break;
  17025. } else if (maximum == null || maximum.lessThan$1(arg).value)
  17026. maximum = arg;
  17027. }
  17028. if (maximum != null)
  17029. return maximum;
  17030. A.SassCalculation__verifyCompatibleNumbers0(args);
  17031. return new A.SassCalculation0("max", args);
  17032. },
  17033. SassCalculation_clamp0(min, value, max) {
  17034. var t1, args;
  17035. if (value == null && max != null)
  17036. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  17037. min = A.SassCalculation__simplify0(min);
  17038. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  17039. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  17040. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  17041. if (value.lessThanOrEquals$1(min).value)
  17042. return min;
  17043. if (value.greaterThanOrEquals$1(max).value)
  17044. return max;
  17045. return value;
  17046. }
  17047. t1 = [min];
  17048. if (value != null)
  17049. t1.push(value);
  17050. if (max != null)
  17051. t1.push(max);
  17052. args = A.List_List$unmodifiable(t1, type$.Object);
  17053. A.SassCalculation__verifyCompatibleNumbers0(args);
  17054. A.SassCalculation__verifyLength0(args, 3);
  17055. return new A.SassCalculation0("clamp", args);
  17056. },
  17057. SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
  17058. var t1, t2;
  17059. if (!simplify)
  17060. return new A.CalculationOperation0(operator, left, right);
  17061. left = A.SassCalculation__simplify0(left);
  17062. right = A.SassCalculation__simplify0(right);
  17063. t1 = operator === B.CalculationOperator_IyK0;
  17064. if (t1 || operator === B.CalculationOperator_2bx0) {
  17065. if (left instanceof A.SassNumber0)
  17066. if (right instanceof A.SassNumber0)
  17067. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  17068. else
  17069. t2 = false;
  17070. else
  17071. t2 = false;
  17072. if (t2)
  17073. return t1 ? left.plus$1(right) : left.minus$1(right);
  17074. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  17075. if (right instanceof A.SassNumber0) {
  17076. t2 = right._number1$_value;
  17077. t2 = t2 < 0 && !A.fuzzyEquals0(t2, 0);
  17078. } else
  17079. t2 = false;
  17080. if (t2) {
  17081. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  17082. operator = t1 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  17083. }
  17084. return new A.CalculationOperation0(operator, left, right);
  17085. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  17086. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  17087. else
  17088. return new A.CalculationOperation0(operator, left, right);
  17089. },
  17090. SassCalculation__simplify0(arg) {
  17091. var _s32_ = " can't be used in a calculation.";
  17092. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
  17093. return arg;
  17094. else if (arg instanceof A.SassString0) {
  17095. if (!arg._string0$_hasQuotes)
  17096. return arg;
  17097. throw A.wrapException(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, null));
  17098. } else if (arg instanceof A.SassCalculation0)
  17099. return arg.name === "calc" ? arg.$arguments[0] : arg;
  17100. else if (arg instanceof A.Value0)
  17101. throw A.wrapException(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, null));
  17102. else
  17103. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  17104. },
  17105. SassCalculation__verifyCompatibleNumbers0(args) {
  17106. var t1, _i, t2, arg, i, number1, j, number2;
  17107. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17108. arg = args[_i];
  17109. if (!(arg instanceof A.SassNumber0))
  17110. continue;
  17111. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  17112. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17113. }
  17114. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17115. number1 = args[i];
  17116. if (!(number1 instanceof A.SassNumber0))
  17117. continue;
  17118. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17119. number2 = args[j];
  17120. if (!(number2 instanceof A.SassNumber0))
  17121. continue;
  17122. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17123. continue;
  17124. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17125. }
  17126. }
  17127. },
  17128. SassCalculation__verifyLength0(args, expectedLength) {
  17129. var t1 = args.length;
  17130. if (t1 === expectedLength)
  17131. return;
  17132. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  17133. return;
  17134. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  17135. },
  17136. SassCalculation0: function SassCalculation0(t0, t1) {
  17137. this.name = t0;
  17138. this.$arguments = t1;
  17139. },
  17140. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  17141. },
  17142. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  17143. this.operator = t0;
  17144. this.left = t1;
  17145. this.right = t2;
  17146. },
  17147. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  17148. var _ = this;
  17149. _.name = t0;
  17150. _.operator = t1;
  17151. _.precedence = t2;
  17152. _._name = t3;
  17153. },
  17154. CalculationInterpolation0: function CalculationInterpolation0(t0) {
  17155. this.value = t0;
  17156. },
  17157. CallableDeclaration0: function CallableDeclaration0() {
  17158. },
  17159. Chokidar0: function Chokidar0() {
  17160. },
  17161. ChokidarOptions0: function ChokidarOptions0() {
  17162. },
  17163. ChokidarWatcher0: function ChokidarWatcher0() {
  17164. },
  17165. ClassSelector0: function ClassSelector0(t0, t1) {
  17166. this.name = t0;
  17167. this.span = t1;
  17168. },
  17169. cloneCssStylesheet0(stylesheet, extensionStore) {
  17170. var result = extensionStore.clone$0();
  17171. return new A.Tuple2(new A._CloneCssVisitor0(result.item2)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore_2);
  17172. },
  17173. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  17174. this._clone_css$_oldToNewSelectors = t0;
  17175. },
  17176. ColorExpression0: function ColorExpression0(t0, t1) {
  17177. this.value = t0;
  17178. this.span = t1;
  17179. },
  17180. _updateComponents0($arguments, adjust, change, scale) {
  17181. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  17182. t1 = J.getInterceptor$asx($arguments),
  17183. color = t1.$index($arguments, 0).assertColor$1("color"),
  17184. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  17185. if (argumentList._list1$_contents.length !== 0)
  17186. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  17187. argumentList._argument_list$_wereKeywordsAccessed = true;
  17188. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  17189. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  17190. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  17191. red = t1.call$2("red", 255);
  17192. green = t1.call$2("green", 255);
  17193. blue = t1.call$2("blue", 255);
  17194. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  17195. saturation = t1.call$3$checkPercent("saturation", 100, true);
  17196. lightness = t1.call$3$checkPercent("lightness", 100, true);
  17197. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  17198. blackness = t1.call$3$assertPercent("blackness", 100, true);
  17199. t1 = keywords.__js_helper$_length;
  17200. if (t1 !== 0)
  17201. throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.S(A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure2(), type$.Object), "or")) + ".", _null));
  17202. hasRgb = red != null || green != null || blue != null;
  17203. hasSL = saturation != null || lightness != null;
  17204. hasWB = whiteness != null || blackness != null;
  17205. if (hasRgb)
  17206. t1 = hasSL || hasWB || hue != null;
  17207. else
  17208. t1 = false;
  17209. if (t1)
  17210. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  17211. if (hasSL && hasWB)
  17212. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  17213. t1 = new A._updateComponents_updateValue0(change, adjust);
  17214. t2 = new A._updateComponents_updateRgb0(t1);
  17215. if (hasRgb) {
  17216. t3 = t2.call$2(color.get$red(color), red);
  17217. t4 = t2.call$2(color.get$green(color), green);
  17218. t2 = t2.call$2(color.get$blue(color), blue);
  17219. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  17220. } else if (hasWB) {
  17221. if (change)
  17222. t2 = hue;
  17223. else {
  17224. t2 = color.get$hue(color);
  17225. t2 += hue == null ? 0 : hue;
  17226. }
  17227. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  17228. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  17229. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  17230. } else {
  17231. t2 = hue == null;
  17232. if (!t2 || hasSL) {
  17233. if (change)
  17234. t2 = hue;
  17235. else {
  17236. t3 = color.get$hue(color);
  17237. t3 += t2 ? 0 : hue;
  17238. t2 = t3;
  17239. }
  17240. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  17241. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  17242. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  17243. } else if (alpha != null)
  17244. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  17245. else
  17246. return color;
  17247. }
  17248. },
  17249. _functionString0($name, $arguments) {
  17250. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  17251. },
  17252. _removedColorFunction0($name, argument, negative) {
  17253. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  17254. },
  17255. _rgb0($name, $arguments) {
  17256. var t2, red, green, blue,
  17257. t1 = J.getInterceptor$asx($arguments),
  17258. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  17259. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  17260. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  17261. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  17262. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  17263. t2 = t2 === true;
  17264. } else
  17265. t2 = true;
  17266. else
  17267. t2 = true;
  17268. else
  17269. t2 = true;
  17270. if (t2)
  17271. return A._functionString0($name, $arguments);
  17272. red = t1.$index($arguments, 0).assertNumber$1("red");
  17273. green = t1.$index($arguments, 1).assertNumber$1("green");
  17274. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  17275. return A.SassColor$rgbInternal0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), B._ColorFormatEnum_rgbFunction0);
  17276. },
  17277. _rgbTwoArg0($name, $arguments) {
  17278. var first, color,
  17279. t1 = J.getInterceptor$asx($arguments);
  17280. if (t1.$index($arguments, 0).get$isVar())
  17281. return A._functionString0($name, $arguments);
  17282. else if (t1.$index($arguments, 1).get$isVar()) {
  17283. first = t1.$index($arguments, 0);
  17284. if (first instanceof A.SassColor0)
  17285. return new A.SassString0($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  17286. else
  17287. return A._functionString0($name, $arguments);
  17288. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  17289. color = t1.$index($arguments, 0).assertColor$1("color");
  17290. return new A.SassString0($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  17291. }
  17292. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  17293. },
  17294. _hsl0($name, $arguments) {
  17295. var t2, hue, saturation, lightness,
  17296. _s10_ = "saturation",
  17297. _s9_ = "lightness",
  17298. t1 = J.getInterceptor$asx($arguments),
  17299. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  17300. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  17301. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  17302. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  17303. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  17304. t2 = t2 === true;
  17305. } else
  17306. t2 = true;
  17307. else
  17308. t2 = true;
  17309. else
  17310. t2 = true;
  17311. if (t2)
  17312. return A._functionString0($name, $arguments);
  17313. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  17314. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  17315. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  17316. A._checkPercent0(saturation, _s10_);
  17317. A._checkPercent0(lightness, _s9_);
  17318. return A.SassColor$hslInternal0(hue, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()), B._ColorFormatEnum_hslFunction0);
  17319. },
  17320. _angleValue0(angleValue, $name) {
  17321. var t1, t2,
  17322. angle = angleValue.assertNumber$1($name);
  17323. if (angle.compatibleWithUnit$1("deg"))
  17324. return angle.coerceValueToUnit$1("deg");
  17325. t1 = angle.toString$0(0);
  17326. t2 = angle.unitSuggestion$1($name);
  17327. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_0bn);
  17328. return angle._number1$_value;
  17329. },
  17330. _checkPercent0(number, $name) {
  17331. var t1, t2;
  17332. if (number.hasUnit$1("%"))
  17333. return;
  17334. t1 = number.toString$0(0);
  17335. t2 = number.unitSuggestion$2($name, "%");
  17336. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  17337. },
  17338. _hwb0($arguments) {
  17339. var _s9_ = "whiteness",
  17340. _s9_0 = "blackness",
  17341. t1 = J.getInterceptor$asx($arguments),
  17342. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  17343. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  17344. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  17345. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  17346. whiteness.assertUnit$2("%", _s9_);
  17347. blackness.assertUnit$2("%", _s9_0);
  17348. return A.SassColor_SassColor$hwb0(hue, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen0(alpha, new A._hwb_closure0()));
  17349. },
  17350. _parseChannels0($name, argumentNames, channels) {
  17351. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  17352. _s17_ = "$channels must be";
  17353. if (channels.get$isVar())
  17354. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17355. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  17356. list = channels.get$asList();
  17357. t1 = list.length;
  17358. if (t1 !== 2)
  17359. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  17360. channels0 = list[0];
  17361. alphaFromSlashList = list[1];
  17362. if (!alphaFromSlashList.get$isSpecialNumber())
  17363. alphaFromSlashList.assertNumber$1("alpha");
  17364. if (list[0].get$isVar())
  17365. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17366. } else {
  17367. alphaFromSlashList = _null;
  17368. channels0 = channels;
  17369. }
  17370. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  17371. isBracketed = channels0.get$hasBrackets();
  17372. if (isCommaSeparated || isBracketed) {
  17373. buffer = new A.StringBuffer(_s17_);
  17374. if (isBracketed) {
  17375. t1 = _s17_ + " an unbracketed";
  17376. buffer._contents = t1;
  17377. } else
  17378. t1 = _s17_;
  17379. if (isCommaSeparated) {
  17380. t1 += isBracketed ? "," : " a";
  17381. buffer._contents = t1;
  17382. t1 = buffer._contents = t1 + " space-separated";
  17383. }
  17384. buffer._contents = t1 + " list.";
  17385. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  17386. }
  17387. list = channels0.get$asList();
  17388. t1 = list.length;
  17389. if (t1 > 3)
  17390. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  17391. else if (t1 < 3) {
  17392. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  17393. if (list.length !== 0) {
  17394. t1 = B.JSArray_methods.get$last(list);
  17395. if (t1 instanceof A.SassString0)
  17396. if (t1._string0$_hasQuotes) {
  17397. t1 = t1._string0$_text;
  17398. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  17399. } else
  17400. t1 = false;
  17401. else
  17402. t1 = false;
  17403. } else
  17404. t1 = false;
  17405. else
  17406. t1 = true;
  17407. if (t1)
  17408. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17409. else
  17410. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  17411. }
  17412. if (alphaFromSlashList != null) {
  17413. t1 = A.List_List$of(list, true, type$.Value_2);
  17414. t1.push(alphaFromSlashList);
  17415. return t1;
  17416. }
  17417. maybeSlashSeparated = list[2];
  17418. if (maybeSlashSeparated instanceof A.SassNumber0) {
  17419. slash = maybeSlashSeparated.asSlash;
  17420. if (slash == null)
  17421. return list;
  17422. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
  17423. } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
  17424. return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  17425. else
  17426. return list;
  17427. },
  17428. _percentageOrUnitless0(number, max, $name) {
  17429. var value;
  17430. if (!number.get$hasUnits())
  17431. value = number._number1$_value;
  17432. else if (number.hasUnit$1("%"))
  17433. value = max * number._number1$_value / 100;
  17434. else
  17435. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  17436. return B.JSNumber_methods.clamp$2(value, 0, max);
  17437. },
  17438. _mixColors0(color1, color2, weight) {
  17439. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  17440. A._checkPercent0(weight, "weight");
  17441. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  17442. normalizedWeight = weightScale * 2 - 1;
  17443. t1 = color1._color1$_alpha;
  17444. t2 = color2._color1$_alpha;
  17445. alphaDistance = t1 - t2;
  17446. t3 = normalizedWeight * alphaDistance;
  17447. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  17448. weight2 = 1 - weight1;
  17449. return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound0(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound0(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  17450. },
  17451. _opacify0($arguments) {
  17452. var t1 = J.getInterceptor$asx($arguments),
  17453. color = t1.$index($arguments, 0).assertColor$1("color");
  17454. 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));
  17455. },
  17456. _transparentize0($arguments) {
  17457. var t1 = J.getInterceptor$asx($arguments),
  17458. color = t1.$index($arguments, 0).assertColor$1("color");
  17459. 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));
  17460. },
  17461. _function11($name, $arguments, callback) {
  17462. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  17463. },
  17464. global_closure30: function global_closure30() {
  17465. },
  17466. global_closure31: function global_closure31() {
  17467. },
  17468. global_closure32: function global_closure32() {
  17469. },
  17470. global_closure33: function global_closure33() {
  17471. },
  17472. global_closure34: function global_closure34() {
  17473. },
  17474. global_closure35: function global_closure35() {
  17475. },
  17476. global_closure36: function global_closure36() {
  17477. },
  17478. global_closure37: function global_closure37() {
  17479. },
  17480. global_closure38: function global_closure38() {
  17481. },
  17482. global_closure39: function global_closure39() {
  17483. },
  17484. global_closure40: function global_closure40() {
  17485. },
  17486. global_closure41: function global_closure41() {
  17487. },
  17488. global_closure42: function global_closure42() {
  17489. },
  17490. global_closure43: function global_closure43() {
  17491. },
  17492. global_closure44: function global_closure44() {
  17493. },
  17494. global_closure45: function global_closure45() {
  17495. },
  17496. global_closure46: function global_closure46() {
  17497. },
  17498. global_closure47: function global_closure47() {
  17499. },
  17500. global_closure48: function global_closure48() {
  17501. },
  17502. global_closure49: function global_closure49() {
  17503. },
  17504. global_closure50: function global_closure50() {
  17505. },
  17506. global_closure51: function global_closure51() {
  17507. },
  17508. global_closure52: function global_closure52() {
  17509. },
  17510. global_closure53: function global_closure53() {
  17511. },
  17512. global_closure54: function global_closure54() {
  17513. },
  17514. global_closure55: function global_closure55() {
  17515. },
  17516. global__closure0: function global__closure0() {
  17517. },
  17518. global_closure56: function global_closure56() {
  17519. },
  17520. module_closure10: function module_closure10() {
  17521. },
  17522. module_closure11: function module_closure11() {
  17523. },
  17524. module_closure12: function module_closure12() {
  17525. },
  17526. module_closure13: function module_closure13() {
  17527. },
  17528. module_closure14: function module_closure14() {
  17529. },
  17530. module_closure15: function module_closure15() {
  17531. },
  17532. module_closure16: function module_closure16() {
  17533. },
  17534. module_closure17: function module_closure17() {
  17535. },
  17536. module__closure4: function module__closure4() {
  17537. },
  17538. module_closure18: function module_closure18() {
  17539. },
  17540. _red_closure0: function _red_closure0() {
  17541. },
  17542. _green_closure0: function _green_closure0() {
  17543. },
  17544. _blue_closure0: function _blue_closure0() {
  17545. },
  17546. _mix_closure0: function _mix_closure0() {
  17547. },
  17548. _hue_closure0: function _hue_closure0() {
  17549. },
  17550. _saturation_closure0: function _saturation_closure0() {
  17551. },
  17552. _lightness_closure0: function _lightness_closure0() {
  17553. },
  17554. _complement_closure0: function _complement_closure0() {
  17555. },
  17556. _adjust_closure0: function _adjust_closure0() {
  17557. },
  17558. _scale_closure0: function _scale_closure0() {
  17559. },
  17560. _change_closure0: function _change_closure0() {
  17561. },
  17562. _ieHexStr_closure0: function _ieHexStr_closure0() {
  17563. },
  17564. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  17565. },
  17566. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  17567. this.keywords = t0;
  17568. this.scale = t1;
  17569. this.change = t2;
  17570. },
  17571. _updateComponents_closure1: function _updateComponents_closure1() {
  17572. },
  17573. _updateComponents_closure2: function _updateComponents_closure2() {
  17574. },
  17575. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  17576. this.change = t0;
  17577. this.adjust = t1;
  17578. },
  17579. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  17580. this.updateValue = t0;
  17581. },
  17582. _functionString_closure0: function _functionString_closure0() {
  17583. },
  17584. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  17585. this.name = t0;
  17586. this.argument = t1;
  17587. this.negative = t2;
  17588. },
  17589. _rgb_closure0: function _rgb_closure0() {
  17590. },
  17591. _hsl_closure0: function _hsl_closure0() {
  17592. },
  17593. _hwb_closure0: function _hwb_closure0() {
  17594. },
  17595. _parseChannels_closure0: function _parseChannels_closure0() {
  17596. },
  17597. _NodeSassColor: function _NodeSassColor() {
  17598. },
  17599. legacyColorClass_closure: function legacyColorClass_closure() {
  17600. },
  17601. legacyColorClass_closure0: function legacyColorClass_closure0() {
  17602. },
  17603. legacyColorClass_closure1: function legacyColorClass_closure1() {
  17604. },
  17605. legacyColorClass_closure2: function legacyColorClass_closure2() {
  17606. },
  17607. legacyColorClass_closure3: function legacyColorClass_closure3() {
  17608. },
  17609. legacyColorClass_closure4: function legacyColorClass_closure4() {
  17610. },
  17611. legacyColorClass_closure5: function legacyColorClass_closure5() {
  17612. },
  17613. legacyColorClass_closure6: function legacyColorClass_closure6() {
  17614. },
  17615. legacyColorClass_closure7: function legacyColorClass_closure7() {
  17616. },
  17617. colorClass_closure: function colorClass_closure() {
  17618. },
  17619. colorClass__closure: function colorClass__closure() {
  17620. },
  17621. colorClass__closure0: function colorClass__closure0() {
  17622. },
  17623. colorClass__closure1: function colorClass__closure1() {
  17624. },
  17625. colorClass__closure2: function colorClass__closure2() {
  17626. },
  17627. colorClass__closure3: function colorClass__closure3() {
  17628. },
  17629. colorClass__closure4: function colorClass__closure4() {
  17630. },
  17631. colorClass__closure5: function colorClass__closure5() {
  17632. },
  17633. colorClass__closure6: function colorClass__closure6() {
  17634. },
  17635. colorClass__closure7: function colorClass__closure7() {
  17636. },
  17637. colorClass__closure8: function colorClass__closure8() {
  17638. },
  17639. colorClass__closure9: function colorClass__closure9() {
  17640. },
  17641. _Channels: function _Channels() {
  17642. },
  17643. SassColor$rgb0(red, green, blue, alpha) {
  17644. var _null = null,
  17645. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17646. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17647. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17648. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17649. return t1;
  17650. },
  17651. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  17652. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17653. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17654. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17655. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17656. return t1;
  17657. },
  17658. SassColor$hsl(hue, saturation, lightness, alpha) {
  17659. var _null = null,
  17660. t1 = B.JSNumber_methods.$mod(hue, 360),
  17661. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17662. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17663. return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17664. },
  17665. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  17666. var t1 = B.JSNumber_methods.$mod(hue, 360),
  17667. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17668. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17669. return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17670. },
  17671. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  17672. var t2, t1 = {},
  17673. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  17674. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  17675. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  17676. sum = scaledWhiteness + scaledBlackness;
  17677. if (sum > 1) {
  17678. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  17679. scaledBlackness /= sum;
  17680. } else
  17681. t2 = scaledWhiteness;
  17682. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  17683. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  17684. },
  17685. SassColor__hueToRgb0(m1, m2, hue) {
  17686. if (hue < 0)
  17687. ++hue;
  17688. if (hue > 1)
  17689. --hue;
  17690. if (hue < 0.16666666666666666)
  17691. return m1 + (m2 - m1) * hue * 6;
  17692. else if (hue < 0.5)
  17693. return m2;
  17694. else if (hue < 0.6666666666666666)
  17695. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  17696. else
  17697. return m1;
  17698. },
  17699. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  17700. var _ = this;
  17701. _._color1$_red = t0;
  17702. _._color1$_green = t1;
  17703. _._color1$_blue = t2;
  17704. _._color1$_hue = t3;
  17705. _._color1$_saturation = t4;
  17706. _._color1$_lightness = t5;
  17707. _._color1$_alpha = t6;
  17708. _.format = t7;
  17709. },
  17710. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  17711. this._box_0 = t0;
  17712. this.factor = t1;
  17713. },
  17714. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  17715. this._color1$_name = t0;
  17716. },
  17717. SpanColorFormat0: function SpanColorFormat0(t0) {
  17718. this._color1$_span = t0;
  17719. },
  17720. Combinator0: function Combinator0(t0, t1) {
  17721. this._combinator0$_text = t0;
  17722. this._name = t1;
  17723. },
  17724. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  17725. var _ = this;
  17726. _.text = t0;
  17727. _.span = t1;
  17728. _._node0$_indexInParent = _._node0$_parent = null;
  17729. _.isGroupEnd = false;
  17730. },
  17731. compile0(path, options) {
  17732. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null,
  17733. t1 = options == null,
  17734. color0 = t1 ? _null : J.get$alertColor$x(options),
  17735. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17736. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17737. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17738. try {
  17739. t2 = t1 ? _null : J.get$loadPaths$x(options);
  17740. t3 = t1 ? _null : J.get$quietDeps$x(options);
  17741. if (t3 == null)
  17742. t3 = false;
  17743. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17744. t5 = t1 ? _null : J.get$verbose$x(options);
  17745. if (t5 == null)
  17746. t5 = false;
  17747. t6 = t1 ? _null : J.get$charset$x(options);
  17748. if (t6 == null)
  17749. t6 = true;
  17750. t7 = t1 ? _null : J.get$sourceMap$x(options);
  17751. if (t7 == null)
  17752. t7 = false;
  17753. t8 = t1 ? _null : J.get$logger$x(options);
  17754. t9 = ascii;
  17755. if (t9 == null)
  17756. t9 = $._glyphs === B.C_AsciiGlyphSet;
  17757. t9 = new A.NodeToDartLogger(t8, new A.StderrLogger0(color), t9);
  17758. if (t1)
  17759. t8 = _null;
  17760. else {
  17761. t8 = J.get$importers$x(options);
  17762. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  17763. }
  17764. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17765. result = A.compile(path, t6, _null, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable0>")), _null, A.ImportCache$0(t8, t2, t9, _null), _null, _null, t9, _null, t3, t7, t4, _null, true, t5);
  17766. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17767. if (t1 == null)
  17768. t1 = false;
  17769. t1 = A._convertResult(result, t1);
  17770. return t1;
  17771. } catch (exception) {
  17772. t1 = A.unwrapException(exception);
  17773. if (t1 instanceof A.SassException0) {
  17774. error = t1;
  17775. stackTrace = A.getTraceFromException(exception);
  17776. A.throwNodeException(error, ascii, color, stackTrace);
  17777. } else
  17778. throw exception;
  17779. }
  17780. },
  17781. compileString0(text, options) {
  17782. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  17783. t1 = options == null,
  17784. color0 = t1 ? _null : J.get$alertColor$x(options),
  17785. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17786. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17787. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17788. try {
  17789. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  17790. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  17791. t4 = t1 ? _null : J.get$loadPaths$x(options);
  17792. t5 = t1 ? _null : J.get$quietDeps$x(options);
  17793. if (t5 == null)
  17794. t5 = false;
  17795. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17796. t7 = t1 ? _null : J.get$verbose$x(options);
  17797. if (t7 == null)
  17798. t7 = false;
  17799. t8 = t1 ? _null : J.get$charset$x(options);
  17800. if (t8 == null)
  17801. t8 = true;
  17802. t9 = t1 ? _null : J.get$sourceMap$x(options);
  17803. if (t9 == null)
  17804. t9 = false;
  17805. t10 = t1 ? _null : J.get$logger$x(options);
  17806. t11 = ascii;
  17807. if (t11 == null)
  17808. t11 = $._glyphs === B.C_AsciiGlyphSet;
  17809. t11 = new A.NodeToDartLogger(t10, new A.StderrLogger0(color), t11);
  17810. if (t1)
  17811. t10 = _null;
  17812. else {
  17813. t10 = J.get$importers$x(options);
  17814. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  17815. }
  17816. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  17817. if (t12 == null)
  17818. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
  17819. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17820. result = A.compileString(text, t8, _null, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable0>")), _null, A.ImportCache$0(t10, t4, t11, _null), t12, _null, _null, t11, _null, t5, t9, t6, t2, t3, true, t7);
  17821. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17822. if (t1 == null)
  17823. t1 = false;
  17824. t1 = A._convertResult(result, t1);
  17825. return t1;
  17826. } catch (exception) {
  17827. t1 = A.unwrapException(exception);
  17828. if (t1 instanceof A.SassException0) {
  17829. error = t1;
  17830. stackTrace = A.getTraceFromException(exception);
  17831. A.throwNodeException(error, ascii, color, stackTrace);
  17832. } else
  17833. throw exception;
  17834. }
  17835. },
  17836. compileAsync1(path, options) {
  17837. var ascii,
  17838. t1 = options == null,
  17839. color = t1 ? null : J.get$alertColor$x(options);
  17840. if (color == null)
  17841. color = J.$eq$(self.process.stdout.isTTY, true);
  17842. ascii = t1 ? null : J.get$alertAscii$x(options);
  17843. if (ascii == null)
  17844. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17845. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  17846. },
  17847. compileStringAsync1(text, options) {
  17848. var ascii,
  17849. t1 = options == null,
  17850. color = t1 ? null : J.get$alertColor$x(options);
  17851. if (color == null)
  17852. color = J.$eq$(self.process.stdout.isTTY, true);
  17853. ascii = t1 ? null : J.get$alertAscii$x(options);
  17854. if (ascii == null)
  17855. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17856. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  17857. },
  17858. _convertResult(result, includeSourceContents) {
  17859. var loadedUrls,
  17860. t1 = result._compile_result$_serialize,
  17861. t2 = t1.sourceMap,
  17862. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  17863. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  17864. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  17865. t2 = result._evaluate.loadedUrls;
  17866. loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
  17867. t1 = t1.css;
  17868. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  17869. },
  17870. _wrapAsyncSassExceptions(promise, ascii, color) {
  17871. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  17872. },
  17873. _parseOutputStyle0(style) {
  17874. if (style == null || style === "expanded")
  17875. return B.OutputStyle_00;
  17876. if (style === "compressed")
  17877. return B.OutputStyle_10;
  17878. A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  17879. },
  17880. _parseAsyncImporter(importer) {
  17881. var t1, findFileUrl, canonicalize, load;
  17882. if (importer == null)
  17883. A.jsThrow(new self.Error("Importers may not be null."));
  17884. type$.NodeImporter._as(importer);
  17885. t1 = J.getInterceptor$x(importer);
  17886. findFileUrl = t1.get$findFileUrl(importer);
  17887. canonicalize = t1.get$canonicalize(importer);
  17888. load = t1.get$load(importer);
  17889. if (findFileUrl == null) {
  17890. if (canonicalize == null || load == null)
  17891. A.jsThrow(new self.Error(string$.An_impu));
  17892. return new A.NodeToDartAsyncImporter(canonicalize, load);
  17893. } else if (canonicalize != null || load != null)
  17894. A.jsThrow(new self.Error(string$.An_impa));
  17895. else
  17896. return new A.NodeToDartAsyncFileImporter(findFileUrl);
  17897. },
  17898. _parseImporter0(importer) {
  17899. var t1, findFileUrl, canonicalize, load;
  17900. if (importer == null)
  17901. A.jsThrow(new self.Error("Importers may not be null."));
  17902. type$.NodeImporter._as(importer);
  17903. t1 = J.getInterceptor$x(importer);
  17904. findFileUrl = t1.get$findFileUrl(importer);
  17905. canonicalize = t1.get$canonicalize(importer);
  17906. load = t1.get$load(importer);
  17907. if (findFileUrl == null) {
  17908. if (canonicalize == null || load == null)
  17909. A.jsThrow(new self.Error(string$.An_impu));
  17910. return new A.NodeToDartImporter(canonicalize, load);
  17911. } else if (canonicalize != null || load != null)
  17912. A.jsThrow(new self.Error(string$.An_impa));
  17913. else
  17914. return new A.NodeToDartFileImporter(findFileUrl);
  17915. },
  17916. _parseFunctions0(functions, asynch) {
  17917. var result;
  17918. if (functions == null)
  17919. return B.List_empty24;
  17920. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  17921. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  17922. return result;
  17923. },
  17924. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  17925. var _ = this;
  17926. _.path = t0;
  17927. _.color = t1;
  17928. _.options = t2;
  17929. _.ascii = t3;
  17930. },
  17931. compileAsync__closure: function compileAsync__closure() {
  17932. },
  17933. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  17934. var _ = this;
  17935. _.text = t0;
  17936. _.options = t1;
  17937. _.color = t2;
  17938. _.ascii = t3;
  17939. },
  17940. compileStringAsync__closure: function compileStringAsync__closure() {
  17941. },
  17942. compileStringAsync__closure0: function compileStringAsync__closure0() {
  17943. },
  17944. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  17945. this.color = t0;
  17946. this.ascii = t1;
  17947. },
  17948. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  17949. this.asynch = t0;
  17950. this.result = t1;
  17951. },
  17952. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  17953. this.callback = t0;
  17954. this.callable = t1;
  17955. },
  17956. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  17957. this.callback = t0;
  17958. this.callable = t1;
  17959. },
  17960. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  17961. var t2, t3, t4, t0, stylesheet, result, _null = null,
  17962. t1 = type$.Deprecation_2;
  17963. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  17964. t1 = nodeImporter == null;
  17965. if (t1)
  17966. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  17967. else
  17968. t2 = false;
  17969. if (t2) {
  17970. if (importCache == null)
  17971. importCache = A.ImportCache$none(logger);
  17972. t2 = A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  17973. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  17974. t3 = $.$get$context();
  17975. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  17976. t0 = t4;
  17977. t4 = t3;
  17978. t3 = t0;
  17979. } else {
  17980. t3 = $.$get$context();
  17981. t4 = t3.canonicalize$1(0, path);
  17982. t0 = t4;
  17983. t4 = t3;
  17984. t3 = t0;
  17985. }
  17986. t4 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path));
  17987. t4.toString;
  17988. stylesheet = t4;
  17989. } else {
  17990. t2 = A.readFile0(path);
  17991. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  17992. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  17993. }
  17994. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  17995. logger.summarize$1$node(!t1);
  17996. return result;
  17997. },
  17998. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  17999. var stylesheet, result, _null = null,
  18000. t1 = type$.Deprecation_2;
  18001. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  18002. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  18003. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  18004. logger.summarize$1$node(nodeImporter != null);
  18005. return result;
  18006. },
  18007. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  18008. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  18009. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  18010. resultSourceMap = serializeResult.sourceMap;
  18011. if (resultSourceMap != null && importCache != null)
  18012. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  18013. return new A.CompileResult0(evaluateResult, serializeResult);
  18014. },
  18015. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  18016. this.stylesheet = t0;
  18017. this.importCache = t1;
  18018. },
  18019. CompileOptions: function CompileOptions() {
  18020. },
  18021. CompileStringOptions: function CompileStringOptions() {
  18022. },
  18023. NodeCompileResult: function NodeCompileResult() {
  18024. },
  18025. CompileResult0: function CompileResult0(t0, t1) {
  18026. this._evaluate = t0;
  18027. this._compile_result$_serialize = t1;
  18028. },
  18029. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  18030. var _ = this;
  18031. _._complex0$_numeratorUnits = t0;
  18032. _._complex0$_denominatorUnits = t1;
  18033. _._number1$_value = t2;
  18034. _.hashCache = null;
  18035. _.asSlash = t3;
  18036. },
  18037. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  18038. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  18039. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  18040. if (t1.length === 0 && t2.length === 0)
  18041. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  18042. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  18043. },
  18044. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  18045. var _ = this;
  18046. _.leadingCombinators = t0;
  18047. _.components = t1;
  18048. _.lineBreak = t2;
  18049. _._complex$__ComplexSelector_specificity_FI = $;
  18050. _.span = t3;
  18051. },
  18052. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  18053. },
  18054. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  18055. this.selector = t0;
  18056. this.combinators = t1;
  18057. this.span = t2;
  18058. },
  18059. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  18060. },
  18061. CompoundSelector$0(components, span) {
  18062. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  18063. if (t1.length === 0)
  18064. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  18065. return new A.CompoundSelector0(t1, span);
  18066. },
  18067. CompoundSelector0: function CompoundSelector0(t0, t1) {
  18068. this.components = t0;
  18069. this._compound$__CompoundSelector_specificity_FI = $;
  18070. this.span = t1;
  18071. },
  18072. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  18073. },
  18074. Configuration0: function Configuration0(t0, t1) {
  18075. this._configuration$_values = t0;
  18076. this._configuration$__originalConfiguration = t1;
  18077. },
  18078. Configuration_toString_closure0: function Configuration_toString_closure0() {
  18079. },
  18080. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  18081. this.nodeWithSpan = t0;
  18082. this._configuration$_values = t1;
  18083. this._configuration$__originalConfiguration = t2;
  18084. },
  18085. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  18086. this.value = t0;
  18087. this.configurationSpan = t1;
  18088. this.assignmentNode = t2;
  18089. },
  18090. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  18091. var _ = this;
  18092. _.name = t0;
  18093. _.expression = t1;
  18094. _.isGuarded = t2;
  18095. _.span = t3;
  18096. },
  18097. ContentBlock$0($arguments, children, span) {
  18098. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18099. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18100. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  18101. },
  18102. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  18103. var _ = this;
  18104. _.name = t0;
  18105. _.$arguments = t1;
  18106. _.span = t2;
  18107. _.children = t3;
  18108. _.hasDeclarations = t4;
  18109. },
  18110. ContentRule0: function ContentRule0(t0, t1) {
  18111. this.$arguments = t0;
  18112. this.span = t1;
  18113. },
  18114. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  18115. },
  18116. CssParser0: function CssParser0(t0, t1, t2, t3) {
  18117. var _ = this;
  18118. _._stylesheet0$_isUseAllowed = true;
  18119. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  18120. _._stylesheet0$_globalVariables = t0;
  18121. _.lastSilentComment = null;
  18122. _.scanner = t1;
  18123. _.logger = t2;
  18124. _._parser0$_interpolationMap = t3;
  18125. },
  18126. DebugRule0: function DebugRule0(t0, t1) {
  18127. this.expression = t0;
  18128. this.span = t1;
  18129. },
  18130. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  18131. var t2,
  18132. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  18133. if (parsedAsCustomProperty)
  18134. if (!J.startsWith$1$s($name.value, "--"))
  18135. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  18136. else {
  18137. t2 = value.value;
  18138. if (!(t2 instanceof A.SassString0))
  18139. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(t2).toString$0(0) + ").", null));
  18140. }
  18141. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  18142. },
  18143. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  18144. var _ = this;
  18145. _.name = t0;
  18146. _.value = t1;
  18147. _.parsedAsCustomProperty = t2;
  18148. _.valueSpanForMap = t3;
  18149. _.span = t4;
  18150. _._node0$_indexInParent = _._node0$_parent = null;
  18151. _.isGroupEnd = false;
  18152. },
  18153. Declaration$0($name, value, span) {
  18154. return new A.Declaration0($name, value, span, null, false);
  18155. },
  18156. Declaration$nested0($name, children, span, value) {
  18157. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18158. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18159. return new A.Declaration0($name, value, span, t1, t2);
  18160. },
  18161. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  18162. var _ = this;
  18163. _.name = t0;
  18164. _.value = t1;
  18165. _.span = t2;
  18166. _.children = t3;
  18167. _.hasDeclarations = t4;
  18168. },
  18169. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  18170. this.name = t0;
  18171. this.value = t1;
  18172. this.span = t2;
  18173. },
  18174. Deprecation0: function Deprecation0(t0, t1, t2) {
  18175. this.id = t0;
  18176. this.isFuture = t1;
  18177. this._name = t2;
  18178. },
  18179. DeprecationHandlingLogger0: function DeprecationHandlingLogger0(t0, t1, t2, t3, t4) {
  18180. var _ = this;
  18181. _._deprecation_handling$_warningCounts = t0;
  18182. _._deprecation_handling$_inner = t1;
  18183. _.fatalDeprecations = t2;
  18184. _.futureDeprecations = t3;
  18185. _.limitRepetition = t4;
  18186. },
  18187. DeprecationHandlingLogger_summarize_closure1: function DeprecationHandlingLogger_summarize_closure1() {
  18188. },
  18189. DeprecationHandlingLogger_summarize_closure2: function DeprecationHandlingLogger_summarize_closure2() {
  18190. },
  18191. DynamicImport0: function DynamicImport0(t0, t1) {
  18192. this.urlString = t0;
  18193. this.span = t1;
  18194. },
  18195. EachRule$0(variables, list, children, span) {
  18196. var t1 = A.List_List$unmodifiable(variables, type$.String),
  18197. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  18198. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  18199. return new A.EachRule0(t1, list, span, t2, t3);
  18200. },
  18201. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  18202. var _ = this;
  18203. _.variables = t0;
  18204. _.list = t1;
  18205. _.span = t2;
  18206. _.children = t3;
  18207. _.hasDeclarations = t4;
  18208. },
  18209. EachRule_toString_closure0: function EachRule_toString_closure0() {
  18210. },
  18211. EmptyExtensionStore0: function EmptyExtensionStore0() {
  18212. },
  18213. Environment$0() {
  18214. var t1 = type$.String,
  18215. t2 = type$.Module_Callable_2,
  18216. t3 = type$.AstNode_2,
  18217. t4 = type$.int,
  18218. t5 = type$.Callable_2,
  18219. t6 = type$.JSArray_Map_String_Callable_2;
  18220. 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);
  18221. },
  18222. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  18223. var t1 = type$.String,
  18224. t2 = type$.int;
  18225. 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);
  18226. },
  18227. _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
  18228. var t1, t2, t3, t4, t5, t6;
  18229. if (forwarded == null)
  18230. forwarded = B.Set_empty3;
  18231. t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  18232. t2 = 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);
  18233. t3 = 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);
  18234. t4 = type$.Map_String_Callable_2;
  18235. t5 = type$.Callable_2;
  18236. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
  18237. t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
  18238. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  18239. return A._EnvironmentModule$_1(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
  18240. },
  18241. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  18242. var modulesByVariable, t1, t2, t3, t4, t5;
  18243. if (forwarded.get$isEmpty(forwarded))
  18244. return B.Map_empty6;
  18245. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  18246. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  18247. t2 = t1.get$current(t1);
  18248. if (t2 instanceof A._EnvironmentModule1) {
  18249. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  18250. t4 = t3.get$current(t3);
  18251. t5 = t4.get$variables();
  18252. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  18253. }
  18254. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  18255. } else {
  18256. t3 = t2.get$variables();
  18257. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  18258. }
  18259. }
  18260. return modulesByVariable;
  18261. },
  18262. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  18263. var t1, t2, t3;
  18264. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  18265. if (otherMaps.get$isEmpty(otherMaps))
  18266. return localMap;
  18267. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  18268. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  18269. t3 = t2.get$current(t2);
  18270. if (t3.get$isNotEmpty(t3))
  18271. t1.push(t3);
  18272. }
  18273. t1.push(localMap);
  18274. if (t1.length === 1)
  18275. return localMap;
  18276. return A.MergedMapView$0(t1, type$.String, $V);
  18277. },
  18278. _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  18279. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  18280. },
  18281. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  18282. var _ = this;
  18283. _._environment0$_modules = t0;
  18284. _._environment0$_namespaceNodes = t1;
  18285. _._environment0$_globalModules = t2;
  18286. _._environment0$_importedModules = t3;
  18287. _._environment0$_forwardedModules = t4;
  18288. _._environment0$_nestedForwardedModules = t5;
  18289. _._environment0$_allModules = t6;
  18290. _._environment0$_variables = t7;
  18291. _._environment0$_variableNodes = t8;
  18292. _._environment0$_variableIndices = t9;
  18293. _._environment0$_functions = t10;
  18294. _._environment0$_functionIndices = t11;
  18295. _._environment0$_mixins = t12;
  18296. _._environment0$_mixinIndices = t13;
  18297. _._environment0$_content = t14;
  18298. _._environment0$_inMixin = false;
  18299. _._environment0$_inSemiGlobalScope = true;
  18300. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  18301. },
  18302. Environment_importForwards_closure2: function Environment_importForwards_closure2() {
  18303. },
  18304. Environment_importForwards_closure3: function Environment_importForwards_closure3() {
  18305. },
  18306. Environment_importForwards_closure4: function Environment_importForwards_closure4() {
  18307. },
  18308. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  18309. this.name = t0;
  18310. },
  18311. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  18312. this.$this = t0;
  18313. this.name = t1;
  18314. },
  18315. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  18316. this.name = t0;
  18317. },
  18318. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  18319. this.$this = t0;
  18320. this.name = t1;
  18321. },
  18322. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  18323. this.name = t0;
  18324. },
  18325. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  18326. this.name = t0;
  18327. },
  18328. Environment_toModule_closure0: function Environment_toModule_closure0() {
  18329. },
  18330. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  18331. },
  18332. Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
  18333. this.callback = t0;
  18334. this.T = t1;
  18335. },
  18336. Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
  18337. this.entry = t0;
  18338. this.T = t1;
  18339. },
  18340. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  18341. var _ = this;
  18342. _.upstream = t0;
  18343. _.variables = t1;
  18344. _.variableNodes = t2;
  18345. _.functions = t3;
  18346. _.mixins = t4;
  18347. _.extensionStore = t5;
  18348. _.css = t6;
  18349. _.transitivelyContainsCss = t7;
  18350. _.transitivelyContainsExtensions = t8;
  18351. _._environment0$_environment = t9;
  18352. _._environment0$_modulesByVariable = t10;
  18353. },
  18354. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  18355. },
  18356. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  18357. },
  18358. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  18359. },
  18360. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  18361. },
  18362. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  18363. },
  18364. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  18365. },
  18366. ErrorRule0: function ErrorRule0(t0, t1) {
  18367. this.expression = t0;
  18368. this.span = t1;
  18369. },
  18370. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18371. var t4,
  18372. t1 = type$.Uri,
  18373. t2 = type$.Module_Callable_2,
  18374. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  18375. if (nodeImporter == null)
  18376. t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
  18377. else
  18378. t4 = null;
  18379. 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$.Tuple2_String_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);
  18380. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18381. return t1;
  18382. },
  18383. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18384. var _ = this;
  18385. _._evaluate0$_importCache = t0;
  18386. _._evaluate0$_nodeImporter = t1;
  18387. _._evaluate0$_builtInFunctions = t2;
  18388. _._evaluate0$_builtInModules = t3;
  18389. _._evaluate0$_modules = t4;
  18390. _._evaluate0$_moduleConfigurations = t5;
  18391. _._evaluate0$_moduleNodes = t6;
  18392. _._evaluate0$_logger = t7;
  18393. _._evaluate0$_warningsEmitted = t8;
  18394. _._evaluate0$_quietDeps = t9;
  18395. _._evaluate0$_sourceMap = t10;
  18396. _._evaluate0$_environment = t11;
  18397. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  18398. _._evaluate0$_member = "root stylesheet";
  18399. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  18400. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  18401. _._evaluate0$_loadedUrls = t12;
  18402. _._evaluate0$_activeModules = t13;
  18403. _._evaluate0$_stack = t14;
  18404. _._evaluate0$_importer = null;
  18405. _._evaluate0$_inDependency = false;
  18406. _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  18407. _._evaluate0$_configuration = t15;
  18408. },
  18409. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18410. this.$this = t0;
  18411. },
  18412. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18413. this.$this = t0;
  18414. },
  18415. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18416. this.$this = t0;
  18417. },
  18418. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18419. this.$this = t0;
  18420. },
  18421. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18422. this.$this = t0;
  18423. },
  18424. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18425. this.$this = t0;
  18426. },
  18427. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  18428. this.$this = t0;
  18429. },
  18430. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  18431. this.$this = t0;
  18432. },
  18433. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  18434. this.$this = t0;
  18435. this.name = t1;
  18436. this.module = t2;
  18437. },
  18438. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  18439. this.$this = t0;
  18440. },
  18441. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  18442. this.$this = t0;
  18443. },
  18444. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18445. this.values = t0;
  18446. this.span = t1;
  18447. this.callableNode = t2;
  18448. },
  18449. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
  18450. this.$this = t0;
  18451. },
  18452. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  18453. this.$this = t0;
  18454. this.node = t1;
  18455. this.importer = t2;
  18456. },
  18457. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  18458. this.$this = t0;
  18459. this.importer = t1;
  18460. this.node = t2;
  18461. },
  18462. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  18463. this.callback = t0;
  18464. this.builtInModule = t1;
  18465. },
  18466. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  18467. var _ = this;
  18468. _.$this = t0;
  18469. _.url = t1;
  18470. _.nodeWithSpan = t2;
  18471. _.baseUrl = t3;
  18472. _.namesInErrors = t4;
  18473. _.configuration = t5;
  18474. _.callback = t6;
  18475. },
  18476. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  18477. this.$this = t0;
  18478. this.message = t1;
  18479. },
  18480. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1) {
  18481. this._box_0 = t0;
  18482. this.callback = t1;
  18483. },
  18484. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
  18485. var _ = this;
  18486. _.$this = t0;
  18487. _.importer = t1;
  18488. _.stylesheet = t2;
  18489. _.extensionStore = t3;
  18490. _.configuration = t4;
  18491. _.css = t5;
  18492. },
  18493. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  18494. },
  18495. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  18496. this.selectors = t0;
  18497. },
  18498. _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
  18499. },
  18500. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  18501. this.originalSelectors = t0;
  18502. },
  18503. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  18504. },
  18505. _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
  18506. this.seen = t0;
  18507. this.sorted = t1;
  18508. },
  18509. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  18510. this.$this = t0;
  18511. this.node = t1;
  18512. },
  18513. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  18514. this.$this = t0;
  18515. this.node = t1;
  18516. },
  18517. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  18518. this.$this = t0;
  18519. this.newParent = t1;
  18520. this.node = t2;
  18521. },
  18522. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  18523. this.$this = t0;
  18524. this.innerScope = t1;
  18525. },
  18526. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  18527. this.$this = t0;
  18528. this.innerScope = t1;
  18529. },
  18530. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  18531. this.innerScope = t0;
  18532. this.callback = t1;
  18533. },
  18534. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  18535. this.$this = t0;
  18536. this.innerScope = t1;
  18537. },
  18538. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  18539. },
  18540. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  18541. this.$this = t0;
  18542. this.innerScope = t1;
  18543. },
  18544. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  18545. this.$this = t0;
  18546. this.content = t1;
  18547. },
  18548. _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
  18549. this.$this = t0;
  18550. },
  18551. _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
  18552. this.$this = t0;
  18553. this.children = t1;
  18554. },
  18555. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  18556. this.$this = t0;
  18557. this.node = t1;
  18558. this.nodeWithSpan = t2;
  18559. },
  18560. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  18561. this.$this = t0;
  18562. this.node = t1;
  18563. this.nodeWithSpan = t2;
  18564. },
  18565. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  18566. var _ = this;
  18567. _.$this = t0;
  18568. _.list = t1;
  18569. _.setVariables = t2;
  18570. _.node = t3;
  18571. },
  18572. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  18573. this.$this = t0;
  18574. this.setVariables = t1;
  18575. this.node = t2;
  18576. },
  18577. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  18578. this.$this = t0;
  18579. },
  18580. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  18581. this.$this = t0;
  18582. },
  18583. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  18584. this.$this = t0;
  18585. this.name = t1;
  18586. this.children = t2;
  18587. },
  18588. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  18589. this.$this = t0;
  18590. this.children = t1;
  18591. },
  18592. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  18593. },
  18594. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  18595. this.$this = t0;
  18596. this.node = t1;
  18597. },
  18598. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  18599. this.$this = t0;
  18600. this.node = t1;
  18601. },
  18602. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  18603. this.fromNumber = t0;
  18604. },
  18605. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  18606. this.toNumber = t0;
  18607. this.fromNumber = t1;
  18608. },
  18609. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  18610. var _ = this;
  18611. _._box_0 = t0;
  18612. _.$this = t1;
  18613. _.node = t2;
  18614. _.from = t3;
  18615. _.direction = t4;
  18616. _.fromNumber = t5;
  18617. },
  18618. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  18619. this.$this = t0;
  18620. },
  18621. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  18622. this.$this = t0;
  18623. this.node = t1;
  18624. },
  18625. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  18626. this.$this = t0;
  18627. this.node = t1;
  18628. },
  18629. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
  18630. this._box_0 = t0;
  18631. this.$this = t1;
  18632. },
  18633. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
  18634. this.$this = t0;
  18635. },
  18636. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  18637. this.$this = t0;
  18638. this.$import = t1;
  18639. },
  18640. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  18641. this.$this = t0;
  18642. },
  18643. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  18644. },
  18645. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  18646. },
  18647. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
  18648. var _ = this;
  18649. _.$this = t0;
  18650. _.result = t1;
  18651. _.stylesheet = t2;
  18652. _.loadsUserDefinedModules = t3;
  18653. _.environment = t4;
  18654. _.children = t5;
  18655. },
  18656. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
  18657. this.$this = t0;
  18658. this.node = t1;
  18659. },
  18660. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
  18661. this.node = t0;
  18662. },
  18663. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  18664. this.$this = t0;
  18665. },
  18666. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
  18667. var _ = this;
  18668. _.$this = t0;
  18669. _.contentCallable = t1;
  18670. _.mixin = t2;
  18671. _.nodeWithSpan = t3;
  18672. },
  18673. _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
  18674. this.$this = t0;
  18675. this.mixin = t1;
  18676. this.nodeWithSpan = t2;
  18677. },
  18678. _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
  18679. this.$this = t0;
  18680. this.mixin = t1;
  18681. this.nodeWithSpan = t2;
  18682. },
  18683. _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
  18684. this.$this = t0;
  18685. this.statement = t1;
  18686. },
  18687. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  18688. this.$this = t0;
  18689. this.queries = t1;
  18690. },
  18691. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  18692. var _ = this;
  18693. _.$this = t0;
  18694. _.mergedQueries = t1;
  18695. _.queries = t2;
  18696. _.mergedSources = t3;
  18697. _.node = t4;
  18698. },
  18699. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  18700. this.$this = t0;
  18701. this.node = t1;
  18702. },
  18703. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  18704. this.$this = t0;
  18705. this.node = t1;
  18706. },
  18707. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  18708. this.mergedSources = t0;
  18709. },
  18710. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
  18711. this.$this = t0;
  18712. this.node = t1;
  18713. },
  18714. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10() {
  18715. },
  18716. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
  18717. this.$this = t0;
  18718. this.rule = t1;
  18719. this.node = t2;
  18720. },
  18721. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  18722. this.$this = t0;
  18723. this.node = t1;
  18724. },
  18725. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  18726. },
  18727. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  18728. },
  18729. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  18730. this.$this = t0;
  18731. this.node = t1;
  18732. },
  18733. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  18734. this.$this = t0;
  18735. this.node = t1;
  18736. },
  18737. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  18738. },
  18739. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  18740. this.$this = t0;
  18741. this.node = t1;
  18742. this.override = t2;
  18743. },
  18744. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  18745. this.$this = t0;
  18746. this.node = t1;
  18747. },
  18748. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  18749. this.$this = t0;
  18750. this.node = t1;
  18751. this.value = t2;
  18752. },
  18753. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  18754. this.$this = t0;
  18755. this.node = t1;
  18756. },
  18757. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  18758. this.$this = t0;
  18759. this.node = t1;
  18760. },
  18761. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  18762. this.$this = t0;
  18763. this.node = t1;
  18764. },
  18765. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  18766. this.$this = t0;
  18767. },
  18768. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  18769. this.$this = t0;
  18770. this.node = t1;
  18771. },
  18772. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
  18773. },
  18774. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  18775. this.$this = t0;
  18776. this.node = t1;
  18777. },
  18778. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  18779. this.node = t0;
  18780. this.operand = t1;
  18781. },
  18782. _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
  18783. this.$this = t0;
  18784. this.node = t1;
  18785. this.inMinMax = t2;
  18786. },
  18787. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  18788. this.$this = t0;
  18789. },
  18790. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
  18791. this.$this = t0;
  18792. this.node = t1;
  18793. },
  18794. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18795. this._box_0 = t0;
  18796. this.$this = t1;
  18797. this.node = t2;
  18798. },
  18799. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  18800. this.$this = t0;
  18801. this.node = t1;
  18802. this.$function = t2;
  18803. },
  18804. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  18805. var _ = this;
  18806. _.$this = t0;
  18807. _.callable = t1;
  18808. _.evaluated = t2;
  18809. _.nodeWithSpan = t3;
  18810. _.run = t4;
  18811. _.V = t5;
  18812. },
  18813. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  18814. var _ = this;
  18815. _.$this = t0;
  18816. _.evaluated = t1;
  18817. _.callable = t2;
  18818. _.nodeWithSpan = t3;
  18819. _.run = t4;
  18820. _.V = t5;
  18821. },
  18822. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  18823. var _ = this;
  18824. _.$this = t0;
  18825. _.evaluated = t1;
  18826. _.callable = t2;
  18827. _.nodeWithSpan = t3;
  18828. _.run = t4;
  18829. _.V = t5;
  18830. },
  18831. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  18832. },
  18833. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  18834. this.$this = t0;
  18835. this.callable = t1;
  18836. },
  18837. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  18838. this.overload = t0;
  18839. this.evaluated = t1;
  18840. this.namedSet = t2;
  18841. },
  18842. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  18843. this.callback = t0;
  18844. this.evaluated = t1;
  18845. },
  18846. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  18847. },
  18848. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  18849. },
  18850. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  18851. this.$this = t0;
  18852. this.restNodeForSpan = t1;
  18853. },
  18854. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  18855. var _ = this;
  18856. _.$this = t0;
  18857. _.named = t1;
  18858. _.restNodeForSpan = t2;
  18859. _.namedNodes = t3;
  18860. },
  18861. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  18862. },
  18863. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  18864. this.restArgs = t0;
  18865. },
  18866. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  18867. this.$this = t0;
  18868. this.restNodeForSpan = t1;
  18869. this.restArgs = t2;
  18870. },
  18871. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  18872. var _ = this;
  18873. _.$this = t0;
  18874. _.named = t1;
  18875. _.restNodeForSpan = t2;
  18876. _.restArgs = t3;
  18877. },
  18878. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  18879. this.$this = t0;
  18880. this.keywordRestNodeForSpan = t1;
  18881. this.keywordRestArgs = t2;
  18882. },
  18883. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  18884. var _ = this;
  18885. _.$this = t0;
  18886. _.values = t1;
  18887. _.convert = t2;
  18888. _.expressionNode = t3;
  18889. _.map = t4;
  18890. _.nodeWithSpan = t5;
  18891. },
  18892. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  18893. this.$arguments = t0;
  18894. this.positional = t1;
  18895. this.named = t2;
  18896. },
  18897. _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
  18898. this.$this = t0;
  18899. },
  18900. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  18901. this.$this = t0;
  18902. this.node = t1;
  18903. },
  18904. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  18905. },
  18906. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  18907. this.$this = t0;
  18908. this.node = t1;
  18909. },
  18910. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  18911. },
  18912. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  18913. this.$this = t0;
  18914. this.node = t1;
  18915. },
  18916. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  18917. var _ = this;
  18918. _.$this = t0;
  18919. _.mergedQueries = t1;
  18920. _.node = t2;
  18921. _.mergedSources = t3;
  18922. },
  18923. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  18924. this.$this = t0;
  18925. this.node = t1;
  18926. },
  18927. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  18928. this.$this = t0;
  18929. this.node = t1;
  18930. },
  18931. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  18932. this.mergedSources = t0;
  18933. },
  18934. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
  18935. this.$this = t0;
  18936. this.rule = t1;
  18937. this.node = t2;
  18938. },
  18939. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  18940. this.$this = t0;
  18941. this.node = t1;
  18942. },
  18943. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
  18944. },
  18945. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  18946. this.$this = t0;
  18947. this.node = t1;
  18948. },
  18949. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  18950. this.$this = t0;
  18951. this.node = t1;
  18952. },
  18953. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  18954. },
  18955. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  18956. this.value = t0;
  18957. this.quote = t1;
  18958. },
  18959. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  18960. this.$this = t0;
  18961. this.expression = t1;
  18962. },
  18963. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  18964. },
  18965. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  18966. this.$this = t0;
  18967. },
  18968. _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
  18969. this.$this = t0;
  18970. },
  18971. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  18972. this._evaluate0$_visitor = t0;
  18973. },
  18974. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  18975. },
  18976. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  18977. this.hasBeenMerged = t0;
  18978. },
  18979. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  18980. },
  18981. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  18982. },
  18983. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  18984. this._evaluate0$_visitor = t0;
  18985. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  18986. },
  18987. _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
  18988. var _ = this;
  18989. _.positional = t0;
  18990. _.positionalNodes = t1;
  18991. _.named = t2;
  18992. _.namedNodes = t3;
  18993. _.separator = t4;
  18994. },
  18995. _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
  18996. this.stylesheet = t0;
  18997. this.importer = t1;
  18998. this.isDependency = t2;
  18999. },
  19000. EveryCssVisitor0: function EveryCssVisitor0() {
  19001. },
  19002. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  19003. this.$this = t0;
  19004. },
  19005. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  19006. this.$this = t0;
  19007. },
  19008. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  19009. this.$this = t0;
  19010. },
  19011. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  19012. this.$this = t0;
  19013. },
  19014. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  19015. this.$this = t0;
  19016. },
  19017. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  19018. this.$this = t0;
  19019. },
  19020. throwNodeException(exception, ascii, color, trace) {
  19021. var wasAscii, jsException, t1, trace0;
  19022. trace = trace;
  19023. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  19024. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  19025. try {
  19026. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  19027. jsException = type$._NodeException._as(t1);
  19028. trace0 = A.getTrace0(exception);
  19029. trace = trace0 == null ? trace : trace0;
  19030. if (trace != null)
  19031. A.attachJsStack(jsException, trace);
  19032. A.jsThrow(jsException);
  19033. } finally {
  19034. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  19035. }
  19036. },
  19037. _NodeException: function _NodeException() {
  19038. },
  19039. exceptionClass_closure: function exceptionClass_closure() {
  19040. },
  19041. exceptionClass__closure: function exceptionClass__closure() {
  19042. },
  19043. exceptionClass__closure0: function exceptionClass__closure0() {
  19044. },
  19045. exceptionClass__closure1: function exceptionClass__closure1() {
  19046. },
  19047. SassException$0(message, span) {
  19048. return new A.SassException0(message, span);
  19049. },
  19050. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans) {
  19051. return new A.MultiSpanSassException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  19052. },
  19053. SassRuntimeException$0(message, span, trace) {
  19054. return new A.SassRuntimeException0(trace, message, span);
  19055. },
  19056. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
  19057. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  19058. },
  19059. SassFormatException$0(message, span) {
  19060. return new A.SassFormatException0(message, span);
  19061. },
  19062. SassScriptException$0(message, argumentName) {
  19063. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  19064. },
  19065. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  19066. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  19067. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  19068. },
  19069. SassException0: function SassException0(t0, t1) {
  19070. this._span_exception$_message = t0;
  19071. this._span = t1;
  19072. },
  19073. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
  19074. var _ = this;
  19075. _.primaryLabel = t0;
  19076. _.secondarySpans = t1;
  19077. _._span_exception$_message = t2;
  19078. _._span = t3;
  19079. },
  19080. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
  19081. this.trace = t0;
  19082. this._span_exception$_message = t1;
  19083. this._span = t2;
  19084. },
  19085. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
  19086. var _ = this;
  19087. _.trace = t0;
  19088. _.primaryLabel = t1;
  19089. _.secondarySpans = t2;
  19090. _._span_exception$_message = t3;
  19091. _._span = t4;
  19092. },
  19093. SassFormatException0: function SassFormatException0(t0, t1) {
  19094. this._span_exception$_message = t0;
  19095. this._span = t1;
  19096. },
  19097. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3) {
  19098. var _ = this;
  19099. _.primaryLabel = t0;
  19100. _.secondarySpans = t1;
  19101. _._span_exception$_message = t2;
  19102. _._span = t3;
  19103. },
  19104. SassScriptException0: function SassScriptException0(t0) {
  19105. this.message = t0;
  19106. },
  19107. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  19108. this.primaryLabel = t0;
  19109. this.secondarySpans = t1;
  19110. this.message = t2;
  19111. },
  19112. Exports: function Exports() {
  19113. },
  19114. LoggerNamespace: function LoggerNamespace() {
  19115. },
  19116. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  19117. },
  19118. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  19119. },
  19120. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  19121. this.selector = t0;
  19122. this.isOptional = t1;
  19123. this.span = t2;
  19124. },
  19125. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  19126. var _ = this;
  19127. _.extender = t0;
  19128. _.target = t1;
  19129. _.mediaContext = t2;
  19130. _.isOptional = t3;
  19131. _.span = t4;
  19132. },
  19133. Extender0: function Extender0(t0, t1) {
  19134. this.selector = t0;
  19135. this.isOriginal = t1;
  19136. this._extension$_extension = null;
  19137. },
  19138. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  19139. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  19140. extender = A.ExtensionStore$_mode0(mode);
  19141. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  19142. extender._extension_store$_originals.addAll$1(0, selector.components);
  19143. 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) {
  19144. complex = t1[_i];
  19145. if (complex.leadingCombinators.length === 0) {
  19146. t9 = complex.components;
  19147. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  19148. } else
  19149. t9 = false;
  19150. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  19151. if (compound == null)
  19152. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  19153. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  19154. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  19155. simple = t10[_i0];
  19156. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  19157. for (_i1 = 0; _i1 < t4; ++_i1) {
  19158. complex = t3[_i1];
  19159. complex.get$specificity();
  19160. t13 = new A.Extender0(complex, false);
  19161. t14 = new A.Extension0(t13, simple, null, true, span);
  19162. t13._extension$_extension = t14;
  19163. t12.$indexSet(0, complex, t14);
  19164. }
  19165. t9.$indexSet(0, simple, t12);
  19166. }
  19167. selector = extender._extension_store$_extendList$2(selector, t9);
  19168. }
  19169. return selector;
  19170. },
  19171. ExtensionStore$0() {
  19172. var t1 = type$.SimpleSelector_2;
  19173. 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._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal_normal0);
  19174. },
  19175. ExtensionStore$_mode0(_mode) {
  19176. var t1 = type$.SimpleSelector_2;
  19177. 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._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  19178. },
  19179. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  19180. var _ = this;
  19181. _._extension_store$_selectors = t0;
  19182. _._extension_store$_extensions = t1;
  19183. _._extension_store$_extensionsByExtender = t2;
  19184. _._extension_store$_mediaContexts = t3;
  19185. _._extension_store$_sourceSpecificity = t4;
  19186. _._extension_store$_originals = t5;
  19187. _._extension_store$_mode = t6;
  19188. },
  19189. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  19190. },
  19191. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  19192. },
  19193. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  19194. },
  19195. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  19196. },
  19197. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  19198. this.complex = t0;
  19199. },
  19200. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  19201. },
  19202. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  19203. },
  19204. ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
  19205. this._box_0 = t0;
  19206. this.$this = t1;
  19207. },
  19208. ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
  19209. var _ = this;
  19210. _._box_0 = t0;
  19211. _.existingSources = t1;
  19212. _.extensionsForTarget = t2;
  19213. _.selectorsForTarget = t3;
  19214. _.target = t4;
  19215. },
  19216. ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
  19217. },
  19218. ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
  19219. this._box_0 = t0;
  19220. this.$this = t1;
  19221. },
  19222. ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
  19223. this.$this = t0;
  19224. this.newExtensions = t1;
  19225. },
  19226. ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
  19227. this.$this = t0;
  19228. this.newExtensions = t1;
  19229. },
  19230. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  19231. this._box_0 = t0;
  19232. this.$this = t1;
  19233. this.complex = t2;
  19234. },
  19235. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  19236. this._box_0 = t0;
  19237. this.$this = t1;
  19238. this.complex = t2;
  19239. },
  19240. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  19241. },
  19242. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  19243. },
  19244. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  19245. this.original = t0;
  19246. },
  19247. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  19248. this.$this = t0;
  19249. this.extensions = t1;
  19250. this.targetsUsed = t2;
  19251. },
  19252. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  19253. this.$this = t0;
  19254. this.withoutPseudo = t1;
  19255. },
  19256. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  19257. },
  19258. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  19259. },
  19260. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  19261. },
  19262. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  19263. },
  19264. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  19265. this.pseudo = t0;
  19266. },
  19267. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  19268. this.pseudo = t0;
  19269. this.selector = t1;
  19270. },
  19271. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  19272. this._box_0 = t0;
  19273. this.complex1 = t1;
  19274. },
  19275. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  19276. this._box_0 = t0;
  19277. this.complex1 = t1;
  19278. },
  19279. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  19280. var _ = this;
  19281. _.$this = t0;
  19282. _.newSelectors = t1;
  19283. _.oldToNewSelectors = t2;
  19284. _.newMediaContexts = t3;
  19285. },
  19286. FiberClass: function FiberClass() {
  19287. },
  19288. Fiber: function Fiber() {
  19289. },
  19290. NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
  19291. this._file0$_findFileUrl = t0;
  19292. },
  19293. FilesystemImporter$(loadPath) {
  19294. var _null = null;
  19295. return new A.FilesystemImporter0(A.absolute(loadPath, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  19296. },
  19297. FilesystemImporter0: function FilesystemImporter0(t0) {
  19298. this._filesystem$_loadPath = t0;
  19299. },
  19300. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  19301. },
  19302. ForRule$0(variable, from, to, children, span, exclusive) {
  19303. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19304. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19305. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  19306. },
  19307. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  19308. var _ = this;
  19309. _.variable = t0;
  19310. _.from = t1;
  19311. _.to = t2;
  19312. _.isExclusive = t3;
  19313. _.span = t4;
  19314. _.children = t5;
  19315. _.hasDeclarations = t6;
  19316. },
  19317. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  19318. var _ = this;
  19319. _.url = t0;
  19320. _.shownMixinsAndFunctions = t1;
  19321. _.shownVariables = t2;
  19322. _.hiddenMixinsAndFunctions = t3;
  19323. _.hiddenVariables = t4;
  19324. _.prefix = t5;
  19325. _.configuration = t6;
  19326. _.span = t7;
  19327. },
  19328. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  19329. var t1;
  19330. if (rule.prefix == null)
  19331. if (rule.shownMixinsAndFunctions == null)
  19332. if (rule.shownVariables == null) {
  19333. t1 = rule.hiddenMixinsAndFunctions;
  19334. if (t1 == null)
  19335. t1 = null;
  19336. else {
  19337. t1 = t1._base;
  19338. t1 = t1.get$isEmpty(t1);
  19339. }
  19340. if (t1 === true) {
  19341. t1 = rule.hiddenVariables;
  19342. if (t1 == null)
  19343. t1 = null;
  19344. else {
  19345. t1 = t1._base;
  19346. t1 = t1.get$isEmpty(t1);
  19347. }
  19348. t1 = t1 === true;
  19349. } else
  19350. t1 = false;
  19351. } else
  19352. t1 = false;
  19353. else
  19354. t1 = false;
  19355. else
  19356. t1 = false;
  19357. if (t1)
  19358. return inner;
  19359. else
  19360. return A.ForwardedModuleView$0(inner, rule, $T);
  19361. },
  19362. ForwardedModuleView$0(_inner, _rule, $T) {
  19363. var t1 = _rule.prefix,
  19364. t2 = _rule.shownVariables,
  19365. t3 = _rule.hiddenVariables,
  19366. t4 = _rule.shownMixinsAndFunctions,
  19367. t5 = _rule.hiddenMixinsAndFunctions;
  19368. 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>"));
  19369. },
  19370. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  19371. var t2,
  19372. t1 = prefix == null;
  19373. if (t1)
  19374. if (safelist == null)
  19375. if (blocklist != null) {
  19376. t2 = blocklist._base;
  19377. t2 = t2.get$isEmpty(t2);
  19378. } else
  19379. t2 = true;
  19380. else
  19381. t2 = false;
  19382. else
  19383. t2 = false;
  19384. if (t2)
  19385. return map;
  19386. if (!t1)
  19387. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  19388. if (safelist != null)
  19389. 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>"));
  19390. else {
  19391. if (blocklist != null) {
  19392. t1 = blocklist._base;
  19393. t1 = t1.get$isNotEmpty(t1);
  19394. } else
  19395. t1 = false;
  19396. if (t1)
  19397. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  19398. }
  19399. return map;
  19400. },
  19401. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  19402. var _ = this;
  19403. _._forwarded_view0$_inner = t0;
  19404. _._forwarded_view0$_rule = t1;
  19405. _.variables = t2;
  19406. _.variableNodes = t3;
  19407. _.functions = t4;
  19408. _.mixins = t5;
  19409. _.$ti = t6;
  19410. },
  19411. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  19412. var _ = this;
  19413. _.namespace = t0;
  19414. _.originalName = t1;
  19415. _.$arguments = t2;
  19416. _.span = t3;
  19417. },
  19418. JSFunction0: function JSFunction0() {
  19419. },
  19420. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  19421. this.name = t0;
  19422. this.$arguments = t1;
  19423. this.span = t2;
  19424. },
  19425. functionClass_closure: function functionClass_closure() {
  19426. },
  19427. functionClass__closure: function functionClass__closure() {
  19428. },
  19429. functionClass__closure0: function functionClass__closure0() {
  19430. },
  19431. SassFunction0: function SassFunction0(t0) {
  19432. this.callable = t0;
  19433. },
  19434. FunctionRule$0($name, $arguments, children, span, comment) {
  19435. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19436. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19437. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  19438. },
  19439. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  19440. var _ = this;
  19441. _.name = t0;
  19442. _.$arguments = t1;
  19443. _.span = t2;
  19444. _.children = t3;
  19445. _.hasDeclarations = t4;
  19446. },
  19447. unifyComplex0(complexes, span) {
  19448. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  19449. t1 = J.getInterceptor$asx(complexes);
  19450. if (t1.get$length(complexes) === 1)
  19451. return complexes;
  19452. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  19453. t3 = t2.get$current(t2);
  19454. if (t3.accept$1(B.C__IsUselessVisitor0))
  19455. return _null;
  19456. t4 = t3.components;
  19457. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  19458. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  19459. if (leadingCombinator != null)
  19460. t3 = !(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value));
  19461. else
  19462. t3 = false;
  19463. if (t3)
  19464. return _null;
  19465. leadingCombinator = newLeadingCombinator;
  19466. }
  19467. base = B.JSArray_methods.get$last(t4);
  19468. t3 = base.combinators;
  19469. if (t3.length !== 0) {
  19470. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  19471. if (trailingCombinator != null)
  19472. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  19473. else
  19474. t3 = false;
  19475. if (t3)
  19476. return _null;
  19477. trailingCombinator = newTrailingCombinator;
  19478. }
  19479. if (unifiedBase == null)
  19480. unifiedBase = base.selector.components;
  19481. else
  19482. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  19483. unifiedBase = t3[_i].unify$1(unifiedBase);
  19484. if (unifiedBase == null)
  19485. return _null;
  19486. }
  19487. }
  19488. t2 = type$.JSArray_ComplexSelector_2;
  19489. t3 = A._setArrayType([], t2);
  19490. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  19491. t5 = t4.get$current(t4);
  19492. t6 = t5.components;
  19493. t7 = t6.length;
  19494. if (t7 > 1) {
  19495. t8 = t5.leadingCombinators;
  19496. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  19497. }
  19498. }
  19499. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  19500. unifiedBase.toString;
  19501. t5 = A.CompoundSelector$0(unifiedBase, span);
  19502. t6 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  19503. 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()));
  19504. if (t3.length === 0)
  19505. t1 = A._setArrayType([base], t2);
  19506. else {
  19507. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  19508. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  19509. }
  19510. return A.weave0(t1, span, false);
  19511. },
  19512. unifyCompound0(compound1, compound2) {
  19513. var t1, t2, _i, unified,
  19514. result = compound2.components;
  19515. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  19516. unified = t1[_i].unify$1(result);
  19517. if (unified == null)
  19518. return null;
  19519. }
  19520. return A.CompoundSelector$0(result, compound1.span);
  19521. },
  19522. unifyUniversalAndElement0(selector1, selector2) {
  19523. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  19524. _s45_ = string$.must_b;
  19525. if (selector1 instanceof A.UniversalSelector0) {
  19526. namespace1 = selector1.namespace;
  19527. name1 = _null;
  19528. } else if (selector1 instanceof A.TypeSelector0) {
  19529. t1 = selector1.name;
  19530. namespace1 = t1.namespace;
  19531. name1 = t1.name;
  19532. } else
  19533. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  19534. if (selector2 instanceof A.UniversalSelector0) {
  19535. namespace2 = selector2.namespace;
  19536. name2 = _null;
  19537. } else if (selector2 instanceof A.TypeSelector0) {
  19538. t1 = selector2.name;
  19539. namespace2 = t1.namespace;
  19540. name2 = t1.name;
  19541. } else
  19542. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  19543. if (namespace1 == namespace2 || namespace2 === "*")
  19544. namespace = namespace1;
  19545. else {
  19546. if (namespace1 !== "*")
  19547. return _null;
  19548. namespace = namespace2;
  19549. }
  19550. if (name1 == name2 || name2 == null)
  19551. $name = name1;
  19552. else {
  19553. if (!(name1 == null || name1 === "*"))
  19554. return _null;
  19555. $name = name2;
  19556. }
  19557. t1 = selector1.span;
  19558. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  19559. },
  19560. weave0(complexes, span, forceLineBreak) {
  19561. var complex, t2, prefixes, t3, t4, t5, i, t6, t7, _i, t8, t9, _i0, parentPrefix, t10, t11,
  19562. t1 = J.getInterceptor$asx(complexes);
  19563. if (t1.get$length(complexes) === 1) {
  19564. complex = t1.get$first(complexes);
  19565. if (!forceLineBreak || complex.lineBreak)
  19566. return complexes;
  19567. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  19568. }
  19569. t2 = type$.JSArray_ComplexSelector_2;
  19570. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  19571. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.ComplexSelectorComponent_2; t1.moveNext$0();) {
  19572. t4 = t1.get$current(t1);
  19573. t5 = t4.components;
  19574. if (t5.length === 1) {
  19575. for (i = 0; i < prefixes.length; ++i)
  19576. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t4, span, forceLineBreak);
  19577. continue;
  19578. }
  19579. t6 = A._setArrayType([], t2);
  19580. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  19581. t8 = A._weaveParents0(prefixes[_i], t4, span);
  19582. if (t8 == null)
  19583. t8 = B.List_empty15;
  19584. t9 = t8.length;
  19585. _i0 = 0;
  19586. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  19587. parentPrefix = t8[_i0];
  19588. t10 = B.JSArray_methods.get$last(t5);
  19589. t11 = A.List_List$of(parentPrefix.components, true, t3);
  19590. t11.push(t10);
  19591. t10 = parentPrefix.lineBreak || forceLineBreak;
  19592. t6.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t11, span, t10));
  19593. }
  19594. }
  19595. prefixes = t6;
  19596. }
  19597. return prefixes;
  19598. },
  19599. _weaveParents0(prefix, base, span) {
  19600. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, rootish, t2, t3, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  19601. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  19602. if (leadingCombinators == null)
  19603. return _null;
  19604. t1 = type$.ComplexSelectorComponent_2;
  19605. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  19606. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast0(base.components), t1);
  19607. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  19608. if (trailingCombinators == null)
  19609. return _null;
  19610. rootish1 = A._firstIfRootish0(queue1);
  19611. rootish2 = A._firstIfRootish0(queue2);
  19612. t1 = rootish1 == null;
  19613. if (!t1 && rootish2 != null) {
  19614. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  19615. if (rootish == null)
  19616. return _null;
  19617. t1 = rootish1.combinators;
  19618. t2 = rootish1.span;
  19619. t3 = type$.CssValue_Combinator_2;
  19620. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  19621. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  19622. } else if (!t1 || rootish2 != null) {
  19623. t1 = t1 ? rootish2 : rootish1;
  19624. t1.toString;
  19625. queue1.addFirst$1(t1);
  19626. queue2.addFirst$1(t1);
  19627. }
  19628. groups1 = A._groupSelectors0(queue1);
  19629. groups2 = A._groupSelectors0(queue2);
  19630. t1 = type$.List_ComplexSelectorComponent_2;
  19631. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  19632. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  19633. 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) {
  19634. group = lcs[_i];
  19635. t5 = A._setArrayType([], t3);
  19636. 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) {
  19637. chunk = t6[_i0];
  19638. t8 = A._setArrayType([], t4);
  19639. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  19640. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  19641. t5.push(t8);
  19642. }
  19643. choices.push(t5);
  19644. choices.push(A._setArrayType([group], t3));
  19645. groups1.removeFirst$0();
  19646. groups2.removeFirst$0();
  19647. }
  19648. t2 = A._setArrayType([], t3);
  19649. 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) {
  19650. chunk = t1[_i];
  19651. t5 = A._setArrayType([], t4);
  19652. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  19653. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  19654. t2.push(t5);
  19655. }
  19656. choices.push(t2);
  19657. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  19658. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  19659. 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();) {
  19660. t6 = t2.get$current(t2);
  19661. t7 = A._setArrayType([], t4);
  19662. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  19663. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  19664. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  19665. }
  19666. return t1;
  19667. },
  19668. _firstIfRootish0(queue) {
  19669. var first, t1, t2, _i, simple;
  19670. if (queue._collection$_head === queue._collection$_tail)
  19671. return null;
  19672. first = queue.get$first(queue);
  19673. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  19674. simple = t1[_i];
  19675. if (simple instanceof A.PseudoSelector0 && simple.isClass && $._rootishPseudoClasses0.contains$1(0, simple.normalizedName)) {
  19676. queue.removeFirst$0();
  19677. return first;
  19678. }
  19679. }
  19680. return null;
  19681. },
  19682. _mergeLeadingCombinators0(combinators1, combinators2) {
  19683. var t2, _null = null,
  19684. t1 = combinators1.length;
  19685. if (t1 > 1)
  19686. return _null;
  19687. t2 = combinators2.length;
  19688. if (t2 > 1)
  19689. return _null;
  19690. if (t1 === 0)
  19691. return combinators2;
  19692. if (t2 === 0)
  19693. return combinators1;
  19694. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  19695. },
  19696. _mergeTrailingCombinators0(components1, components2, span, result) {
  19697. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  19698. if (result == null)
  19699. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  19700. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty14 : components1.get$last(components1).combinators;
  19701. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty14 : components2.get$last(components2).combinators;
  19702. t1 = combinators1.length;
  19703. t2 = t1 === 0;
  19704. if (t2 && combinators2.length === 0)
  19705. return result;
  19706. if (t1 > 1 || combinators2.length > 1)
  19707. return _null;
  19708. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  19709. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  19710. t1 = combinator1 != null;
  19711. if (t1 && combinator2 != null) {
  19712. component1 = components1.removeLast$0(0);
  19713. component2 = components2.removeLast$0(0);
  19714. t1 = combinator1.value;
  19715. t2 = t1 === B.Combinator_Htt0;
  19716. if (t2 && combinator2.value === B.Combinator_Htt0) {
  19717. t1 = component1.selector;
  19718. t2 = component2.selector;
  19719. if (A.compoundIsSuperselector0(t1, t2, _null))
  19720. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19721. else {
  19722. t3 = type$.JSArray_ComplexSelectorComponent_2;
  19723. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  19724. if (A.compoundIsSuperselector0(t2, t1, _null))
  19725. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  19726. else {
  19727. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  19728. unified = A.unifyCompound0(t1, t2);
  19729. if (unified != null)
  19730. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], t3));
  19731. result.addFirst$1(choices);
  19732. }
  19733. }
  19734. } else {
  19735. if (!(t2 && combinator2.value === B.Combinator_4QF0))
  19736. t3 = t1 === B.Combinator_4QF0 && combinator2.value === B.Combinator_Htt0;
  19737. else
  19738. t3 = true;
  19739. if (t3) {
  19740. followingSiblingComponent = t2 ? component1 : component2;
  19741. nextSiblingComponent = t2 ? component2 : component1;
  19742. t1 = type$.JSArray_ComplexSelectorComponent_2;
  19743. t2 = type$.JSArray_List_ComplexSelectorComponent_2;
  19744. if (A.compoundIsSuperselector0(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  19745. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  19746. else {
  19747. unified = A.unifyCompound0(component1.selector, component2.selector);
  19748. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  19749. if (unified != null)
  19750. t2.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(nextSiblingComponent.combinators, type$.CssValue_Combinator_2), span)], t1));
  19751. result.addFirst$1(t2);
  19752. }
  19753. } else {
  19754. if (t1 === B.Combinator_Cht0) {
  19755. t3 = combinator2.value;
  19756. t3 = t3 === B.Combinator_4QF0 || t3 === B.Combinator_Htt0;
  19757. } else
  19758. t3 = false;
  19759. if (t3) {
  19760. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19761. components1._add$1(component1);
  19762. } else {
  19763. if (combinator2.value === B.Combinator_Cht0)
  19764. t1 = t1 === B.Combinator_4QF0 || t2;
  19765. else
  19766. t1 = false;
  19767. if (t1) {
  19768. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19769. components2._add$1(component2);
  19770. } else if (combinator1.$eq(0, combinator2)) {
  19771. unified = A.unifyCompound0(component1.selector, component2.selector);
  19772. if (unified == null)
  19773. return _null;
  19774. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19775. } else
  19776. return _null;
  19777. }
  19778. }
  19779. }
  19780. return A._mergeTrailingCombinators0(components1, components2, span, result);
  19781. } else if (t1) {
  19782. if (combinator1.value === B.Combinator_Cht0 && !components2.get$isEmpty(components2) && A.compoundIsSuperselector0(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  19783. components2.removeLast$0(0);
  19784. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19785. return A._mergeTrailingCombinators0(components1, components2, span, result);
  19786. } else {
  19787. if (J.$eq$(combinator2 == null ? _null : combinator2.value, B.Combinator_Cht0) && !components1.get$isEmpty(components1) && A.compoundIsSuperselector0(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  19788. components1.removeLast$0(0);
  19789. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19790. return A._mergeTrailingCombinators0(components1, components2, span, result);
  19791. }
  19792. },
  19793. _mustUnify0(complex1, complex2) {
  19794. var t2, t3, t4,
  19795. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  19796. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  19797. 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();)
  19798. t1.add$1(0, t3.get$current(t3));
  19799. if (t1._collection$_length === 0)
  19800. return false;
  19801. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  19802. },
  19803. _isUnique0(simple) {
  19804. var t1;
  19805. if (!(simple instanceof A.IDSelector0))
  19806. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  19807. else
  19808. t1 = true;
  19809. return t1;
  19810. },
  19811. _chunks0(queue1, queue2, done, $T) {
  19812. var chunk2, t2,
  19813. t1 = $T._eval$1("JSArray<0>"),
  19814. chunk1 = A._setArrayType([], t1);
  19815. for (; !done.call$1(queue1);)
  19816. chunk1.push(queue1.removeFirst$0());
  19817. chunk2 = A._setArrayType([], t1);
  19818. for (; !done.call$1(queue2);)
  19819. chunk2.push(queue2.removeFirst$0());
  19820. t1 = chunk1.length === 0;
  19821. if (t1 && chunk2.length === 0)
  19822. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  19823. if (t1)
  19824. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  19825. if (chunk2.length === 0)
  19826. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  19827. t1 = A.List_List$of(chunk1, true, $T);
  19828. B.JSArray_methods.addAll$1(t1, chunk2);
  19829. t2 = A.List_List$of(chunk2, true, $T);
  19830. B.JSArray_methods.addAll$1(t2, chunk1);
  19831. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  19832. },
  19833. paths0(choices, $T) {
  19834. 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));
  19835. },
  19836. _groupSelectors0(complex) {
  19837. var t2, t3, t4,
  19838. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  19839. t1 = type$.JSArray_ComplexSelectorComponent_2,
  19840. group = A._setArrayType([], t1);
  19841. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  19842. t4 = t2._collection$_current;
  19843. if (t4 == null)
  19844. t4 = t3._as(t4);
  19845. group.push(t4);
  19846. if (t4.combinators.length === 0) {
  19847. groups._queue_list$_add$1(group);
  19848. group = A._setArrayType([], t1);
  19849. }
  19850. }
  19851. if (group.length !== 0)
  19852. groups._queue_list$_add$1(group);
  19853. return groups;
  19854. },
  19855. listIsSuperselector0(list1, list2) {
  19856. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  19857. },
  19858. _complexIsParentSuperselector0(complex1, complex2) {
  19859. var t1, base, t2;
  19860. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  19861. return false;
  19862. t1 = $.$get$bogusSpan0();
  19863. 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);
  19864. t1 = type$.ComplexSelectorComponent_2;
  19865. t2 = A.List_List$of(complex1, true, t1);
  19866. t2.push(base);
  19867. t1 = A.List_List$of(complex2, true, t1);
  19868. t1.push(base);
  19869. return A.complexIsSuperselector0(t2, t1);
  19870. },
  19871. complexIsSuperselector0(complex1, complex2) {
  19872. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  19873. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  19874. return false;
  19875. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  19876. return false;
  19877. 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) {
  19878. remaining1 = complex1.length - i1;
  19879. t4 = complex2.length;
  19880. remaining2 = t4 - i2;
  19881. if (remaining1 === 0 || remaining2 === 0)
  19882. return false;
  19883. if (remaining1 > remaining2)
  19884. return false;
  19885. component1 = complex1[i1];
  19886. t5 = component1.combinators;
  19887. if (t5.length > 1)
  19888. return false;
  19889. if (remaining1 === 1) {
  19890. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  19891. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  19892. return false;
  19893. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  19894. }
  19895. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  19896. component2 = complex2[endOfSubselector];
  19897. if (component2.combinators.length > 1)
  19898. return false;
  19899. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  19900. break;
  19901. ++endOfSubselector;
  19902. if (endOfSubselector === complex2.length - 1)
  19903. return false;
  19904. if (parents == null)
  19905. parents = A._setArrayType([], t1);
  19906. parents.push(component2);
  19907. }
  19908. if (!A._compatibleWithPreviousCombinator0(previousCombinator, parents == null ? B.List_empty13 : parents))
  19909. return false;
  19910. component2 = complex2[endOfSubselector];
  19911. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  19912. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  19913. return false;
  19914. ++i1;
  19915. i2 = endOfSubselector + 1;
  19916. if (complex1.length - i1 === 1) {
  19917. t4 = combinator1 == null;
  19918. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt0)) {
  19919. t4 = complex2.length - 1;
  19920. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  19921. t5.SubListIterable$3(complex2, 0, t4, t3);
  19922. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  19923. return false;
  19924. } else if (!t4)
  19925. if (complex2.length - i2 > 1)
  19926. return false;
  19927. }
  19928. }
  19929. },
  19930. _compatibleWithPreviousCombinator0(previous, parents) {
  19931. if (parents.length === 0)
  19932. return true;
  19933. if (previous == null)
  19934. return true;
  19935. if (previous.value !== B.Combinator_Htt0)
  19936. return false;
  19937. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure0());
  19938. },
  19939. _isSupercombinator0(combinator1, combinator2) {
  19940. var t1, t2;
  19941. if (!J.$eq$(combinator1, combinator2)) {
  19942. t1 = combinator1 == null;
  19943. if (t1)
  19944. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht0);
  19945. else
  19946. t2 = false;
  19947. if (!t2)
  19948. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt0))
  19949. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF0);
  19950. else
  19951. t1 = false;
  19952. else
  19953. t1 = true;
  19954. } else
  19955. t1 = true;
  19956. return t1;
  19957. },
  19958. compoundIsSuperselector0(compound1, compound2, parents) {
  19959. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  19960. tuple1 = A._findPseudoElementIndexed0(compound1),
  19961. tuple2 = A._findPseudoElementIndexed0(compound2),
  19962. t1 = tuple1 == null;
  19963. if (!t1 && tuple2 != null) {
  19964. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  19965. t1 = compound1.components;
  19966. t2 = tuple1.item2;
  19967. t3 = type$.int;
  19968. t4 = A._arrayInstanceType(t1)._precomputed1;
  19969. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  19970. t6 = compound2.components;
  19971. t7 = tuple2.item2;
  19972. t8 = A._arrayInstanceType(t6)._precomputed1;
  19973. t1 = A._compoundComponentsIsSuperselector0(t5, A.SubListIterable$(t6, 0, A.checkNotNullable(t7, "count", t3), t8), parents) && A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, t2 + 1, null, t4), A.SubListIterable$(t6, t7 + 1, null, t8), parents);
  19974. } else
  19975. t1 = false;
  19976. return t1;
  19977. } else if (!t1 || tuple2 != null)
  19978. return false;
  19979. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  19980. simple1 = t1[_i];
  19981. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
  19982. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  19983. return false;
  19984. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  19985. return false;
  19986. }
  19987. return true;
  19988. },
  19989. _findPseudoElementIndexed0(compound) {
  19990. var t1, t2, i, simple;
  19991. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  19992. simple = t1[i];
  19993. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  19994. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int_2);
  19995. }
  19996. return null;
  19997. },
  19998. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  19999. var t1;
  20000. if (compound1.get$length(compound1) === 0)
  20001. return true;
  20002. if (compound2.get$length(compound2) === 0)
  20003. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  20004. t1 = $.$get$bogusSpan0();
  20005. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  20006. },
  20007. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  20008. var selector1_ = pseudo1.selector;
  20009. if (selector1_ == null)
  20010. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  20011. switch (pseudo1.normalizedName) {
  20012. case "is":
  20013. case "matches":
  20014. case "any":
  20015. case "where":
  20016. 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));
  20017. case "has":
  20018. case "host":
  20019. case "host-context":
  20020. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
  20021. case "slotted":
  20022. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
  20023. case "not":
  20024. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  20025. case "current":
  20026. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
  20027. case "nth-child":
  20028. case "nth-last-child":
  20029. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
  20030. default:
  20031. throw A.wrapException("unreachable");
  20032. }
  20033. },
  20034. _selectorPseudoArgs0(compound, $name, isClass) {
  20035. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  20036. 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);
  20037. },
  20038. unifyComplex_closure0: function unifyComplex_closure0() {
  20039. },
  20040. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  20041. this.span = t0;
  20042. },
  20043. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  20044. this.group = t0;
  20045. },
  20046. _weaveParents_closure5: function _weaveParents_closure5() {
  20047. },
  20048. _weaveParents_closure6: function _weaveParents_closure6() {
  20049. },
  20050. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  20051. this.uniqueSelectors = t0;
  20052. },
  20053. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  20054. this.uniqueSelectors = t0;
  20055. },
  20056. paths_closure0: function paths_closure0(t0) {
  20057. this.T = t0;
  20058. },
  20059. paths__closure0: function paths__closure0(t0, t1) {
  20060. this.paths = t0;
  20061. this.T = t1;
  20062. },
  20063. paths___closure0: function paths___closure0(t0, t1) {
  20064. this.option = t0;
  20065. this.T = t1;
  20066. },
  20067. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  20068. this.list1 = t0;
  20069. },
  20070. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  20071. this.complex1 = t0;
  20072. },
  20073. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  20074. },
  20075. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  20076. this.combinator1 = t0;
  20077. },
  20078. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  20079. },
  20080. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  20081. this.selector1 = t0;
  20082. },
  20083. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  20084. this.parents = t0;
  20085. this.compound2 = t1;
  20086. },
  20087. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  20088. this.selector1 = t0;
  20089. },
  20090. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  20091. this.selector1 = t0;
  20092. },
  20093. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  20094. this.compound2 = t0;
  20095. this.pseudo1 = t1;
  20096. },
  20097. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  20098. this.complex = t0;
  20099. this.pseudo1 = t1;
  20100. },
  20101. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  20102. this.simple2 = t0;
  20103. },
  20104. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  20105. this.simple2 = t0;
  20106. },
  20107. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  20108. this.selector1 = t0;
  20109. },
  20110. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  20111. this.pseudo1 = t0;
  20112. this.selector1 = t1;
  20113. },
  20114. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  20115. this.isClass = t0;
  20116. this.name = t1;
  20117. },
  20118. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  20119. },
  20120. globalFunctions_closure0: function globalFunctions_closure0() {
  20121. },
  20122. IDSelector0: function IDSelector0(t0, t1) {
  20123. this.name = t0;
  20124. this.span = t1;
  20125. },
  20126. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  20127. this.$this = t0;
  20128. },
  20129. IfExpression0: function IfExpression0(t0, t1) {
  20130. this.$arguments = t0;
  20131. this.span = t1;
  20132. },
  20133. IfClause$0(expression, children) {
  20134. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  20135. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  20136. },
  20137. ElseClause$0(children) {
  20138. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  20139. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  20140. },
  20141. IfRule0: function IfRule0(t0, t1, t2) {
  20142. this.clauses = t0;
  20143. this.lastClause = t1;
  20144. this.span = t2;
  20145. },
  20146. IfRule_toString_closure0: function IfRule_toString_closure0() {
  20147. },
  20148. IfRuleClause0: function IfRuleClause0() {
  20149. },
  20150. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  20151. },
  20152. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  20153. },
  20154. IfClause0: function IfClause0(t0, t1, t2) {
  20155. this.expression = t0;
  20156. this.children = t1;
  20157. this.hasDeclarations = t2;
  20158. },
  20159. ElseClause0: function ElseClause0(t0, t1) {
  20160. this.children = t0;
  20161. this.hasDeclarations = t1;
  20162. },
  20163. jsToDartList(list) {
  20164. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  20165. },
  20166. dartMapToImmutableMap(dartMap) {
  20167. var t1, t2,
  20168. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  20169. for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  20170. t2 = t1.get$current(t1);
  20171. immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
  20172. }
  20173. return J.asImmutable$0$x(immutableMap);
  20174. },
  20175. immutableMapToDartMap(immutableMap) {
  20176. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  20177. J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  20178. return dartMap;
  20179. },
  20180. ImmutableList: function ImmutableList() {
  20181. },
  20182. ImmutableMap: function ImmutableMap() {
  20183. },
  20184. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  20185. this.dartMap = t0;
  20186. },
  20187. NodeImporter__addSassPath($async$includePaths) {
  20188. return A._makeSyncStarIterable(function() {
  20189. var includePaths = $async$includePaths;
  20190. var $async$goto = 0, $async$handler = 2, $async$currentError, t1, sassPath;
  20191. return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
  20192. if ($async$errorCode === 1) {
  20193. $async$currentError = $async$result;
  20194. $async$goto = $async$handler;
  20195. }
  20196. while (true)
  20197. switch ($async$goto) {
  20198. case 0:
  20199. // Function start
  20200. $async$goto = 3;
  20201. return A._IterationMarker_yieldStar(includePaths);
  20202. case 3:
  20203. // after yield
  20204. t1 = J.get$env$x(self.process);
  20205. if (t1 == null)
  20206. t1 = type$.Object._as(t1);
  20207. sassPath = A._asStringQ(t1.SASS_PATH);
  20208. if (sassPath == null) {
  20209. // goto return
  20210. $async$goto = 1;
  20211. break;
  20212. }
  20213. $async$goto = 4;
  20214. return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
  20215. case 4:
  20216. // after yield
  20217. case 1:
  20218. // return
  20219. return A._IterationMarker_endOfIteration();
  20220. case 2:
  20221. // rethrow
  20222. return A._IterationMarker_uncaughtError($async$currentError);
  20223. }
  20224. };
  20225. }, type$.String);
  20226. },
  20227. NodeImporter: function NodeImporter(t0, t1, t2) {
  20228. this._implementation$_options = t0;
  20229. this._includePaths = t1;
  20230. this._implementation$_importers = t2;
  20231. },
  20232. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  20233. this.path = t0;
  20234. },
  20235. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  20236. },
  20237. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  20238. var _ = this;
  20239. _.url = t0;
  20240. _.modifiers = t1;
  20241. _.span = t2;
  20242. _._node0$_indexInParent = _._node0$_parent = null;
  20243. _.isGroupEnd = false;
  20244. },
  20245. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  20246. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  20247. t2 = type$.Uri,
  20248. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  20249. return new A.ImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  20250. },
  20251. ImportCache$none(logger) {
  20252. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  20253. t2 = type$.Uri;
  20254. return new A.ImportCache0(B.List_empty23, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  20255. },
  20256. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  20257. var sassPath, t2, t3, _i, path, _null = null,
  20258. t1 = J.get$env$x(self.process);
  20259. if (t1 == null)
  20260. t1 = type$.Object._as(t1);
  20261. sassPath = A._asStringQ(t1.SASS_PATH);
  20262. t1 = A._setArrayType([], type$.JSArray_Importer);
  20263. if (importers != null)
  20264. B.JSArray_methods.addAll$1(t1, importers);
  20265. if (loadPaths != null)
  20266. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  20267. t3 = t2.get$current(t2);
  20268. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20269. }
  20270. if (sassPath != null) {
  20271. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  20272. t3 = t2.length;
  20273. _i = 0;
  20274. for (; _i < t3; ++_i) {
  20275. path = t2[_i];
  20276. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20277. }
  20278. }
  20279. return t1;
  20280. },
  20281. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  20282. var _ = this;
  20283. _._import_cache$_importers = t0;
  20284. _._import_cache$_logger = t1;
  20285. _._import_cache$_canonicalizeCache = t2;
  20286. _._import_cache$_relativeCanonicalizeCache = t3;
  20287. _._import_cache$_importCache = t4;
  20288. _._import_cache$_resultsCache = t5;
  20289. },
  20290. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  20291. var _ = this;
  20292. _.$this = t0;
  20293. _.baseUrl = t1;
  20294. _.url = t2;
  20295. _.baseImporter = t3;
  20296. _.forImport = t4;
  20297. },
  20298. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
  20299. this.$this = t0;
  20300. this.url = t1;
  20301. this.forImport = t2;
  20302. },
  20303. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  20304. this.importer = t0;
  20305. this.url = t1;
  20306. },
  20307. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  20308. var _ = this;
  20309. _.$this = t0;
  20310. _.importer = t1;
  20311. _.canonicalUrl = t2;
  20312. _.originalUrl = t3;
  20313. _.quiet = t4;
  20314. },
  20315. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  20316. this.canonicalUrl = t0;
  20317. },
  20318. ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
  20319. },
  20320. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  20321. },
  20322. ImportRule0: function ImportRule0(t0, t1) {
  20323. this.imports = t0;
  20324. this.span = t1;
  20325. },
  20326. NodeImporter0: function NodeImporter0() {
  20327. },
  20328. CanonicalizeOptions: function CanonicalizeOptions() {
  20329. },
  20330. NodeImporterResult0: function NodeImporterResult0() {
  20331. },
  20332. Importer0: function Importer0() {
  20333. },
  20334. NodeImporterResult1: function NodeImporterResult1() {
  20335. },
  20336. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  20337. var _ = this;
  20338. _.namespace = t0;
  20339. _.name = t1;
  20340. _.$arguments = t2;
  20341. _.content = t3;
  20342. _.span = t4;
  20343. },
  20344. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  20345. this.name = t0;
  20346. this.$arguments = t1;
  20347. this.span = t2;
  20348. },
  20349. Interpolation$0(contents, span) {
  20350. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  20351. t1.Interpolation$20(contents, span);
  20352. return t1;
  20353. },
  20354. Interpolation0: function Interpolation0(t0, t1) {
  20355. this.contents = t0;
  20356. this.span = t1;
  20357. },
  20358. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  20359. },
  20360. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  20361. this.expression = t0;
  20362. this.span = t1;
  20363. },
  20364. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  20365. this._interpolation_buffer0$_text = t0;
  20366. this._interpolation_buffer0$_contents = t1;
  20367. },
  20368. InterpolationMap$0(_interpolation, targetLocations) {
  20369. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  20370. t2 = _interpolation.contents.length,
  20371. expectedLocations = Math.max(0, t2 - 1);
  20372. if (t1.length !== expectedLocations)
  20373. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  20374. return new A.InterpolationMap0(_interpolation, t1);
  20375. },
  20376. InterpolationMap0: function InterpolationMap0(t0, t1) {
  20377. this._interpolation_map$_interpolation = t0;
  20378. this._interpolation_map$_targetLocations = t1;
  20379. },
  20380. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  20381. },
  20382. _realCasePath0(path) {
  20383. var prefix, t1;
  20384. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  20385. return path;
  20386. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  20387. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  20388. t1 = prefix.length;
  20389. if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  20390. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  20391. }
  20392. return new A._realCasePath_helper0().call$1(path);
  20393. },
  20394. _realCasePath_helper0: function _realCasePath_helper0() {
  20395. },
  20396. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  20397. this.helper = t0;
  20398. this.dirname = t1;
  20399. this.path = t2;
  20400. },
  20401. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  20402. this.basename = t0;
  20403. },
  20404. ModifiableCssKeyframeBlock$0(selector, span) {
  20405. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20406. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20407. },
  20408. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  20409. var _ = this;
  20410. _.selector = t0;
  20411. _.span = t1;
  20412. _.children = t2;
  20413. _._node0$_children = t3;
  20414. _._node0$_indexInParent = _._node0$_parent = null;
  20415. _.isGroupEnd = false;
  20416. },
  20417. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  20418. var t1 = A.SpanScanner$(contents, null);
  20419. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  20420. },
  20421. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  20422. this.scanner = t0;
  20423. this.logger = t1;
  20424. this._parser0$_interpolationMap = t2;
  20425. },
  20426. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  20427. this.$this = t0;
  20428. },
  20429. LazyFileSpan0: function LazyFileSpan0(t0) {
  20430. this._lazy_file_span0$_builder = t0;
  20431. this._lazy_file_span0$_span = null;
  20432. },
  20433. render(options, callback) {
  20434. var fiber = J.get$fiber$x(options);
  20435. if (fiber != null)
  20436. J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
  20437. else
  20438. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  20439. },
  20440. _renderAsync(options) {
  20441. var $async$goto = 0,
  20442. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  20443. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
  20444. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20445. if ($async$errorCode === 1)
  20446. return A._asyncRethrow($async$result, $async$completer);
  20447. while (true)
  20448. switch ($async$goto) {
  20449. case 0:
  20450. // Function start
  20451. start = new A.DateTime(Date.now(), false);
  20452. t1 = J.getInterceptor$x(options);
  20453. data = t1.get$data(options);
  20454. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20455. $async$goto = data != null ? 3 : 5;
  20456. break;
  20457. case 3:
  20458. // then
  20459. t2 = A._parseImporter(options, start);
  20460. t3 = A._parseFunctions(options, start, true);
  20461. t4 = t1.get$indentedSyntax(options);
  20462. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20463. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20464. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20465. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20466. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20467. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20468. t10 = t1.get$quietDeps(options);
  20469. if (t10 == null)
  20470. t10 = false;
  20471. t11 = t1.get$verbose(options);
  20472. if (t11 == null)
  20473. t11 = false;
  20474. t12 = t1.get$charset(options);
  20475. if (t12 == null)
  20476. t12 = true;
  20477. t13 = A._enableSourceMaps(options);
  20478. t1 = t1.get$logger(options);
  20479. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20480. t15 = $._glyphs;
  20481. $async$goto = 6;
  20482. return A._asyncAwait(A.compileStringAsync0(data, t12, t3, null, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11), $async$_renderAsync);
  20483. case 6:
  20484. // returning from await.
  20485. result = $async$result;
  20486. // goto join
  20487. $async$goto = 4;
  20488. break;
  20489. case 5:
  20490. // else
  20491. $async$goto = file != null ? 7 : 9;
  20492. break;
  20493. case 7:
  20494. // then
  20495. t2 = A._parseImporter(options, start);
  20496. t3 = A._parseFunctions(options, start, true);
  20497. t4 = t1.get$indentedSyntax(options);
  20498. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20499. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20500. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20501. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20502. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20503. t9 = t1.get$quietDeps(options);
  20504. if (t9 == null)
  20505. t9 = false;
  20506. t10 = t1.get$verbose(options);
  20507. if (t10 == null)
  20508. t10 = false;
  20509. t11 = t1.get$charset(options);
  20510. if (t11 == null)
  20511. t11 = true;
  20512. t12 = A._enableSourceMaps(options);
  20513. t1 = t1.get$logger(options);
  20514. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20515. t14 = $._glyphs;
  20516. $async$goto = 10;
  20517. return A._asyncAwait(A.compileAsync0(file, t11, null, t3, null, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
  20518. case 10:
  20519. // returning from await.
  20520. result = $async$result;
  20521. // goto join
  20522. $async$goto = 8;
  20523. break;
  20524. case 9:
  20525. // else
  20526. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  20527. case 8:
  20528. // join
  20529. case 4:
  20530. // join
  20531. $async$returnValue = A._newRenderResult(options, result, start);
  20532. // goto return
  20533. $async$goto = 1;
  20534. break;
  20535. case 1:
  20536. // return
  20537. return A._asyncReturn($async$returnValue, $async$completer);
  20538. }
  20539. });
  20540. return A._asyncStartSync($async$_renderAsync, $async$completer);
  20541. },
  20542. renderSync(options) {
  20543. var start, result, data, file, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null;
  20544. try {
  20545. start = new A.DateTime(Date.now(), false);
  20546. result = null;
  20547. t1 = J.getInterceptor$x(options);
  20548. data = t1.get$data(options);
  20549. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20550. if (data != null) {
  20551. t2 = A._parseImporter(options, start);
  20552. t3 = A._parseFunctions(options, start, false);
  20553. t4 = t1.get$indentedSyntax(options);
  20554. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20555. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20556. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20557. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20558. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20559. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20560. t10 = t1.get$quietDeps(options);
  20561. if (t10 == null)
  20562. t10 = false;
  20563. t11 = t1.get$verbose(options);
  20564. if (t11 == null)
  20565. t11 = false;
  20566. t12 = t1.get$charset(options);
  20567. if (t12 == null)
  20568. t12 = true;
  20569. t13 = A._enableSourceMaps(options);
  20570. t1 = t1.get$logger(options);
  20571. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20572. t15 = $._glyphs;
  20573. result = A.compileString(data, t12, _null, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11);
  20574. } else if (file != null) {
  20575. t2 = A._parseImporter(options, start);
  20576. t3 = A._parseFunctions(options, start, false);
  20577. t4 = t1.get$indentedSyntax(options);
  20578. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20579. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20580. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20581. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20582. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20583. t9 = t1.get$quietDeps(options);
  20584. if (t9 == null)
  20585. t9 = false;
  20586. t10 = t1.get$verbose(options);
  20587. if (t10 == null)
  20588. t10 = false;
  20589. t11 = t1.get$charset(options);
  20590. if (t11 == null)
  20591. t11 = true;
  20592. t12 = A._enableSourceMaps(options);
  20593. t1 = t1.get$logger(options);
  20594. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20595. t14 = $._glyphs;
  20596. result = A.compile(file, t11, _null, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
  20597. } else {
  20598. t1 = A.ArgumentError$(string$.Either, _null);
  20599. throw A.wrapException(t1);
  20600. }
  20601. t1 = A._newRenderResult(options, result, start);
  20602. return t1;
  20603. } catch (exception) {
  20604. t1 = A.unwrapException(exception);
  20605. if (t1 instanceof A.SassException0) {
  20606. error = t1;
  20607. stackTrace = A.getTraceFromException(exception);
  20608. A.jsThrow(A._wrapException(error, stackTrace));
  20609. } else {
  20610. error0 = t1;
  20611. stackTrace0 = A.getTraceFromException(exception);
  20612. t1 = J.toString$0$(error0);
  20613. t2 = A.getTrace0(error0);
  20614. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  20615. }
  20616. }
  20617. },
  20618. _wrapException(exception, stackTrace) {
  20619. var file, t2, t3, t4,
  20620. t1 = A.SourceSpanException.prototype.get$span.call(exception, exception),
  20621. url = t1.get$sourceUrl(t1);
  20622. if (url == null)
  20623. file = "stdin";
  20624. else
  20625. file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
  20626. t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  20627. t2 = A.getTrace0(exception);
  20628. if (t2 == null)
  20629. t2 = stackTrace;
  20630. t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20631. t3 = t3.get$start(t3);
  20632. t3 = t3.file.getLine$1(t3.offset);
  20633. t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20634. t4 = t4.get$start(t4);
  20635. return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
  20636. },
  20637. _parseFunctions(options, start, asynch) {
  20638. var result,
  20639. functions = J.get$functions$x(options);
  20640. if (functions == null)
  20641. return B.List_empty24;
  20642. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  20643. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  20644. return result;
  20645. },
  20646. _parseImporter(options, start) {
  20647. var importers, t2, t3, contextOptions, fiber,
  20648. t1 = J.getInterceptor$x(options);
  20649. if (t1.get$importer(options) == null)
  20650. importers = A._setArrayType([], type$.JSArray_JSFunction);
  20651. else {
  20652. t2 = type$.List_nullable_Object;
  20653. t3 = type$.JSFunction;
  20654. importers = t2._is(t1.get$importer(options)) ? J.cast$1$0$ax(t2._as(t1.get$importer(options)), t3) : A._setArrayType([t3._as(t1.get$importer(options))], type$.JSArray_JSFunction);
  20655. }
  20656. t2 = J.getInterceptor$asx(importers);
  20657. contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
  20658. fiber = t1.get$fiber(options);
  20659. if (fiber != null) {
  20660. t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
  20661. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  20662. }
  20663. t1 = t1.get$includePaths(options);
  20664. if (t1 == null)
  20665. t1 = [];
  20666. t2 = type$.String;
  20667. 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));
  20668. },
  20669. _contextOptions(options, start) {
  20670. var includePaths, t3, t4, t5, t6, t7,
  20671. t1 = J.getInterceptor$x(options),
  20672. t2 = t1.get$includePaths(options);
  20673. if (t2 == null)
  20674. t2 = [];
  20675. includePaths = A.List_List$from(t2, true, type$.String);
  20676. t2 = t1.get$file(options);
  20677. t3 = t1.get$data(options);
  20678. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  20679. B.JSArray_methods.addAll$1(t4, includePaths);
  20680. t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  20681. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  20682. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  20683. if (t6 == null)
  20684. t6 = 2;
  20685. t7 = A._parseLineFeed(t1.get$linefeed(options));
  20686. t1 = t1.get$file(options);
  20687. if (t1 == null)
  20688. t1 = "data";
  20689. 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}}};
  20690. },
  20691. _parseOutputStyle(style) {
  20692. if (style == null || style === "expanded")
  20693. return B.OutputStyle_00;
  20694. if (style === "compressed")
  20695. return B.OutputStyle_10;
  20696. throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
  20697. },
  20698. _parseIndentWidth(width) {
  20699. if (width == null)
  20700. return null;
  20701. return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
  20702. },
  20703. _parseLineFeed(str) {
  20704. switch (str) {
  20705. case "cr":
  20706. return B.LineFeed_oyU;
  20707. case "crlf":
  20708. return B.LineFeed_gg4;
  20709. case "lfcr":
  20710. return B.LineFeed_t2a;
  20711. default:
  20712. return B.LineFeed_SsD;
  20713. }
  20714. },
  20715. _newRenderResult(options, result, start) {
  20716. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
  20717. t1 = Date.now(),
  20718. t2 = result._compile_result$_serialize,
  20719. css = t2.css,
  20720. sourceMapBytes = type$.Null._as(self.undefined);
  20721. if (A._enableSourceMaps(options)) {
  20722. t3 = J.getInterceptor$x(options);
  20723. sourceMapOption = t3.get$sourceMap(options);
  20724. if (typeof sourceMapOption == "string")
  20725. sourceMapPath = sourceMapOption;
  20726. else {
  20727. t4 = t3.get$outFile(options);
  20728. t4.toString;
  20729. sourceMapPath = J.$add$ansx(t4, ".map");
  20730. }
  20731. t4 = $.$get$context();
  20732. sourceMapDir = t4.dirname$1(sourceMapPath);
  20733. t2 = t2.sourceMap;
  20734. t2.toString;
  20735. t2.sourceRoot = t3.get$sourceMapRoot(options);
  20736. outFile = t3.get$outFile(options);
  20737. t5 = outFile == null;
  20738. if (t5) {
  20739. file = t3.get$file(options);
  20740. if (file == null)
  20741. t2.targetUrl = "stdin.css";
  20742. else
  20743. t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
  20744. } else
  20745. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  20746. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  20747. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  20748. source = t4[i];
  20749. if (source === "stdin")
  20750. continue;
  20751. t6 = $.$get$url();
  20752. t7 = t6.style;
  20753. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  20754. continue;
  20755. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  20756. }
  20757. t4 = t3.get$sourceMapContents(options);
  20758. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  20759. t2 = t3.get$omitSourceMapUrl(options);
  20760. if (!(!J.$eq$(t2, false) && t2 != null)) {
  20761. t2 = t3.get$sourceMapEmbed(options);
  20762. if (!J.$eq$(t2, false) && t2 != null) {
  20763. buffer = new A.StringBuffer("");
  20764. indices = A._setArrayType([-1], type$.JSArray_int);
  20765. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  20766. indices.push(buffer._contents.length);
  20767. t2 = buffer._contents += ";base64,";
  20768. indices.push(t2.length - 1);
  20769. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  20770. t3 = sourceMapBytes.length;
  20771. A.RangeError_checkValidRange(0, t3, t3);
  20772. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  20773. t2 = buffer._contents;
  20774. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  20775. } else {
  20776. if (t5)
  20777. t2 = sourceMapPath;
  20778. else {
  20779. t2 = $.$get$context();
  20780. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  20781. }
  20782. url = $.$get$context().toUri$1(t2);
  20783. }
  20784. t2 = url.toString$0(0);
  20785. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  20786. }
  20787. }
  20788. t2 = self.Buffer.from(css, "utf8");
  20789. t3 = J.get$file$x(options);
  20790. if (t3 == null)
  20791. t3 = "data";
  20792. t4 = start._value;
  20793. t1 = new A.DateTime(t1, false)._value;
  20794. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  20795. t6 = A._setArrayType([], type$.JSArray_String);
  20796. for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
  20797. t9 = t7._collection$_current;
  20798. if (t9 == null)
  20799. t9 = t8._as(t9);
  20800. if (t9.get$scheme() === "file")
  20801. t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
  20802. else
  20803. t6.push(t9.toString$0(0));
  20804. }
  20805. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  20806. },
  20807. _enableSourceMaps(options) {
  20808. var t2,
  20809. t1 = J.getInterceptor$x(options);
  20810. if (typeof t1.get$sourceMap(options) != "string") {
  20811. t2 = t1.get$sourceMap(options);
  20812. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  20813. } else
  20814. t1 = true;
  20815. return t1;
  20816. },
  20817. _newRenderError(message, stackTrace, column, file, line, $status) {
  20818. var error = new self.Error(message);
  20819. error.formatted = "Error: " + message;
  20820. if (line != null)
  20821. error.line = line;
  20822. if (column != null)
  20823. error.column = column;
  20824. if (file != null)
  20825. error.file = file;
  20826. error.status = $status;
  20827. A.attachJsStack(error, stackTrace);
  20828. return error;
  20829. },
  20830. render_closure: function render_closure(t0, t1) {
  20831. this.callback = t0;
  20832. this.options = t1;
  20833. },
  20834. render_closure0: function render_closure0(t0) {
  20835. this.callback = t0;
  20836. },
  20837. render_closure1: function render_closure1(t0) {
  20838. this.callback = t0;
  20839. },
  20840. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  20841. var _ = this;
  20842. _.options = t0;
  20843. _.start = t1;
  20844. _.result = t2;
  20845. _.asynch = t3;
  20846. },
  20847. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  20848. this.fiber = t0;
  20849. this.callback = t1;
  20850. this.context = t2;
  20851. },
  20852. _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
  20853. this.currentFiber = t0;
  20854. },
  20855. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  20856. this.currentFiber = t0;
  20857. this.result = t1;
  20858. },
  20859. _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
  20860. this.fiber = t0;
  20861. },
  20862. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  20863. this.callback = t0;
  20864. this.context = t1;
  20865. },
  20866. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  20867. this.callback = t0;
  20868. this.context = t1;
  20869. },
  20870. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  20871. this.completer = t0;
  20872. },
  20873. _parseImporter_closure: function _parseImporter_closure(t0) {
  20874. this.fiber = t0;
  20875. },
  20876. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  20877. this.fiber = t0;
  20878. this.importer = t1;
  20879. },
  20880. _parseImporter___closure: function _parseImporter___closure(t0) {
  20881. this.currentFiber = t0;
  20882. },
  20883. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  20884. this.currentFiber = t0;
  20885. this.result = t1;
  20886. },
  20887. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  20888. this.fiber = t0;
  20889. },
  20890. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  20891. var t2, key,
  20892. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  20893. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  20894. key = t2.get$current(t2);
  20895. if (!blocklist.contains$1(0, key))
  20896. t1.add$1(0, key);
  20897. }
  20898. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  20899. },
  20900. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  20901. this._limited_map_view0$_map = t0;
  20902. this._limited_map_view0$_keys = t1;
  20903. this.$ti = t2;
  20904. },
  20905. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  20906. var _ = this;
  20907. _.contents = t0;
  20908. _.separator = t1;
  20909. _.hasBrackets = t2;
  20910. _.span = t3;
  20911. },
  20912. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  20913. this.$this = t0;
  20914. },
  20915. _function10($name, $arguments, callback) {
  20916. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  20917. },
  20918. _length_closure2: function _length_closure2() {
  20919. },
  20920. _nth_closure0: function _nth_closure0() {
  20921. },
  20922. _setNth_closure0: function _setNth_closure0() {
  20923. },
  20924. _join_closure0: function _join_closure0() {
  20925. },
  20926. _append_closure2: function _append_closure2() {
  20927. },
  20928. _zip_closure0: function _zip_closure0() {
  20929. },
  20930. _zip__closure2: function _zip__closure2() {
  20931. },
  20932. _zip__closure3: function _zip__closure3(t0) {
  20933. this._box_0 = t0;
  20934. },
  20935. _zip__closure4: function _zip__closure4(t0) {
  20936. this._box_0 = t0;
  20937. },
  20938. _index_closure2: function _index_closure2() {
  20939. },
  20940. _separator_closure0: function _separator_closure0() {
  20941. },
  20942. _isBracketed_closure0: function _isBracketed_closure0() {
  20943. },
  20944. _slash_closure0: function _slash_closure0() {
  20945. },
  20946. SelectorList$0(components, span) {
  20947. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  20948. if (t1.length === 0)
  20949. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  20950. return new A.SelectorList0(t1, span);
  20951. },
  20952. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  20953. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  20954. },
  20955. SelectorList0: function SelectorList0(t0, t1) {
  20956. this.components = t0;
  20957. this.span = t1;
  20958. },
  20959. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  20960. },
  20961. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  20962. this.$this = t0;
  20963. this.implicitParent = t1;
  20964. this.parent = t2;
  20965. },
  20966. SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
  20967. this.complex = t0;
  20968. },
  20969. SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
  20970. this.complex = t0;
  20971. },
  20972. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  20973. },
  20974. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  20975. this.parent = t0;
  20976. },
  20977. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  20978. this.parentSelector = t0;
  20979. this.resolvedSimples = t1;
  20980. this.component = t2;
  20981. },
  20982. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  20983. this.combinators = t0;
  20984. },
  20985. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  20986. },
  20987. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  20988. },
  20989. _NodeSassList: function _NodeSassList() {
  20990. },
  20991. legacyListClass_closure: function legacyListClass_closure() {
  20992. },
  20993. legacyListClass__closure: function legacyListClass__closure() {
  20994. },
  20995. legacyListClass_closure0: function legacyListClass_closure0() {
  20996. },
  20997. legacyListClass_closure1: function legacyListClass_closure1() {
  20998. },
  20999. legacyListClass_closure2: function legacyListClass_closure2() {
  21000. },
  21001. legacyListClass_closure3: function legacyListClass_closure3() {
  21002. },
  21003. legacyListClass_closure4: function legacyListClass_closure4() {
  21004. },
  21005. listClass_closure: function listClass_closure() {
  21006. },
  21007. listClass__closure: function listClass__closure() {
  21008. },
  21009. listClass__closure0: function listClass__closure0() {
  21010. },
  21011. _ConstructorOptions: function _ConstructorOptions() {
  21012. },
  21013. SassList$0(contents, _separator, brackets) {
  21014. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  21015. t1.SassList$3$brackets0(contents, _separator, brackets);
  21016. return t1;
  21017. },
  21018. SassList0: function SassList0(t0, t1, t2) {
  21019. this._list1$_contents = t0;
  21020. this._list1$_separator = t1;
  21021. this._list1$_hasBrackets = t2;
  21022. },
  21023. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  21024. },
  21025. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  21026. this._list1$_name = t0;
  21027. this.separator = t1;
  21028. this._name = t2;
  21029. },
  21030. NodeLogger: function NodeLogger() {
  21031. },
  21032. WarnOptions: function WarnOptions() {
  21033. },
  21034. DebugOptions: function DebugOptions() {
  21035. },
  21036. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  21037. if (_this instanceof A.DeprecationHandlingLogger0)
  21038. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  21039. else if (!deprecation.isFuture)
  21040. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  21041. },
  21042. _QuietLogger0: function _QuietLogger0() {
  21043. },
  21044. LoudComment0: function LoudComment0(t0) {
  21045. this.text = t0;
  21046. },
  21047. MapExpression0: function MapExpression0(t0, t1) {
  21048. this.pairs = t0;
  21049. this.span = t1;
  21050. },
  21051. MapExpression_toString_closure0: function MapExpression_toString_closure0() {
  21052. },
  21053. _modify0(map, keys, modify, addNesting) {
  21054. var keyIterator = J.get$iterator$ax(keys);
  21055. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  21056. },
  21057. _deepMergeImpl0(map1, map2) {
  21058. var t2, t3, result,
  21059. t1 = map1._map0$_contents;
  21060. if (t1.get$isEmpty(t1))
  21061. return map2;
  21062. t2 = map2._map0$_contents;
  21063. if (t2.get$isEmpty(t2))
  21064. return map1;
  21065. t3 = type$.Value_2;
  21066. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  21067. t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
  21068. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  21069. },
  21070. _function9($name, $arguments, callback) {
  21071. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  21072. },
  21073. _get_closure0: function _get_closure0() {
  21074. },
  21075. _set_closure1: function _set_closure1() {
  21076. },
  21077. _set__closure2: function _set__closure2(t0) {
  21078. this.$arguments = t0;
  21079. },
  21080. _set_closure2: function _set_closure2() {
  21081. },
  21082. _set__closure1: function _set__closure1(t0) {
  21083. this.args = t0;
  21084. },
  21085. _merge_closure1: function _merge_closure1() {
  21086. },
  21087. _merge_closure2: function _merge_closure2() {
  21088. },
  21089. _merge__closure0: function _merge__closure0(t0) {
  21090. this.map2 = t0;
  21091. },
  21092. _deepMerge_closure0: function _deepMerge_closure0() {
  21093. },
  21094. _deepRemove_closure0: function _deepRemove_closure0() {
  21095. },
  21096. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  21097. this.keys = t0;
  21098. },
  21099. _remove_closure1: function _remove_closure1() {
  21100. },
  21101. _remove_closure2: function _remove_closure2() {
  21102. },
  21103. _keys_closure0: function _keys_closure0() {
  21104. },
  21105. _values_closure0: function _values_closure0() {
  21106. },
  21107. _hasKey_closure0: function _hasKey_closure0() {
  21108. },
  21109. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  21110. this.keyIterator = t0;
  21111. this.modify = t1;
  21112. this.addNesting = t2;
  21113. },
  21114. _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
  21115. this.result = t0;
  21116. },
  21117. _NodeSassMap: function _NodeSassMap() {
  21118. },
  21119. legacyMapClass_closure: function legacyMapClass_closure() {
  21120. },
  21121. legacyMapClass__closure: function legacyMapClass__closure() {
  21122. },
  21123. legacyMapClass__closure0: function legacyMapClass__closure0() {
  21124. },
  21125. legacyMapClass_closure0: function legacyMapClass_closure0() {
  21126. },
  21127. legacyMapClass_closure1: function legacyMapClass_closure1() {
  21128. },
  21129. legacyMapClass_closure2: function legacyMapClass_closure2() {
  21130. },
  21131. legacyMapClass_closure3: function legacyMapClass_closure3() {
  21132. },
  21133. legacyMapClass_closure4: function legacyMapClass_closure4() {
  21134. },
  21135. mapClass_closure: function mapClass_closure() {
  21136. },
  21137. mapClass__closure: function mapClass__closure() {
  21138. },
  21139. mapClass__closure0: function mapClass__closure0() {
  21140. },
  21141. mapClass__closure1: function mapClass__closure1() {
  21142. },
  21143. SassMap0: function SassMap0(t0) {
  21144. this._map0$_contents = t0;
  21145. },
  21146. SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
  21147. this.result = t0;
  21148. },
  21149. _numberFunction0($name, transform) {
  21150. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  21151. },
  21152. _function8($name, $arguments, callback) {
  21153. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  21154. },
  21155. _ceil_closure0: function _ceil_closure0() {
  21156. },
  21157. _clamp_closure0: function _clamp_closure0() {
  21158. },
  21159. _floor_closure0: function _floor_closure0() {
  21160. },
  21161. _max_closure0: function _max_closure0() {
  21162. },
  21163. _min_closure0: function _min_closure0() {
  21164. },
  21165. _round_closure0: function _round_closure0() {
  21166. },
  21167. _abs_closure0: function _abs_closure0() {
  21168. },
  21169. _hypot_closure0: function _hypot_closure0() {
  21170. },
  21171. _hypot__closure0: function _hypot__closure0() {
  21172. },
  21173. _log_closure0: function _log_closure0() {
  21174. },
  21175. _pow_closure0: function _pow_closure0() {
  21176. },
  21177. _sqrt_closure0: function _sqrt_closure0() {
  21178. },
  21179. _acos_closure0: function _acos_closure0() {
  21180. },
  21181. _asin_closure0: function _asin_closure0() {
  21182. },
  21183. _atan_closure0: function _atan_closure0() {
  21184. },
  21185. _atan2_closure0: function _atan2_closure0() {
  21186. },
  21187. _cos_closure0: function _cos_closure0() {
  21188. },
  21189. _sin_closure0: function _sin_closure0() {
  21190. },
  21191. _tan_closure0: function _tan_closure0() {
  21192. },
  21193. _compatible_closure0: function _compatible_closure0() {
  21194. },
  21195. _isUnitless_closure0: function _isUnitless_closure0() {
  21196. },
  21197. _unit_closure0: function _unit_closure0() {
  21198. },
  21199. _percentage_closure0: function _percentage_closure0() {
  21200. },
  21201. _randomFunction_closure0: function _randomFunction_closure0() {
  21202. },
  21203. _div_closure0: function _div_closure0() {
  21204. },
  21205. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  21206. this.transform = t0;
  21207. },
  21208. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  21209. var t1 = A.SpanScanner$(contents, null);
  21210. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0();
  21211. },
  21212. CssMediaQuery$type0(type, conditions, modifier) {
  21213. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  21214. },
  21215. CssMediaQuery$condition0(conditions, conjunction) {
  21216. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  21217. if (t1.length > 1 && conjunction == null)
  21218. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  21219. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  21220. },
  21221. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  21222. var _ = this;
  21223. _.modifier = t0;
  21224. _.type = t1;
  21225. _.conjunction = t2;
  21226. _.conditions = t3;
  21227. },
  21228. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  21229. this._media_query0$_name = t0;
  21230. },
  21231. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  21232. this.query = t0;
  21233. },
  21234. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  21235. this.scanner = t0;
  21236. this.logger = t1;
  21237. this._parser0$_interpolationMap = t2;
  21238. },
  21239. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  21240. this.$this = t0;
  21241. },
  21242. ModifiableCssMediaRule$0(queries, span) {
  21243. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  21244. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21245. if (J.get$isEmpty$asx(queries))
  21246. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  21247. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  21248. },
  21249. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  21250. var _ = this;
  21251. _.queries = t0;
  21252. _.span = t1;
  21253. _.children = t2;
  21254. _._node0$_children = t3;
  21255. _._node0$_indexInParent = _._node0$_parent = null;
  21256. _.isGroupEnd = false;
  21257. },
  21258. MediaRule$0(query, children, span) {
  21259. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21260. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21261. return new A.MediaRule0(query, span, t1, t2);
  21262. },
  21263. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  21264. var _ = this;
  21265. _.query = t0;
  21266. _.span = t1;
  21267. _.children = t2;
  21268. _.hasDeclarations = t3;
  21269. },
  21270. MergedExtension_merge0(left, right) {
  21271. var t2, t3, t4, t5,
  21272. t1 = left.extender.selector;
  21273. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  21274. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  21275. t2 = left.mediaContext;
  21276. t3 = t2 == null;
  21277. if (!t3) {
  21278. t4 = right.mediaContext;
  21279. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  21280. } else
  21281. t4 = false;
  21282. if (t4)
  21283. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  21284. if (right.isOptional && right.mediaContext == null)
  21285. return left;
  21286. if (left.isOptional && t3)
  21287. return right;
  21288. t4 = left.target;
  21289. t5 = left.span;
  21290. if (t3)
  21291. t2 = right.mediaContext;
  21292. t1.get$specificity();
  21293. t1 = new A.Extender0(t1, false);
  21294. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t4, t2, true, t5);
  21295. },
  21296. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  21297. var _ = this;
  21298. _.left = t0;
  21299. _.right = t1;
  21300. _.extender = t2;
  21301. _.target = t3;
  21302. _.mediaContext = t4;
  21303. _.isOptional = t5;
  21304. _.span = t6;
  21305. },
  21306. MergedMapView$0(maps, $K, $V) {
  21307. var t1 = $K._eval$1("@<0>")._bind$1($V);
  21308. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  21309. t1.MergedMapView$10(maps, $K, $V);
  21310. return t1;
  21311. },
  21312. MergedMapView0: function MergedMapView0(t0, t1) {
  21313. this._merged_map_view$_mapsByKey = t0;
  21314. this.$ti = t1;
  21315. },
  21316. _function12($name, $arguments, callback) {
  21317. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  21318. },
  21319. global_closure57: function global_closure57() {
  21320. },
  21321. global_closure58: function global_closure58() {
  21322. },
  21323. global_closure59: function global_closure59() {
  21324. },
  21325. global_closure60: function global_closure60() {
  21326. },
  21327. local_closure1: function local_closure1() {
  21328. },
  21329. local_closure2: function local_closure2() {
  21330. },
  21331. local__closure0: function local__closure0() {
  21332. },
  21333. MixinRule$0($name, $arguments, children, span, comment) {
  21334. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21335. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21336. return new A.MixinRule0($name, $arguments, span, t1, t2);
  21337. },
  21338. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  21339. var _ = this;
  21340. _._mixin_rule$__MixinRule_hasContent_FI = $;
  21341. _.name = t0;
  21342. _.$arguments = t1;
  21343. _.span = t2;
  21344. _.children = t3;
  21345. _.hasDeclarations = t4;
  21346. },
  21347. _HasContentVisitor0: function _HasContentVisitor0() {
  21348. },
  21349. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  21350. },
  21351. ExtendMode0: function ExtendMode0(t0, t1) {
  21352. this.name = t0;
  21353. this._name = t1;
  21354. },
  21355. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  21356. this._multi_span0$_primary = t0;
  21357. this.primaryLabel = t1;
  21358. this.secondarySpans = t2;
  21359. },
  21360. SupportsNegation0: function SupportsNegation0(t0, t1) {
  21361. this.condition = t0;
  21362. this.span = t1;
  21363. },
  21364. NoOpImporter: function NoOpImporter() {
  21365. },
  21366. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  21367. this._no_source_map_buffer0$_buffer = t0;
  21368. },
  21369. AstNode0: function AstNode0() {
  21370. },
  21371. _FakeAstNode0: function _FakeAstNode0(t0) {
  21372. this._node1$_callback = t0;
  21373. },
  21374. CssNode0: function CssNode0() {
  21375. },
  21376. CssParentNode0: function CssParentNode0() {
  21377. },
  21378. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  21379. this.includeBogus = t0;
  21380. this.includeComments = t1;
  21381. },
  21382. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  21383. },
  21384. readFile0(path) {
  21385. var sourceFile, t1, i,
  21386. contents = A._asString(A._readFile0(path, "utf8"));
  21387. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  21388. return contents;
  21389. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  21390. for (t1 = contents.length, i = 0; i < t1; ++i) {
  21391. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  21392. continue;
  21393. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  21394. }
  21395. return contents;
  21396. },
  21397. _readFile0(path, encoding) {
  21398. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  21399. },
  21400. fileExists0(path) {
  21401. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  21402. },
  21403. dirExists0(path) {
  21404. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  21405. },
  21406. listDir0(path) {
  21407. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  21408. },
  21409. _systemErrorToFileSystemException0(callback) {
  21410. var error, t1, exception, t2;
  21411. try {
  21412. t1 = callback.call$0();
  21413. return t1;
  21414. } catch (exception) {
  21415. error = A.unwrapException(exception);
  21416. if (!type$.JsSystemError._is(error))
  21417. throw exception;
  21418. t1 = error;
  21419. t2 = J.getInterceptor$x(t1);
  21420. 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)));
  21421. }
  21422. },
  21423. FileSystemException0: function FileSystemException0(t0, t1) {
  21424. this.message = t0;
  21425. this.path = t1;
  21426. },
  21427. Stderr0: function Stderr0(t0) {
  21428. this._node$_stderr = t0;
  21429. },
  21430. _readFile_closure0: function _readFile_closure0(t0, t1) {
  21431. this.path = t0;
  21432. this.encoding = t1;
  21433. },
  21434. fileExists_closure0: function fileExists_closure0(t0) {
  21435. this.path = t0;
  21436. },
  21437. dirExists_closure0: function dirExists_closure0(t0) {
  21438. this.path = t0;
  21439. },
  21440. listDir_closure0: function listDir_closure0(t0, t1) {
  21441. this.recursive = t0;
  21442. this.path = t1;
  21443. },
  21444. listDir__closure1: function listDir__closure1(t0) {
  21445. this.path = t0;
  21446. },
  21447. listDir__closure2: function listDir__closure2() {
  21448. },
  21449. listDir_closure_list0: function listDir_closure_list0() {
  21450. },
  21451. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  21452. this.parent = t0;
  21453. this.list = t1;
  21454. },
  21455. ModifiableCssNode0: function ModifiableCssNode0() {
  21456. },
  21457. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  21458. },
  21459. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  21460. },
  21461. main() {
  21462. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  21463. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  21464. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  21465. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  21466. J.set$Value$x(self.exports, $.$get$valueClass());
  21467. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  21468. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  21469. J.set$SassColor$x(self.exports, $.$get$colorClass());
  21470. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  21471. J.set$SassList$x(self.exports, $.$get$listClass());
  21472. J.set$SassMap$x(self.exports, $.$get$mapClass());
  21473. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  21474. J.set$SassString$x(self.exports, $.$get$stringClass());
  21475. J.set$sassNull$x(self.exports, B.C__SassNull0);
  21476. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  21477. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  21478. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  21479. J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
  21480. J.set$info$x(self.exports, "dart-sass\t1.62.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.19.6\t(Dart Compiler)\t[Dart]");
  21481. A.updateSourceSpanPrototype();
  21482. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  21483. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  21484. 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});
  21485. J.set$NULL$x(self.exports, B.C__SassNull0);
  21486. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  21487. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  21488. },
  21489. main_closure0: function main_closure0() {
  21490. },
  21491. main_closure1: function main_closure1() {
  21492. },
  21493. NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
  21494. this._node = t0;
  21495. this._fallback = t1;
  21496. this._ascii = t2;
  21497. },
  21498. NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  21499. var _ = this;
  21500. _.$this = t0;
  21501. _.message = t1;
  21502. _.span = t2;
  21503. _.trace = t3;
  21504. _.deprecation = t4;
  21505. },
  21506. NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
  21507. this.$this = t0;
  21508. this.message = t1;
  21509. this.span = t2;
  21510. },
  21511. NullExpression0: function NullExpression0(t0) {
  21512. this.span = t0;
  21513. },
  21514. legacyNullClass_closure: function legacyNullClass_closure() {
  21515. },
  21516. legacyNullClass__closure: function legacyNullClass__closure() {
  21517. },
  21518. _SassNull0: function _SassNull0() {
  21519. },
  21520. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  21521. this.value = t0;
  21522. this.unit = t1;
  21523. this.span = t2;
  21524. },
  21525. _parseNumber(value, unit) {
  21526. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  21527. if (unit == null || unit.length === 0)
  21528. return A.SassNumber_SassNumber0(value, null);
  21529. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  21530. return A.SassNumber_SassNumber0(value, unit);
  21531. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  21532. operands = unit.split("/");
  21533. t1 = operands.length;
  21534. if (t1 > 2)
  21535. throw A.wrapException(invalidUnit);
  21536. numerator = operands[0];
  21537. denominator = t1 === 1 ? null : operands[1];
  21538. t1 = type$.JSArray_String;
  21539. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  21540. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  21541. throw A.wrapException(invalidUnit);
  21542. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  21543. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  21544. throw A.wrapException(invalidUnit);
  21545. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  21546. },
  21547. _NodeSassNumber: function _NodeSassNumber() {
  21548. },
  21549. legacyNumberClass_closure: function legacyNumberClass_closure() {
  21550. },
  21551. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  21552. },
  21553. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  21554. },
  21555. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  21556. },
  21557. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  21558. },
  21559. _parseNumber_closure: function _parseNumber_closure() {
  21560. },
  21561. _parseNumber_closure0: function _parseNumber_closure0() {
  21562. },
  21563. numberClass_closure: function numberClass_closure() {
  21564. },
  21565. numberClass__closure: function numberClass__closure() {
  21566. },
  21567. numberClass__closure0: function numberClass__closure0() {
  21568. },
  21569. numberClass__closure1: function numberClass__closure1() {
  21570. },
  21571. numberClass__closure2: function numberClass__closure2() {
  21572. },
  21573. numberClass__closure3: function numberClass__closure3() {
  21574. },
  21575. numberClass__closure4: function numberClass__closure4() {
  21576. },
  21577. numberClass__closure5: function numberClass__closure5() {
  21578. },
  21579. numberClass__closure6: function numberClass__closure6() {
  21580. },
  21581. numberClass__closure7: function numberClass__closure7() {
  21582. },
  21583. numberClass__closure8: function numberClass__closure8() {
  21584. },
  21585. numberClass__closure9: function numberClass__closure9() {
  21586. },
  21587. numberClass__closure10: function numberClass__closure10() {
  21588. },
  21589. numberClass__closure11: function numberClass__closure11() {
  21590. },
  21591. numberClass__closure12: function numberClass__closure12() {
  21592. },
  21593. numberClass__closure13: function numberClass__closure13() {
  21594. },
  21595. numberClass__closure14: function numberClass__closure14() {
  21596. },
  21597. numberClass__closure15: function numberClass__closure15() {
  21598. },
  21599. numberClass__closure16: function numberClass__closure16() {
  21600. },
  21601. numberClass__closure17: function numberClass__closure17() {
  21602. },
  21603. numberClass__closure18: function numberClass__closure18() {
  21604. },
  21605. numberClass__closure19: function numberClass__closure19() {
  21606. },
  21607. _ConstructorOptions0: function _ConstructorOptions0() {
  21608. },
  21609. conversionFactor0(unit1, unit2) {
  21610. var innerMap;
  21611. if (unit1 === unit2)
  21612. return 1;
  21613. innerMap = B.Map_K2BWj.$index(0, unit1);
  21614. if (innerMap == null)
  21615. return null;
  21616. return innerMap.$index(0, unit2);
  21617. },
  21618. SassNumber_SassNumber0(value, unit) {
  21619. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  21620. },
  21621. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  21622. var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  21623. if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
  21624. if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21625. return new A.UnitlessSassNumber0(value, _null);
  21626. else {
  21627. t1 = J.getInterceptor$asx(numeratorUnits);
  21628. if (t1.get$length(numeratorUnits) === 1)
  21629. return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
  21630. else
  21631. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  21632. }
  21633. else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21634. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  21635. else {
  21636. t1 = J.getInterceptor$ax(numeratorUnits);
  21637. numerators = t1.toList$0(numeratorUnits);
  21638. t2 = J.getInterceptor$ax(denominatorUnits);
  21639. unsimplifiedDenominators = t2.toList$0(denominatorUnits);
  21640. denominators = A._setArrayType([], type$.JSArray_String);
  21641. for (t3 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  21642. denominator = unsimplifiedDenominators[_i];
  21643. i = 0;
  21644. while (true) {
  21645. if (!(i < numerators.length)) {
  21646. simplifiedAway = false;
  21647. break;
  21648. }
  21649. c$0: {
  21650. factor = A.conversionFactor0(denominator, numerators[i]);
  21651. if (factor == null)
  21652. break c$0;
  21653. valueDouble *= factor;
  21654. B.JSArray_methods.removeAt$1(numerators, i);
  21655. simplifiedAway = true;
  21656. break;
  21657. }
  21658. ++i;
  21659. }
  21660. if (!simplifiedAway)
  21661. denominators.push(denominator);
  21662. }
  21663. if (t2.get$isEmpty(denominatorUnits))
  21664. if (t1.get$isEmpty(numeratorUnits))
  21665. return new A.UnitlessSassNumber0(valueDouble, _null);
  21666. else if (t1.get$length(numeratorUnits) === 1)
  21667. return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), valueDouble, _null);
  21668. t1 = type$.String;
  21669. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  21670. }
  21671. },
  21672. SassNumber0: function SassNumber0() {
  21673. },
  21674. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  21675. var _ = this;
  21676. _.$this = t0;
  21677. _.other = t1;
  21678. _.otherName = t2;
  21679. _.otherHasUnits = t3;
  21680. _.name = t4;
  21681. _.newNumerators = t5;
  21682. _.newDenominators = t6;
  21683. },
  21684. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  21685. this._box_0 = t0;
  21686. this.newNumerator = t1;
  21687. },
  21688. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  21689. this.compatibilityException = t0;
  21690. },
  21691. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  21692. this._box_0 = t0;
  21693. this.newDenominator = t1;
  21694. },
  21695. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  21696. this.compatibilityException = t0;
  21697. },
  21698. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  21699. },
  21700. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  21701. },
  21702. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  21703. this._box_0 = t0;
  21704. this.numerator = t1;
  21705. },
  21706. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  21707. this.newNumerators = t0;
  21708. this.numerator = t1;
  21709. },
  21710. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  21711. this._box_0 = t0;
  21712. this.numerator = t1;
  21713. },
  21714. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  21715. this.newNumerators = t0;
  21716. this.numerator = t1;
  21717. },
  21718. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  21719. this.units2 = t0;
  21720. },
  21721. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  21722. },
  21723. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  21724. this.$this = t0;
  21725. },
  21726. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  21727. },
  21728. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  21729. },
  21730. SupportsOperation$0(left, right, operator, span) {
  21731. var lowerOperator = operator.toLowerCase();
  21732. if (lowerOperator !== "and" && lowerOperator !== "or")
  21733. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  21734. return new A.SupportsOperation0(left, right, operator, span);
  21735. },
  21736. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  21737. var _ = this;
  21738. _.left = t0;
  21739. _.right = t1;
  21740. _.operator = t2;
  21741. _.span = t3;
  21742. },
  21743. ParentSelector0: function ParentSelector0(t0, t1) {
  21744. this.suffix = t0;
  21745. this.span = t1;
  21746. },
  21747. ParentStatement0: function ParentStatement0() {
  21748. },
  21749. ParentStatement_closure0: function ParentStatement_closure0() {
  21750. },
  21751. ParentStatement__closure0: function ParentStatement__closure0() {
  21752. },
  21753. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  21754. this.expression = t0;
  21755. this.span = t1;
  21756. },
  21757. Parser_isIdentifier0(text) {
  21758. var t1, t2, exception, logger = null;
  21759. try {
  21760. t1 = logger;
  21761. t2 = A.SpanScanner$(text, null);
  21762. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser0$_parseIdentifier$0();
  21763. return true;
  21764. } catch (exception) {
  21765. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  21766. return false;
  21767. else
  21768. throw exception;
  21769. }
  21770. },
  21771. Parser1: function Parser1(t0, t1, t2) {
  21772. this.scanner = t0;
  21773. this.logger = t1;
  21774. this._parser0$_interpolationMap = t2;
  21775. },
  21776. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  21777. this.$this = t0;
  21778. },
  21779. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  21780. this.caseSensitive = t0;
  21781. this.char = t1;
  21782. },
  21783. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  21784. this.$this = t0;
  21785. this.span = t1;
  21786. },
  21787. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  21788. this.name = t0;
  21789. this.span = t1;
  21790. },
  21791. PlainCssCallable0: function PlainCssCallable0(t0) {
  21792. this.name = t0;
  21793. },
  21794. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  21795. this._prefixed_map_view0$_map = t0;
  21796. this._prefixed_map_view0$_prefix = t1;
  21797. this.$ti = t2;
  21798. },
  21799. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  21800. this._prefixed_map_view0$_view = t0;
  21801. },
  21802. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  21803. this.$this = t0;
  21804. },
  21805. PseudoSelector$0($name, span, argument, element, selector) {
  21806. var t1 = !element,
  21807. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  21808. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  21809. },
  21810. PseudoSelector__isFakePseudoElement0($name) {
  21811. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  21812. case 97:
  21813. case 65:
  21814. return A.equalsIgnoreCase0($name, "after");
  21815. case 98:
  21816. case 66:
  21817. return A.equalsIgnoreCase0($name, "before");
  21818. case 102:
  21819. case 70:
  21820. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  21821. default:
  21822. return false;
  21823. }
  21824. },
  21825. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  21826. var _ = this;
  21827. _.name = t0;
  21828. _.normalizedName = t1;
  21829. _.isClass = t2;
  21830. _.isSyntacticClass = t3;
  21831. _.argument = t4;
  21832. _.selector = t5;
  21833. _._pseudo$__PseudoSelector_specificity_FI = $;
  21834. _.span = t6;
  21835. },
  21836. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  21837. this.$this = t0;
  21838. },
  21839. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  21840. },
  21841. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  21842. },
  21843. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  21844. },
  21845. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  21846. this._public_member_map_view0$_inner = t0;
  21847. this.$ti = t1;
  21848. },
  21849. QualifiedName0: function QualifiedName0(t0, t1) {
  21850. this.name = t0;
  21851. this.namespace = t1;
  21852. },
  21853. createJSClass($name, $constructor) {
  21854. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  21855. },
  21856. JSClassExtension_injectSuperclass(_this, superclass) {
  21857. var t1 = J.getInterceptor$x(superclass),
  21858. t2 = J.getInterceptor$x(_this);
  21859. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  21860. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  21861. },
  21862. JSClassExtension_setCustomInspect(_this, inspect) {
  21863. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  21864. },
  21865. JSClassExtension_get_defineMethod(_this) {
  21866. return new A.JSClassExtension_get_defineMethod_closure(_this);
  21867. },
  21868. JSClassExtension_defineMethods(_this, methods) {
  21869. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  21870. },
  21871. JSClassExtension_get_defineGetter(_this) {
  21872. return new A.JSClassExtension_get_defineGetter_closure(_this);
  21873. },
  21874. JSClass0: function JSClass0() {
  21875. },
  21876. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  21877. this.inspect = t0;
  21878. },
  21879. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  21880. this._this = t0;
  21881. },
  21882. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  21883. this._this = t0;
  21884. },
  21885. RenderContext0: function RenderContext0() {
  21886. },
  21887. RenderContextOptions0: function RenderContextOptions0() {
  21888. },
  21889. RenderContextResult0: function RenderContextResult0() {
  21890. },
  21891. RenderContextResultStats0: function RenderContextResultStats0() {
  21892. },
  21893. RenderOptions: function RenderOptions() {
  21894. },
  21895. RenderResult: function RenderResult() {
  21896. },
  21897. RenderResultStats: function RenderResultStats() {
  21898. },
  21899. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  21900. },
  21901. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  21902. this.$this = t0;
  21903. },
  21904. ReplaceExpressionVisitor_visitMapExpression_closure0: function ReplaceExpressionVisitor_visitMapExpression_closure0(t0) {
  21905. this.$this = t0;
  21906. },
  21907. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  21908. this.$this = t0;
  21909. },
  21910. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  21911. this.$this = t0;
  21912. },
  21913. ImporterResult$(contents, sourceMapUrl, syntax) {
  21914. var t2,
  21915. t1 = syntax == null;
  21916. if (t1)
  21917. t2 = B.Syntax_SCSS_scss0;
  21918. else
  21919. t2 = syntax;
  21920. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  21921. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  21922. else if (t1 && true)
  21923. A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
  21924. return new A.ImporterResult0(contents, sourceMapUrl, t2);
  21925. },
  21926. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  21927. this.contents = t0;
  21928. this._result$_sourceMapUrl = t1;
  21929. this.syntax = t2;
  21930. },
  21931. ReturnRule0: function ReturnRule0(t0, t1) {
  21932. this.expression = t0;
  21933. this.span = t1;
  21934. },
  21935. main0(args) {
  21936. return A.main$body(args);
  21937. },
  21938. main$body(args) {
  21939. var $async$goto = 0,
  21940. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  21941. $async$returnValue, $async$handler = 2, $async$currentError, printError, graph, source, destination, error, stackTrace, error0, stackTrace0, path, error1, error2, stackTrace1, buffer, options, t1, t2, t3, exception, t4, t5, _box_0, $async$exception, $async$exception1, $async$temp1;
  21942. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  21943. if ($async$errorCode === 1) {
  21944. $async$currentError = $async$result;
  21945. $async$goto = $async$handler;
  21946. }
  21947. while (true)
  21948. switch ($async$goto) {
  21949. case 0:
  21950. // Function start
  21951. _box_0 = {};
  21952. _box_0.printedError = false;
  21953. printError = new A.main_printError(_box_0);
  21954. _box_0.options = null;
  21955. $async$handler = 4;
  21956. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  21957. _box_0.options = options;
  21958. t1 = options._options;
  21959. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  21960. $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
  21961. break;
  21962. case 7:
  21963. // then
  21964. $async$temp1 = A;
  21965. $async$goto = 9;
  21966. return A._asyncAwait(A._loadVersion(), $async$main0);
  21967. case 9:
  21968. // returning from await.
  21969. $async$temp1.print($async$result);
  21970. J.set$exitCode$x(self.process, 0);
  21971. // goto return
  21972. $async$goto = 1;
  21973. break;
  21974. case 8:
  21975. // join
  21976. $async$goto = _box_0.options.get$interactive() ? 10 : 11;
  21977. break;
  21978. case 10:
  21979. // then
  21980. $async$goto = 12;
  21981. return A._asyncAwait(A.repl(_box_0.options), $async$main0);
  21982. case 12:
  21983. // returning from await.
  21984. // goto return
  21985. $async$goto = 1;
  21986. break;
  21987. case 11:
  21988. // join
  21989. t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
  21990. t2 = _box_0.options;
  21991. t2 = A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color());
  21992. t3 = type$.Uri;
  21993. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), t2, _box_0.options.get$fatalDeprecations(), _box_0.options.get$futureDeprecations(), false)), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21994. $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
  21995. break;
  21996. case 13:
  21997. // then
  21998. $async$goto = 15;
  21999. return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
  22000. case 15:
  22001. // returning from await.
  22002. // goto return
  22003. $async$goto = 1;
  22004. break;
  22005. case 14:
  22006. // join
  22007. t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
  22008. case 16:
  22009. // for condition
  22010. if (!t1.moveNext$0()) {
  22011. // goto after for
  22012. $async$goto = 17;
  22013. break;
  22014. }
  22015. source = t1.get$current(t1);
  22016. t2 = _box_0.options;
  22017. t2._ensureSources$0();
  22018. destination = t2._sourcesToDestinations.$index(0, source);
  22019. $async$handler = 19;
  22020. t2 = _box_0.options;
  22021. $async$goto = 22;
  22022. return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
  22023. case 22:
  22024. // returning from await.
  22025. $async$handler = 4;
  22026. // goto after finally
  22027. $async$goto = 21;
  22028. break;
  22029. case 19:
  22030. // catch
  22031. $async$handler = 18;
  22032. $async$exception = $async$currentError;
  22033. t2 = A.unwrapException($async$exception);
  22034. if (t2 instanceof A.SassException) {
  22035. error = t2;
  22036. stackTrace = A.getTraceFromException($async$exception);
  22037. new A.main_closure(_box_0, destination).call$0();
  22038. t2 = _box_0.options._options;
  22039. if (!t2._parser.options._map.containsKey$1("color"))
  22040. A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
  22041. t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  22042. t2 = J.toString$1$color$(error, t2);
  22043. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  22044. t3 = error;
  22045. t4 = typeof t3 == "string";
  22046. if (t4 || typeof t3 == "number" || A._isBool(t3))
  22047. t3 = null;
  22048. else {
  22049. t5 = $.$get$_traces();
  22050. if (A._isBool(t3) || typeof t3 == "number" || t4)
  22051. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  22052. t3 = t5._jsWeakMap.get(t3);
  22053. }
  22054. if (t3 == null)
  22055. t3 = stackTrace;
  22056. } else
  22057. t3 = null;
  22058. printError.call$2(t2, t3);
  22059. if (J.get$exitCode$x(self.process) !== 66)
  22060. J.set$exitCode$x(self.process, 65);
  22061. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  22062. // goto return
  22063. $async$goto = 1;
  22064. break;
  22065. }
  22066. } else if (t2 instanceof A.FileSystemException) {
  22067. error0 = t2;
  22068. stackTrace0 = A.getTraceFromException($async$exception);
  22069. path = error0.path;
  22070. t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  22071. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  22072. t3 = error0;
  22073. t4 = typeof t3 == "string";
  22074. if (t4 || typeof t3 == "number" || A._isBool(t3))
  22075. t3 = null;
  22076. else {
  22077. t5 = $.$get$_traces();
  22078. if (A._isBool(t3) || typeof t3 == "number" || t4)
  22079. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  22080. t3 = t5._jsWeakMap.get(t3);
  22081. }
  22082. if (t3 == null)
  22083. t3 = stackTrace0;
  22084. } else
  22085. t3 = null;
  22086. printError.call$2(t2, t3);
  22087. J.set$exitCode$x(self.process, 66);
  22088. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  22089. // goto return
  22090. $async$goto = 1;
  22091. break;
  22092. }
  22093. } else
  22094. throw $async$exception;
  22095. // goto after finally
  22096. $async$goto = 21;
  22097. break;
  22098. case 18:
  22099. // uncaught
  22100. // goto catch
  22101. $async$goto = 4;
  22102. break;
  22103. case 21:
  22104. // after finally
  22105. // goto for condition
  22106. $async$goto = 16;
  22107. break;
  22108. case 17:
  22109. // after for
  22110. $async$handler = 2;
  22111. // goto after finally
  22112. $async$goto = 6;
  22113. break;
  22114. case 4:
  22115. // catch
  22116. $async$handler = 3;
  22117. $async$exception1 = $async$currentError;
  22118. t1 = A.unwrapException($async$exception1);
  22119. if (t1 instanceof A.UsageException) {
  22120. error1 = t1;
  22121. A.print(error1.message + "\n");
  22122. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  22123. t1 = $.$get$ExecutableOptions__parser();
  22124. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  22125. J.set$exitCode$x(self.process, 64);
  22126. } else {
  22127. error2 = t1;
  22128. stackTrace1 = A.getTraceFromException($async$exception1);
  22129. buffer = new A.StringBuffer("");
  22130. t1 = _box_0.options;
  22131. if (t1 != null && t1.get$color())
  22132. buffer._contents += "\x1b[31m\x1b[1m";
  22133. buffer._contents += "Unexpected exception:";
  22134. t1 = _box_0.options;
  22135. if (t1 != null && t1.get$color())
  22136. buffer._contents += "\x1b[0m";
  22137. buffer._contents += "\n";
  22138. buffer._contents += A.S(error2) + "\n";
  22139. t1 = buffer._contents;
  22140. t2 = A.getTrace(error2);
  22141. if (t2 == null)
  22142. t2 = stackTrace1;
  22143. printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
  22144. J.set$exitCode$x(self.process, 255);
  22145. }
  22146. // goto after finally
  22147. $async$goto = 6;
  22148. break;
  22149. case 3:
  22150. // uncaught
  22151. // goto rethrow
  22152. $async$goto = 2;
  22153. break;
  22154. case 6:
  22155. // after finally
  22156. case 1:
  22157. // return
  22158. return A._asyncReturn($async$returnValue, $async$completer);
  22159. case 2:
  22160. // rethrow
  22161. return A._asyncRethrow($async$currentError, $async$completer);
  22162. }
  22163. });
  22164. return A._asyncStartSync($async$main0, $async$completer);
  22165. },
  22166. _loadVersion() {
  22167. var $async$goto = 0,
  22168. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  22169. $async$returnValue;
  22170. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  22171. if ($async$errorCode === 1)
  22172. return A._asyncRethrow($async$result, $async$completer);
  22173. while (true)
  22174. switch ($async$goto) {
  22175. case 0:
  22176. // Function start
  22177. $async$returnValue = "1.62.1 compiled with dart2js 2.19.6";
  22178. // goto return
  22179. $async$goto = 1;
  22180. break;
  22181. case 1:
  22182. // return
  22183. return A._asyncReturn($async$returnValue, $async$completer);
  22184. }
  22185. });
  22186. return A._asyncStartSync($async$_loadVersion, $async$completer);
  22187. },
  22188. main_printError: function main_printError(t0) {
  22189. this._box_0 = t0;
  22190. },
  22191. main_closure: function main_closure(t0, t1) {
  22192. this._box_0 = t0;
  22193. this.destination = t1;
  22194. },
  22195. SassParser0: function SassParser0(t0, t1, t2, t3) {
  22196. var _ = this;
  22197. _._sass0$_currentIndentation = 0;
  22198. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  22199. _._stylesheet0$_isUseAllowed = true;
  22200. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  22201. _._stylesheet0$_globalVariables = t0;
  22202. _.lastSilentComment = null;
  22203. _.scanner = t1;
  22204. _.logger = t2;
  22205. _._parser0$_interpolationMap = t3;
  22206. },
  22207. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  22208. this.$this = t0;
  22209. this.child = t1;
  22210. this.children = t2;
  22211. },
  22212. _translateReturnValue(val) {
  22213. if (type$.Future_dynamic._is(val))
  22214. return A.futureToPromise(val, type$.dynamic);
  22215. else
  22216. return val;
  22217. },
  22218. main1() {
  22219. new Uint8Array(0);
  22220. A.main();
  22221. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  22222. },
  22223. _wrapMain(main) {
  22224. if (type$.dynamic_Function._is(main))
  22225. return A.allowInterop(new A._wrapMain_closure(main));
  22226. else
  22227. return A.allowInterop(new A._wrapMain_closure0(main));
  22228. },
  22229. _Exports: function _Exports() {
  22230. },
  22231. _wrapMain_closure: function _wrapMain_closure(t0) {
  22232. this.main = t0;
  22233. },
  22234. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  22235. this.main = t0;
  22236. },
  22237. ScssParser$0(contents, logger, url) {
  22238. var t1 = A.SpanScanner$(contents, url),
  22239. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22240. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  22241. },
  22242. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  22243. var _ = this;
  22244. _._stylesheet0$_isUseAllowed = true;
  22245. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  22246. _._stylesheet0$_globalVariables = t0;
  22247. _.lastSilentComment = null;
  22248. _.scanner = t1;
  22249. _.logger = t2;
  22250. _._parser0$_interpolationMap = t3;
  22251. },
  22252. Selector0: function Selector0() {
  22253. },
  22254. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  22255. this.includeBogus = t0;
  22256. },
  22257. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  22258. this.includeLeadingCombinator = t0;
  22259. },
  22260. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  22261. this.$this = t0;
  22262. },
  22263. _IsUselessVisitor0: function _IsUselessVisitor0() {
  22264. },
  22265. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  22266. this.$this = t0;
  22267. },
  22268. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  22269. },
  22270. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  22271. },
  22272. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  22273. },
  22274. SelectorExpression0: function SelectorExpression0(t0) {
  22275. this.span = t0;
  22276. },
  22277. _prependParent0(compound) {
  22278. var span, t2, _null = null,
  22279. t1 = compound.components,
  22280. first = B.JSArray_methods.get$first(t1);
  22281. if (first instanceof A.UniversalSelector0)
  22282. return _null;
  22283. span = A.EvaluationContext_current0().get$currentCallableSpan();
  22284. if (first instanceof A.TypeSelector0) {
  22285. t2 = first.name;
  22286. if (t2.namespace != null)
  22287. return _null;
  22288. t2 = A._setArrayType([new A.ParentSelector0(t2.name, span)], type$.JSArray_SimpleSelector_2);
  22289. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  22290. return A.CompoundSelector$0(t2, span);
  22291. } else {
  22292. t2 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  22293. B.JSArray_methods.addAll$1(t2, t1);
  22294. return A.CompoundSelector$0(t2, span);
  22295. }
  22296. },
  22297. _function7($name, $arguments, callback) {
  22298. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  22299. },
  22300. _nest_closure0: function _nest_closure0() {
  22301. },
  22302. _nest__closure1: function _nest__closure1(t0) {
  22303. this._box_0 = t0;
  22304. },
  22305. _nest__closure2: function _nest__closure2() {
  22306. },
  22307. _append_closure1: function _append_closure1() {
  22308. },
  22309. _append__closure1: function _append__closure1() {
  22310. },
  22311. _append__closure2: function _append__closure2(t0) {
  22312. this.span = t0;
  22313. },
  22314. _append___closure0: function _append___closure0(t0, t1) {
  22315. this.parent = t0;
  22316. this.span = t1;
  22317. },
  22318. _extend_closure0: function _extend_closure0() {
  22319. },
  22320. _replace_closure0: function _replace_closure0() {
  22321. },
  22322. _unify_closure0: function _unify_closure0() {
  22323. },
  22324. _isSuperselector_closure0: function _isSuperselector_closure0() {
  22325. },
  22326. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  22327. },
  22328. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  22329. },
  22330. _parse_closure0: function _parse_closure0() {
  22331. },
  22332. SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  22333. var t1 = A.SpanScanner$(contents, url);
  22334. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  22335. },
  22336. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  22337. var _ = this;
  22338. _._selector$_allowParent = t0;
  22339. _._selector$_allowPlaceholder = t1;
  22340. _.scanner = t2;
  22341. _.logger = t3;
  22342. _._parser0$_interpolationMap = t4;
  22343. },
  22344. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  22345. this.$this = t0;
  22346. },
  22347. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  22348. this.$this = t0;
  22349. },
  22350. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  22351. },
  22352. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  22353. this.$this = t0;
  22354. },
  22355. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  22356. this.$this = t0;
  22357. },
  22358. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  22359. var t1, css, t2, prefix,
  22360. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  22361. node.accept$1(visitor);
  22362. t1 = visitor._serialize0$_buffer;
  22363. css = t1.toString$0(0);
  22364. if (charset) {
  22365. t2 = new A.CodeUnits(css);
  22366. t2 = t2.any$1(t2, new A.serialize_closure0());
  22367. } else
  22368. t2 = false;
  22369. if (t2)
  22370. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  22371. else
  22372. prefix = "";
  22373. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  22374. return new A.SerializeResult0(prefix + css, t1);
  22375. },
  22376. serializeValue0(value, inspect, quote) {
  22377. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  22378. value.accept$1(visitor);
  22379. return visitor._serialize0$_buffer.toString$0(0);
  22380. },
  22381. serializeSelector0(selector, inspect) {
  22382. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  22383. selector.accept$1(visitor);
  22384. return visitor._serialize0$_buffer.toString$0(0);
  22385. },
  22386. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  22387. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  22388. t2 = style == null ? B.OutputStyle_00 : style,
  22389. t3 = useSpaces ? 32 : 9,
  22390. t4 = indentWidth == null ? 2 : indentWidth,
  22391. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  22392. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  22393. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  22394. },
  22395. serialize_closure0: function serialize_closure0() {
  22396. },
  22397. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  22398. var _ = this;
  22399. _._serialize0$_buffer = t0;
  22400. _._serialize0$_indentation = 0;
  22401. _._serialize0$_style = t1;
  22402. _._serialize0$_inspect = t2;
  22403. _._serialize0$_quote = t3;
  22404. _._serialize0$_indentCharacter = t4;
  22405. _._serialize0$_indentWidth = t5;
  22406. _._lineFeed = t6;
  22407. },
  22408. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  22409. this.$this = t0;
  22410. this.node = t1;
  22411. },
  22412. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  22413. this.$this = t0;
  22414. this.node = t1;
  22415. },
  22416. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  22417. this.$this = t0;
  22418. this.node = t1;
  22419. },
  22420. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  22421. this.$this = t0;
  22422. this.node = t1;
  22423. },
  22424. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  22425. this.$this = t0;
  22426. this.node = t1;
  22427. },
  22428. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  22429. this.$this = t0;
  22430. this.node = t1;
  22431. },
  22432. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  22433. this.$this = t0;
  22434. this.node = t1;
  22435. },
  22436. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  22437. this.$this = t0;
  22438. this.node = t1;
  22439. },
  22440. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  22441. this.$this = t0;
  22442. this.node = t1;
  22443. },
  22444. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  22445. this.$this = t0;
  22446. this.node = t1;
  22447. },
  22448. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  22449. },
  22450. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  22451. this.$this = t0;
  22452. this.value = t1;
  22453. },
  22454. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  22455. this.$this = t0;
  22456. },
  22457. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  22458. this.$this = t0;
  22459. },
  22460. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  22461. },
  22462. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  22463. this.$this = t0;
  22464. this.value = t1;
  22465. },
  22466. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  22467. this.$this = t0;
  22468. this.child = t1;
  22469. },
  22470. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  22471. this.$this = t0;
  22472. this.child = t1;
  22473. },
  22474. OutputStyle0: function OutputStyle0(t0) {
  22475. this._name = t0;
  22476. },
  22477. LineFeed0: function LineFeed0(t0, t1, t2) {
  22478. this.name = t0;
  22479. this.text = t1;
  22480. this._name = t2;
  22481. },
  22482. SerializeResult0: function SerializeResult0(t0, t1) {
  22483. this.css = t0;
  22484. this.sourceMap = t1;
  22485. },
  22486. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  22487. 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;
  22488. },
  22489. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  22490. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  22491. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  22492. },
  22493. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  22494. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  22495. },
  22496. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  22497. var _ = this;
  22498. _._shadowed_view0$_inner = t0;
  22499. _.variables = t1;
  22500. _.variableNodes = t2;
  22501. _.functions = t3;
  22502. _.mixins = t4;
  22503. _.$ti = t5;
  22504. },
  22505. SilentComment0: function SilentComment0(t0, t1) {
  22506. this.text = t0;
  22507. this.span = t1;
  22508. },
  22509. SimpleSelector0: function SimpleSelector0() {
  22510. },
  22511. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  22512. this.$this = t0;
  22513. },
  22514. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  22515. this.$this = t0;
  22516. },
  22517. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  22518. var _ = this;
  22519. _._single_unit$_unit = t0;
  22520. _._number1$_value = t1;
  22521. _.hashCache = null;
  22522. _.asSlash = t2;
  22523. },
  22524. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  22525. this.$this = t0;
  22526. this.unit = t1;
  22527. },
  22528. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  22529. this.$this = t0;
  22530. },
  22531. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  22532. this._box_0 = t0;
  22533. this.$this = t1;
  22534. },
  22535. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  22536. this._box_0 = t0;
  22537. this.$this = t1;
  22538. },
  22539. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  22540. var _ = this;
  22541. _._source_map_buffer0$_buffer = t0;
  22542. _._source_map_buffer0$_entries = t1;
  22543. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  22544. _._source_map_buffer0$_inSpan = false;
  22545. },
  22546. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  22547. this._box_0 = t0;
  22548. this.prefixLength = t1;
  22549. },
  22550. updateSourceSpanPrototype() {
  22551. var t3, t4, _i, t5,
  22552. span = A.SourceFile$fromString("", null).span$1(0, 0),
  22553. t1 = type$.SourceSpan,
  22554. t2 = type$.String;
  22555. for (t1 = [span, new A.MultiSpan0(span, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t1, t2))], t3 = type$.JSClass, t4 = type$.Function, _i = 0; _i < 2; ++_i) {
  22556. t5 = t3._as(t1[_i].constructor);
  22557. A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure(), "end", new A.updateSourceSpanPrototype_closure0(), "url", new A.updateSourceSpanPrototype_closure1(), "text", new A.updateSourceSpanPrototype_closure2(), "context", new A.updateSourceSpanPrototype_closure3()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t5));
  22558. }
  22559. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  22560. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  22561. },
  22562. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
  22563. },
  22564. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  22565. },
  22566. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  22567. },
  22568. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  22569. },
  22570. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  22571. },
  22572. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  22573. },
  22574. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  22575. },
  22576. StatementSearchVisitor0: function StatementSearchVisitor0() {
  22577. },
  22578. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  22579. this.$this = t0;
  22580. },
  22581. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  22582. this.$this = t0;
  22583. },
  22584. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  22585. this.$this = t0;
  22586. },
  22587. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  22588. this.$this = t0;
  22589. },
  22590. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  22591. this.$this = t0;
  22592. },
  22593. StaticImport0: function StaticImport0(t0, t1, t2) {
  22594. this.url = t0;
  22595. this.modifiers = t1;
  22596. this.span = t2;
  22597. },
  22598. StderrLogger0: function StderrLogger0(t0) {
  22599. this.color = t0;
  22600. },
  22601. StringExpression_quoteText0(text) {
  22602. var t1,
  22603. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  22604. buffer = new A.StringBuffer("");
  22605. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  22606. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  22607. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  22608. return t1.charCodeAt(0) == 0 ? t1 : t1;
  22609. },
  22610. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  22611. var t1, t2, i, codeUnit, next, t3;
  22612. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  22613. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  22614. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  22615. buffer.writeCharCode$1(92);
  22616. buffer.writeCharCode$1(97);
  22617. if (i !== t2) {
  22618. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  22619. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
  22620. buffer.writeCharCode$1(32);
  22621. }
  22622. } else {
  22623. if (codeUnit !== quote)
  22624. if (codeUnit !== 92)
  22625. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  22626. else
  22627. t3 = true;
  22628. else
  22629. t3 = true;
  22630. if (t3)
  22631. buffer.writeCharCode$1(92);
  22632. buffer.writeCharCode$1(codeUnit);
  22633. }
  22634. }
  22635. },
  22636. StringExpression__bestQuote0(strings) {
  22637. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  22638. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  22639. t2 = t1.get$current(t1);
  22640. for (t3 = t2.length, i = 0; i < t3; ++i) {
  22641. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  22642. if (codeUnit === 39)
  22643. return 34;
  22644. if (codeUnit === 34)
  22645. containsDoubleQuote = true;
  22646. }
  22647. }
  22648. return containsDoubleQuote ? 39 : 34;
  22649. },
  22650. StringExpression0: function StringExpression0(t0, t1) {
  22651. this.text = t0;
  22652. this.hasQuotes = t1;
  22653. },
  22654. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  22655. var result;
  22656. if (index === 0)
  22657. return 0;
  22658. if (index > 0)
  22659. return Math.min(index - 1, lengthInCodepoints);
  22660. result = lengthInCodepoints + index;
  22661. if (result < 0 && !allowNegative)
  22662. return 0;
  22663. return result;
  22664. },
  22665. _function6($name, $arguments, callback) {
  22666. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  22667. },
  22668. module_closure9: function module_closure9() {
  22669. },
  22670. module__closure2: function module__closure2(t0) {
  22671. this.string = t0;
  22672. },
  22673. module__closure3: function module__closure3(t0) {
  22674. this.string = t0;
  22675. },
  22676. _unquote_closure0: function _unquote_closure0() {
  22677. },
  22678. _quote_closure0: function _quote_closure0() {
  22679. },
  22680. _length_closure1: function _length_closure1() {
  22681. },
  22682. _insert_closure0: function _insert_closure0() {
  22683. },
  22684. _index_closure1: function _index_closure1() {
  22685. },
  22686. _slice_closure0: function _slice_closure0() {
  22687. },
  22688. _toUpperCase_closure0: function _toUpperCase_closure0() {
  22689. },
  22690. _toLowerCase_closure0: function _toLowerCase_closure0() {
  22691. },
  22692. _uniqueId_closure0: function _uniqueId_closure0() {
  22693. },
  22694. _NodeSassString: function _NodeSassString() {
  22695. },
  22696. legacyStringClass_closure: function legacyStringClass_closure() {
  22697. },
  22698. legacyStringClass_closure0: function legacyStringClass_closure0() {
  22699. },
  22700. legacyStringClass_closure1: function legacyStringClass_closure1() {
  22701. },
  22702. stringClass_closure: function stringClass_closure() {
  22703. },
  22704. stringClass__closure: function stringClass__closure() {
  22705. },
  22706. stringClass__closure0: function stringClass__closure0() {
  22707. },
  22708. stringClass__closure1: function stringClass__closure1() {
  22709. },
  22710. stringClass__closure2: function stringClass__closure2() {
  22711. },
  22712. stringClass__closure3: function stringClass__closure3() {
  22713. },
  22714. _ConstructorOptions1: function _ConstructorOptions1() {
  22715. },
  22716. SassString$0(_text, quotes) {
  22717. return new A.SassString0(_text, quotes);
  22718. },
  22719. SassString0: function SassString0(t0, t1) {
  22720. var _ = this;
  22721. _._string0$_text = t0;
  22722. _._string0$_hasQuotes = t1;
  22723. _._string0$__SassString__sassLength_FI = $;
  22724. _._string0$_hashCache = null;
  22725. },
  22726. ModifiableCssStyleRule$0(_selector, span, originalSelector) {
  22727. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22728. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22729. },
  22730. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  22731. var _ = this;
  22732. _._style_rule0$_selector = t0;
  22733. _.originalSelector = t1;
  22734. _.span = t2;
  22735. _.children = t3;
  22736. _._node0$_children = t4;
  22737. _._node0$_indexInParent = _._node0$_parent = null;
  22738. _.isGroupEnd = false;
  22739. },
  22740. StyleRule$0(selector, children, span) {
  22741. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22742. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22743. return new A.StyleRule0(selector, span, t1, t2);
  22744. },
  22745. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  22746. var _ = this;
  22747. _.selector = t0;
  22748. _.span = t1;
  22749. _.children = t2;
  22750. _.hasDeclarations = t3;
  22751. },
  22752. CssStylesheet0: function CssStylesheet0(t0, t1) {
  22753. this.children = t0;
  22754. this.span = t1;
  22755. },
  22756. ModifiableCssStylesheet$0(span) {
  22757. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22758. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22759. },
  22760. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  22761. var _ = this;
  22762. _.span = t0;
  22763. _.children = t1;
  22764. _._node0$_children = t2;
  22765. _._node0$_indexInParent = _._node0$_parent = null;
  22766. _.isGroupEnd = false;
  22767. },
  22768. StylesheetParser0: function StylesheetParser0() {
  22769. },
  22770. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  22771. this.$this = t0;
  22772. },
  22773. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  22774. this.$this = t0;
  22775. },
  22776. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  22777. },
  22778. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  22779. this.$this = t0;
  22780. },
  22781. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  22782. this.$this = t0;
  22783. this.production = t1;
  22784. this.T = t2;
  22785. },
  22786. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  22787. this.$this = t0;
  22788. this.requireParens = t1;
  22789. },
  22790. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  22791. this.$this = t0;
  22792. },
  22793. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  22794. this.$this = t0;
  22795. this.start = t1;
  22796. },
  22797. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  22798. this.declaration = t0;
  22799. },
  22800. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  22801. this.name = t0;
  22802. },
  22803. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  22804. this._box_0 = t0;
  22805. this.name = t1;
  22806. },
  22807. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  22808. var _ = this;
  22809. _._box_0 = t0;
  22810. _.$this = t1;
  22811. _.wasInStyleRule = t2;
  22812. _.start = t3;
  22813. },
  22814. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  22815. this._box_0 = t0;
  22816. },
  22817. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  22818. this._box_0 = t0;
  22819. this.value = t1;
  22820. },
  22821. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  22822. this.query = t0;
  22823. },
  22824. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  22825. },
  22826. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  22827. var _ = this;
  22828. _.$this = t0;
  22829. _.wasInControlDirective = t1;
  22830. _.variables = t2;
  22831. _.list = t3;
  22832. },
  22833. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  22834. this.name = t0;
  22835. this.$arguments = t1;
  22836. this.precedingComment = t2;
  22837. },
  22838. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  22839. this._box_0 = t0;
  22840. this.$this = t1;
  22841. },
  22842. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  22843. var _ = this;
  22844. _._box_0 = t0;
  22845. _.$this = t1;
  22846. _.wasInControlDirective = t2;
  22847. _.variable = t3;
  22848. _.from = t4;
  22849. _.to = t5;
  22850. },
  22851. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  22852. this.$this = t0;
  22853. this.variables = t1;
  22854. this.identifiers = t2;
  22855. },
  22856. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  22857. this.contentArguments_ = t0;
  22858. },
  22859. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  22860. this.query = t0;
  22861. },
  22862. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  22863. var _ = this;
  22864. _.$this = t0;
  22865. _.name = t1;
  22866. _.$arguments = t2;
  22867. _.precedingComment = t3;
  22868. },
  22869. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  22870. var _ = this;
  22871. _._box_0 = t0;
  22872. _.$this = t1;
  22873. _.name = t2;
  22874. _.value = t3;
  22875. },
  22876. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  22877. this.condition = t0;
  22878. },
  22879. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  22880. this.$this = t0;
  22881. this.wasInControlDirective = t1;
  22882. this.condition = t2;
  22883. },
  22884. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  22885. this._box_0 = t0;
  22886. this.name = t1;
  22887. },
  22888. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  22889. this._box_0 = t0;
  22890. this.$this = t1;
  22891. this.start = t2;
  22892. },
  22893. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  22894. this._box_0 = t0;
  22895. this.$this = t1;
  22896. },
  22897. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  22898. this._box_0 = t0;
  22899. this.resolveOneOperation = t1;
  22900. },
  22901. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  22902. var _ = this;
  22903. _._box_0 = t0;
  22904. _.$this = t1;
  22905. _.resetState = t2;
  22906. _.resolveOperations = t3;
  22907. },
  22908. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  22909. this._box_0 = t0;
  22910. this.$this = t1;
  22911. this.resolveOneOperation = t2;
  22912. },
  22913. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  22914. this._box_0 = t0;
  22915. this.$this = t1;
  22916. this.resolveOperations = t2;
  22917. },
  22918. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  22919. this.$this = t0;
  22920. },
  22921. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  22922. },
  22923. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  22924. },
  22925. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  22926. this.$this = t0;
  22927. this.start = t1;
  22928. },
  22929. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  22930. },
  22931. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  22932. this.$this = t0;
  22933. },
  22934. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  22935. this.$this = t0;
  22936. this.start = t1;
  22937. },
  22938. Stylesheet$internal0(children, span, plainCss) {
  22939. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  22940. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  22941. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  22942. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  22943. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  22944. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  22945. return t1;
  22946. },
  22947. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  22948. var t1, t2;
  22949. switch (syntax) {
  22950. case B.Syntax_Sass_sass0:
  22951. t1 = A.SpanScanner$(contents, url);
  22952. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22953. return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null).parse$0();
  22954. case B.Syntax_SCSS_scss0:
  22955. return A.ScssParser$0(contents, logger, url).parse$0();
  22956. case B.Syntax_CSS_css0:
  22957. t1 = A.SpanScanner$(contents, url);
  22958. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22959. return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null).parse$0();
  22960. default:
  22961. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  22962. }
  22963. },
  22964. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  22965. var _ = this;
  22966. _.span = t0;
  22967. _.plainCss = t1;
  22968. _._stylesheet1$_uses = t2;
  22969. _._stylesheet1$_forwards = t3;
  22970. _.children = t4;
  22971. _.hasDeclarations = t5;
  22972. },
  22973. SupportsExpression0: function SupportsExpression0(t0) {
  22974. this.condition = t0;
  22975. },
  22976. ModifiableCssSupportsRule$0(condition, span) {
  22977. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22978. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22979. },
  22980. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  22981. var _ = this;
  22982. _.condition = t0;
  22983. _.span = t1;
  22984. _.children = t2;
  22985. _._node0$_children = t3;
  22986. _._node0$_indexInParent = _._node0$_parent = null;
  22987. _.isGroupEnd = false;
  22988. },
  22989. SupportsRule$0(condition, children, span) {
  22990. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22991. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22992. return new A.SupportsRule0(condition, span, t1, t2);
  22993. },
  22994. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  22995. var _ = this;
  22996. _.condition = t0;
  22997. _.span = t1;
  22998. _.children = t2;
  22999. _.hasDeclarations = t3;
  23000. },
  23001. NodeToDartImporter: function NodeToDartImporter(t0, t1) {
  23002. this._sync$_canonicalize = t0;
  23003. this._sync$_load = t1;
  23004. },
  23005. Syntax_forPath0(path) {
  23006. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  23007. case ".sass":
  23008. return B.Syntax_Sass_sass0;
  23009. case ".css":
  23010. return B.Syntax_CSS_css0;
  23011. default:
  23012. return B.Syntax_SCSS_scss0;
  23013. }
  23014. },
  23015. Syntax0: function Syntax0(t0, t1) {
  23016. this._syntax0$_name = t0;
  23017. this._name = t1;
  23018. },
  23019. TypeSelector0: function TypeSelector0(t0, t1) {
  23020. this.name = t0;
  23021. this.span = t1;
  23022. },
  23023. Types: function Types() {
  23024. },
  23025. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  23026. this.operator = t0;
  23027. this.operand = t1;
  23028. this.span = t2;
  23029. },
  23030. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  23031. this.name = t0;
  23032. this.operator = t1;
  23033. this._name = t2;
  23034. },
  23035. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  23036. this._number1$_value = t0;
  23037. this.hashCache = null;
  23038. this.asSlash = t1;
  23039. },
  23040. UniversalSelector0: function UniversalSelector0(t0, t1) {
  23041. this.namespace = t0;
  23042. this.span = t1;
  23043. },
  23044. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  23045. this._unprefixed_map_view0$_map = t0;
  23046. this._unprefixed_map_view0$_prefix = t1;
  23047. this.$ti = t2;
  23048. },
  23049. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  23050. this._unprefixed_map_view0$_view = t0;
  23051. },
  23052. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  23053. this.$this = t0;
  23054. },
  23055. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  23056. this.$this = t0;
  23057. },
  23058. JSUrl0: function JSUrl0() {
  23059. },
  23060. UseRule0: function UseRule0(t0, t1, t2, t3) {
  23061. var _ = this;
  23062. _.url = t0;
  23063. _.namespace = t1;
  23064. _.configuration = t2;
  23065. _.span = t3;
  23066. },
  23067. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  23068. var _ = this;
  23069. _.declaration = t0;
  23070. _.environment = t1;
  23071. _.inDependency = t2;
  23072. _.$ti = t3;
  23073. },
  23074. fromImport0() {
  23075. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  23076. return t1 === true;
  23077. },
  23078. resolveImportPath0(path) {
  23079. var t1,
  23080. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  23081. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  23082. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  23083. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  23084. }
  23085. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  23086. if (t1 == null)
  23087. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  23088. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  23089. },
  23090. _tryPathWithExtensions0(path) {
  23091. var result = A._tryPath0(path + ".sass");
  23092. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  23093. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  23094. },
  23095. _tryPath0(path) {
  23096. var t1 = $.$get$context(),
  23097. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  23098. t1 = A._setArrayType([], type$.JSArray_String);
  23099. if (A.fileExists0(partial))
  23100. t1.push(partial);
  23101. if (A.fileExists0(path))
  23102. t1.push(path);
  23103. return t1;
  23104. },
  23105. _tryPathAsDirectory0(path) {
  23106. var t1;
  23107. if (!A.dirExists0(path))
  23108. return null;
  23109. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  23110. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  23111. },
  23112. _exactlyOne0(paths) {
  23113. var t1 = paths.length;
  23114. if (t1 === 0)
  23115. return null;
  23116. if (t1 === 1)
  23117. return B.JSArray_methods.get$first(paths);
  23118. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  23119. },
  23120. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  23121. this.path = t0;
  23122. this.extension = t1;
  23123. },
  23124. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  23125. this.path = t0;
  23126. },
  23127. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  23128. this.path = t0;
  23129. },
  23130. _exactlyOne_closure0: function _exactlyOne_closure0() {
  23131. },
  23132. jsThrow(error) {
  23133. return type$.Never._as($.$get$_jsThrow().call$1(error));
  23134. },
  23135. attachJsStack(error, trace) {
  23136. var traceString = trace.toString$0(0),
  23137. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  23138. if (firstRealLine !== -1)
  23139. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  23140. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  23141. },
  23142. jsForEach(object, callback) {
  23143. var t1, t2;
  23144. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  23145. t2 = t1.get$current(t1);
  23146. callback.call$2(t2, object[t2]);
  23147. }
  23148. },
  23149. jsType(value) {
  23150. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  23151. 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));
  23152. },
  23153. defineGetter(object, $name, get, value) {
  23154. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  23155. },
  23156. allowInteropNamed($name, $function) {
  23157. $function = A.allowInterop($function);
  23158. A.defineGetter($function, "name", null, $name);
  23159. A._hideDartProperties($function);
  23160. return $function;
  23161. },
  23162. allowInteropCaptureThisNamed($name, $function) {
  23163. $function = A.allowInteropCaptureThis($function);
  23164. A.defineGetter($function, "name", null, $name);
  23165. A._hideDartProperties($function);
  23166. return $function;
  23167. },
  23168. _hideDartProperties(object) {
  23169. var t1, t2, t3, t4;
  23170. for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  23171. t3 = t1.__internal$_current;
  23172. if (t3 == null)
  23173. t3 = t2._as(t3);
  23174. if (B.JSString_methods.startsWith$1(t3, "_")) {
  23175. t4 = {value: object[t3], enumerable: false};
  23176. self.Object.defineProperty(object, t3, t4);
  23177. }
  23178. }
  23179. },
  23180. futureToPromise0(future) {
  23181. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  23182. },
  23183. jsToDartUrl(url) {
  23184. return A.Uri_parse(J.toString$0$(url));
  23185. },
  23186. dartToJSUrl(url) {
  23187. return new self.URL(url.toString$0(0));
  23188. },
  23189. toJSArray(iterable) {
  23190. var t1, t2,
  23191. array = new self.Array();
  23192. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  23193. t2.push$1(array, t1.get$current(t1));
  23194. return array;
  23195. },
  23196. objectToMap(object) {
  23197. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  23198. A.jsForEach(object, new A.objectToMap_closure(map));
  23199. return map;
  23200. },
  23201. jsToDartSeparator(separator) {
  23202. switch (separator) {
  23203. case " ":
  23204. return B.ListSeparator_EVt0;
  23205. case ",":
  23206. return B.ListSeparator_rXA0;
  23207. case "/":
  23208. return B.ListSeparator_zg90;
  23209. case null:
  23210. return B.ListSeparator_undecided_null_undecided0;
  23211. default:
  23212. A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
  23213. }
  23214. },
  23215. parseSyntax(syntax) {
  23216. if (syntax == null || syntax === "scss")
  23217. return B.Syntax_SCSS_scss0;
  23218. if (syntax === "indented")
  23219. return B.Syntax_Sass_sass0;
  23220. if (syntax === "css")
  23221. return B.Syntax_CSS_css0;
  23222. A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  23223. },
  23224. _PropertyDescriptor0: function _PropertyDescriptor0() {
  23225. },
  23226. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  23227. this.future = t0;
  23228. },
  23229. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  23230. this.resolve = t0;
  23231. },
  23232. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  23233. this.reject = t0;
  23234. },
  23235. objectToMap_closure: function objectToMap_closure(t0) {
  23236. this.map = t0;
  23237. },
  23238. toSentence0(iter, conjunction) {
  23239. var t1 = iter.__internal$_iterable,
  23240. t2 = J.getInterceptor$asx(t1);
  23241. if (t2.get$length(t1) === 1)
  23242. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  23243. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  23244. },
  23245. indent0(string, indentation) {
  23246. 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");
  23247. },
  23248. pluralize0($name, number, plural) {
  23249. if (number === 1)
  23250. return $name;
  23251. if (plural != null)
  23252. return plural;
  23253. return $name + "s";
  23254. },
  23255. trimAscii0(string, excludeEscape) {
  23256. var t1,
  23257. start = A._firstNonWhitespace0(string);
  23258. if (start == null)
  23259. t1 = "";
  23260. else {
  23261. t1 = A._lastNonWhitespace0(string, true);
  23262. t1.toString;
  23263. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  23264. }
  23265. return t1;
  23266. },
  23267. trimAsciiRight0(string, excludeEscape) {
  23268. var end = A._lastNonWhitespace0(string, excludeEscape);
  23269. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  23270. },
  23271. _firstNonWhitespace0(string) {
  23272. var t1, i, t2;
  23273. for (t1 = string.length, i = 0; i < t1; ++i) {
  23274. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  23275. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  23276. return i;
  23277. }
  23278. return null;
  23279. },
  23280. _lastNonWhitespace0(string, excludeEscape) {
  23281. var i, i0, codeUnit;
  23282. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  23283. codeUnit = B.JSString_methods.codeUnitAt$1(string, i0);
  23284. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  23285. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  23286. return i0 + 1;
  23287. else
  23288. return i0;
  23289. }
  23290. return null;
  23291. },
  23292. isPublic0(member) {
  23293. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  23294. return start !== 45 && start !== 95;
  23295. },
  23296. flattenVertically0(iterable, $T) {
  23297. var result,
  23298. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  23299. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  23300. if (queues.length === 1)
  23301. return B.JSArray_methods.get$first(queues);
  23302. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  23303. for (; queues.length !== 0;) {
  23304. if (!!queues.fixed$length)
  23305. A.throwExpression(A.UnsupportedError$("removeWhere"));
  23306. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  23307. }
  23308. return result;
  23309. },
  23310. firstOrNull0(iterable) {
  23311. var iterator = J.get$iterator$ax(iterable);
  23312. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  23313. },
  23314. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  23315. var codeUnitIndex, i, codeUnitIndex0;
  23316. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  23317. codeUnitIndex0 = codeUnitIndex + 1;
  23318. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  23319. }
  23320. return codeUnitIndex;
  23321. },
  23322. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  23323. var codepointIndex, i;
  23324. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  23325. ++codepointIndex;
  23326. return codepointIndex;
  23327. },
  23328. frameForSpan0(span, member, url) {
  23329. var t2, t3,
  23330. t1 = url == null ? span.get$sourceUrl(span) : url;
  23331. if (t1 == null)
  23332. t1 = $.$get$_noSourceUrl0();
  23333. t2 = span.get$start(span);
  23334. t2 = t2.file.getLine$1(t2.offset);
  23335. t3 = span.get$start(span);
  23336. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  23337. },
  23338. declarationName0(span) {
  23339. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  23340. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  23341. },
  23342. unvendor0($name) {
  23343. var i,
  23344. t1 = $name.length;
  23345. if (t1 < 2)
  23346. return $name;
  23347. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  23348. return $name;
  23349. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  23350. return $name;
  23351. for (i = 2; i < t1; ++i)
  23352. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  23353. return B.JSString_methods.substring$1($name, i + 1);
  23354. return $name;
  23355. },
  23356. equalsIgnoreCase0(string1, string2) {
  23357. var t1, i;
  23358. if (string1 === string2)
  23359. return true;
  23360. if (string1 == null || false)
  23361. return false;
  23362. t1 = string1.length;
  23363. if (t1 !== string2.length)
  23364. return false;
  23365. for (i = 0; i < t1; ++i)
  23366. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  23367. return false;
  23368. return true;
  23369. },
  23370. startsWithIgnoreCase0(string, prefix) {
  23371. var i,
  23372. t1 = prefix.length;
  23373. if (string.length < t1)
  23374. return false;
  23375. for (i = 0; i < t1; ++i)
  23376. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  23377. return false;
  23378. return true;
  23379. },
  23380. mapInPlace0(list, $function) {
  23381. var i;
  23382. for (i = 0; i < list.length; ++i)
  23383. list[i] = $function.call$1(list[i]);
  23384. },
  23385. longestCommonSubsequence0(list1, list2, select, $T) {
  23386. var t1, _i, selections, i, i0, j, selection, j0,
  23387. _length = list1.get$length(list1) + 1,
  23388. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  23389. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  23390. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  23391. _length = list1.get$length(list1);
  23392. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  23393. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  23394. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  23395. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  23396. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  23397. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  23398. selections[i][j] = selection;
  23399. t1 = lengths[i0];
  23400. j0 = j + 1;
  23401. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  23402. }
  23403. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  23404. },
  23405. removeFirstWhere0(list, test, orElse) {
  23406. var i;
  23407. for (i = 0; i < list.length; ++i) {
  23408. if (!test.call$1(list[i]))
  23409. continue;
  23410. B.JSArray_methods.removeAt$1(list, i);
  23411. return;
  23412. }
  23413. orElse.call$0();
  23414. },
  23415. mapAddAll20(destination, source, K1, K2, $V) {
  23416. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  23417. },
  23418. setAll0(map, keys, value) {
  23419. var t1;
  23420. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  23421. map.$indexSet(0, t1.get$current(t1), value);
  23422. },
  23423. rotateSlice0(list, start, end) {
  23424. var i, next,
  23425. element = list.$index(0, end - 1);
  23426. for (i = start; i < end; ++i, element = next) {
  23427. next = list.$index(0, i);
  23428. list.$indexSet(0, i, element);
  23429. }
  23430. },
  23431. mapAsync0(iterable, callback, $E, $F) {
  23432. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  23433. },
  23434. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  23435. var $async$goto = 0,
  23436. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23437. $async$returnValue, t2, _i, t1, $async$temp1;
  23438. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23439. if ($async$errorCode === 1)
  23440. return A._asyncRethrow($async$result, $async$completer);
  23441. while (true)
  23442. switch ($async$goto) {
  23443. case 0:
  23444. // Function start
  23445. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  23446. t2 = iterable.length, _i = 0;
  23447. case 3:
  23448. // for condition
  23449. if (!(_i < t2)) {
  23450. // goto after for
  23451. $async$goto = 5;
  23452. break;
  23453. }
  23454. $async$temp1 = t1;
  23455. $async$goto = 6;
  23456. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  23457. case 6:
  23458. // returning from await.
  23459. $async$temp1.push($async$result);
  23460. case 4:
  23461. // for update
  23462. ++_i;
  23463. // goto for condition
  23464. $async$goto = 3;
  23465. break;
  23466. case 5:
  23467. // after for
  23468. $async$returnValue = t1;
  23469. // goto return
  23470. $async$goto = 1;
  23471. break;
  23472. case 1:
  23473. // return
  23474. return A._asyncReturn($async$returnValue, $async$completer);
  23475. }
  23476. });
  23477. return A._asyncStartSync($async$mapAsync0, $async$completer);
  23478. },
  23479. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  23480. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  23481. },
  23482. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  23483. var $async$goto = 0,
  23484. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23485. $async$returnValue, t1, value;
  23486. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23487. if ($async$errorCode === 1)
  23488. return A._asyncRethrow($async$result, $async$completer);
  23489. while (true)
  23490. switch ($async$goto) {
  23491. case 0:
  23492. // Function start
  23493. if (map.containsKey$1(key)) {
  23494. t1 = map.$index(0, key);
  23495. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  23496. // goto return
  23497. $async$goto = 1;
  23498. break;
  23499. }
  23500. $async$goto = 3;
  23501. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  23502. case 3:
  23503. // returning from await.
  23504. value = $async$result;
  23505. map.$indexSet(0, key, value);
  23506. $async$returnValue = value;
  23507. // goto return
  23508. $async$goto = 1;
  23509. break;
  23510. case 1:
  23511. // return
  23512. return A._asyncReturn($async$returnValue, $async$completer);
  23513. }
  23514. });
  23515. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  23516. },
  23517. copyMapOfMap0(map, K1, K2, $V) {
  23518. var t2, t3, t4, t5,
  23519. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  23520. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23521. t3 = t2.get$current(t2);
  23522. t4 = t3.key;
  23523. t3 = t3.value;
  23524. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  23525. t5.addAll$1(0, t3);
  23526. t1.$indexSet(0, t4, t5);
  23527. }
  23528. return t1;
  23529. },
  23530. copyMapOfList0(map, $K, $E) {
  23531. var t2, t3,
  23532. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  23533. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23534. t3 = t2.get$current(t2);
  23535. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  23536. }
  23537. return t1;
  23538. },
  23539. consumeEscapedCharacter0(scanner) {
  23540. var first, value, i, next, t1;
  23541. scanner.expectChar$1(92);
  23542. first = scanner.peekChar$0();
  23543. if (first == null)
  23544. return 65533;
  23545. else if (first === 10 || first === 13 || first === 12)
  23546. scanner.error$1(0, "Expected escape sequence.");
  23547. else if (A.isHex0(first)) {
  23548. for (value = 0, i = 0; i < 6; ++i) {
  23549. next = scanner.peekChar$0();
  23550. if (next == null || !A.isHex0(next))
  23551. break;
  23552. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  23553. }
  23554. t1 = scanner.peekChar$0();
  23555. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  23556. scanner.readChar$0();
  23557. if (value !== 0)
  23558. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  23559. else
  23560. t1 = true;
  23561. if (t1)
  23562. return 65533;
  23563. else
  23564. return value;
  23565. } else
  23566. return scanner.readChar$0();
  23567. },
  23568. throwWithTrace0(error, trace) {
  23569. A.attachTrace0(error, trace);
  23570. throw A.wrapException(error);
  23571. },
  23572. attachTrace0(error, trace) {
  23573. var t1;
  23574. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23575. return;
  23576. if (trace.toString$0(0).length === 0)
  23577. return;
  23578. t1 = $.$get$_traces0();
  23579. A.Expando__checkType(error);
  23580. t1 = t1._jsWeakMap;
  23581. if (t1.get(error) == null)
  23582. t1.set(error, trace);
  23583. },
  23584. getTrace0(error) {
  23585. var t1;
  23586. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23587. t1 = null;
  23588. else {
  23589. t1 = $.$get$_traces0();
  23590. A.Expando__checkType(error);
  23591. t1 = t1._jsWeakMap.get(error);
  23592. }
  23593. return t1;
  23594. },
  23595. IterableExtension_search0(_this, callback) {
  23596. var t1, value;
  23597. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  23598. value = callback.call$1(t1.get$current(t1));
  23599. if (value != null)
  23600. return value;
  23601. }
  23602. return null;
  23603. },
  23604. IterableExtension_get_exceptLast0(_this) {
  23605. var t1 = J.getInterceptor$asx(_this),
  23606. size = t1.get$length(_this) - 1;
  23607. if (size < 0)
  23608. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  23609. return t1.take$1(_this, size);
  23610. },
  23611. parseSignature(signature, requireParens) {
  23612. var error, stackTrace, t1, exception;
  23613. try {
  23614. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  23615. return t1;
  23616. } catch (exception) {
  23617. t1 = A.unwrapException(exception);
  23618. if (type$.SassFormatException_2._is(t1)) {
  23619. error = t1;
  23620. stackTrace = A.getTraceFromException(exception);
  23621. A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, J.get$span$z(error)), stackTrace);
  23622. } else
  23623. throw exception;
  23624. }
  23625. },
  23626. indent_closure0: function indent_closure0(t0) {
  23627. this.indentation = t0;
  23628. },
  23629. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  23630. this.T = t0;
  23631. },
  23632. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  23633. this.result = t0;
  23634. this.T = t1;
  23635. },
  23636. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  23637. this.selections = t0;
  23638. this.lengths = t1;
  23639. this.T = t2;
  23640. },
  23641. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  23642. var _ = this;
  23643. _.destination = t0;
  23644. _.K1 = t1;
  23645. _.K2 = t2;
  23646. _.V = t3;
  23647. },
  23648. CssValue0: function CssValue0(t0, t1, t2) {
  23649. this.value = t0;
  23650. this.span = t1;
  23651. this.$ti = t2;
  23652. },
  23653. ValueExpression0: function ValueExpression0(t0, t1) {
  23654. this.value = t0;
  23655. this.span = t1;
  23656. },
  23657. valueClass_closure: function valueClass_closure() {
  23658. },
  23659. valueClass__closure: function valueClass__closure() {
  23660. },
  23661. valueClass__closure0: function valueClass__closure0() {
  23662. },
  23663. valueClass__closure1: function valueClass__closure1() {
  23664. },
  23665. valueClass__closure2: function valueClass__closure2() {
  23666. },
  23667. valueClass__closure3: function valueClass__closure3() {
  23668. },
  23669. valueClass__closure4: function valueClass__closure4() {
  23670. },
  23671. valueClass__closure5: function valueClass__closure5() {
  23672. },
  23673. valueClass__closure6: function valueClass__closure6() {
  23674. },
  23675. valueClass__closure7: function valueClass__closure7() {
  23676. },
  23677. valueClass__closure8: function valueClass__closure8() {
  23678. },
  23679. valueClass__closure9: function valueClass__closure9() {
  23680. },
  23681. valueClass__closure10: function valueClass__closure10() {
  23682. },
  23683. valueClass__closure11: function valueClass__closure11() {
  23684. },
  23685. valueClass__closure12: function valueClass__closure12() {
  23686. },
  23687. valueClass__closure13: function valueClass__closure13() {
  23688. },
  23689. valueClass__closure14: function valueClass__closure14() {
  23690. },
  23691. valueClass__closure15: function valueClass__closure15() {
  23692. },
  23693. valueClass__closure16: function valueClass__closure16() {
  23694. },
  23695. SassApiValue_assertSelector0(_this, allowParent, $name) {
  23696. var error, stackTrace, t1, exception,
  23697. string = _this._value$_selectorString$1($name);
  23698. try {
  23699. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null, null);
  23700. return t1;
  23701. } catch (exception) {
  23702. t1 = A.unwrapException(exception);
  23703. if (type$.SassFormatException_2._is(t1)) {
  23704. error = t1;
  23705. stackTrace = A.getTraceFromException(exception);
  23706. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23707. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  23708. } else
  23709. throw exception;
  23710. }
  23711. },
  23712. SassApiValue_assertCompoundSelector0(_this, $name) {
  23713. var error, stackTrace, t1, exception,
  23714. allowParent = false,
  23715. string = _this._value$_selectorString$1($name);
  23716. try {
  23717. t1 = A.SelectorParser$0(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  23718. return t1;
  23719. } catch (exception) {
  23720. t1 = A.unwrapException(exception);
  23721. if (type$.SassFormatException_2._is(t1)) {
  23722. error = t1;
  23723. stackTrace = A.getTraceFromException(exception);
  23724. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23725. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
  23726. } else
  23727. throw exception;
  23728. }
  23729. },
  23730. Value0: function Value0() {
  23731. },
  23732. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  23733. this.namespace = t0;
  23734. this.name = t1;
  23735. this.span = t2;
  23736. },
  23737. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  23738. if (namespace != null && global)
  23739. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  23740. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  23741. },
  23742. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  23743. var _ = this;
  23744. _.namespace = t0;
  23745. _.name = t1;
  23746. _.expression = t2;
  23747. _.isGuarded = t3;
  23748. _.isGlobal = t4;
  23749. _.span = t5;
  23750. },
  23751. WarnRule0: function WarnRule0(t0, t1) {
  23752. this.expression = t0;
  23753. this.span = t1;
  23754. },
  23755. WhileRule$0(condition, children, span) {
  23756. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23757. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23758. return new A.WhileRule0(condition, span, t1, t2);
  23759. },
  23760. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  23761. var _ = this;
  23762. _.condition = t0;
  23763. _.span = t1;
  23764. _.children = t2;
  23765. _.hasDeclarations = t3;
  23766. },
  23767. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  23768. var tuple = A.parseSignature(signature, requireParens);
  23769. return new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, callback);
  23770. },
  23771. Callable_Callable$fromSignature(signature, callback, requireParens) {
  23772. var tuple = A.parseSignature(signature, requireParens);
  23773. return new A.BuiltInCallable0(tuple.item1, A._setArrayType([new A.Tuple2(tuple.item2, callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  23774. },
  23775. printString(string) {
  23776. if (typeof dartPrint == "function") {
  23777. dartPrint(string);
  23778. return;
  23779. }
  23780. if (typeof console == "object" && typeof console.log != "undefined") {
  23781. console.log(string);
  23782. return;
  23783. }
  23784. if (typeof window == "object")
  23785. return;
  23786. if (typeof print == "function") {
  23787. print(string);
  23788. return;
  23789. }
  23790. throw "Unable to print message: " + String(string);
  23791. },
  23792. _convertDartFunctionFast(f) {
  23793. var ret,
  23794. existing = f.$dart_jsFunction;
  23795. if (existing != null)
  23796. return existing;
  23797. ret = function(_call, f) {
  23798. return function() {
  23799. return _call(f, Array.prototype.slice.apply(arguments));
  23800. };
  23801. }(A._callDartFunctionFast, f);
  23802. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23803. f.$dart_jsFunction = ret;
  23804. return ret;
  23805. },
  23806. _convertDartFunctionFastCaptureThis(f) {
  23807. var ret,
  23808. existing = f._$dart_jsFunctionCaptureThis;
  23809. if (existing != null)
  23810. return existing;
  23811. ret = function(_call, f) {
  23812. return function() {
  23813. return _call(f, this, Array.prototype.slice.apply(arguments));
  23814. };
  23815. }(A._callDartFunctionFastCaptureThis, f);
  23816. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23817. f._$dart_jsFunctionCaptureThis = ret;
  23818. return ret;
  23819. },
  23820. _callDartFunctionFast(callback, $arguments) {
  23821. return A.Function_apply(callback, $arguments);
  23822. },
  23823. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  23824. var t1 = [$self];
  23825. B.JSArray_methods.addAll$1(t1, $arguments);
  23826. return A.Function_apply(callback, t1);
  23827. },
  23828. allowInterop(f) {
  23829. if (typeof f == "function")
  23830. return f;
  23831. else
  23832. return A._convertDartFunctionFast(f);
  23833. },
  23834. allowInteropCaptureThis(f) {
  23835. if (typeof f == "function")
  23836. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  23837. else
  23838. return A._convertDartFunctionFastCaptureThis(f);
  23839. },
  23840. mergeMaps(map1, map2, $K, $V) {
  23841. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  23842. result.addAll$1(0, map2);
  23843. return result;
  23844. },
  23845. groupBy(values, key, $S, $T) {
  23846. var t1, t2, _i, element, t3, t4,
  23847. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  23848. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  23849. element = values[_i];
  23850. t3 = key.call$1(element);
  23851. t4 = map.$index(0, t3);
  23852. if (t4 == null) {
  23853. t4 = A._setArrayType([], t2);
  23854. map.$indexSet(0, t3, t4);
  23855. t3 = t4;
  23856. } else
  23857. t3 = t4;
  23858. J.add$1$ax(t3, element);
  23859. }
  23860. return map;
  23861. },
  23862. minBy(values, orderBy) {
  23863. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  23864. for (t1 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f), t2 = A._instanceType(t1)._rest[1], minValue = null, minOrderBy = null; t1.moveNext$0();) {
  23865. element = t1.__internal$_current;
  23866. if (element == null)
  23867. element = t2._as(element);
  23868. elementOrderBy = orderBy.call$1(element);
  23869. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  23870. minOrderBy = elementOrderBy;
  23871. minValue = element;
  23872. }
  23873. }
  23874. return minValue;
  23875. },
  23876. IterableExtension_firstWhereOrNull(_this, test) {
  23877. var _i, element;
  23878. for (_i = 0; _i < 13; ++_i) {
  23879. element = _this[_i];
  23880. if (test.call$1(element))
  23881. return element;
  23882. }
  23883. return null;
  23884. },
  23885. IterableExtension_get_firstOrNull(_this) {
  23886. var t1,
  23887. iterator = new J.ArrayIterator(_this, _this.length);
  23888. if (iterator.moveNext$0()) {
  23889. t1 = iterator._current;
  23890. return t1 == null ? A._instanceType(iterator)._precomputed1._as(t1) : t1;
  23891. }
  23892. return null;
  23893. },
  23894. IterableNullableExtension_whereNotNull(_this, $T) {
  23895. return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
  23896. },
  23897. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
  23898. return A._makeSyncStarIterable(function() {
  23899. var _this = $async$_this,
  23900. $T = $async$$T;
  23901. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  23902. return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
  23903. if ($async$errorCode === 1) {
  23904. $async$currentError = $async$result;
  23905. $async$goto = $async$handler;
  23906. }
  23907. while (true)
  23908. switch ($async$goto) {
  23909. case 0:
  23910. // Function start
  23911. t1 = _this.get$iterator(_this);
  23912. case 2:
  23913. // for condition
  23914. if (!t1.moveNext$0()) {
  23915. // goto after for
  23916. $async$goto = 3;
  23917. break;
  23918. }
  23919. element = t1.get$current(t1);
  23920. $async$goto = element != null ? 4 : 5;
  23921. break;
  23922. case 4:
  23923. // then
  23924. $async$goto = 6;
  23925. return element;
  23926. case 6:
  23927. // after yield
  23928. case 5:
  23929. // join
  23930. // goto for condition
  23931. $async$goto = 2;
  23932. break;
  23933. case 3:
  23934. // after for
  23935. // implicit return
  23936. return A._IterationMarker_endOfIteration();
  23937. case 1:
  23938. // rethrow
  23939. return A._IterationMarker_uncaughtError($async$currentError);
  23940. }
  23941. };
  23942. }, $async$type);
  23943. },
  23944. IterableIntegerExtension_get_maxOrNull(_this) {
  23945. var value, t1, newValue,
  23946. iterator = new A.ListIterator(_this, _this.get$length(_this));
  23947. if (iterator.moveNext$0()) {
  23948. value = iterator.__internal$_current;
  23949. if (value == null)
  23950. value = A._instanceType(iterator)._precomputed1._as(value);
  23951. for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
  23952. newValue = iterator.__internal$_current;
  23953. if (newValue == null)
  23954. newValue = t1._as(newValue);
  23955. if (newValue > value)
  23956. value = newValue;
  23957. }
  23958. return value;
  23959. }
  23960. return null;
  23961. },
  23962. IterableIntegerExtension_get_max(_this) {
  23963. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  23964. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  23965. },
  23966. IterableIntegerExtension_get_sum(_this) {
  23967. var t1, t2, result, t3;
  23968. for (t1 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f), t2 = A._instanceType(t1)._rest[1], result = 0; t1.moveNext$0();) {
  23969. t3 = t1.__internal$_current;
  23970. result += t3 == null ? t2._as(t3) : t3;
  23971. }
  23972. return result;
  23973. },
  23974. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  23975. return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
  23976. },
  23977. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
  23978. return A._makeSyncStarIterable(function() {
  23979. var _this = $async$_this,
  23980. convert = $async$convert,
  23981. $E = $async$$E,
  23982. $R = $async$$R;
  23983. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  23984. return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
  23985. if ($async$errorCode === 1) {
  23986. $async$currentError = $async$result;
  23987. $async$goto = $async$handler;
  23988. }
  23989. while (true)
  23990. switch ($async$goto) {
  23991. case 0:
  23992. // Function start
  23993. t1 = _this.length, index = 0;
  23994. case 2:
  23995. // for condition
  23996. if (!(index < t1)) {
  23997. // goto after for
  23998. $async$goto = 4;
  23999. break;
  24000. }
  24001. $async$goto = 5;
  24002. return convert.call$2(index, _this[index]);
  24003. case 5:
  24004. // after yield
  24005. case 3:
  24006. // for update
  24007. ++index;
  24008. // goto for condition
  24009. $async$goto = 2;
  24010. break;
  24011. case 4:
  24012. // after for
  24013. // implicit return
  24014. return A._IterationMarker_endOfIteration();
  24015. case 1:
  24016. // rethrow
  24017. return A._IterationMarker_uncaughtError($async$currentError);
  24018. }
  24019. };
  24020. }, $async$type);
  24021. },
  24022. defaultCompare(value1, value2) {
  24023. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  24024. },
  24025. current() {
  24026. var exception, t1, path, lastIndex, uri = null;
  24027. try {
  24028. uri = A.Uri_base();
  24029. } catch (exception) {
  24030. if (type$.Exception._is(A.unwrapException(exception))) {
  24031. t1 = $._current;
  24032. if (t1 != null)
  24033. return t1;
  24034. throw exception;
  24035. } else
  24036. throw exception;
  24037. }
  24038. if (J.$eq$(uri, $._currentUriBase)) {
  24039. t1 = $._current;
  24040. t1.toString;
  24041. return t1;
  24042. }
  24043. $._currentUriBase = uri;
  24044. if ($.$get$Style_platform() == $.$get$Style_url())
  24045. t1 = $._current = uri.resolve$1(".").toString$0(0);
  24046. else {
  24047. path = uri.toFilePath$0();
  24048. lastIndex = path.length - 1;
  24049. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  24050. }
  24051. return t1;
  24052. },
  24053. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  24054. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  24055. },
  24056. join(part1, part2, part3) {
  24057. var _null = null;
  24058. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  24059. },
  24060. prettyUri(uri) {
  24061. return $.$get$context().prettyUri$1(uri);
  24062. },
  24063. isAlphabetic(char) {
  24064. var t1;
  24065. if (!(char >= 65 && char <= 90))
  24066. t1 = char >= 97 && char <= 122;
  24067. else
  24068. t1 = true;
  24069. return t1;
  24070. },
  24071. isDriveLetter(path, index) {
  24072. var t1 = path.length,
  24073. t2 = index + 2;
  24074. if (t1 < t2)
  24075. return false;
  24076. if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
  24077. return false;
  24078. if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
  24079. return false;
  24080. if (t1 === t2)
  24081. return true;
  24082. return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
  24083. },
  24084. EvaluationContext_current() {
  24085. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24086. if (type$.EvaluationContext._is(context))
  24087. return context;
  24088. throw A.wrapException(A.StateError$(string$.No_Sass));
  24089. },
  24090. repl(options) {
  24091. return A.repl$body(options);
  24092. },
  24093. repl$body(options) {
  24094. var $async$goto = 0,
  24095. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  24096. $async$handler = 1, $async$currentError, $async$next = [], repl, logger, evaluator, line, declaration, error, stackTrace, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
  24097. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  24098. if ($async$errorCode === 1) {
  24099. $async$currentError = $async$result;
  24100. $async$goto = $async$handler;
  24101. }
  24102. while (true)
  24103. switch ($async$goto) {
  24104. case 0:
  24105. // Function start
  24106. t1 = A._setArrayType([], type$.JSArray_String);
  24107. t2 = B.JSString_methods.$mul(" ", 3);
  24108. t3 = $.$get$alwaysValid();
  24109. repl0 = new A.Repl(">> ", t2, t3, t1);
  24110. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  24111. repl = repl0;
  24112. t1 = options._options;
  24113. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  24114. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  24115. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), new A.FilesystemImporter(t2));
  24116. t2 = repl.__Repl__adapter_A;
  24117. t2 === $ && A.throwUnnamedLateFieldNI();
  24118. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  24119. $async$handler = 2;
  24120. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  24121. case 5:
  24122. // for condition
  24123. $async$goto = 7;
  24124. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  24125. case 7:
  24126. // returning from await.
  24127. if (!$async$result) {
  24128. // goto after for
  24129. $async$goto = 6;
  24130. break;
  24131. }
  24132. line = t2.get$current(t2);
  24133. if (J.trim$0$s(line).length === 0) {
  24134. // goto for condition
  24135. $async$goto = 5;
  24136. break;
  24137. }
  24138. try {
  24139. if (J.startsWith$1$s(line, "@")) {
  24140. t5 = evaluator;
  24141. t6 = logger;
  24142. t7 = A.SpanScanner$(line, null);
  24143. if (t6 == null)
  24144. t6 = B.StderrLogger_false;
  24145. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  24146. t5._visitor.runStatement$2(t5._importer, t6);
  24147. // goto for condition
  24148. $async$goto = 5;
  24149. break;
  24150. }
  24151. t5 = A.SpanScanner$(line, null);
  24152. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  24153. t5 = logger;
  24154. t6 = A.SpanScanner$(line, null);
  24155. if (t5 == null)
  24156. t5 = B.StderrLogger_false;
  24157. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  24158. t5 = evaluator;
  24159. t5._visitor.runStatement$2(t5._importer, declaration);
  24160. t5 = evaluator;
  24161. t6 = declaration.name;
  24162. t7 = declaration.span;
  24163. t8 = declaration.namespace;
  24164. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  24165. toZone = $.printToZone;
  24166. if (toZone == null)
  24167. A.printString(line0);
  24168. else
  24169. toZone.call$1(line0);
  24170. } else {
  24171. t5 = evaluator;
  24172. t6 = logger;
  24173. t7 = A.SpanScanner$(line, null);
  24174. if (t6 == null)
  24175. t6 = B.StderrLogger_false;
  24176. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  24177. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  24178. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  24179. toZone = $.printToZone;
  24180. if (toZone == null)
  24181. A.printString(line0);
  24182. else
  24183. toZone.call$1(line0);
  24184. }
  24185. } catch (exception) {
  24186. t5 = A.unwrapException(exception);
  24187. if (t5 instanceof A.SassException) {
  24188. error = t5;
  24189. stackTrace = A.getTraceFromException(exception);
  24190. t5 = error;
  24191. t6 = typeof t5 == "string";
  24192. if (t6 || typeof t5 == "number" || A._isBool(t5))
  24193. t5 = null;
  24194. else {
  24195. t7 = $.$get$_traces();
  24196. if (A._isBool(t5) || typeof t5 == "number" || t6)
  24197. A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
  24198. t5 = t7._jsWeakMap.get(t5);
  24199. }
  24200. if (t5 == null)
  24201. t5 = stackTrace;
  24202. A._logError(error, t5, line, repl, options, logger);
  24203. } else
  24204. throw exception;
  24205. }
  24206. // goto for condition
  24207. $async$goto = 5;
  24208. break;
  24209. case 6:
  24210. // after for
  24211. $async$next.push(4);
  24212. // goto finally
  24213. $async$goto = 3;
  24214. break;
  24215. case 2:
  24216. // uncaught
  24217. $async$next = [1];
  24218. case 3:
  24219. // finally
  24220. $async$handler = 1;
  24221. $async$goto = 8;
  24222. return A._asyncAwait(t2.cancel$0(), $async$repl);
  24223. case 8:
  24224. // returning from await.
  24225. // goto the next finally handler
  24226. $async$goto = $async$next.pop();
  24227. break;
  24228. case 4:
  24229. // after finally
  24230. // implicit return
  24231. return A._asyncReturn(null, $async$completer);
  24232. case 1:
  24233. // rethrow
  24234. return A._asyncRethrow($async$currentError, $async$completer);
  24235. }
  24236. });
  24237. return A._asyncStartSync($async$repl, $async$completer);
  24238. },
  24239. _logError(error, stackTrace, line, repl, options, logger) {
  24240. var t2, spacesBeforeError, t3,
  24241. t1 = A.SourceSpanException.prototype.get$span.call(error, error);
  24242. if (t1.get$sourceUrl(t1) == null)
  24243. if (!A._asBool(options._options.$index(0, "quiet")))
  24244. t1 = logger._emittedDebug || logger._emittedWarning;
  24245. else
  24246. t1 = false;
  24247. else
  24248. t1 = true;
  24249. if (t1) {
  24250. A.print(error.toString$1$color(0, options.get$color()));
  24251. return;
  24252. }
  24253. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  24254. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  24255. t2 = t2.get$start(t2);
  24256. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  24257. if (options.get$color()) {
  24258. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  24259. t2 = t2.get$start(t2);
  24260. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  24261. } else
  24262. t2 = false;
  24263. if (t2)
  24264. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, error).get$text() + "\n");
  24265. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  24266. t3 = A.SourceSpanException.prototype.get$span.call(error, error);
  24267. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  24268. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  24269. t1 += "Error: " + error._span_exception$_message + "\n";
  24270. if (A._asBool(options._options.$index(0, "trace")))
  24271. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  24272. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  24273. },
  24274. isWhitespace(character) {
  24275. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24276. },
  24277. isNewline(character) {
  24278. return character === 10 || character === 13 || character === 12;
  24279. },
  24280. isAlphabetic0(character) {
  24281. var t1;
  24282. if (!(character >= 97 && character <= 122))
  24283. t1 = character >= 65 && character <= 90;
  24284. else
  24285. t1 = true;
  24286. return t1;
  24287. },
  24288. isDigit(character) {
  24289. return character != null && character >= 48 && character <= 57;
  24290. },
  24291. isHex(character) {
  24292. if (character == null)
  24293. return false;
  24294. if (A.isDigit(character))
  24295. return true;
  24296. if (character >= 97 && character <= 102)
  24297. return true;
  24298. if (character >= 65 && character <= 70)
  24299. return true;
  24300. return false;
  24301. },
  24302. asHex(character) {
  24303. if (character <= 57)
  24304. return character - 48;
  24305. if (character <= 70)
  24306. return 10 + character - 65;
  24307. return 10 + character - 97;
  24308. },
  24309. hexCharFor(number) {
  24310. return number < 10 ? 48 + number : 87 + number;
  24311. },
  24312. opposite(character) {
  24313. switch (character) {
  24314. case 40:
  24315. return 41;
  24316. case 123:
  24317. return 125;
  24318. case 91:
  24319. return 93;
  24320. default:
  24321. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24322. }
  24323. },
  24324. characterEqualsIgnoreCase(character1, character2) {
  24325. var upperCase1;
  24326. if (character1 === character2)
  24327. return true;
  24328. if ((character1 ^ character2) >>> 0 !== 32)
  24329. return false;
  24330. upperCase1 = (character1 & 4294967263) >>> 0;
  24331. return upperCase1 >= 65 && upperCase1 <= 90;
  24332. },
  24333. NullableExtension_andThen(_this, fn) {
  24334. return _this == null ? null : fn.call$1(_this);
  24335. },
  24336. SetExtension_removeNull(_this, $T) {
  24337. _this.remove$1(0, null);
  24338. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  24339. },
  24340. fuzzyEquals(number1, number2) {
  24341. var t1;
  24342. if (number1 === number2)
  24343. return true;
  24344. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  24345. t1 = $.$get$_inverseEpsilon();
  24346. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24347. } else
  24348. t1 = false;
  24349. return t1;
  24350. },
  24351. fuzzyHashCode(number) {
  24352. if (!isFinite(number))
  24353. return B.JSNumber_methods.get$hashCode(number);
  24354. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  24355. },
  24356. fuzzyLessThan(number1, number2) {
  24357. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  24358. },
  24359. fuzzyLessThanOrEquals(number1, number2) {
  24360. return number1 < number2 || A.fuzzyEquals(number1, number2);
  24361. },
  24362. fuzzyGreaterThan(number1, number2) {
  24363. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  24364. },
  24365. fuzzyGreaterThanOrEquals(number1, number2) {
  24366. return number1 > number2 || A.fuzzyEquals(number1, number2);
  24367. },
  24368. fuzzyAsInt(number) {
  24369. var rounded;
  24370. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24371. return null;
  24372. rounded = B.JSNumber_methods.round$0(number);
  24373. return A.fuzzyEquals(number, rounded) ? rounded : null;
  24374. },
  24375. fuzzyRound(number) {
  24376. var t1;
  24377. if (number > 0) {
  24378. t1 = B.JSNumber_methods.$mod(number, 1);
  24379. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24380. } else {
  24381. t1 = B.JSNumber_methods.$mod(number, 1);
  24382. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24383. }
  24384. },
  24385. fuzzyCheckRange(number, min, max) {
  24386. if (A.fuzzyEquals(number, min))
  24387. return min;
  24388. if (A.fuzzyEquals(number, max))
  24389. return max;
  24390. if (number > min && number < max)
  24391. return number;
  24392. return null;
  24393. },
  24394. fuzzyAssertRange(number, min, max, $name) {
  24395. var result = A.fuzzyCheckRange(number, min, max);
  24396. if (result != null)
  24397. return result;
  24398. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24399. },
  24400. moduloLikeSass(num1, num2) {
  24401. var result;
  24402. if (num2 > 0)
  24403. return B.JSNumber_methods.$mod(num1, num2);
  24404. if (num2 === 0)
  24405. return 0 / 0;
  24406. result = B.JSNumber_methods.$mod(num1, num2);
  24407. return result === 0 ? 0 : result + num2;
  24408. },
  24409. SpanExtensions_trimLeft(_this) {
  24410. var t5,
  24411. t1 = _this._file$_start,
  24412. t2 = _this._end,
  24413. t3 = _this.file._decodedChars,
  24414. t4 = t3.length,
  24415. start = 0;
  24416. while (true) {
  24417. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24418. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24419. break;
  24420. ++start;
  24421. }
  24422. return A.FileSpanExtension_subspan(_this, start, null);
  24423. },
  24424. SpanExtensions_trimRight(_this) {
  24425. var t1,
  24426. end = _this.get$text().length - 1;
  24427. while (true) {
  24428. t1 = B.JSString_methods.codeUnitAt$1(_this.get$text(), end);
  24429. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  24430. break;
  24431. --end;
  24432. }
  24433. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24434. },
  24435. encodeVlq(value) {
  24436. var res, signBit, digit, t1;
  24437. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  24438. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  24439. res = A._setArrayType([], type$.JSArray_String);
  24440. if (value < 0) {
  24441. value = -value;
  24442. signBit = 1;
  24443. } else
  24444. signBit = 0;
  24445. value = value << 1 | signBit;
  24446. do {
  24447. digit = value & 31;
  24448. value = value >>> 5;
  24449. t1 = value > 0;
  24450. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  24451. } while (t1);
  24452. return res;
  24453. },
  24454. isAllTheSame(iter) {
  24455. var firstValue, t1, t2, value;
  24456. if (iter.get$length(iter) === 0)
  24457. return true;
  24458. firstValue = iter.get$first(iter);
  24459. for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  24460. value = t1.__internal$_current;
  24461. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  24462. return false;
  24463. }
  24464. return true;
  24465. },
  24466. replaceFirstNull(list, element) {
  24467. var index = B.JSArray_methods.indexOf$1(list, null);
  24468. if (index < 0)
  24469. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  24470. list[index] = element;
  24471. },
  24472. replaceWithNull(list, element) {
  24473. var index = B.JSArray_methods.indexOf$1(list, element);
  24474. if (index < 0)
  24475. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  24476. list[index] = null;
  24477. },
  24478. countCodeUnits(string, codeUnit) {
  24479. var t1, t2, count, t3;
  24480. for (t1 = new A.CodeUnits(string), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();) {
  24481. t3 = t1.__internal$_current;
  24482. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  24483. ++count;
  24484. }
  24485. return count;
  24486. },
  24487. findLineStart(context, text, column) {
  24488. var beginningOfLine, index, lineStart;
  24489. if (text.length === 0)
  24490. for (beginningOfLine = 0; true;) {
  24491. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  24492. if (index === -1)
  24493. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  24494. if (index - beginningOfLine >= column)
  24495. return beginningOfLine;
  24496. beginningOfLine = index + 1;
  24497. }
  24498. index = B.JSString_methods.indexOf$1(context, text);
  24499. for (; index !== -1;) {
  24500. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  24501. if (column === index - lineStart)
  24502. return lineStart;
  24503. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  24504. }
  24505. return null;
  24506. },
  24507. validateErrorArgs(string, match, position, $length) {
  24508. var t2,
  24509. t1 = position != null;
  24510. if (t1)
  24511. if (position < 0)
  24512. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  24513. else if (position > string.length)
  24514. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  24515. t2 = $length != null;
  24516. if (t2 && $length < 0)
  24517. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  24518. if (t1 && t2 && position + $length > string.length)
  24519. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  24520. },
  24521. isWhitespace0(character) {
  24522. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24523. },
  24524. isNewline0(character) {
  24525. return character === 10 || character === 13 || character === 12;
  24526. },
  24527. isAlphabetic1(character) {
  24528. var t1;
  24529. if (!(character >= 97 && character <= 122))
  24530. t1 = character >= 65 && character <= 90;
  24531. else
  24532. t1 = true;
  24533. return t1;
  24534. },
  24535. isDigit0(character) {
  24536. return character != null && character >= 48 && character <= 57;
  24537. },
  24538. isHex0(character) {
  24539. if (character == null)
  24540. return false;
  24541. if (A.isDigit0(character))
  24542. return true;
  24543. if (character >= 97 && character <= 102)
  24544. return true;
  24545. if (character >= 65 && character <= 70)
  24546. return true;
  24547. return false;
  24548. },
  24549. asHex0(character) {
  24550. if (character <= 57)
  24551. return character - 48;
  24552. if (character <= 70)
  24553. return 10 + character - 65;
  24554. return 10 + character - 97;
  24555. },
  24556. hexCharFor0(number) {
  24557. return number < 10 ? 48 + number : 87 + number;
  24558. },
  24559. opposite0(character) {
  24560. switch (character) {
  24561. case 40:
  24562. return 41;
  24563. case 123:
  24564. return 125;
  24565. case 91:
  24566. return 93;
  24567. default:
  24568. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24569. }
  24570. },
  24571. characterEqualsIgnoreCase0(character1, character2) {
  24572. var upperCase1;
  24573. if (character1 === character2)
  24574. return true;
  24575. if ((character1 ^ character2) >>> 0 !== 32)
  24576. return false;
  24577. upperCase1 = (character1 & 4294967263) >>> 0;
  24578. return upperCase1 >= 65 && upperCase1 <= 90;
  24579. },
  24580. EvaluationContext_current0() {
  24581. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24582. if (type$.EvaluationContext_2._is(context))
  24583. return context;
  24584. throw A.wrapException(A.StateError$(string$.No_Sass));
  24585. },
  24586. NullableExtension_andThen0(_this, fn) {
  24587. return _this == null ? null : fn.call$1(_this);
  24588. },
  24589. fuzzyEquals0(number1, number2) {
  24590. var t1;
  24591. if (number1 === number2)
  24592. return true;
  24593. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  24594. t1 = $.$get$_inverseEpsilon0();
  24595. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24596. } else
  24597. t1 = false;
  24598. return t1;
  24599. },
  24600. fuzzyHashCode0(number) {
  24601. if (!isFinite(number))
  24602. return B.JSNumber_methods.get$hashCode(number);
  24603. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  24604. },
  24605. fuzzyLessThan0(number1, number2) {
  24606. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  24607. },
  24608. fuzzyLessThanOrEquals0(number1, number2) {
  24609. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  24610. },
  24611. fuzzyGreaterThan0(number1, number2) {
  24612. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  24613. },
  24614. fuzzyGreaterThanOrEquals0(number1, number2) {
  24615. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  24616. },
  24617. fuzzyIsInt(number) {
  24618. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24619. return false;
  24620. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  24621. },
  24622. fuzzyAsInt0(number) {
  24623. var rounded;
  24624. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24625. return null;
  24626. rounded = B.JSNumber_methods.round$0(number);
  24627. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  24628. },
  24629. fuzzyRound0(number) {
  24630. var t1;
  24631. if (number > 0) {
  24632. t1 = B.JSNumber_methods.$mod(number, 1);
  24633. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24634. } else {
  24635. t1 = B.JSNumber_methods.$mod(number, 1);
  24636. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24637. }
  24638. },
  24639. fuzzyCheckRange0(number, min, max) {
  24640. if (A.fuzzyEquals0(number, min))
  24641. return min;
  24642. if (A.fuzzyEquals0(number, max))
  24643. return max;
  24644. if (number > min && number < max)
  24645. return number;
  24646. return null;
  24647. },
  24648. fuzzyAssertRange0(number, min, max, $name) {
  24649. var result = A.fuzzyCheckRange0(number, min, max);
  24650. if (result != null)
  24651. return result;
  24652. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24653. },
  24654. moduloLikeSass0(num1, num2) {
  24655. var result;
  24656. if (num2 > 0)
  24657. return B.JSNumber_methods.$mod(num1, num2);
  24658. if (num2 === 0)
  24659. return 0 / 0;
  24660. result = B.JSNumber_methods.$mod(num1, num2);
  24661. return result === 0 ? 0 : result + num2;
  24662. },
  24663. SpanExtensions_trimLeft0(_this) {
  24664. var t5,
  24665. t1 = _this._file$_start,
  24666. t2 = _this._end,
  24667. t3 = _this.file._decodedChars,
  24668. t4 = t3.length,
  24669. start = 0;
  24670. while (true) {
  24671. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24672. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24673. break;
  24674. ++start;
  24675. }
  24676. return A.FileSpanExtension_subspan(_this, start, null);
  24677. },
  24678. SpanExtensions_trimRight0(_this) {
  24679. var t1,
  24680. end = _this.get$text().length - 1;
  24681. while (true) {
  24682. t1 = B.JSString_methods.codeUnitAt$1(_this.get$text(), end);
  24683. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  24684. break;
  24685. --end;
  24686. }
  24687. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24688. },
  24689. unwrapValue(object) {
  24690. var value;
  24691. if (object != null) {
  24692. if (object instanceof A.Value0)
  24693. return object;
  24694. value = object.dartValue;
  24695. if (value != null && value instanceof A.Value0)
  24696. return value;
  24697. if (object instanceof self.Error)
  24698. throw A.wrapException(object);
  24699. }
  24700. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  24701. },
  24702. wrapValue(value) {
  24703. var t1;
  24704. if (value instanceof A.SassColor0) {
  24705. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  24706. return t1;
  24707. }
  24708. if (value instanceof A.SassList0) {
  24709. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  24710. return t1;
  24711. }
  24712. if (value instanceof A.SassMap0) {
  24713. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  24714. return t1;
  24715. }
  24716. if (value instanceof A.SassNumber0) {
  24717. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  24718. return t1;
  24719. }
  24720. if (value instanceof A.SassString0) {
  24721. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  24722. return t1;
  24723. }
  24724. return value;
  24725. }
  24726. },
  24727. J = {
  24728. makeDispatchRecord(interceptor, proto, extension, indexability) {
  24729. return {i: interceptor, p: proto, e: extension, x: indexability};
  24730. },
  24731. getNativeInterceptor(object) {
  24732. var proto, objectProto, $constructor, interceptor, t1,
  24733. record = object[init.dispatchPropertyName];
  24734. if (record == null)
  24735. if ($.initNativeDispatchFlag == null) {
  24736. A.initNativeDispatch();
  24737. record = object[init.dispatchPropertyName];
  24738. }
  24739. if (record != null) {
  24740. proto = record.p;
  24741. if (false === proto)
  24742. return record.i;
  24743. if (true === proto)
  24744. return object;
  24745. objectProto = Object.getPrototypeOf(object);
  24746. if (proto === objectProto)
  24747. return record.i;
  24748. if (record.e === objectProto)
  24749. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  24750. }
  24751. $constructor = object.constructor;
  24752. if ($constructor == null)
  24753. interceptor = null;
  24754. else {
  24755. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24756. if (t1 == null)
  24757. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24758. interceptor = $constructor[t1];
  24759. }
  24760. if (interceptor != null)
  24761. return interceptor;
  24762. interceptor = A.lookupAndCacheInterceptor(object);
  24763. if (interceptor != null)
  24764. return interceptor;
  24765. if (typeof object == "function")
  24766. return B.JavaScriptFunction_methods;
  24767. proto = Object.getPrototypeOf(object);
  24768. if (proto == null)
  24769. return B.PlainJavaScriptObject_methods;
  24770. if (proto === Object.prototype)
  24771. return B.PlainJavaScriptObject_methods;
  24772. if (typeof $constructor == "function") {
  24773. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24774. if (t1 == null)
  24775. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24776. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  24777. return B.UnknownJavaScriptObject_methods;
  24778. }
  24779. return B.UnknownJavaScriptObject_methods;
  24780. },
  24781. JSArray_JSArray$fixed($length, $E) {
  24782. if ($length < 0 || $length > 4294967295)
  24783. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24784. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24785. },
  24786. JSArray_JSArray$allocateFixed($length, $E) {
  24787. if ($length > 4294967295)
  24788. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24789. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24790. },
  24791. JSArray_JSArray$growable($length, $E) {
  24792. if ($length < 0)
  24793. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24794. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24795. },
  24796. JSArray_JSArray$allocateGrowable($length, $E) {
  24797. if ($length < 0)
  24798. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24799. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24800. },
  24801. JSArray_JSArray$markFixed(allocation, $E) {
  24802. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  24803. },
  24804. JSArray_markFixedList(list) {
  24805. list.fixed$length = Array;
  24806. return list;
  24807. },
  24808. JSArray_markUnmodifiableList(list) {
  24809. list.fixed$length = Array;
  24810. list.immutable$list = Array;
  24811. return list;
  24812. },
  24813. JSArray__compareAny(a, b) {
  24814. return J.compareTo$1$ns(a, b);
  24815. },
  24816. JSString__isWhitespace(codeUnit) {
  24817. if (codeUnit < 256)
  24818. switch (codeUnit) {
  24819. case 9:
  24820. case 10:
  24821. case 11:
  24822. case 12:
  24823. case 13:
  24824. case 32:
  24825. case 133:
  24826. case 160:
  24827. return true;
  24828. default:
  24829. return false;
  24830. }
  24831. switch (codeUnit) {
  24832. case 5760:
  24833. case 8192:
  24834. case 8193:
  24835. case 8194:
  24836. case 8195:
  24837. case 8196:
  24838. case 8197:
  24839. case 8198:
  24840. case 8199:
  24841. case 8200:
  24842. case 8201:
  24843. case 8202:
  24844. case 8232:
  24845. case 8233:
  24846. case 8239:
  24847. case 8287:
  24848. case 12288:
  24849. case 65279:
  24850. return true;
  24851. default:
  24852. return false;
  24853. }
  24854. },
  24855. JSString__skipLeadingWhitespace(string, index) {
  24856. var t1, codeUnit;
  24857. for (t1 = string.length; index < t1;) {
  24858. codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
  24859. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24860. break;
  24861. ++index;
  24862. }
  24863. return index;
  24864. },
  24865. JSString__skipTrailingWhitespace(string, index) {
  24866. var index0, codeUnit;
  24867. for (; index > 0; index = index0) {
  24868. index0 = index - 1;
  24869. codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
  24870. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24871. break;
  24872. }
  24873. return index;
  24874. },
  24875. getInterceptor$(receiver) {
  24876. if (typeof receiver == "number") {
  24877. if (Math.floor(receiver) == receiver)
  24878. return J.JSInt.prototype;
  24879. return J.JSNumNotInt.prototype;
  24880. }
  24881. if (typeof receiver == "string")
  24882. return J.JSString.prototype;
  24883. if (receiver == null)
  24884. return J.JSNull.prototype;
  24885. if (typeof receiver == "boolean")
  24886. return J.JSBool.prototype;
  24887. if (receiver.constructor == Array)
  24888. return J.JSArray.prototype;
  24889. if (typeof receiver != "object") {
  24890. if (typeof receiver == "function")
  24891. return J.JavaScriptFunction.prototype;
  24892. return receiver;
  24893. }
  24894. if (receiver instanceof A.Object)
  24895. return receiver;
  24896. return J.getNativeInterceptor(receiver);
  24897. },
  24898. getInterceptor$ansx(receiver) {
  24899. if (typeof receiver == "number")
  24900. return J.JSNumber.prototype;
  24901. if (typeof receiver == "string")
  24902. return J.JSString.prototype;
  24903. if (receiver == null)
  24904. return receiver;
  24905. if (receiver.constructor == Array)
  24906. return J.JSArray.prototype;
  24907. if (typeof receiver != "object") {
  24908. if (typeof receiver == "function")
  24909. return J.JavaScriptFunction.prototype;
  24910. return receiver;
  24911. }
  24912. if (receiver instanceof A.Object)
  24913. return receiver;
  24914. return J.getNativeInterceptor(receiver);
  24915. },
  24916. getInterceptor$asx(receiver) {
  24917. if (typeof receiver == "string")
  24918. return J.JSString.prototype;
  24919. if (receiver == null)
  24920. return receiver;
  24921. if (receiver.constructor == Array)
  24922. return J.JSArray.prototype;
  24923. if (typeof receiver != "object") {
  24924. if (typeof receiver == "function")
  24925. return J.JavaScriptFunction.prototype;
  24926. return receiver;
  24927. }
  24928. if (receiver instanceof A.Object)
  24929. return receiver;
  24930. return J.getNativeInterceptor(receiver);
  24931. },
  24932. getInterceptor$ax(receiver) {
  24933. if (receiver == null)
  24934. return receiver;
  24935. if (receiver.constructor == Array)
  24936. return J.JSArray.prototype;
  24937. if (typeof receiver != "object") {
  24938. if (typeof receiver == "function")
  24939. return J.JavaScriptFunction.prototype;
  24940. return receiver;
  24941. }
  24942. if (receiver instanceof A.Object)
  24943. return receiver;
  24944. return J.getNativeInterceptor(receiver);
  24945. },
  24946. getInterceptor$n(receiver) {
  24947. if (typeof receiver == "number")
  24948. return J.JSNumber.prototype;
  24949. if (receiver == null)
  24950. return receiver;
  24951. if (!(receiver instanceof A.Object))
  24952. return J.UnknownJavaScriptObject.prototype;
  24953. return receiver;
  24954. },
  24955. getInterceptor$ns(receiver) {
  24956. if (typeof receiver == "number")
  24957. return J.JSNumber.prototype;
  24958. if (typeof receiver == "string")
  24959. return J.JSString.prototype;
  24960. if (receiver == null)
  24961. return receiver;
  24962. if (!(receiver instanceof A.Object))
  24963. return J.UnknownJavaScriptObject.prototype;
  24964. return receiver;
  24965. },
  24966. getInterceptor$s(receiver) {
  24967. if (typeof receiver == "string")
  24968. return J.JSString.prototype;
  24969. if (receiver == null)
  24970. return receiver;
  24971. if (!(receiver instanceof A.Object))
  24972. return J.UnknownJavaScriptObject.prototype;
  24973. return receiver;
  24974. },
  24975. getInterceptor$u(receiver) {
  24976. if (receiver == null)
  24977. return J.JSNull.prototype;
  24978. if (!(receiver instanceof A.Object))
  24979. return J.UnknownJavaScriptObject.prototype;
  24980. return receiver;
  24981. },
  24982. getInterceptor$x(receiver) {
  24983. if (receiver == null)
  24984. return receiver;
  24985. if (typeof receiver != "object") {
  24986. if (typeof receiver == "function")
  24987. return J.JavaScriptFunction.prototype;
  24988. return receiver;
  24989. }
  24990. if (receiver instanceof A.Object)
  24991. return receiver;
  24992. return J.getNativeInterceptor(receiver);
  24993. },
  24994. getInterceptor$z(receiver) {
  24995. if (receiver == null)
  24996. return receiver;
  24997. if (!(receiver instanceof A.Object))
  24998. return J.UnknownJavaScriptObject.prototype;
  24999. return receiver;
  25000. },
  25001. set$Exception$x(receiver, value) {
  25002. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  25003. },
  25004. set$FALSE$x(receiver, value) {
  25005. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  25006. },
  25007. set$Logger$x(receiver, value) {
  25008. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  25009. },
  25010. set$NULL$x(receiver, value) {
  25011. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  25012. },
  25013. set$SassArgumentList$x(receiver, value) {
  25014. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  25015. },
  25016. set$SassBoolean$x(receiver, value) {
  25017. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  25018. },
  25019. set$SassColor$x(receiver, value) {
  25020. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  25021. },
  25022. set$SassFunction$x(receiver, value) {
  25023. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  25024. },
  25025. set$SassList$x(receiver, value) {
  25026. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  25027. },
  25028. set$SassMap$x(receiver, value) {
  25029. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  25030. },
  25031. set$SassNumber$x(receiver, value) {
  25032. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  25033. },
  25034. set$SassString$x(receiver, value) {
  25035. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  25036. },
  25037. set$TRUE$x(receiver, value) {
  25038. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  25039. },
  25040. set$Value$x(receiver, value) {
  25041. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  25042. },
  25043. set$cli_pkg_main_0_$x(receiver, value) {
  25044. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  25045. },
  25046. set$compile$x(receiver, value) {
  25047. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  25048. },
  25049. set$compileAsync$x(receiver, value) {
  25050. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  25051. },
  25052. set$compileString$x(receiver, value) {
  25053. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  25054. },
  25055. set$compileStringAsync$x(receiver, value) {
  25056. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  25057. },
  25058. set$context$x(receiver, value) {
  25059. return J.getInterceptor$x(receiver).set$context(receiver, value);
  25060. },
  25061. set$dartValue$x(receiver, value) {
  25062. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  25063. },
  25064. set$exitCode$x(receiver, value) {
  25065. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  25066. },
  25067. set$info$x(receiver, value) {
  25068. return J.getInterceptor$x(receiver).set$info(receiver, value);
  25069. },
  25070. set$length$asx(receiver, value) {
  25071. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  25072. },
  25073. set$render$x(receiver, value) {
  25074. return J.getInterceptor$x(receiver).set$render(receiver, value);
  25075. },
  25076. set$renderSync$x(receiver, value) {
  25077. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  25078. },
  25079. set$sassFalse$x(receiver, value) {
  25080. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  25081. },
  25082. set$sassNull$x(receiver, value) {
  25083. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  25084. },
  25085. set$sassTrue$x(receiver, value) {
  25086. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  25087. },
  25088. set$types$x(receiver, value) {
  25089. return J.getInterceptor$x(receiver).set$types(receiver, value);
  25090. },
  25091. get$$prototype$x(receiver) {
  25092. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  25093. },
  25094. get$_dartException$x(receiver) {
  25095. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  25096. },
  25097. get$alertAscii$x(receiver) {
  25098. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  25099. },
  25100. get$alertColor$x(receiver) {
  25101. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  25102. },
  25103. get$blue$x(receiver) {
  25104. return J.getInterceptor$x(receiver).get$blue(receiver);
  25105. },
  25106. get$brackets$x(receiver) {
  25107. return J.getInterceptor$x(receiver).get$brackets(receiver);
  25108. },
  25109. get$charset$x(receiver) {
  25110. return J.getInterceptor$x(receiver).get$charset(receiver);
  25111. },
  25112. get$code$x(receiver) {
  25113. return J.getInterceptor$x(receiver).get$code(receiver);
  25114. },
  25115. get$current$x(receiver) {
  25116. return J.getInterceptor$x(receiver).get$current(receiver);
  25117. },
  25118. get$dartValue$x(receiver) {
  25119. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  25120. },
  25121. get$debug$x(receiver) {
  25122. return J.getInterceptor$x(receiver).get$debug(receiver);
  25123. },
  25124. get$denominatorUnits$x(receiver) {
  25125. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  25126. },
  25127. get$end$z(receiver) {
  25128. return J.getInterceptor$z(receiver).get$end(receiver);
  25129. },
  25130. get$entries$z(receiver) {
  25131. return J.getInterceptor$z(receiver).get$entries(receiver);
  25132. },
  25133. get$env$x(receiver) {
  25134. return J.getInterceptor$x(receiver).get$env(receiver);
  25135. },
  25136. get$exitCode$x(receiver) {
  25137. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  25138. },
  25139. get$fiber$x(receiver) {
  25140. return J.getInterceptor$x(receiver).get$fiber(receiver);
  25141. },
  25142. get$file$x(receiver) {
  25143. return J.getInterceptor$x(receiver).get$file(receiver);
  25144. },
  25145. get$first$ax(receiver) {
  25146. return J.getInterceptor$ax(receiver).get$first(receiver);
  25147. },
  25148. get$functions$x(receiver) {
  25149. return J.getInterceptor$x(receiver).get$functions(receiver);
  25150. },
  25151. get$green$x(receiver) {
  25152. return J.getInterceptor$x(receiver).get$green(receiver);
  25153. },
  25154. get$hashCode$(receiver) {
  25155. return J.getInterceptor$(receiver).get$hashCode(receiver);
  25156. },
  25157. get$importer$x(receiver) {
  25158. return J.getInterceptor$x(receiver).get$importer(receiver);
  25159. },
  25160. get$importers$x(receiver) {
  25161. return J.getInterceptor$x(receiver).get$importers(receiver);
  25162. },
  25163. get$isEmpty$asx(receiver) {
  25164. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  25165. },
  25166. get$isNotEmpty$asx(receiver) {
  25167. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  25168. },
  25169. get$isTTY$x(receiver) {
  25170. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  25171. },
  25172. get$iterator$ax(receiver) {
  25173. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  25174. },
  25175. get$keys$z(receiver) {
  25176. return J.getInterceptor$z(receiver).get$keys(receiver);
  25177. },
  25178. get$last$ax(receiver) {
  25179. return J.getInterceptor$ax(receiver).get$last(receiver);
  25180. },
  25181. get$length$asx(receiver) {
  25182. return J.getInterceptor$asx(receiver).get$length(receiver);
  25183. },
  25184. get$loadPaths$x(receiver) {
  25185. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  25186. },
  25187. get$logger$x(receiver) {
  25188. return J.getInterceptor$x(receiver).get$logger(receiver);
  25189. },
  25190. get$message$x(receiver) {
  25191. return J.getInterceptor$x(receiver).get$message(receiver);
  25192. },
  25193. get$mtime$x(receiver) {
  25194. return J.getInterceptor$x(receiver).get$mtime(receiver);
  25195. },
  25196. get$name$x(receiver) {
  25197. return J.getInterceptor$x(receiver).get$name(receiver);
  25198. },
  25199. get$numeratorUnits$x(receiver) {
  25200. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  25201. },
  25202. get$options$x(receiver) {
  25203. return J.getInterceptor$x(receiver).get$options(receiver);
  25204. },
  25205. get$parent$z(receiver) {
  25206. return J.getInterceptor$z(receiver).get$parent(receiver);
  25207. },
  25208. get$path$x(receiver) {
  25209. return J.getInterceptor$x(receiver).get$path(receiver);
  25210. },
  25211. get$platform$x(receiver) {
  25212. return J.getInterceptor$x(receiver).get$platform(receiver);
  25213. },
  25214. get$quietDeps$x(receiver) {
  25215. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  25216. },
  25217. get$quotes$x(receiver) {
  25218. return J.getInterceptor$x(receiver).get$quotes(receiver);
  25219. },
  25220. get$red$x(receiver) {
  25221. return J.getInterceptor$x(receiver).get$red(receiver);
  25222. },
  25223. get$reversed$ax(receiver) {
  25224. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  25225. },
  25226. get$runtimeType$u(receiver) {
  25227. return J.getInterceptor$u(receiver).get$runtimeType(receiver);
  25228. },
  25229. get$separator$x(receiver) {
  25230. return J.getInterceptor$x(receiver).get$separator(receiver);
  25231. },
  25232. get$single$ax(receiver) {
  25233. return J.getInterceptor$ax(receiver).get$single(receiver);
  25234. },
  25235. get$sourceMap$x(receiver) {
  25236. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  25237. },
  25238. get$sourceMapIncludeSources$x(receiver) {
  25239. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  25240. },
  25241. get$span$z(receiver) {
  25242. return J.getInterceptor$z(receiver).get$span(receiver);
  25243. },
  25244. get$stderr$x(receiver) {
  25245. return J.getInterceptor$x(receiver).get$stderr(receiver);
  25246. },
  25247. get$stdin$x(receiver) {
  25248. return J.getInterceptor$x(receiver).get$stdin(receiver);
  25249. },
  25250. get$style$x(receiver) {
  25251. return J.getInterceptor$x(receiver).get$style(receiver);
  25252. },
  25253. get$syntax$x(receiver) {
  25254. return J.getInterceptor$x(receiver).get$syntax(receiver);
  25255. },
  25256. get$trace$z(receiver) {
  25257. return J.getInterceptor$z(receiver).get$trace(receiver);
  25258. },
  25259. get$url$x(receiver) {
  25260. return J.getInterceptor$x(receiver).get$url(receiver);
  25261. },
  25262. get$values$z(receiver) {
  25263. return J.getInterceptor$z(receiver).get$values(receiver);
  25264. },
  25265. get$verbose$x(receiver) {
  25266. return J.getInterceptor$x(receiver).get$verbose(receiver);
  25267. },
  25268. get$warn$x(receiver) {
  25269. return J.getInterceptor$x(receiver).get$warn(receiver);
  25270. },
  25271. $add$ansx(receiver, a0) {
  25272. if (typeof receiver == "number" && typeof a0 == "number")
  25273. return receiver + a0;
  25274. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  25275. },
  25276. $eq$(receiver, a0) {
  25277. if (receiver == null)
  25278. return a0 == null;
  25279. if (typeof receiver != "object")
  25280. return a0 != null && receiver === a0;
  25281. return J.getInterceptor$(receiver).$eq(receiver, a0);
  25282. },
  25283. $index$asx(receiver, a0) {
  25284. if (typeof a0 === "number")
  25285. if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  25286. if (a0 >>> 0 === a0 && a0 < receiver.length)
  25287. return receiver[a0];
  25288. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  25289. },
  25290. $indexSet$ax(receiver, a0, a1) {
  25291. if (typeof a0 === "number")
  25292. if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  25293. return receiver[a0] = a1;
  25294. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  25295. },
  25296. $set$2$x(receiver, a0, a1) {
  25297. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  25298. },
  25299. add$1$ax(receiver, a0) {
  25300. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  25301. },
  25302. addAll$1$ax(receiver, a0) {
  25303. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  25304. },
  25305. allMatches$1$s(receiver, a0) {
  25306. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  25307. },
  25308. allMatches$2$s(receiver, a0, a1) {
  25309. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  25310. },
  25311. any$1$ax(receiver, a0) {
  25312. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  25313. },
  25314. apply$2$x(receiver, a0, a1) {
  25315. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  25316. },
  25317. asImmutable$0$x(receiver) {
  25318. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  25319. },
  25320. asMutable$0$x(receiver) {
  25321. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  25322. },
  25323. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  25324. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  25325. },
  25326. cast$1$0$ax(receiver, $T1) {
  25327. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  25328. },
  25329. close$0$x(receiver) {
  25330. return J.getInterceptor$x(receiver).close$0(receiver);
  25331. },
  25332. codeUnitAt$1$s(receiver, a0) {
  25333. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  25334. },
  25335. compareTo$1$ns(receiver, a0) {
  25336. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  25337. },
  25338. contains$1$asx(receiver, a0) {
  25339. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  25340. },
  25341. createInterface$1$x(receiver, a0) {
  25342. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  25343. },
  25344. elementAt$1$ax(receiver, a0) {
  25345. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  25346. },
  25347. endsWith$1$s(receiver, a0) {
  25348. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  25349. },
  25350. every$1$ax(receiver, a0) {
  25351. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  25352. },
  25353. existsSync$1$x(receiver, a0) {
  25354. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  25355. },
  25356. expand$1$1$ax(receiver, a0, $T1) {
  25357. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  25358. },
  25359. fillRange$3$ax(receiver, a0, a1, a2) {
  25360. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  25361. },
  25362. fold$2$ax(receiver, a0, a1) {
  25363. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  25364. },
  25365. forEach$1$x(receiver, a0) {
  25366. return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
  25367. },
  25368. getTime$0$x(receiver) {
  25369. return J.getInterceptor$x(receiver).getTime$0(receiver);
  25370. },
  25371. isDirectory$0$x(receiver) {
  25372. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  25373. },
  25374. isFile$0$x(receiver) {
  25375. return J.getInterceptor$x(receiver).isFile$0(receiver);
  25376. },
  25377. join$0$ax(receiver) {
  25378. return J.getInterceptor$ax(receiver).join$0(receiver);
  25379. },
  25380. join$1$ax(receiver, a0) {
  25381. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  25382. },
  25383. listen$1$z(receiver, a0) {
  25384. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  25385. },
  25386. map$1$1$ax(receiver, a0, $T1) {
  25387. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  25388. },
  25389. matchAsPrefix$2$s(receiver, a0, a1) {
  25390. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  25391. },
  25392. mkdirSync$1$x(receiver, a0) {
  25393. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  25394. },
  25395. noSuchMethod$1$(receiver, a0) {
  25396. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  25397. },
  25398. on$2$x(receiver, a0, a1) {
  25399. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  25400. },
  25401. readFileSync$2$x(receiver, a0, a1) {
  25402. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  25403. },
  25404. readdirSync$1$x(receiver, a0) {
  25405. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  25406. },
  25407. remove$1$z(receiver, a0) {
  25408. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  25409. },
  25410. run$0$x(receiver) {
  25411. return J.getInterceptor$x(receiver).run$0(receiver);
  25412. },
  25413. run$1$x(receiver, a0) {
  25414. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  25415. },
  25416. setRange$4$ax(receiver, a0, a1, a2, a3) {
  25417. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  25418. },
  25419. skip$1$ax(receiver, a0) {
  25420. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  25421. },
  25422. sort$1$ax(receiver, a0) {
  25423. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  25424. },
  25425. startsWith$1$s(receiver, a0) {
  25426. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  25427. },
  25428. statSync$1$x(receiver, a0) {
  25429. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  25430. },
  25431. substring$1$s(receiver, a0) {
  25432. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  25433. },
  25434. substring$2$s(receiver, a0, a1) {
  25435. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  25436. },
  25437. take$1$ax(receiver, a0) {
  25438. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  25439. },
  25440. then$1$1$x(receiver, a0, $T1) {
  25441. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  25442. },
  25443. then$1$2$onError$x(receiver, a0, a1, $T1) {
  25444. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  25445. },
  25446. then$2$x(receiver, a0, a1) {
  25447. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  25448. },
  25449. toArray$0$x(receiver) {
  25450. return J.getInterceptor$x(receiver).toArray$0(receiver);
  25451. },
  25452. toList$0$ax(receiver) {
  25453. return J.getInterceptor$ax(receiver).toList$0(receiver);
  25454. },
  25455. toList$1$growable$ax(receiver, a0) {
  25456. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  25457. },
  25458. toRadixString$1$n(receiver, a0) {
  25459. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  25460. },
  25461. toSet$0$ax(receiver) {
  25462. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  25463. },
  25464. toString$0$(receiver) {
  25465. return J.getInterceptor$(receiver).toString$0(receiver);
  25466. },
  25467. toString$1$color$(receiver, a0) {
  25468. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  25469. },
  25470. trim$0$s(receiver) {
  25471. return J.getInterceptor$s(receiver).trim$0(receiver);
  25472. },
  25473. unlinkSync$1$x(receiver, a0) {
  25474. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  25475. },
  25476. watch$2$x(receiver, a0, a1) {
  25477. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  25478. },
  25479. where$1$ax(receiver, a0) {
  25480. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  25481. },
  25482. write$1$x(receiver, a0) {
  25483. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  25484. },
  25485. writeFileSync$2$x(receiver, a0, a1) {
  25486. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  25487. },
  25488. yield$0$x(receiver) {
  25489. return J.getInterceptor$x(receiver).yield$0(receiver);
  25490. },
  25491. Interceptor: function Interceptor() {
  25492. },
  25493. JSBool: function JSBool() {
  25494. },
  25495. JSNull: function JSNull() {
  25496. },
  25497. JavaScriptObject: function JavaScriptObject() {
  25498. },
  25499. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  25500. },
  25501. PlainJavaScriptObject: function PlainJavaScriptObject() {
  25502. },
  25503. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  25504. },
  25505. JavaScriptFunction: function JavaScriptFunction() {
  25506. },
  25507. JSArray: function JSArray(t0) {
  25508. this.$ti = t0;
  25509. },
  25510. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  25511. this.$ti = t0;
  25512. },
  25513. ArrayIterator: function ArrayIterator(t0, t1) {
  25514. var _ = this;
  25515. _._iterable = t0;
  25516. _._length = t1;
  25517. _._index = 0;
  25518. _._current = null;
  25519. },
  25520. JSNumber: function JSNumber() {
  25521. },
  25522. JSInt: function JSInt() {
  25523. },
  25524. JSNumNotInt: function JSNumNotInt() {
  25525. },
  25526. JSString: function JSString() {
  25527. }
  25528. },
  25529. B = {};
  25530. var holders = [A, J, B];
  25531. var $ = {};
  25532. A.JS_CONST.prototype = {};
  25533. J.Interceptor.prototype = {
  25534. $eq(receiver, other) {
  25535. return receiver === other;
  25536. },
  25537. get$hashCode(receiver) {
  25538. return A.Primitives_objectHashCode(receiver);
  25539. },
  25540. toString$0(receiver) {
  25541. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  25542. },
  25543. noSuchMethod$1(receiver, invocation) {
  25544. throw A.wrapException(new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null));
  25545. }
  25546. };
  25547. J.JSBool.prototype = {
  25548. toString$0(receiver) {
  25549. return String(receiver);
  25550. },
  25551. get$hashCode(receiver) {
  25552. return receiver ? 519018 : 218159;
  25553. },
  25554. $isbool: 1
  25555. };
  25556. J.JSNull.prototype = {
  25557. $eq(receiver, other) {
  25558. return null == other;
  25559. },
  25560. toString$0(receiver) {
  25561. return "null";
  25562. },
  25563. get$hashCode(receiver) {
  25564. return 0;
  25565. },
  25566. get$runtimeType(receiver) {
  25567. return B.Type_Null_Yyn;
  25568. },
  25569. $isNull: 1
  25570. };
  25571. J.JavaScriptObject.prototype = {};
  25572. J.LegacyJavaScriptObject.prototype = {
  25573. get$hashCode(receiver) {
  25574. return 0;
  25575. },
  25576. toString$0(receiver) {
  25577. return String(receiver);
  25578. },
  25579. $isPromise: 1,
  25580. $isJsSystemError: 1,
  25581. $is_NodeSassColor: 1,
  25582. $is_Channels: 1,
  25583. $isCompileOptions: 1,
  25584. $isCompileStringOptions: 1,
  25585. $isNodeCompileResult: 1,
  25586. $is_NodeException: 1,
  25587. $isFiber: 1,
  25588. $isJSFunction0: 1,
  25589. $isImmutableList: 1,
  25590. $isImmutableMap: 1,
  25591. $isNodeImporter0: 1,
  25592. $isNodeImporterResult0: 1,
  25593. $isNodeImporterResult1: 1,
  25594. $is_NodeSassList: 1,
  25595. $is_ConstructorOptions: 1,
  25596. $isWarnOptions: 1,
  25597. $isDebugOptions: 1,
  25598. $is_NodeSassMap: 1,
  25599. $is_NodeSassNumber: 1,
  25600. $is_ConstructorOptions0: 1,
  25601. $isJSClass0: 1,
  25602. $isRenderContextOptions0: 1,
  25603. $isRenderOptions: 1,
  25604. $isRenderResult: 1,
  25605. $is_NodeSassString: 1,
  25606. $is_ConstructorOptions1: 1,
  25607. $isJSUrl0: 1,
  25608. get$isTTY(obj) {
  25609. return obj.isTTY;
  25610. },
  25611. get$write(obj) {
  25612. return obj.write;
  25613. },
  25614. write$1(receiver, p0) {
  25615. return receiver.write(p0);
  25616. },
  25617. createInterface$1(receiver, p0) {
  25618. return receiver.createInterface(p0);
  25619. },
  25620. on$2(receiver, p0, p1) {
  25621. return receiver.on(p0, p1);
  25622. },
  25623. get$close(obj) {
  25624. return obj.close;
  25625. },
  25626. close$0(receiver) {
  25627. return receiver.close();
  25628. },
  25629. setPrompt$1(receiver, p0) {
  25630. return receiver.setPrompt(p0);
  25631. },
  25632. get$length(obj) {
  25633. return obj.length;
  25634. },
  25635. toString$0(receiver) {
  25636. return receiver.toString();
  25637. },
  25638. get$debug(obj) {
  25639. return obj.debug;
  25640. },
  25641. debug$2(receiver, p0, p1) {
  25642. return receiver.debug(p0, p1);
  25643. },
  25644. get$warn(obj) {
  25645. return obj.warn;
  25646. },
  25647. warn$1(receiver, p0) {
  25648. return receiver.warn(p0);
  25649. },
  25650. warn$2(receiver, p0, p1) {
  25651. return receiver.warn(p0, p1);
  25652. },
  25653. existsSync$1(receiver, p0) {
  25654. return receiver.existsSync(p0);
  25655. },
  25656. mkdirSync$1(receiver, p0) {
  25657. return receiver.mkdirSync(p0);
  25658. },
  25659. readdirSync$1(receiver, p0) {
  25660. return receiver.readdirSync(p0);
  25661. },
  25662. readFileSync$2(receiver, p0, p1) {
  25663. return receiver.readFileSync(p0, p1);
  25664. },
  25665. statSync$1(receiver, p0) {
  25666. return receiver.statSync(p0);
  25667. },
  25668. unlinkSync$1(receiver, p0) {
  25669. return receiver.unlinkSync(p0);
  25670. },
  25671. watch$2(receiver, p0, p1) {
  25672. return receiver.watch(p0, p1);
  25673. },
  25674. writeFileSync$2(receiver, p0, p1) {
  25675. return receiver.writeFileSync(p0, p1);
  25676. },
  25677. get$path(obj) {
  25678. return obj.path;
  25679. },
  25680. isDirectory$0(receiver) {
  25681. return receiver.isDirectory();
  25682. },
  25683. isFile$0(receiver) {
  25684. return receiver.isFile();
  25685. },
  25686. get$mtime(obj) {
  25687. return obj.mtime;
  25688. },
  25689. then$1$1(receiver, p0) {
  25690. return receiver.then(p0);
  25691. },
  25692. then$2(receiver, p0, p1) {
  25693. return receiver.then(p0, p1);
  25694. },
  25695. getTime$0(receiver) {
  25696. return receiver.getTime();
  25697. },
  25698. get$message(obj) {
  25699. return obj.message;
  25700. },
  25701. message$1(receiver, p0) {
  25702. return receiver.message(p0);
  25703. },
  25704. get$code(obj) {
  25705. return obj.code;
  25706. },
  25707. get$syscall(obj) {
  25708. return obj.syscall;
  25709. },
  25710. get$env(obj) {
  25711. return obj.env;
  25712. },
  25713. get$exitCode(obj) {
  25714. return obj.exitCode;
  25715. },
  25716. set$exitCode(obj, v) {
  25717. return obj.exitCode = v;
  25718. },
  25719. get$platform(obj) {
  25720. return obj.platform;
  25721. },
  25722. get$stderr(obj) {
  25723. return obj.stderr;
  25724. },
  25725. get$stdin(obj) {
  25726. return obj.stdin;
  25727. },
  25728. get$name(obj) {
  25729. return obj.name;
  25730. },
  25731. push$1(receiver, p0) {
  25732. return receiver.push(p0);
  25733. },
  25734. call$0(receiver) {
  25735. return receiver.call();
  25736. },
  25737. call$1(receiver, p0) {
  25738. return receiver.call(p0);
  25739. },
  25740. call$2(receiver, p0, p1) {
  25741. return receiver.call(p0, p1);
  25742. },
  25743. call$3$1(receiver, p0) {
  25744. return receiver.call(p0);
  25745. },
  25746. call$2$1(receiver, p0) {
  25747. return receiver.call(p0);
  25748. },
  25749. call$1$1(receiver, p0) {
  25750. return receiver.call(p0);
  25751. },
  25752. call$3(receiver, p0, p1, p2) {
  25753. return receiver.call(p0, p1, p2);
  25754. },
  25755. call$3$3(receiver, p0, p1, p2) {
  25756. return receiver.call(p0, p1, p2);
  25757. },
  25758. call$2$2(receiver, p0, p1) {
  25759. return receiver.call(p0, p1);
  25760. },
  25761. call$2$0(receiver) {
  25762. return receiver.call();
  25763. },
  25764. call$1$2(receiver, p0, p1) {
  25765. return receiver.call(p0, p1);
  25766. },
  25767. call$1$0(receiver) {
  25768. return receiver.call();
  25769. },
  25770. call$2$3(receiver, p0, p1, p2) {
  25771. return receiver.call(p0, p1, p2);
  25772. },
  25773. apply$2(receiver, p0, p1) {
  25774. return receiver.apply(p0, p1);
  25775. },
  25776. get$file(obj) {
  25777. return obj.file;
  25778. },
  25779. get$contents(obj) {
  25780. return obj.contents;
  25781. },
  25782. get$options(obj) {
  25783. return obj.options;
  25784. },
  25785. get$data(obj) {
  25786. return obj.data;
  25787. },
  25788. get$includePaths(obj) {
  25789. return obj.includePaths;
  25790. },
  25791. get$style(obj) {
  25792. return obj.style;
  25793. },
  25794. get$indentType(obj) {
  25795. return obj.indentType;
  25796. },
  25797. get$indentWidth(obj) {
  25798. return obj.indentWidth;
  25799. },
  25800. get$linefeed(obj) {
  25801. return obj.linefeed;
  25802. },
  25803. set$context(obj, v) {
  25804. return obj.context = v;
  25805. },
  25806. get$$prototype(obj) {
  25807. return obj.prototype;
  25808. },
  25809. get$dartValue(obj) {
  25810. return obj.dartValue;
  25811. },
  25812. set$dartValue(obj, v) {
  25813. return obj.dartValue = v;
  25814. },
  25815. get$red(obj) {
  25816. return obj.red;
  25817. },
  25818. get$green(obj) {
  25819. return obj.green;
  25820. },
  25821. get$blue(obj) {
  25822. return obj.blue;
  25823. },
  25824. get$hue(obj) {
  25825. return obj.hue;
  25826. },
  25827. get$saturation(obj) {
  25828. return obj.saturation;
  25829. },
  25830. get$lightness(obj) {
  25831. return obj.lightness;
  25832. },
  25833. get$whiteness(obj) {
  25834. return obj.whiteness;
  25835. },
  25836. get$blackness(obj) {
  25837. return obj.blackness;
  25838. },
  25839. get$alpha(obj) {
  25840. return obj.alpha;
  25841. },
  25842. get$alertAscii(obj) {
  25843. return obj.alertAscii;
  25844. },
  25845. get$alertColor(obj) {
  25846. return obj.alertColor;
  25847. },
  25848. get$loadPaths(obj) {
  25849. return obj.loadPaths;
  25850. },
  25851. get$quietDeps(obj) {
  25852. return obj.quietDeps;
  25853. },
  25854. get$verbose(obj) {
  25855. return obj.verbose;
  25856. },
  25857. get$charset(obj) {
  25858. return obj.charset;
  25859. },
  25860. get$sourceMap(obj) {
  25861. return obj.sourceMap;
  25862. },
  25863. get$sourceMapIncludeSources(obj) {
  25864. return obj.sourceMapIncludeSources;
  25865. },
  25866. get$logger(obj) {
  25867. return obj.logger;
  25868. },
  25869. get$importers(obj) {
  25870. return obj.importers;
  25871. },
  25872. get$functions(obj) {
  25873. return obj.functions;
  25874. },
  25875. get$syntax(obj) {
  25876. return obj.syntax;
  25877. },
  25878. get$url(obj) {
  25879. return obj.url;
  25880. },
  25881. get$importer(obj) {
  25882. return obj.importer;
  25883. },
  25884. get$_dartException(obj) {
  25885. return obj._dartException;
  25886. },
  25887. set$renderSync(obj, v) {
  25888. return obj.renderSync = v;
  25889. },
  25890. set$compileString(obj, v) {
  25891. return obj.compileString = v;
  25892. },
  25893. set$compileStringAsync(obj, v) {
  25894. return obj.compileStringAsync = v;
  25895. },
  25896. set$compile(obj, v) {
  25897. return obj.compile = v;
  25898. },
  25899. set$compileAsync(obj, v) {
  25900. return obj.compileAsync = v;
  25901. },
  25902. set$info(obj, v) {
  25903. return obj.info = v;
  25904. },
  25905. set$Exception(obj, v) {
  25906. return obj.Exception = v;
  25907. },
  25908. set$Logger(obj, v) {
  25909. return obj.Logger = v;
  25910. },
  25911. set$Value(obj, v) {
  25912. return obj.Value = v;
  25913. },
  25914. set$SassArgumentList(obj, v) {
  25915. return obj.SassArgumentList = v;
  25916. },
  25917. set$SassBoolean(obj, v) {
  25918. return obj.SassBoolean = v;
  25919. },
  25920. set$SassColor(obj, v) {
  25921. return obj.SassColor = v;
  25922. },
  25923. set$SassFunction(obj, v) {
  25924. return obj.SassFunction = v;
  25925. },
  25926. set$SassList(obj, v) {
  25927. return obj.SassList = v;
  25928. },
  25929. set$SassMap(obj, v) {
  25930. return obj.SassMap = v;
  25931. },
  25932. set$SassNumber(obj, v) {
  25933. return obj.SassNumber = v;
  25934. },
  25935. set$SassString(obj, v) {
  25936. return obj.SassString = v;
  25937. },
  25938. set$sassNull(obj, v) {
  25939. return obj.sassNull = v;
  25940. },
  25941. set$sassTrue(obj, v) {
  25942. return obj.sassTrue = v;
  25943. },
  25944. set$sassFalse(obj, v) {
  25945. return obj.sassFalse = v;
  25946. },
  25947. set$render(obj, v) {
  25948. return obj.render = v;
  25949. },
  25950. set$types(obj, v) {
  25951. return obj.types = v;
  25952. },
  25953. set$NULL(obj, v) {
  25954. return obj.NULL = v;
  25955. },
  25956. set$TRUE(obj, v) {
  25957. return obj.TRUE = v;
  25958. },
  25959. set$FALSE(obj, v) {
  25960. return obj.FALSE = v;
  25961. },
  25962. get$current(obj) {
  25963. return obj.current;
  25964. },
  25965. yield$0(receiver) {
  25966. return receiver.yield();
  25967. },
  25968. run$1$1(receiver, p0) {
  25969. return receiver.run(p0);
  25970. },
  25971. run$1(receiver, p0) {
  25972. return receiver.run(p0);
  25973. },
  25974. run$0(receiver) {
  25975. return receiver.run();
  25976. },
  25977. toArray$0(receiver) {
  25978. return receiver.toArray();
  25979. },
  25980. asMutable$0(receiver) {
  25981. return receiver.asMutable();
  25982. },
  25983. asImmutable$0(receiver) {
  25984. return receiver.asImmutable();
  25985. },
  25986. $set$2(receiver, p0, p1) {
  25987. return receiver.set(p0, p1);
  25988. },
  25989. forEach$1(receiver, p0) {
  25990. return receiver.forEach(p0);
  25991. },
  25992. get$canonicalize(obj) {
  25993. return obj.canonicalize;
  25994. },
  25995. canonicalize$1(receiver, p0) {
  25996. return receiver.canonicalize(p0);
  25997. },
  25998. get$load(obj) {
  25999. return obj.load;
  26000. },
  26001. load$1(receiver, p0) {
  26002. return receiver.load(p0);
  26003. },
  26004. get$findFileUrl(obj) {
  26005. return obj.findFileUrl;
  26006. },
  26007. get$sourceMapUrl(obj) {
  26008. return obj.sourceMapUrl;
  26009. },
  26010. get$separator(obj) {
  26011. return obj.separator;
  26012. },
  26013. get$brackets(obj) {
  26014. return obj.brackets;
  26015. },
  26016. get$numeratorUnits(obj) {
  26017. return obj.numeratorUnits;
  26018. },
  26019. get$denominatorUnits(obj) {
  26020. return obj.denominatorUnits;
  26021. },
  26022. get$indentedSyntax(obj) {
  26023. return obj.indentedSyntax;
  26024. },
  26025. get$omitSourceMapUrl(obj) {
  26026. return obj.omitSourceMapUrl;
  26027. },
  26028. get$outFile(obj) {
  26029. return obj.outFile;
  26030. },
  26031. get$outputStyle(obj) {
  26032. return obj.outputStyle;
  26033. },
  26034. get$fiber(obj) {
  26035. return obj.fiber;
  26036. },
  26037. get$sourceMapContents(obj) {
  26038. return obj.sourceMapContents;
  26039. },
  26040. get$sourceMapEmbed(obj) {
  26041. return obj.sourceMapEmbed;
  26042. },
  26043. get$sourceMapRoot(obj) {
  26044. return obj.sourceMapRoot;
  26045. },
  26046. set$cli_pkg_main_0_(obj, v) {
  26047. return obj.cli_pkg_main_0_ = v;
  26048. },
  26049. get$quotes(obj) {
  26050. return obj.quotes;
  26051. }
  26052. };
  26053. J.PlainJavaScriptObject.prototype = {};
  26054. J.UnknownJavaScriptObject.prototype = {};
  26055. J.JavaScriptFunction.prototype = {
  26056. toString$0(receiver) {
  26057. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  26058. if (dartClosure == null)
  26059. return this.super$LegacyJavaScriptObject$toString(receiver);
  26060. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  26061. },
  26062. $isFunction: 1
  26063. };
  26064. J.JSArray.prototype = {
  26065. cast$1$0(receiver, $R) {
  26066. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  26067. },
  26068. add$1(receiver, value) {
  26069. if (!!receiver.fixed$length)
  26070. A.throwExpression(A.UnsupportedError$("add"));
  26071. receiver.push(value);
  26072. },
  26073. removeAt$1(receiver, index) {
  26074. var t1;
  26075. if (!!receiver.fixed$length)
  26076. A.throwExpression(A.UnsupportedError$("removeAt"));
  26077. t1 = receiver.length;
  26078. if (index >= t1)
  26079. throw A.wrapException(A.RangeError$value(index, null, null));
  26080. return receiver.splice(index, 1)[0];
  26081. },
  26082. insert$2(receiver, index, value) {
  26083. var t1;
  26084. if (!!receiver.fixed$length)
  26085. A.throwExpression(A.UnsupportedError$("insert"));
  26086. t1 = receiver.length;
  26087. if (index > t1)
  26088. throw A.wrapException(A.RangeError$value(index, null, null));
  26089. receiver.splice(index, 0, value);
  26090. },
  26091. insertAll$2(receiver, index, iterable) {
  26092. var insertionLength, end;
  26093. if (!!receiver.fixed$length)
  26094. A.throwExpression(A.UnsupportedError$("insertAll"));
  26095. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  26096. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  26097. iterable = J.toList$0$ax(iterable);
  26098. insertionLength = J.get$length$asx(iterable);
  26099. receiver.length = receiver.length + insertionLength;
  26100. end = index + insertionLength;
  26101. this.setRange$4(receiver, end, receiver.length, receiver, index);
  26102. this.setRange$3(receiver, index, end, iterable);
  26103. },
  26104. removeLast$0(receiver) {
  26105. if (!!receiver.fixed$length)
  26106. A.throwExpression(A.UnsupportedError$("removeLast"));
  26107. if (receiver.length === 0)
  26108. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  26109. return receiver.pop();
  26110. },
  26111. _removeWhere$2(receiver, test, removeMatching) {
  26112. var i, element, t1, retained = [],
  26113. end = receiver.length;
  26114. for (i = 0; i < end; ++i) {
  26115. element = receiver[i];
  26116. if (!test.call$1(element))
  26117. retained.push(element);
  26118. if (receiver.length !== end)
  26119. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26120. }
  26121. t1 = retained.length;
  26122. if (t1 === end)
  26123. return;
  26124. this.set$length(receiver, t1);
  26125. for (i = 0; i < retained.length; ++i)
  26126. receiver[i] = retained[i];
  26127. },
  26128. where$1(receiver, f) {
  26129. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  26130. },
  26131. expand$1$1(receiver, f, $T) {
  26132. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  26133. },
  26134. addAll$1(receiver, collection) {
  26135. var t1;
  26136. if (!!receiver.fixed$length)
  26137. A.throwExpression(A.UnsupportedError$("addAll"));
  26138. if (Array.isArray(collection)) {
  26139. this._addAllFromArray$1(receiver, collection);
  26140. return;
  26141. }
  26142. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  26143. receiver.push(t1.get$current(t1));
  26144. },
  26145. _addAllFromArray$1(receiver, array) {
  26146. var i,
  26147. len = array.length;
  26148. if (len === 0)
  26149. return;
  26150. if (receiver === array)
  26151. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26152. for (i = 0; i < len; ++i)
  26153. receiver.push(array[i]);
  26154. },
  26155. clear$0(receiver) {
  26156. if (!!receiver.fixed$length)
  26157. A.throwExpression(A.UnsupportedError$("clear"));
  26158. receiver.length = 0;
  26159. },
  26160. map$1$1(receiver, f, $T) {
  26161. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  26162. },
  26163. join$1(receiver, separator) {
  26164. var i,
  26165. list = A.List_List$filled(receiver.length, "", false, type$.String);
  26166. for (i = 0; i < receiver.length; ++i)
  26167. list[i] = A.S(receiver[i]);
  26168. return list.join(separator);
  26169. },
  26170. join$0($receiver) {
  26171. return this.join$1($receiver, "");
  26172. },
  26173. take$1(receiver, n) {
  26174. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  26175. },
  26176. skip$1(receiver, n) {
  26177. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  26178. },
  26179. fold$1$2(receiver, initialValue, combine) {
  26180. var value, i,
  26181. $length = receiver.length;
  26182. for (value = initialValue, i = 0; i < $length; ++i) {
  26183. value = combine.call$2(value, receiver[i]);
  26184. if (receiver.length !== $length)
  26185. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26186. }
  26187. return value;
  26188. },
  26189. fold$2($receiver, initialValue, combine) {
  26190. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  26191. },
  26192. elementAt$1(receiver, index) {
  26193. return receiver[index];
  26194. },
  26195. sublist$2(receiver, start, end) {
  26196. var end0 = receiver.length;
  26197. if (start > end0)
  26198. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  26199. if (end == null)
  26200. end = end0;
  26201. else if (end < start || end > end0)
  26202. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  26203. if (start === end)
  26204. return A._setArrayType([], A._arrayInstanceType(receiver));
  26205. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  26206. },
  26207. sublist$1($receiver, start) {
  26208. return this.sublist$2($receiver, start, null);
  26209. },
  26210. getRange$2(receiver, start, end) {
  26211. A.RangeError_checkValidRange(start, end, receiver.length);
  26212. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  26213. },
  26214. get$first(receiver) {
  26215. if (receiver.length > 0)
  26216. return receiver[0];
  26217. throw A.wrapException(A.IterableElementError_noElement());
  26218. },
  26219. get$last(receiver) {
  26220. var t1 = receiver.length;
  26221. if (t1 > 0)
  26222. return receiver[t1 - 1];
  26223. throw A.wrapException(A.IterableElementError_noElement());
  26224. },
  26225. get$single(receiver) {
  26226. var t1 = receiver.length;
  26227. if (t1 === 1)
  26228. return receiver[0];
  26229. if (t1 === 0)
  26230. throw A.wrapException(A.IterableElementError_noElement());
  26231. throw A.wrapException(A.IterableElementError_tooMany());
  26232. },
  26233. removeRange$2(receiver, start, end) {
  26234. if (!!receiver.fixed$length)
  26235. A.throwExpression(A.UnsupportedError$("removeRange"));
  26236. A.RangeError_checkValidRange(start, end, receiver.length);
  26237. receiver.splice(start, end - start);
  26238. },
  26239. setRange$4(receiver, start, end, iterable, skipCount) {
  26240. var $length, otherList, otherStart, t1, i;
  26241. if (!!receiver.immutable$list)
  26242. A.throwExpression(A.UnsupportedError$("setRange"));
  26243. A.RangeError_checkValidRange(start, end, receiver.length);
  26244. $length = end - start;
  26245. if ($length === 0)
  26246. return;
  26247. A.RangeError_checkNotNegative(skipCount, "skipCount");
  26248. if (type$.List_dynamic._is(iterable)) {
  26249. otherList = iterable;
  26250. otherStart = skipCount;
  26251. } else {
  26252. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  26253. otherStart = 0;
  26254. }
  26255. t1 = J.getInterceptor$asx(otherList);
  26256. if (otherStart + $length > t1.get$length(otherList))
  26257. throw A.wrapException(A.IterableElementError_tooFew());
  26258. if (otherStart < start)
  26259. for (i = $length - 1; i >= 0; --i)
  26260. receiver[start + i] = t1.$index(otherList, otherStart + i);
  26261. else
  26262. for (i = 0; i < $length; ++i)
  26263. receiver[start + i] = t1.$index(otherList, otherStart + i);
  26264. },
  26265. setRange$3($receiver, start, end, iterable) {
  26266. return this.setRange$4($receiver, start, end, iterable, 0);
  26267. },
  26268. fillRange$3(receiver, start, end, fillValue) {
  26269. var i;
  26270. if (!!receiver.immutable$list)
  26271. A.throwExpression(A.UnsupportedError$("fill range"));
  26272. A.RangeError_checkValidRange(start, end, receiver.length);
  26273. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  26274. for (i = start; i < end; ++i)
  26275. receiver[i] = fillValue;
  26276. },
  26277. any$1(receiver, test) {
  26278. var i,
  26279. end = receiver.length;
  26280. for (i = 0; i < end; ++i) {
  26281. if (test.call$1(receiver[i]))
  26282. return true;
  26283. if (receiver.length !== end)
  26284. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26285. }
  26286. return false;
  26287. },
  26288. every$1(receiver, test) {
  26289. var i,
  26290. end = receiver.length;
  26291. for (i = 0; i < end; ++i) {
  26292. if (!test.call$1(receiver[i]))
  26293. return false;
  26294. if (receiver.length !== end)
  26295. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  26296. }
  26297. return true;
  26298. },
  26299. get$reversed(receiver) {
  26300. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  26301. },
  26302. sort$1(receiver, compare) {
  26303. if (!!receiver.immutable$list)
  26304. A.throwExpression(A.UnsupportedError$("sort"));
  26305. A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
  26306. },
  26307. sort$0($receiver) {
  26308. return this.sort$1($receiver, null);
  26309. },
  26310. indexOf$1(receiver, element) {
  26311. var i,
  26312. $length = receiver.length;
  26313. if (0 >= $length)
  26314. return -1;
  26315. for (i = 0; i < $length; ++i)
  26316. if (J.$eq$(receiver[i], element))
  26317. return i;
  26318. return -1;
  26319. },
  26320. contains$1(receiver, other) {
  26321. var i;
  26322. for (i = 0; i < receiver.length; ++i)
  26323. if (J.$eq$(receiver[i], other))
  26324. return true;
  26325. return false;
  26326. },
  26327. get$isEmpty(receiver) {
  26328. return receiver.length === 0;
  26329. },
  26330. get$isNotEmpty(receiver) {
  26331. return receiver.length !== 0;
  26332. },
  26333. toString$0(receiver) {
  26334. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  26335. },
  26336. toList$1$growable(receiver, growable) {
  26337. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  26338. return t1;
  26339. },
  26340. toList$0($receiver) {
  26341. return this.toList$1$growable($receiver, true);
  26342. },
  26343. toSet$0(receiver) {
  26344. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  26345. },
  26346. get$iterator(receiver) {
  26347. return new J.ArrayIterator(receiver, receiver.length);
  26348. },
  26349. get$hashCode(receiver) {
  26350. return A.Primitives_objectHashCode(receiver);
  26351. },
  26352. get$length(receiver) {
  26353. return receiver.length;
  26354. },
  26355. set$length(receiver, newLength) {
  26356. if (!!receiver.fixed$length)
  26357. A.throwExpression(A.UnsupportedError$("set length"));
  26358. if (newLength < 0)
  26359. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  26360. if (newLength > receiver.length)
  26361. A._arrayInstanceType(receiver)._precomputed1._as(null);
  26362. receiver.length = newLength;
  26363. },
  26364. $index(receiver, index) {
  26365. if (!(index >= 0 && index < receiver.length))
  26366. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26367. return receiver[index];
  26368. },
  26369. $indexSet(receiver, index, value) {
  26370. if (!!receiver.immutable$list)
  26371. A.throwExpression(A.UnsupportedError$("indexed set"));
  26372. if (!(index >= 0 && index < receiver.length))
  26373. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26374. receiver[index] = value;
  26375. },
  26376. $add(receiver, other) {
  26377. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  26378. this.addAll$1(t1, other);
  26379. return t1;
  26380. },
  26381. indexWhere$1(receiver, test) {
  26382. var i;
  26383. if (0 >= receiver.length)
  26384. return -1;
  26385. for (i = 0; i < receiver.length; ++i)
  26386. if (test.call$1(receiver[i]))
  26387. return i;
  26388. return -1;
  26389. },
  26390. $isEfficientLengthIterable: 1,
  26391. $isIterable: 1,
  26392. $isList: 1
  26393. };
  26394. J.JSUnmodifiableArray.prototype = {};
  26395. J.ArrayIterator.prototype = {
  26396. get$current(_) {
  26397. var t1 = this._current;
  26398. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  26399. },
  26400. moveNext$0() {
  26401. var t2, _this = this,
  26402. t1 = _this._iterable,
  26403. $length = t1.length;
  26404. if (_this._length !== $length)
  26405. throw A.wrapException(A.throwConcurrentModificationError(t1));
  26406. t2 = _this._index;
  26407. if (t2 >= $length) {
  26408. _this._current = null;
  26409. return false;
  26410. }
  26411. _this._current = t1[t2];
  26412. _this._index = t2 + 1;
  26413. return true;
  26414. }
  26415. };
  26416. J.JSNumber.prototype = {
  26417. compareTo$1(receiver, b) {
  26418. var bIsNegative;
  26419. if (receiver < b)
  26420. return -1;
  26421. else if (receiver > b)
  26422. return 1;
  26423. else if (receiver === b) {
  26424. if (receiver === 0) {
  26425. bIsNegative = this.get$isNegative(b);
  26426. if (this.get$isNegative(receiver) === bIsNegative)
  26427. return 0;
  26428. if (this.get$isNegative(receiver))
  26429. return -1;
  26430. return 1;
  26431. }
  26432. return 0;
  26433. } else if (isNaN(receiver)) {
  26434. if (isNaN(b))
  26435. return 0;
  26436. return 1;
  26437. } else
  26438. return -1;
  26439. },
  26440. get$isNegative(receiver) {
  26441. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  26442. },
  26443. ceil$0(receiver) {
  26444. var truncated, d;
  26445. if (receiver >= 0) {
  26446. if (receiver <= 2147483647) {
  26447. truncated = receiver | 0;
  26448. return receiver === truncated ? truncated : truncated + 1;
  26449. }
  26450. } else if (receiver >= -2147483648)
  26451. return receiver | 0;
  26452. d = Math.ceil(receiver);
  26453. if (isFinite(d))
  26454. return d;
  26455. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  26456. },
  26457. floor$0(receiver) {
  26458. var truncated, d;
  26459. if (receiver >= 0) {
  26460. if (receiver <= 2147483647)
  26461. return receiver | 0;
  26462. } else if (receiver >= -2147483648) {
  26463. truncated = receiver | 0;
  26464. return receiver === truncated ? truncated : truncated - 1;
  26465. }
  26466. d = Math.floor(receiver);
  26467. if (isFinite(d))
  26468. return d;
  26469. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  26470. },
  26471. round$0(receiver) {
  26472. if (receiver > 0) {
  26473. if (receiver !== 1 / 0)
  26474. return Math.round(receiver);
  26475. } else if (receiver > -1 / 0)
  26476. return 0 - Math.round(0 - receiver);
  26477. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  26478. },
  26479. clamp$2(receiver, lowerLimit, upperLimit) {
  26480. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  26481. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  26482. if (this.compareTo$1(receiver, lowerLimit) < 0)
  26483. return lowerLimit;
  26484. if (this.compareTo$1(receiver, upperLimit) > 0)
  26485. return upperLimit;
  26486. return receiver;
  26487. },
  26488. toRadixString$1(receiver, radix) {
  26489. var result, match, exponent, t1;
  26490. if (radix < 2 || radix > 36)
  26491. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  26492. result = receiver.toString(radix);
  26493. if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
  26494. return result;
  26495. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  26496. if (match == null)
  26497. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  26498. result = match[1];
  26499. exponent = +match[3];
  26500. t1 = match[2];
  26501. if (t1 != null) {
  26502. result += t1;
  26503. exponent -= t1.length;
  26504. }
  26505. return result + B.JSString_methods.$mul("0", exponent);
  26506. },
  26507. toString$0(receiver) {
  26508. if (receiver === 0 && 1 / receiver < 0)
  26509. return "-0.0";
  26510. else
  26511. return "" + receiver;
  26512. },
  26513. get$hashCode(receiver) {
  26514. var absolute, floorLog2, factor, scaled,
  26515. intValue = receiver | 0;
  26516. if (receiver === intValue)
  26517. return intValue & 536870911;
  26518. absolute = Math.abs(receiver);
  26519. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  26520. factor = Math.pow(2, floorLog2);
  26521. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  26522. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  26523. },
  26524. $mod(receiver, other) {
  26525. var result = receiver % other;
  26526. if (result === 0)
  26527. return 0;
  26528. if (result > 0)
  26529. return result;
  26530. if (other < 0)
  26531. return result - other;
  26532. else
  26533. return result + other;
  26534. },
  26535. $tdiv(receiver, other) {
  26536. if ((receiver | 0) === receiver)
  26537. if (other >= 1 || other < -1)
  26538. return receiver / other | 0;
  26539. return this._tdivSlow$1(receiver, other);
  26540. },
  26541. _tdivFast$1(receiver, other) {
  26542. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  26543. },
  26544. _tdivSlow$1(receiver, other) {
  26545. var quotient = receiver / other;
  26546. if (quotient >= -2147483648 && quotient <= 2147483647)
  26547. return quotient | 0;
  26548. if (quotient > 0) {
  26549. if (quotient !== 1 / 0)
  26550. return Math.floor(quotient);
  26551. } else if (quotient > -1 / 0)
  26552. return Math.ceil(quotient);
  26553. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  26554. },
  26555. _shrOtherPositive$1(receiver, other) {
  26556. var t1;
  26557. if (receiver > 0)
  26558. t1 = this._shrBothPositive$1(receiver, other);
  26559. else {
  26560. t1 = other > 31 ? 31 : other;
  26561. t1 = receiver >> t1 >>> 0;
  26562. }
  26563. return t1;
  26564. },
  26565. _shrReceiverPositive$1(receiver, other) {
  26566. if (0 > other)
  26567. throw A.wrapException(A.argumentErrorValue(other));
  26568. return this._shrBothPositive$1(receiver, other);
  26569. },
  26570. _shrBothPositive$1(receiver, other) {
  26571. return other > 31 ? 0 : receiver >>> other;
  26572. },
  26573. $isComparable: 1,
  26574. $isdouble: 1,
  26575. $isnum: 1
  26576. };
  26577. J.JSInt.prototype = {$isint: 1};
  26578. J.JSNumNotInt.prototype = {};
  26579. J.JSString.prototype = {
  26580. codeUnitAt$1(receiver, index) {
  26581. if (index < 0)
  26582. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26583. if (index >= receiver.length)
  26584. A.throwExpression(A.diagnoseIndexError(receiver, index));
  26585. return receiver.charCodeAt(index);
  26586. },
  26587. _codeUnitAt$1(receiver, index) {
  26588. if (index >= receiver.length)
  26589. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26590. return receiver.charCodeAt(index);
  26591. },
  26592. allMatches$2(receiver, string, start) {
  26593. var t1 = string.length;
  26594. if (start > t1)
  26595. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  26596. return new A._StringAllMatchesIterable(string, receiver, start);
  26597. },
  26598. allMatches$1($receiver, string) {
  26599. return this.allMatches$2($receiver, string, 0);
  26600. },
  26601. matchAsPrefix$2(receiver, string, start) {
  26602. var t1, i, _null = null;
  26603. if (start < 0 || start > string.length)
  26604. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  26605. t1 = receiver.length;
  26606. if (start + t1 > string.length)
  26607. return _null;
  26608. for (i = 0; i < t1; ++i)
  26609. if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
  26610. return _null;
  26611. return new A.StringMatch(start, receiver);
  26612. },
  26613. $add(receiver, other) {
  26614. return receiver + other;
  26615. },
  26616. endsWith$1(receiver, other) {
  26617. var otherLength = other.length,
  26618. t1 = receiver.length;
  26619. if (otherLength > t1)
  26620. return false;
  26621. return other === this.substring$1(receiver, t1 - otherLength);
  26622. },
  26623. replaceFirst$2(receiver, from, to) {
  26624. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  26625. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  26626. },
  26627. split$1(receiver, pattern) {
  26628. if (typeof pattern == "string")
  26629. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  26630. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  26631. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  26632. else
  26633. return this._defaultSplit$1(receiver, pattern);
  26634. },
  26635. replaceRange$3(receiver, start, end, replacement) {
  26636. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  26637. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  26638. },
  26639. _defaultSplit$1(receiver, pattern) {
  26640. var t1, start, $length, match, matchStart, matchEnd,
  26641. result = A._setArrayType([], type$.JSArray_String);
  26642. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  26643. match = t1.get$current(t1);
  26644. matchStart = match.get$start(match);
  26645. matchEnd = match.get$end(match);
  26646. $length = matchEnd - matchStart;
  26647. if ($length === 0 && start === matchStart)
  26648. continue;
  26649. result.push(this.substring$2(receiver, start, matchStart));
  26650. start = matchEnd;
  26651. }
  26652. if (start < receiver.length || $length > 0)
  26653. result.push(this.substring$1(receiver, start));
  26654. return result;
  26655. },
  26656. startsWith$2(receiver, pattern, index) {
  26657. var endIndex;
  26658. if (index < 0 || index > receiver.length)
  26659. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  26660. if (typeof pattern == "string") {
  26661. endIndex = index + pattern.length;
  26662. if (endIndex > receiver.length)
  26663. return false;
  26664. return pattern === receiver.substring(index, endIndex);
  26665. }
  26666. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  26667. },
  26668. startsWith$1($receiver, pattern) {
  26669. return this.startsWith$2($receiver, pattern, 0);
  26670. },
  26671. substring$2(receiver, start, end) {
  26672. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  26673. },
  26674. substring$1($receiver, start) {
  26675. return this.substring$2($receiver, start, null);
  26676. },
  26677. trim$0(receiver) {
  26678. var startIndex, t1, endIndex0,
  26679. result = receiver.trim(),
  26680. endIndex = result.length;
  26681. if (endIndex === 0)
  26682. return result;
  26683. if (this._codeUnitAt$1(result, 0) === 133) {
  26684. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  26685. if (startIndex === endIndex)
  26686. return "";
  26687. } else
  26688. startIndex = 0;
  26689. t1 = endIndex - 1;
  26690. endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  26691. if (startIndex === 0 && endIndex0 === endIndex)
  26692. return result;
  26693. return result.substring(startIndex, endIndex0);
  26694. },
  26695. trimLeft$0(receiver) {
  26696. var result, startIndex;
  26697. if (typeof receiver.trimLeft != "undefined") {
  26698. result = receiver.trimLeft();
  26699. if (result.length === 0)
  26700. return result;
  26701. startIndex = this._codeUnitAt$1(result, 0) === 133 ? J.JSString__skipLeadingWhitespace(result, 1) : 0;
  26702. } else {
  26703. startIndex = J.JSString__skipLeadingWhitespace(receiver, 0);
  26704. result = receiver;
  26705. }
  26706. if (startIndex === 0)
  26707. return result;
  26708. if (startIndex === result.length)
  26709. return "";
  26710. return result.substring(startIndex);
  26711. },
  26712. trimRight$0(receiver) {
  26713. var result, endIndex, t1;
  26714. if (typeof receiver.trimRight != "undefined") {
  26715. result = receiver.trimRight();
  26716. endIndex = result.length;
  26717. if (endIndex === 0)
  26718. return result;
  26719. t1 = endIndex - 1;
  26720. if (this.codeUnitAt$1(result, t1) === 133)
  26721. endIndex = J.JSString__skipTrailingWhitespace(result, t1);
  26722. } else {
  26723. endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
  26724. result = receiver;
  26725. }
  26726. if (endIndex === result.length)
  26727. return result;
  26728. if (endIndex === 0)
  26729. return "";
  26730. return result.substring(0, endIndex);
  26731. },
  26732. $mul(receiver, times) {
  26733. var s, result;
  26734. if (0 >= times)
  26735. return "";
  26736. if (times === 1 || receiver.length === 0)
  26737. return receiver;
  26738. if (times !== times >>> 0)
  26739. throw A.wrapException(B.C_OutOfMemoryError);
  26740. for (s = receiver, result = ""; true;) {
  26741. if ((times & 1) === 1)
  26742. result = s + result;
  26743. times = times >>> 1;
  26744. if (times === 0)
  26745. break;
  26746. s += s;
  26747. }
  26748. return result;
  26749. },
  26750. padLeft$2(receiver, width, padding) {
  26751. var delta = width - receiver.length;
  26752. if (delta <= 0)
  26753. return receiver;
  26754. return this.$mul(padding, delta) + receiver;
  26755. },
  26756. padRight$1(receiver, width) {
  26757. var delta = width - receiver.length;
  26758. if (delta <= 0)
  26759. return receiver;
  26760. return receiver + this.$mul(" ", delta);
  26761. },
  26762. indexOf$2(receiver, pattern, start) {
  26763. var t1;
  26764. if (start < 0 || start > receiver.length)
  26765. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26766. t1 = receiver.indexOf(pattern, start);
  26767. return t1;
  26768. },
  26769. indexOf$1($receiver, pattern) {
  26770. return this.indexOf$2($receiver, pattern, 0);
  26771. },
  26772. lastIndexOf$2(receiver, pattern, start) {
  26773. var t1, t2, i;
  26774. if (start == null)
  26775. start = receiver.length;
  26776. else if (start < 0 || start > receiver.length)
  26777. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26778. if (typeof pattern == "string") {
  26779. t1 = pattern.length;
  26780. t2 = receiver.length;
  26781. if (start + t1 > t2)
  26782. start = t2 - t1;
  26783. return receiver.lastIndexOf(pattern, start);
  26784. }
  26785. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  26786. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  26787. return i;
  26788. return -1;
  26789. },
  26790. lastIndexOf$1($receiver, pattern) {
  26791. return this.lastIndexOf$2($receiver, pattern, null);
  26792. },
  26793. contains$2(receiver, other, startIndex) {
  26794. var t1 = receiver.length;
  26795. if (startIndex > t1)
  26796. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  26797. return A.stringContainsUnchecked(receiver, other, startIndex);
  26798. },
  26799. contains$1($receiver, other) {
  26800. return this.contains$2($receiver, other, 0);
  26801. },
  26802. compareTo$1(receiver, other) {
  26803. var t1;
  26804. if (receiver === other)
  26805. t1 = 0;
  26806. else
  26807. t1 = receiver < other ? -1 : 1;
  26808. return t1;
  26809. },
  26810. toString$0(receiver) {
  26811. return receiver;
  26812. },
  26813. get$hashCode(receiver) {
  26814. var t1, hash, i;
  26815. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  26816. hash = hash + receiver.charCodeAt(i) & 536870911;
  26817. hash = hash + ((hash & 524287) << 10) & 536870911;
  26818. hash ^= hash >> 6;
  26819. }
  26820. hash = hash + ((hash & 67108863) << 3) & 536870911;
  26821. hash ^= hash >> 11;
  26822. return hash + ((hash & 16383) << 15) & 536870911;
  26823. },
  26824. get$length(receiver) {
  26825. return receiver.length;
  26826. },
  26827. $isComparable: 1,
  26828. $isString: 1
  26829. };
  26830. A._CastIterableBase.prototype = {
  26831. get$iterator(_) {
  26832. var t1 = A._instanceType(this);
  26833. 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>"));
  26834. },
  26835. get$length(_) {
  26836. return J.get$length$asx(this.get$_source());
  26837. },
  26838. get$isEmpty(_) {
  26839. return J.get$isEmpty$asx(this.get$_source());
  26840. },
  26841. get$isNotEmpty(_) {
  26842. return J.get$isNotEmpty$asx(this.get$_source());
  26843. },
  26844. skip$1(_, count) {
  26845. var t1 = A._instanceType(this);
  26846. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26847. },
  26848. take$1(_, count) {
  26849. var t1 = A._instanceType(this);
  26850. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26851. },
  26852. elementAt$1(_, index) {
  26853. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  26854. },
  26855. get$first(_) {
  26856. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  26857. },
  26858. get$last(_) {
  26859. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  26860. },
  26861. get$single(_) {
  26862. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  26863. },
  26864. contains$1(_, other) {
  26865. return J.contains$1$asx(this.get$_source(), other);
  26866. },
  26867. toString$0(_) {
  26868. return J.toString$0$(this.get$_source());
  26869. }
  26870. };
  26871. A.CastIterator.prototype = {
  26872. moveNext$0() {
  26873. return this._source.moveNext$0();
  26874. },
  26875. get$current(_) {
  26876. var t1 = this._source;
  26877. return this.$ti._rest[1]._as(t1.get$current(t1));
  26878. }
  26879. };
  26880. A.CastIterable.prototype = {
  26881. get$_source() {
  26882. return this._source;
  26883. }
  26884. };
  26885. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  26886. A._CastListBase.prototype = {
  26887. $index(_, index) {
  26888. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  26889. },
  26890. $indexSet(_, index, value) {
  26891. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  26892. },
  26893. set$length(_, $length) {
  26894. J.set$length$asx(this._source, $length);
  26895. },
  26896. add$1(_, value) {
  26897. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  26898. },
  26899. sort$1(_, compare) {
  26900. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  26901. J.sort$1$ax(this._source, t1);
  26902. },
  26903. setRange$4(_, start, end, iterable, skipCount) {
  26904. var t1 = this.$ti;
  26905. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  26906. },
  26907. fillRange$3(_, start, end, fillValue) {
  26908. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  26909. },
  26910. $isEfficientLengthIterable: 1,
  26911. $isList: 1
  26912. };
  26913. A._CastListBase_sort_closure.prototype = {
  26914. call$2(v1, v2) {
  26915. var t1 = this.$this.$ti._rest[1];
  26916. return this.compare.call$2(t1._as(v1), t1._as(v2));
  26917. },
  26918. $signature() {
  26919. return this.$this.$ti._eval$1("int(1,1)");
  26920. }
  26921. };
  26922. A.CastList.prototype = {
  26923. cast$1$0(_, $R) {
  26924. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  26925. },
  26926. get$_source() {
  26927. return this._source;
  26928. }
  26929. };
  26930. A.CastSet.prototype = {
  26931. add$1(_, value) {
  26932. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  26933. },
  26934. addAll$1(_, elements) {
  26935. var t1 = this.$ti;
  26936. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  26937. },
  26938. difference$1(other) {
  26939. var t1, _this = this;
  26940. if (_this._emptySet != null)
  26941. return _this._conditionalAdd$2(other, false);
  26942. t1 = _this.$ti;
  26943. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  26944. },
  26945. _conditionalAdd$2(other, otherContains) {
  26946. var t3, castElement,
  26947. emptySet = this._emptySet,
  26948. t1 = this.$ti,
  26949. t2 = t1._rest[1],
  26950. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  26951. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  26952. castElement = t1._as(t2.get$current(t2));
  26953. if (otherContains === t3.contains$1(0, castElement))
  26954. result.add$1(0, castElement);
  26955. }
  26956. return result;
  26957. },
  26958. toSet$0(_) {
  26959. var emptySet = this._emptySet,
  26960. t1 = this.$ti._rest[1],
  26961. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  26962. result.addAll$1(0, this);
  26963. return result;
  26964. },
  26965. $isEfficientLengthIterable: 1,
  26966. $isSet: 1,
  26967. get$_source() {
  26968. return this._source;
  26969. }
  26970. };
  26971. A.CastMap.prototype = {
  26972. cast$2$0(_, RK, RV) {
  26973. var t1 = this.$ti;
  26974. 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>"));
  26975. },
  26976. containsKey$1(key) {
  26977. return this._source.containsKey$1(key);
  26978. },
  26979. $index(_, key) {
  26980. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  26981. },
  26982. $indexSet(_, key, value) {
  26983. var t1 = this.$ti;
  26984. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  26985. },
  26986. addAll$1(_, other) {
  26987. var t1 = this.$ti;
  26988. 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>")));
  26989. },
  26990. remove$1(_, key) {
  26991. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  26992. },
  26993. forEach$1(_, f) {
  26994. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  26995. },
  26996. get$keys(_) {
  26997. var t1 = this._source,
  26998. t2 = this.$ti;
  26999. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  27000. },
  27001. get$values(_) {
  27002. var t1 = this._source,
  27003. t2 = this.$ti;
  27004. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  27005. },
  27006. get$length(_) {
  27007. var t1 = this._source;
  27008. return t1.get$length(t1);
  27009. },
  27010. get$isEmpty(_) {
  27011. var t1 = this._source;
  27012. return t1.get$isEmpty(t1);
  27013. },
  27014. get$isNotEmpty(_) {
  27015. var t1 = this._source;
  27016. return t1.get$isNotEmpty(t1);
  27017. },
  27018. get$entries(_) {
  27019. var t1 = this._source;
  27020. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  27021. }
  27022. };
  27023. A.CastMap_forEach_closure.prototype = {
  27024. call$2(key, value) {
  27025. var t1 = this.$this.$ti;
  27026. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  27027. },
  27028. $signature() {
  27029. return this.$this.$ti._eval$1("~(1,2)");
  27030. }
  27031. };
  27032. A.CastMap_entries_closure.prototype = {
  27033. call$1(e) {
  27034. var t1 = this.$this.$ti,
  27035. t2 = t1._rest[3];
  27036. 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>"));
  27037. },
  27038. $signature() {
  27039. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  27040. }
  27041. };
  27042. A.LateError.prototype = {
  27043. toString$0(_) {
  27044. return "LateInitializationError: " + this._message;
  27045. }
  27046. };
  27047. A.CodeUnits.prototype = {
  27048. get$length(_) {
  27049. return this.__internal$_string.length;
  27050. },
  27051. $index(_, i) {
  27052. return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
  27053. }
  27054. };
  27055. A.nullFuture_closure.prototype = {
  27056. call$0() {
  27057. return A.Future_Future$value(null, type$.Null);
  27058. },
  27059. $signature: 2
  27060. };
  27061. A.SentinelValue.prototype = {};
  27062. A.EfficientLengthIterable.prototype = {};
  27063. A.ListIterable.prototype = {
  27064. get$iterator(_) {
  27065. return new A.ListIterator(this, this.get$length(this));
  27066. },
  27067. get$isEmpty(_) {
  27068. return this.get$length(this) === 0;
  27069. },
  27070. get$first(_) {
  27071. if (this.get$length(this) === 0)
  27072. throw A.wrapException(A.IterableElementError_noElement());
  27073. return this.elementAt$1(0, 0);
  27074. },
  27075. get$last(_) {
  27076. var _this = this;
  27077. if (_this.get$length(_this) === 0)
  27078. throw A.wrapException(A.IterableElementError_noElement());
  27079. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  27080. },
  27081. get$single(_) {
  27082. var _this = this;
  27083. if (_this.get$length(_this) === 0)
  27084. throw A.wrapException(A.IterableElementError_noElement());
  27085. if (_this.get$length(_this) > 1)
  27086. throw A.wrapException(A.IterableElementError_tooMany());
  27087. return _this.elementAt$1(0, 0);
  27088. },
  27089. contains$1(_, element) {
  27090. var i, _this = this,
  27091. $length = _this.get$length(_this);
  27092. for (i = 0; i < $length; ++i) {
  27093. if (J.$eq$(_this.elementAt$1(0, i), element))
  27094. return true;
  27095. if ($length !== _this.get$length(_this))
  27096. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27097. }
  27098. return false;
  27099. },
  27100. every$1(_, test) {
  27101. var i, _this = this,
  27102. $length = _this.get$length(_this);
  27103. for (i = 0; i < $length; ++i) {
  27104. if (!test.call$1(_this.elementAt$1(0, i)))
  27105. return false;
  27106. if ($length !== _this.get$length(_this))
  27107. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27108. }
  27109. return true;
  27110. },
  27111. any$1(_, test) {
  27112. var i, _this = this,
  27113. $length = _this.get$length(_this);
  27114. for (i = 0; i < $length; ++i) {
  27115. if (test.call$1(_this.elementAt$1(0, i)))
  27116. return true;
  27117. if ($length !== _this.get$length(_this))
  27118. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27119. }
  27120. return false;
  27121. },
  27122. join$1(_, separator) {
  27123. var first, t1, i, _this = this,
  27124. $length = _this.get$length(_this);
  27125. if (separator.length !== 0) {
  27126. if ($length === 0)
  27127. return "";
  27128. first = A.S(_this.elementAt$1(0, 0));
  27129. if ($length !== _this.get$length(_this))
  27130. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27131. for (t1 = first, i = 1; i < $length; ++i) {
  27132. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  27133. if ($length !== _this.get$length(_this))
  27134. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27135. }
  27136. return t1.charCodeAt(0) == 0 ? t1 : t1;
  27137. } else {
  27138. for (i = 0, t1 = ""; i < $length; ++i) {
  27139. t1 += A.S(_this.elementAt$1(0, i));
  27140. if ($length !== _this.get$length(_this))
  27141. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27142. }
  27143. return t1.charCodeAt(0) == 0 ? t1 : t1;
  27144. }
  27145. },
  27146. join$0($receiver) {
  27147. return this.join$1($receiver, "");
  27148. },
  27149. where$1(_, test) {
  27150. return this.super$Iterable$where(0, test);
  27151. },
  27152. map$1$1(_, toElement, $T) {
  27153. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  27154. },
  27155. reduce$1(_, combine) {
  27156. var value, i, _this = this,
  27157. $length = _this.get$length(_this);
  27158. if ($length === 0)
  27159. throw A.wrapException(A.IterableElementError_noElement());
  27160. value = _this.elementAt$1(0, 0);
  27161. for (i = 1; i < $length; ++i) {
  27162. value = combine.call$2(value, _this.elementAt$1(0, i));
  27163. if ($length !== _this.get$length(_this))
  27164. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27165. }
  27166. return value;
  27167. },
  27168. fold$1$2(_, initialValue, combine) {
  27169. var value, i, _this = this,
  27170. $length = _this.get$length(_this);
  27171. for (value = initialValue, i = 0; i < $length; ++i) {
  27172. value = combine.call$2(value, _this.elementAt$1(0, i));
  27173. if ($length !== _this.get$length(_this))
  27174. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27175. }
  27176. return value;
  27177. },
  27178. fold$2($receiver, initialValue, combine) {
  27179. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  27180. },
  27181. skip$1(_, count) {
  27182. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  27183. },
  27184. take$1(_, count) {
  27185. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  27186. },
  27187. toList$1$growable(_, growable) {
  27188. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  27189. },
  27190. toList$0($receiver) {
  27191. return this.toList$1$growable($receiver, true);
  27192. },
  27193. toSet$0(_) {
  27194. var i, _this = this,
  27195. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  27196. for (i = 0; i < _this.get$length(_this); ++i)
  27197. result.add$1(0, _this.elementAt$1(0, i));
  27198. return result;
  27199. }
  27200. };
  27201. A.SubListIterable.prototype = {
  27202. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  27203. var endOrLength,
  27204. t1 = this.__internal$_start;
  27205. A.RangeError_checkNotNegative(t1, "start");
  27206. endOrLength = this._endOrLength;
  27207. if (endOrLength != null) {
  27208. A.RangeError_checkNotNegative(endOrLength, "end");
  27209. if (t1 > endOrLength)
  27210. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  27211. }
  27212. },
  27213. get$_endIndex() {
  27214. var $length = J.get$length$asx(this.__internal$_iterable),
  27215. endOrLength = this._endOrLength;
  27216. if (endOrLength == null || endOrLength > $length)
  27217. return $length;
  27218. return endOrLength;
  27219. },
  27220. get$_startIndex() {
  27221. var $length = J.get$length$asx(this.__internal$_iterable),
  27222. t1 = this.__internal$_start;
  27223. if (t1 > $length)
  27224. return $length;
  27225. return t1;
  27226. },
  27227. get$length(_) {
  27228. var endOrLength,
  27229. $length = J.get$length$asx(this.__internal$_iterable),
  27230. t1 = this.__internal$_start;
  27231. if (t1 >= $length)
  27232. return 0;
  27233. endOrLength = this._endOrLength;
  27234. if (endOrLength == null || endOrLength >= $length)
  27235. return $length - t1;
  27236. return endOrLength - t1;
  27237. },
  27238. elementAt$1(_, index) {
  27239. var _this = this,
  27240. realIndex = _this.get$_startIndex() + index;
  27241. if (index < 0 || realIndex >= _this.get$_endIndex())
  27242. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, null, "index"));
  27243. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  27244. },
  27245. skip$1(_, count) {
  27246. var newStart, endOrLength, _this = this;
  27247. A.RangeError_checkNotNegative(count, "count");
  27248. newStart = _this.__internal$_start + count;
  27249. endOrLength = _this._endOrLength;
  27250. if (endOrLength != null && newStart >= endOrLength)
  27251. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  27252. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  27253. },
  27254. take$1(_, count) {
  27255. var endOrLength, t1, newEnd, _this = this;
  27256. A.RangeError_checkNotNegative(count, "count");
  27257. endOrLength = _this._endOrLength;
  27258. t1 = _this.__internal$_start;
  27259. newEnd = t1 + count;
  27260. if (endOrLength == null)
  27261. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  27262. else {
  27263. if (endOrLength < newEnd)
  27264. return _this;
  27265. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  27266. }
  27267. },
  27268. toList$1$growable(_, growable) {
  27269. var $length, result, i, _this = this,
  27270. start = _this.__internal$_start,
  27271. t1 = _this.__internal$_iterable,
  27272. t2 = J.getInterceptor$asx(t1),
  27273. end = t2.get$length(t1),
  27274. endOrLength = _this._endOrLength;
  27275. if (endOrLength != null && endOrLength < end)
  27276. end = endOrLength;
  27277. $length = end - start;
  27278. if ($length <= 0) {
  27279. t1 = _this.$ti._precomputed1;
  27280. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  27281. }
  27282. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  27283. for (i = 1; i < $length; ++i) {
  27284. result[i] = t2.elementAt$1(t1, start + i);
  27285. if (t2.get$length(t1) < end)
  27286. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27287. }
  27288. return result;
  27289. },
  27290. toList$0($receiver) {
  27291. return this.toList$1$growable($receiver, true);
  27292. }
  27293. };
  27294. A.ListIterator.prototype = {
  27295. get$current(_) {
  27296. var t1 = this.__internal$_current;
  27297. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  27298. },
  27299. moveNext$0() {
  27300. var t3, _this = this,
  27301. t1 = _this.__internal$_iterable,
  27302. t2 = J.getInterceptor$asx(t1),
  27303. $length = t2.get$length(t1);
  27304. if (_this.__internal$_length !== $length)
  27305. throw A.wrapException(A.ConcurrentModificationError$(t1));
  27306. t3 = _this.__internal$_index;
  27307. if (t3 >= $length) {
  27308. _this.__internal$_current = null;
  27309. return false;
  27310. }
  27311. _this.__internal$_current = t2.elementAt$1(t1, t3);
  27312. ++_this.__internal$_index;
  27313. return true;
  27314. }
  27315. };
  27316. A.MappedIterable.prototype = {
  27317. get$iterator(_) {
  27318. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27319. },
  27320. get$length(_) {
  27321. return J.get$length$asx(this.__internal$_iterable);
  27322. },
  27323. get$isEmpty(_) {
  27324. return J.get$isEmpty$asx(this.__internal$_iterable);
  27325. },
  27326. get$first(_) {
  27327. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  27328. },
  27329. get$last(_) {
  27330. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  27331. },
  27332. get$single(_) {
  27333. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  27334. },
  27335. elementAt$1(_, index) {
  27336. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  27337. }
  27338. };
  27339. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  27340. A.MappedIterator.prototype = {
  27341. moveNext$0() {
  27342. var _this = this,
  27343. t1 = _this._iterator;
  27344. if (t1.moveNext$0()) {
  27345. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  27346. return true;
  27347. }
  27348. _this.__internal$_current = null;
  27349. return false;
  27350. },
  27351. get$current(_) {
  27352. var t1 = this.__internal$_current;
  27353. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  27354. }
  27355. };
  27356. A.MappedListIterable.prototype = {
  27357. get$length(_) {
  27358. return J.get$length$asx(this._source);
  27359. },
  27360. elementAt$1(_, index) {
  27361. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  27362. }
  27363. };
  27364. A.WhereIterable.prototype = {
  27365. get$iterator(_) {
  27366. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27367. },
  27368. map$1$1(_, toElement, $T) {
  27369. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  27370. }
  27371. };
  27372. A.WhereIterator.prototype = {
  27373. moveNext$0() {
  27374. var t1, t2;
  27375. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  27376. if (t2.call$1(t1.get$current(t1)))
  27377. return true;
  27378. return false;
  27379. },
  27380. get$current(_) {
  27381. var t1 = this._iterator;
  27382. return t1.get$current(t1);
  27383. }
  27384. };
  27385. A.ExpandIterable.prototype = {
  27386. get$iterator(_) {
  27387. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
  27388. }
  27389. };
  27390. A.ExpandIterator.prototype = {
  27391. get$current(_) {
  27392. var t1 = this.__internal$_current;
  27393. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  27394. },
  27395. moveNext$0() {
  27396. var t2, t3, _this = this,
  27397. t1 = _this._currentExpansion;
  27398. if (t1 == null)
  27399. return false;
  27400. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  27401. _this.__internal$_current = null;
  27402. if (t2.moveNext$0()) {
  27403. _this._currentExpansion = null;
  27404. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  27405. _this._currentExpansion = t1;
  27406. } else
  27407. return false;
  27408. }
  27409. t1 = _this._currentExpansion;
  27410. _this.__internal$_current = t1.get$current(t1);
  27411. return true;
  27412. }
  27413. };
  27414. A.TakeIterable.prototype = {
  27415. get$iterator(_) {
  27416. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
  27417. }
  27418. };
  27419. A.EfficientLengthTakeIterable.prototype = {
  27420. get$length(_) {
  27421. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  27422. t1 = this._takeCount;
  27423. if (iterableLength > t1)
  27424. return t1;
  27425. return iterableLength;
  27426. },
  27427. $isEfficientLengthIterable: 1
  27428. };
  27429. A.TakeIterator.prototype = {
  27430. moveNext$0() {
  27431. if (--this._remaining >= 0)
  27432. return this._iterator.moveNext$0();
  27433. this._remaining = -1;
  27434. return false;
  27435. },
  27436. get$current(_) {
  27437. var t1;
  27438. if (this._remaining < 0) {
  27439. A._instanceType(this)._precomputed1._as(null);
  27440. return null;
  27441. }
  27442. t1 = this._iterator;
  27443. return t1.get$current(t1);
  27444. }
  27445. };
  27446. A.SkipIterable.prototype = {
  27447. skip$1(_, count) {
  27448. A.ArgumentError_checkNotNull(count, "count");
  27449. A.RangeError_checkNotNegative(count, "count");
  27450. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  27451. },
  27452. get$iterator(_) {
  27453. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  27454. }
  27455. };
  27456. A.EfficientLengthSkipIterable.prototype = {
  27457. get$length(_) {
  27458. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  27459. if ($length >= 0)
  27460. return $length;
  27461. return 0;
  27462. },
  27463. skip$1(_, count) {
  27464. A.ArgumentError_checkNotNull(count, "count");
  27465. A.RangeError_checkNotNegative(count, "count");
  27466. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  27467. },
  27468. $isEfficientLengthIterable: 1
  27469. };
  27470. A.SkipIterator.prototype = {
  27471. moveNext$0() {
  27472. var t1, i;
  27473. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  27474. t1.moveNext$0();
  27475. this._skipCount = 0;
  27476. return t1.moveNext$0();
  27477. },
  27478. get$current(_) {
  27479. var t1 = this._iterator;
  27480. return t1.get$current(t1);
  27481. }
  27482. };
  27483. A.SkipWhileIterable.prototype = {
  27484. get$iterator(_) {
  27485. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27486. }
  27487. };
  27488. A.SkipWhileIterator.prototype = {
  27489. moveNext$0() {
  27490. var t1, t2, _this = this;
  27491. if (!_this._hasSkipped) {
  27492. _this._hasSkipped = true;
  27493. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  27494. if (!t2.call$1(t1.get$current(t1)))
  27495. return true;
  27496. }
  27497. return _this._iterator.moveNext$0();
  27498. },
  27499. get$current(_) {
  27500. var t1 = this._iterator;
  27501. return t1.get$current(t1);
  27502. }
  27503. };
  27504. A.EmptyIterable.prototype = {
  27505. get$iterator(_) {
  27506. return B.C_EmptyIterator;
  27507. },
  27508. get$isEmpty(_) {
  27509. return true;
  27510. },
  27511. get$length(_) {
  27512. return 0;
  27513. },
  27514. get$first(_) {
  27515. throw A.wrapException(A.IterableElementError_noElement());
  27516. },
  27517. get$last(_) {
  27518. throw A.wrapException(A.IterableElementError_noElement());
  27519. },
  27520. get$single(_) {
  27521. throw A.wrapException(A.IterableElementError_noElement());
  27522. },
  27523. elementAt$1(_, index) {
  27524. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  27525. },
  27526. contains$1(_, element) {
  27527. return false;
  27528. },
  27529. every$1(_, test) {
  27530. return true;
  27531. },
  27532. join$1(_, separator) {
  27533. return "";
  27534. },
  27535. join$0($receiver) {
  27536. return this.join$1($receiver, "");
  27537. },
  27538. where$1(_, test) {
  27539. return this;
  27540. },
  27541. map$1$1(_, toElement, $T) {
  27542. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  27543. },
  27544. skip$1(_, count) {
  27545. A.RangeError_checkNotNegative(count, "count");
  27546. return this;
  27547. },
  27548. take$1(_, count) {
  27549. A.RangeError_checkNotNegative(count, "count");
  27550. return this;
  27551. },
  27552. toList$1$growable(_, growable) {
  27553. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  27554. return t1;
  27555. },
  27556. toList$0($receiver) {
  27557. return this.toList$1$growable($receiver, true);
  27558. },
  27559. toSet$0(_) {
  27560. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  27561. }
  27562. };
  27563. A.EmptyIterator.prototype = {
  27564. moveNext$0() {
  27565. return false;
  27566. },
  27567. get$current(_) {
  27568. throw A.wrapException(A.IterableElementError_noElement());
  27569. }
  27570. };
  27571. A.FollowedByIterable.prototype = {
  27572. get$iterator(_) {
  27573. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  27574. },
  27575. get$length(_) {
  27576. var t1 = this._second;
  27577. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  27578. },
  27579. get$isEmpty(_) {
  27580. var t1;
  27581. if (J.get$isEmpty$asx(this.__internal$_first)) {
  27582. t1 = this._second;
  27583. t1 = t1.get$isEmpty(t1);
  27584. } else
  27585. t1 = false;
  27586. return t1;
  27587. },
  27588. get$isNotEmpty(_) {
  27589. var t1;
  27590. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  27591. t1 = this._second;
  27592. t1 = t1.get$isNotEmpty(t1);
  27593. } else
  27594. t1 = true;
  27595. return t1;
  27596. },
  27597. contains$1(_, value) {
  27598. return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
  27599. },
  27600. get$first(_) {
  27601. var t1,
  27602. iterator = J.get$iterator$ax(this.__internal$_first);
  27603. if (iterator.moveNext$0())
  27604. return iterator.get$current(iterator);
  27605. t1 = this._second;
  27606. return t1.get$first(t1);
  27607. },
  27608. get$last(_) {
  27609. var last,
  27610. t1 = this._second,
  27611. iterator = t1.get$iterator(t1);
  27612. if (iterator.moveNext$0()) {
  27613. last = iterator.get$current(iterator);
  27614. for (; iterator.moveNext$0();)
  27615. last = iterator.get$current(iterator);
  27616. return last;
  27617. }
  27618. return J.get$last$ax(this.__internal$_first);
  27619. }
  27620. };
  27621. A.EfficientLengthFollowedByIterable.prototype = {
  27622. elementAt$1(_, index) {
  27623. var t1 = this.__internal$_first,
  27624. t2 = J.getInterceptor$asx(t1),
  27625. firstLength = t2.get$length(t1);
  27626. if (index < firstLength)
  27627. return t2.elementAt$1(t1, index);
  27628. return this._second.elementAt$1(0, index - firstLength);
  27629. },
  27630. get$first(_) {
  27631. var t1 = this.__internal$_first,
  27632. t2 = J.getInterceptor$asx(t1);
  27633. if (t2.get$isNotEmpty(t1))
  27634. return t2.get$first(t1);
  27635. t1 = this._second;
  27636. return t1.get$first(t1);
  27637. },
  27638. get$last(_) {
  27639. var t1 = this._second;
  27640. if (t1.get$isNotEmpty(t1))
  27641. return t1.get$last(t1);
  27642. return J.get$last$ax(this.__internal$_first);
  27643. },
  27644. $isEfficientLengthIterable: 1
  27645. };
  27646. A.FollowedByIterator.prototype = {
  27647. moveNext$0() {
  27648. var t1, _this = this;
  27649. if (_this._currentIterator.moveNext$0())
  27650. return true;
  27651. t1 = _this._nextIterable;
  27652. if (t1 != null) {
  27653. t1 = t1.get$iterator(t1);
  27654. _this._currentIterator = t1;
  27655. _this._nextIterable = null;
  27656. return t1.moveNext$0();
  27657. }
  27658. return false;
  27659. },
  27660. get$current(_) {
  27661. var t1 = this._currentIterator;
  27662. return t1.get$current(t1);
  27663. }
  27664. };
  27665. A.WhereTypeIterable.prototype = {
  27666. get$iterator(_) {
  27667. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  27668. }
  27669. };
  27670. A.WhereTypeIterator.prototype = {
  27671. moveNext$0() {
  27672. var t1, t2;
  27673. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  27674. if (t2._is(t1.get$current(t1)))
  27675. return true;
  27676. return false;
  27677. },
  27678. get$current(_) {
  27679. var t1 = this._source;
  27680. return this.$ti._precomputed1._as(t1.get$current(t1));
  27681. }
  27682. };
  27683. A.FixedLengthListMixin.prototype = {
  27684. set$length(receiver, newLength) {
  27685. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  27686. },
  27687. add$1(receiver, value) {
  27688. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  27689. }
  27690. };
  27691. A.UnmodifiableListMixin.prototype = {
  27692. $indexSet(_, index, value) {
  27693. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27694. },
  27695. set$length(_, newLength) {
  27696. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  27697. },
  27698. add$1(_, value) {
  27699. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  27700. },
  27701. sort$1(_, compare) {
  27702. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27703. },
  27704. setRange$4(_, start, end, iterable, skipCount) {
  27705. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27706. },
  27707. fillRange$3(_, start, end, fillValue) {
  27708. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27709. }
  27710. };
  27711. A.UnmodifiableListBase.prototype = {};
  27712. A.ReversedListIterable.prototype = {
  27713. get$length(_) {
  27714. return J.get$length$asx(this._source);
  27715. },
  27716. elementAt$1(_, index) {
  27717. var t1 = this._source,
  27718. t2 = J.getInterceptor$asx(t1);
  27719. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  27720. }
  27721. };
  27722. A.Symbol.prototype = {
  27723. get$hashCode(_) {
  27724. var hash = this._hashCode;
  27725. if (hash != null)
  27726. return hash;
  27727. hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
  27728. this._hashCode = hash;
  27729. return hash;
  27730. },
  27731. toString$0(_) {
  27732. return 'Symbol("' + A.S(this.__internal$_name) + '")';
  27733. },
  27734. $eq(_, other) {
  27735. if (other == null)
  27736. return false;
  27737. return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
  27738. },
  27739. $isSymbol0: 1
  27740. };
  27741. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  27742. A.ConstantMapView.prototype = {};
  27743. A.ConstantMap.prototype = {
  27744. cast$2$0(_, RK, RV) {
  27745. var t1 = A._instanceType(this);
  27746. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  27747. },
  27748. get$isEmpty(_) {
  27749. return this.get$length(this) === 0;
  27750. },
  27751. get$isNotEmpty(_) {
  27752. return this.get$length(this) !== 0;
  27753. },
  27754. toString$0(_) {
  27755. return A.MapBase_mapToString(this);
  27756. },
  27757. $indexSet(_, key, val) {
  27758. A.ConstantMap__throwUnmodifiable();
  27759. },
  27760. remove$1(_, key) {
  27761. A.ConstantMap__throwUnmodifiable();
  27762. },
  27763. addAll$1(_, other) {
  27764. A.ConstantMap__throwUnmodifiable();
  27765. },
  27766. get$entries(_) {
  27767. return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
  27768. },
  27769. entries$body$ConstantMap($async$_, $async$type) {
  27770. var $async$self = this;
  27771. return A._makeSyncStarIterable(function() {
  27772. var _ = $async$_;
  27773. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  27774. return function $async$get$entries($async$errorCode, $async$result) {
  27775. if ($async$errorCode === 1) {
  27776. $async$currentError = $async$result;
  27777. $async$goto = $async$handler;
  27778. }
  27779. while (true)
  27780. switch ($async$goto) {
  27781. case 0:
  27782. // Function start
  27783. 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>");
  27784. case 2:
  27785. // for condition
  27786. if (!t1.moveNext$0()) {
  27787. // goto after for
  27788. $async$goto = 3;
  27789. break;
  27790. }
  27791. key = t1.get$current(t1);
  27792. $async$goto = 4;
  27793. return new A.MapEntry(key, $async$self.$index(0, key), t2);
  27794. case 4:
  27795. // after yield
  27796. // goto for condition
  27797. $async$goto = 2;
  27798. break;
  27799. case 3:
  27800. // after for
  27801. // implicit return
  27802. return A._IterationMarker_endOfIteration();
  27803. case 1:
  27804. // rethrow
  27805. return A._IterationMarker_uncaughtError($async$currentError);
  27806. }
  27807. };
  27808. }, $async$type);
  27809. },
  27810. $isMap: 1
  27811. };
  27812. A.ConstantStringMap.prototype = {
  27813. get$length(_) {
  27814. return this.__js_helper$_length;
  27815. },
  27816. containsKey$1(key) {
  27817. if (typeof key != "string")
  27818. return false;
  27819. if ("__proto__" === key)
  27820. return false;
  27821. return this._jsObject.hasOwnProperty(key);
  27822. },
  27823. $index(_, key) {
  27824. if (!this.containsKey$1(key))
  27825. return null;
  27826. return this._jsObject[key];
  27827. },
  27828. forEach$1(_, f) {
  27829. var t1, t2, i, key,
  27830. keys = this._keys;
  27831. for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
  27832. key = keys[i];
  27833. f.call$2(key, t2[key]);
  27834. }
  27835. },
  27836. get$keys(_) {
  27837. return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
  27838. },
  27839. get$values(_) {
  27840. var t1 = this.$ti;
  27841. return A.MappedIterable_MappedIterable(this._keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  27842. }
  27843. };
  27844. A.ConstantStringMap_values_closure.prototype = {
  27845. call$1(key) {
  27846. return this.$this._jsObject[key];
  27847. },
  27848. $signature() {
  27849. return this.$this.$ti._eval$1("2(1)");
  27850. }
  27851. };
  27852. A._ConstantMapKeyIterable.prototype = {
  27853. get$iterator(_) {
  27854. var t1 = this.__js_helper$_map._keys;
  27855. return new J.ArrayIterator(t1, t1.length);
  27856. },
  27857. get$length(_) {
  27858. return this.__js_helper$_map._keys.length;
  27859. }
  27860. };
  27861. A.GeneralConstantMap.prototype = {
  27862. _getMap$0() {
  27863. var t1, t2, t3, _this = this,
  27864. backingMap = _this.$map;
  27865. if (backingMap == null) {
  27866. t1 = _this.$ti;
  27867. t2 = t1._precomputed1;
  27868. t3 = A.GeneralConstantMap__typeTest(t2);
  27869. backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]);
  27870. A.fillLiteralMap(_this._jsData, backingMap);
  27871. _this.$map = backingMap;
  27872. }
  27873. return backingMap;
  27874. },
  27875. containsKey$1(key) {
  27876. return this._getMap$0().containsKey$1(key);
  27877. },
  27878. $index(_, key) {
  27879. return this._getMap$0().$index(0, key);
  27880. },
  27881. forEach$1(_, f) {
  27882. this._getMap$0().forEach$1(0, f);
  27883. },
  27884. get$keys(_) {
  27885. var t1 = this._getMap$0();
  27886. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  27887. },
  27888. get$values(_) {
  27889. var t1 = this._getMap$0();
  27890. return t1.get$values(t1);
  27891. },
  27892. get$length(_) {
  27893. return this._getMap$0().__js_helper$_length;
  27894. }
  27895. };
  27896. A.GeneralConstantMap__typeTest_closure.prototype = {
  27897. call$1(o) {
  27898. return this.T._is(o);
  27899. },
  27900. $signature: 9
  27901. };
  27902. A.Instantiation.prototype = {
  27903. Instantiation$1(_genericClosure) {
  27904. if (false)
  27905. A.instantiatedGenericFunctionType(0, 0);
  27906. },
  27907. $eq(_, other) {
  27908. if (other == null)
  27909. return false;
  27910. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
  27911. },
  27912. get$hashCode(_) {
  27913. return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue);
  27914. },
  27915. toString$0(_) {
  27916. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  27917. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  27918. }
  27919. };
  27920. A.Instantiation1.prototype = {
  27921. get$_types() {
  27922. return [A.createRuntimeType(this.$ti._precomputed1)];
  27923. },
  27924. call$0() {
  27925. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  27926. },
  27927. call$2(a0, a1) {
  27928. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  27929. },
  27930. call$3(a0, a1, a2) {
  27931. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  27932. },
  27933. call$4(a0, a1, a2, a3) {
  27934. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  27935. },
  27936. $signature() {
  27937. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  27938. }
  27939. };
  27940. A.JSInvocationMirror.prototype = {
  27941. get$memberName() {
  27942. var t1 = this.__js_helper$_memberName;
  27943. if (type$.Symbol._is(t1))
  27944. return t1;
  27945. return this.__js_helper$_memberName = new A.Symbol(t1);
  27946. },
  27947. get$positionalArguments() {
  27948. var t1, t2, argumentCount, list, index, _this = this;
  27949. if (_this.__js_helper$_kind === 1)
  27950. return B.List_empty6;
  27951. t1 = _this._arguments;
  27952. t2 = J.getInterceptor$asx(t1);
  27953. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  27954. if (argumentCount === 0)
  27955. return B.List_empty6;
  27956. list = [];
  27957. for (index = 0; index < argumentCount; ++index)
  27958. list.push(t2.$index(t1, index));
  27959. return J.JSArray_markUnmodifiableList(list);
  27960. },
  27961. get$namedArguments() {
  27962. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  27963. if (_this.__js_helper$_kind !== 0)
  27964. return B.Map_empty0;
  27965. t1 = _this._namedArgumentNames;
  27966. t2 = J.getInterceptor$asx(t1);
  27967. namedArgumentCount = t2.get$length(t1);
  27968. t3 = _this._arguments;
  27969. t4 = J.getInterceptor$asx(t3);
  27970. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  27971. if (namedArgumentCount === 0)
  27972. return B.Map_empty0;
  27973. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  27974. for (i = 0; i < namedArgumentCount; ++i)
  27975. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  27976. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  27977. }
  27978. };
  27979. A.Primitives_functionNoSuchMethod_closure.prototype = {
  27980. call$2($name, argument) {
  27981. var t1 = this._box_0;
  27982. t1.names = t1.names + "$" + $name;
  27983. this.namedArgumentList.push($name);
  27984. this.$arguments.push(argument);
  27985. ++t1.argumentCount;
  27986. },
  27987. $signature: 244
  27988. };
  27989. A.TypeErrorDecoder.prototype = {
  27990. matchTypeError$1(message) {
  27991. var result, t1, _this = this,
  27992. match = new RegExp(_this._pattern).exec(message);
  27993. if (match == null)
  27994. return null;
  27995. result = Object.create(null);
  27996. t1 = _this._arguments;
  27997. if (t1 !== -1)
  27998. result.arguments = match[t1 + 1];
  27999. t1 = _this._argumentsExpr;
  28000. if (t1 !== -1)
  28001. result.argumentsExpr = match[t1 + 1];
  28002. t1 = _this._expr;
  28003. if (t1 !== -1)
  28004. result.expr = match[t1 + 1];
  28005. t1 = _this._method;
  28006. if (t1 !== -1)
  28007. result.method = match[t1 + 1];
  28008. t1 = _this._receiver;
  28009. if (t1 !== -1)
  28010. result.receiver = match[t1 + 1];
  28011. return result;
  28012. }
  28013. };
  28014. A.NullError.prototype = {
  28015. toString$0(_) {
  28016. var t1 = this._method;
  28017. if (t1 == null)
  28018. return "NoSuchMethodError: " + this.__js_helper$_message;
  28019. return "NoSuchMethodError: method not found: '" + t1 + "' on null";
  28020. }
  28021. };
  28022. A.JsNoSuchMethodError.prototype = {
  28023. toString$0(_) {
  28024. var t2, _this = this,
  28025. _s38_ = "NoSuchMethodError: method not found: '",
  28026. t1 = _this._method;
  28027. if (t1 == null)
  28028. return "NoSuchMethodError: " + _this.__js_helper$_message;
  28029. t2 = _this._receiver;
  28030. if (t2 == null)
  28031. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  28032. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  28033. }
  28034. };
  28035. A.UnknownJsTypeError.prototype = {
  28036. toString$0(_) {
  28037. var t1 = this.__js_helper$_message;
  28038. return t1.length === 0 ? "Error" : "Error: " + t1;
  28039. }
  28040. };
  28041. A.NullThrownFromJavaScriptException.prototype = {
  28042. toString$0(_) {
  28043. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  28044. },
  28045. $isException: 1
  28046. };
  28047. A.ExceptionAndStackTrace.prototype = {};
  28048. A._StackTrace.prototype = {
  28049. toString$0(_) {
  28050. var trace,
  28051. t1 = this._trace;
  28052. if (t1 != null)
  28053. return t1;
  28054. t1 = this._exception;
  28055. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  28056. return this._trace = trace == null ? "" : trace;
  28057. },
  28058. $isStackTrace: 1
  28059. };
  28060. A.Closure.prototype = {
  28061. toString$0(_) {
  28062. var $constructor = this.constructor,
  28063. $name = $constructor == null ? null : $constructor.name;
  28064. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  28065. },
  28066. $isFunction: 1,
  28067. get$$call() {
  28068. return this;
  28069. },
  28070. "call*": "call$1",
  28071. $requiredArgCount: 1,
  28072. $defaultValues: null
  28073. };
  28074. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  28075. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  28076. A.TearOffClosure.prototype = {};
  28077. A.StaticClosure.prototype = {
  28078. toString$0(_) {
  28079. var $name = this.$static_name;
  28080. if ($name == null)
  28081. return "Closure of unknown static method";
  28082. return "Closure '" + A.unminifyOrTag($name) + "'";
  28083. }
  28084. };
  28085. A.BoundClosure.prototype = {
  28086. $eq(_, other) {
  28087. if (other == null)
  28088. return false;
  28089. if (this === other)
  28090. return true;
  28091. if (!(other instanceof A.BoundClosure))
  28092. return false;
  28093. return this.$_target === other.$_target && this._receiver === other._receiver;
  28094. },
  28095. get$hashCode(_) {
  28096. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  28097. },
  28098. toString$0(_) {
  28099. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  28100. }
  28101. };
  28102. A.RuntimeError.prototype = {
  28103. toString$0(_) {
  28104. return "RuntimeError: " + this.message;
  28105. },
  28106. get$message(receiver) {
  28107. return this.message;
  28108. }
  28109. };
  28110. A._Required.prototype = {};
  28111. A.JsLinkedHashMap.prototype = {
  28112. get$length(_) {
  28113. return this.__js_helper$_length;
  28114. },
  28115. get$isEmpty(_) {
  28116. return this.__js_helper$_length === 0;
  28117. },
  28118. get$isNotEmpty(_) {
  28119. return this.__js_helper$_length !== 0;
  28120. },
  28121. get$keys(_) {
  28122. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  28123. },
  28124. get$values(_) {
  28125. var t1 = A._instanceType(this);
  28126. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  28127. },
  28128. containsKey$1(key) {
  28129. var strings, nums;
  28130. if (typeof key == "string") {
  28131. strings = this._strings;
  28132. if (strings == null)
  28133. return false;
  28134. return strings[key] != null;
  28135. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28136. nums = this._nums;
  28137. if (nums == null)
  28138. return false;
  28139. return nums[key] != null;
  28140. } else
  28141. return this.internalContainsKey$1(key);
  28142. },
  28143. internalContainsKey$1(key) {
  28144. var rest = this.__js_helper$_rest;
  28145. if (rest == null)
  28146. return false;
  28147. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  28148. },
  28149. addAll$1(_, other) {
  28150. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  28151. },
  28152. $index(_, key) {
  28153. var strings, cell, t1, nums, _null = null;
  28154. if (typeof key == "string") {
  28155. strings = this._strings;
  28156. if (strings == null)
  28157. return _null;
  28158. cell = strings[key];
  28159. t1 = cell == null ? _null : cell.hashMapCellValue;
  28160. return t1;
  28161. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28162. nums = this._nums;
  28163. if (nums == null)
  28164. return _null;
  28165. cell = nums[key];
  28166. t1 = cell == null ? _null : cell.hashMapCellValue;
  28167. return t1;
  28168. } else
  28169. return this.internalGet$1(key);
  28170. },
  28171. internalGet$1(key) {
  28172. var bucket, index,
  28173. rest = this.__js_helper$_rest;
  28174. if (rest == null)
  28175. return null;
  28176. bucket = rest[this.internalComputeHashCode$1(key)];
  28177. index = this.internalFindBucketIndex$2(bucket, key);
  28178. if (index < 0)
  28179. return null;
  28180. return bucket[index].hashMapCellValue;
  28181. },
  28182. $indexSet(_, key, value) {
  28183. var strings, nums, _this = this;
  28184. if (typeof key == "string") {
  28185. strings = _this._strings;
  28186. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  28187. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  28188. nums = _this._nums;
  28189. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  28190. } else
  28191. _this.internalSet$2(key, value);
  28192. },
  28193. internalSet$2(key, value) {
  28194. var hash, bucket, index, _this = this,
  28195. rest = _this.__js_helper$_rest;
  28196. if (rest == null)
  28197. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  28198. hash = _this.internalComputeHashCode$1(key);
  28199. bucket = rest[hash];
  28200. if (bucket == null)
  28201. rest[hash] = [_this._newLinkedCell$2(key, value)];
  28202. else {
  28203. index = _this.internalFindBucketIndex$2(bucket, key);
  28204. if (index >= 0)
  28205. bucket[index].hashMapCellValue = value;
  28206. else
  28207. bucket.push(_this._newLinkedCell$2(key, value));
  28208. }
  28209. },
  28210. putIfAbsent$2(key, ifAbsent) {
  28211. var t1, value, _this = this;
  28212. if (_this.containsKey$1(key)) {
  28213. t1 = _this.$index(0, key);
  28214. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  28215. }
  28216. value = ifAbsent.call$0();
  28217. _this.$indexSet(0, key, value);
  28218. return value;
  28219. },
  28220. remove$1(_, key) {
  28221. var _this = this;
  28222. if (typeof key == "string")
  28223. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  28224. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  28225. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  28226. else
  28227. return _this.internalRemove$1(key);
  28228. },
  28229. internalRemove$1(key) {
  28230. var hash, bucket, index, cell, _this = this,
  28231. rest = _this.__js_helper$_rest;
  28232. if (rest == null)
  28233. return null;
  28234. hash = _this.internalComputeHashCode$1(key);
  28235. bucket = rest[hash];
  28236. index = _this.internalFindBucketIndex$2(bucket, key);
  28237. if (index < 0)
  28238. return null;
  28239. cell = bucket.splice(index, 1)[0];
  28240. _this.__js_helper$_unlinkCell$1(cell);
  28241. if (bucket.length === 0)
  28242. delete rest[hash];
  28243. return cell.hashMapCellValue;
  28244. },
  28245. clear$0(_) {
  28246. var _this = this;
  28247. if (_this.__js_helper$_length > 0) {
  28248. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  28249. _this.__js_helper$_length = 0;
  28250. _this._modified$0();
  28251. }
  28252. },
  28253. forEach$1(_, action) {
  28254. var _this = this,
  28255. cell = _this._first,
  28256. modifications = _this._modifications;
  28257. for (; cell != null;) {
  28258. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  28259. if (modifications !== _this._modifications)
  28260. throw A.wrapException(A.ConcurrentModificationError$(_this));
  28261. cell = cell._next;
  28262. }
  28263. },
  28264. _addHashTableEntry$3(table, key, value) {
  28265. var cell = table[key];
  28266. if (cell == null)
  28267. table[key] = this._newLinkedCell$2(key, value);
  28268. else
  28269. cell.hashMapCellValue = value;
  28270. },
  28271. __js_helper$_removeHashTableEntry$2(table, key) {
  28272. var cell;
  28273. if (table == null)
  28274. return null;
  28275. cell = table[key];
  28276. if (cell == null)
  28277. return null;
  28278. this.__js_helper$_unlinkCell$1(cell);
  28279. delete table[key];
  28280. return cell.hashMapCellValue;
  28281. },
  28282. _modified$0() {
  28283. this._modifications = this._modifications + 1 & 1073741823;
  28284. },
  28285. _newLinkedCell$2(key, value) {
  28286. var t1, _this = this,
  28287. cell = new A.LinkedHashMapCell(key, value);
  28288. if (_this._first == null)
  28289. _this._first = _this._last = cell;
  28290. else {
  28291. t1 = _this._last;
  28292. t1.toString;
  28293. cell._previous = t1;
  28294. _this._last = t1._next = cell;
  28295. }
  28296. ++_this.__js_helper$_length;
  28297. _this._modified$0();
  28298. return cell;
  28299. },
  28300. __js_helper$_unlinkCell$1(cell) {
  28301. var _this = this,
  28302. previous = cell._previous,
  28303. next = cell._next;
  28304. if (previous == null)
  28305. _this._first = next;
  28306. else
  28307. previous._next = next;
  28308. if (next == null)
  28309. _this._last = previous;
  28310. else
  28311. next._previous = previous;
  28312. --_this.__js_helper$_length;
  28313. _this._modified$0();
  28314. },
  28315. internalComputeHashCode$1(key) {
  28316. return J.get$hashCode$(key) & 0x3fffffff;
  28317. },
  28318. internalFindBucketIndex$2(bucket, key) {
  28319. var $length, i;
  28320. if (bucket == null)
  28321. return -1;
  28322. $length = bucket.length;
  28323. for (i = 0; i < $length; ++i)
  28324. if (J.$eq$(bucket[i].hashMapCellKey, key))
  28325. return i;
  28326. return -1;
  28327. },
  28328. toString$0(_) {
  28329. return A.MapBase_mapToString(this);
  28330. },
  28331. _newHashTable$0() {
  28332. var table = Object.create(null);
  28333. table["<non-identifier-key>"] = table;
  28334. delete table["<non-identifier-key>"];
  28335. return table;
  28336. }
  28337. };
  28338. A.JsLinkedHashMap_values_closure.prototype = {
  28339. call$1(each) {
  28340. var t1 = this.$this,
  28341. t2 = t1.$index(0, each);
  28342. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  28343. },
  28344. $signature() {
  28345. return A._instanceType(this.$this)._eval$1("2(1)");
  28346. }
  28347. };
  28348. A.JsLinkedHashMap_addAll_closure.prototype = {
  28349. call$2(key, value) {
  28350. this.$this.$indexSet(0, key, value);
  28351. },
  28352. $signature() {
  28353. return A._instanceType(this.$this)._eval$1("~(1,2)");
  28354. }
  28355. };
  28356. A.LinkedHashMapCell.prototype = {};
  28357. A.LinkedHashMapKeyIterable.prototype = {
  28358. get$length(_) {
  28359. return this.__js_helper$_map.__js_helper$_length;
  28360. },
  28361. get$isEmpty(_) {
  28362. return this.__js_helper$_map.__js_helper$_length === 0;
  28363. },
  28364. get$iterator(_) {
  28365. var t1 = this.__js_helper$_map,
  28366. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  28367. t2._cell = t1._first;
  28368. return t2;
  28369. },
  28370. contains$1(_, element) {
  28371. return this.__js_helper$_map.containsKey$1(element);
  28372. }
  28373. };
  28374. A.LinkedHashMapKeyIterator.prototype = {
  28375. get$current(_) {
  28376. return this.__js_helper$_current;
  28377. },
  28378. moveNext$0() {
  28379. var cell, _this = this,
  28380. t1 = _this.__js_helper$_map;
  28381. if (_this._modifications !== t1._modifications)
  28382. throw A.wrapException(A.ConcurrentModificationError$(t1));
  28383. cell = _this._cell;
  28384. if (cell == null) {
  28385. _this.__js_helper$_current = null;
  28386. return false;
  28387. } else {
  28388. _this.__js_helper$_current = cell.hashMapCellKey;
  28389. _this._cell = cell._next;
  28390. return true;
  28391. }
  28392. }
  28393. };
  28394. A.initHooks_closure.prototype = {
  28395. call$1(o) {
  28396. return this.getTag(o);
  28397. },
  28398. $signature: 88
  28399. };
  28400. A.initHooks_closure0.prototype = {
  28401. call$2(o, tag) {
  28402. return this.getUnknownTag(o, tag);
  28403. },
  28404. $signature: 447
  28405. };
  28406. A.initHooks_closure1.prototype = {
  28407. call$1(tag) {
  28408. return this.prototypeForTag(tag);
  28409. },
  28410. $signature: 314
  28411. };
  28412. A.JSSyntaxRegExp.prototype = {
  28413. toString$0(_) {
  28414. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  28415. },
  28416. get$_nativeGlobalVersion() {
  28417. var _this = this,
  28418. t1 = _this._nativeGlobalRegExp;
  28419. if (t1 != null)
  28420. return t1;
  28421. t1 = _this._nativeRegExp;
  28422. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  28423. },
  28424. get$_nativeAnchoredVersion() {
  28425. var _this = this,
  28426. t1 = _this._nativeAnchoredRegExp;
  28427. if (t1 != null)
  28428. return t1;
  28429. t1 = _this._nativeRegExp;
  28430. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  28431. },
  28432. firstMatch$1(string) {
  28433. var m = this._nativeRegExp.exec(string);
  28434. if (m == null)
  28435. return null;
  28436. return new A._MatchImplementation(m);
  28437. },
  28438. allMatches$2(_, string, start) {
  28439. var t1 = string.length;
  28440. if (start > t1)
  28441. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  28442. return new A._AllMatchesIterable(this, string, start);
  28443. },
  28444. allMatches$1($receiver, string) {
  28445. return this.allMatches$2($receiver, string, 0);
  28446. },
  28447. _execGlobal$2(string, start) {
  28448. var match,
  28449. regexp = this.get$_nativeGlobalVersion();
  28450. regexp.lastIndex = start;
  28451. match = regexp.exec(string);
  28452. if (match == null)
  28453. return null;
  28454. return new A._MatchImplementation(match);
  28455. },
  28456. _execAnchored$2(string, start) {
  28457. var match,
  28458. regexp = this.get$_nativeAnchoredVersion();
  28459. regexp.lastIndex = start;
  28460. match = regexp.exec(string);
  28461. if (match == null)
  28462. return null;
  28463. if (match.pop() != null)
  28464. return null;
  28465. return new A._MatchImplementation(match);
  28466. },
  28467. matchAsPrefix$2(_, string, start) {
  28468. if (start < 0 || start > string.length)
  28469. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  28470. return this._execAnchored$2(string, start);
  28471. }
  28472. };
  28473. A._MatchImplementation.prototype = {
  28474. get$start(_) {
  28475. return this._match.index;
  28476. },
  28477. get$end(_) {
  28478. var t1 = this._match;
  28479. return t1.index + t1[0].length;
  28480. },
  28481. $isMatch: 1,
  28482. $isRegExpMatch: 1
  28483. };
  28484. A._AllMatchesIterable.prototype = {
  28485. get$iterator(_) {
  28486. return new A._AllMatchesIterator(this._re, this._string, this._start);
  28487. }
  28488. };
  28489. A._AllMatchesIterator.prototype = {
  28490. get$current(_) {
  28491. var t1 = this.__js_helper$_current;
  28492. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  28493. },
  28494. moveNext$0() {
  28495. var t1, t2, t3, match, nextIndex, _this = this,
  28496. string = _this._string;
  28497. if (string == null)
  28498. return false;
  28499. t1 = _this._nextIndex;
  28500. t2 = string.length;
  28501. if (t1 <= t2) {
  28502. t3 = _this._regExp;
  28503. match = t3._execGlobal$2(string, t1);
  28504. if (match != null) {
  28505. _this.__js_helper$_current = match;
  28506. nextIndex = match.get$end(match);
  28507. if (match._match.index === nextIndex) {
  28508. if (t3._nativeRegExp.unicode) {
  28509. t1 = _this._nextIndex;
  28510. t3 = t1 + 1;
  28511. if (t3 < t2) {
  28512. t1 = B.JSString_methods.codeUnitAt$1(string, t1);
  28513. if (t1 >= 55296 && t1 <= 56319) {
  28514. t1 = B.JSString_methods.codeUnitAt$1(string, t3);
  28515. t1 = t1 >= 56320 && t1 <= 57343;
  28516. } else
  28517. t1 = false;
  28518. } else
  28519. t1 = false;
  28520. } else
  28521. t1 = false;
  28522. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  28523. }
  28524. _this._nextIndex = nextIndex;
  28525. return true;
  28526. }
  28527. }
  28528. _this._string = _this.__js_helper$_current = null;
  28529. return false;
  28530. }
  28531. };
  28532. A.StringMatch.prototype = {
  28533. get$end(_) {
  28534. return this.start + this.pattern.length;
  28535. },
  28536. $isMatch: 1,
  28537. get$start(receiver) {
  28538. return this.start;
  28539. }
  28540. };
  28541. A._StringAllMatchesIterable.prototype = {
  28542. get$iterator(_) {
  28543. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  28544. },
  28545. get$first(_) {
  28546. var t1 = this._pattern,
  28547. index = this._input.indexOf(t1, this.__js_helper$_index);
  28548. if (index >= 0)
  28549. return new A.StringMatch(index, t1);
  28550. throw A.wrapException(A.IterableElementError_noElement());
  28551. }
  28552. };
  28553. A._StringAllMatchesIterator.prototype = {
  28554. moveNext$0() {
  28555. var index, end, _this = this,
  28556. t1 = _this.__js_helper$_index,
  28557. t2 = _this._pattern,
  28558. t3 = t2.length,
  28559. t4 = _this._input,
  28560. t5 = t4.length;
  28561. if (t1 + t3 > t5) {
  28562. _this.__js_helper$_current = null;
  28563. return false;
  28564. }
  28565. index = t4.indexOf(t2, t1);
  28566. if (index < 0) {
  28567. _this.__js_helper$_index = t5 + 1;
  28568. _this.__js_helper$_current = null;
  28569. return false;
  28570. }
  28571. end = index + t3;
  28572. _this.__js_helper$_current = new A.StringMatch(index, t2);
  28573. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  28574. return true;
  28575. },
  28576. get$current(_) {
  28577. var t1 = this.__js_helper$_current;
  28578. t1.toString;
  28579. return t1;
  28580. }
  28581. };
  28582. A._Cell.prototype = {
  28583. readLocal$1$0() {
  28584. var t1 = this.__late_helper$_value;
  28585. if (t1 === this)
  28586. A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28587. return t1;
  28588. },
  28589. readLocal$0() {
  28590. return this.readLocal$1$0(type$.dynamic);
  28591. },
  28592. _readLocal$0() {
  28593. var t1 = this.__late_helper$_value;
  28594. if (t1 === this)
  28595. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28596. return t1;
  28597. }
  28598. };
  28599. A.NativeTypedData.prototype = {
  28600. _invalidPosition$3(receiver, position, $length, $name) {
  28601. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  28602. throw A.wrapException(t1);
  28603. },
  28604. _checkPosition$3(receiver, position, $length, $name) {
  28605. if (position >>> 0 !== position || position > $length)
  28606. this._invalidPosition$3(receiver, position, $length, $name);
  28607. }
  28608. };
  28609. A.NativeTypedArray.prototype = {
  28610. get$length(receiver) {
  28611. return receiver.length;
  28612. },
  28613. _setRangeFast$4(receiver, start, end, source, skipCount) {
  28614. var count, sourceLength,
  28615. targetLength = receiver.length;
  28616. this._checkPosition$3(receiver, start, targetLength, "start");
  28617. this._checkPosition$3(receiver, end, targetLength, "end");
  28618. if (start > end)
  28619. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  28620. count = end - start;
  28621. if (skipCount < 0)
  28622. throw A.wrapException(A.ArgumentError$(skipCount, null));
  28623. sourceLength = source.length;
  28624. if (sourceLength - skipCount < count)
  28625. throw A.wrapException(A.StateError$("Not enough elements"));
  28626. if (skipCount !== 0 || sourceLength !== count)
  28627. source = source.subarray(skipCount, skipCount + count);
  28628. receiver.set(source, start);
  28629. },
  28630. $isJavaScriptIndexingBehavior: 1
  28631. };
  28632. A.NativeTypedArrayOfDouble.prototype = {
  28633. $index(receiver, index) {
  28634. A._checkValidIndex(index, receiver, receiver.length);
  28635. return receiver[index];
  28636. },
  28637. $indexSet(receiver, index, value) {
  28638. A._checkValidIndex(index, receiver, receiver.length);
  28639. receiver[index] = value;
  28640. },
  28641. setRange$4(receiver, start, end, iterable, skipCount) {
  28642. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  28643. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28644. return;
  28645. }
  28646. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28647. },
  28648. $isEfficientLengthIterable: 1,
  28649. $isIterable: 1,
  28650. $isList: 1
  28651. };
  28652. A.NativeTypedArrayOfInt.prototype = {
  28653. $indexSet(receiver, index, value) {
  28654. A._checkValidIndex(index, receiver, receiver.length);
  28655. receiver[index] = value;
  28656. },
  28657. setRange$4(receiver, start, end, iterable, skipCount) {
  28658. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  28659. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28660. return;
  28661. }
  28662. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28663. },
  28664. $isEfficientLengthIterable: 1,
  28665. $isIterable: 1,
  28666. $isList: 1
  28667. };
  28668. A.NativeInt16List.prototype = {
  28669. $index(receiver, index) {
  28670. A._checkValidIndex(index, receiver, receiver.length);
  28671. return receiver[index];
  28672. }
  28673. };
  28674. A.NativeInt32List.prototype = {
  28675. $index(receiver, index) {
  28676. A._checkValidIndex(index, receiver, receiver.length);
  28677. return receiver[index];
  28678. }
  28679. };
  28680. A.NativeInt8List.prototype = {
  28681. $index(receiver, index) {
  28682. A._checkValidIndex(index, receiver, receiver.length);
  28683. return receiver[index];
  28684. }
  28685. };
  28686. A.NativeUint16List.prototype = {
  28687. $index(receiver, index) {
  28688. A._checkValidIndex(index, receiver, receiver.length);
  28689. return receiver[index];
  28690. }
  28691. };
  28692. A.NativeUint32List.prototype = {
  28693. $index(receiver, index) {
  28694. A._checkValidIndex(index, receiver, receiver.length);
  28695. return receiver[index];
  28696. },
  28697. sublist$2(receiver, start, end) {
  28698. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  28699. }
  28700. };
  28701. A.NativeUint8ClampedList.prototype = {
  28702. get$length(receiver) {
  28703. return receiver.length;
  28704. },
  28705. $index(receiver, index) {
  28706. A._checkValidIndex(index, receiver, receiver.length);
  28707. return receiver[index];
  28708. }
  28709. };
  28710. A.NativeUint8List.prototype = {
  28711. get$length(receiver) {
  28712. return receiver.length;
  28713. },
  28714. $index(receiver, index) {
  28715. A._checkValidIndex(index, receiver, receiver.length);
  28716. return receiver[index];
  28717. },
  28718. $isNativeUint8List: 1,
  28719. $isUint8List: 1
  28720. };
  28721. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  28722. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28723. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  28724. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28725. A.Rti.prototype = {
  28726. _eval$1(recipe) {
  28727. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  28728. },
  28729. _bind$1(typeOrTuple) {
  28730. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  28731. }
  28732. };
  28733. A._FunctionParameters.prototype = {};
  28734. A._Type.prototype = {
  28735. toString$0(_) {
  28736. return A._rtiToString(this._rti, null);
  28737. },
  28738. $isType: 1
  28739. };
  28740. A._Error.prototype = {
  28741. toString$0(_) {
  28742. return this.__rti$_message;
  28743. }
  28744. };
  28745. A._TypeError.prototype = {
  28746. get$message(_) {
  28747. return this.__rti$_message;
  28748. },
  28749. $isTypeError: 1
  28750. };
  28751. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  28752. call$1(_) {
  28753. var t1 = this._box_0,
  28754. f = t1.storedCallback;
  28755. t1.storedCallback = null;
  28756. f.call$0();
  28757. },
  28758. $signature: 72
  28759. };
  28760. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  28761. call$1(callback) {
  28762. var t1, t2;
  28763. this._box_0.storedCallback = callback;
  28764. t1 = this.div;
  28765. t2 = this.span;
  28766. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  28767. },
  28768. $signature: 28
  28769. };
  28770. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  28771. call$0() {
  28772. this.callback.call$0();
  28773. },
  28774. $signature: 1
  28775. };
  28776. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  28777. call$0() {
  28778. this.callback.call$0();
  28779. },
  28780. $signature: 1
  28781. };
  28782. A._TimerImpl.prototype = {
  28783. _TimerImpl$2(milliseconds, callback) {
  28784. if (self.setTimeout != null)
  28785. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  28786. else
  28787. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  28788. },
  28789. _TimerImpl$periodic$2(milliseconds, callback) {
  28790. if (self.setTimeout != null)
  28791. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  28792. else
  28793. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  28794. },
  28795. cancel$0() {
  28796. if (self.setTimeout != null) {
  28797. var t1 = this._handle;
  28798. if (t1 == null)
  28799. return;
  28800. if (this._once)
  28801. self.clearTimeout(t1);
  28802. else
  28803. self.clearInterval(t1);
  28804. this._handle = null;
  28805. } else
  28806. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  28807. }
  28808. };
  28809. A._TimerImpl_internalCallback.prototype = {
  28810. call$0() {
  28811. var t1 = this.$this;
  28812. t1._handle = null;
  28813. t1._tick = 1;
  28814. this.callback.call$0();
  28815. },
  28816. $signature: 0
  28817. };
  28818. A._TimerImpl$periodic_closure.prototype = {
  28819. call$0() {
  28820. var duration, _this = this,
  28821. t1 = _this.$this,
  28822. tick = t1._tick + 1,
  28823. t2 = _this.milliseconds;
  28824. if (t2 > 0) {
  28825. duration = Date.now() - _this.start;
  28826. if (duration > (tick + 1) * t2)
  28827. tick = B.JSInt_methods.$tdiv(duration, t2);
  28828. }
  28829. t1._tick = tick;
  28830. _this.callback.call$1(t1);
  28831. },
  28832. $signature: 1
  28833. };
  28834. A._AsyncAwaitCompleter.prototype = {
  28835. complete$1(value) {
  28836. var t1, _this = this;
  28837. if (value == null)
  28838. _this.$ti._precomputed1._as(value);
  28839. if (!_this.isSync)
  28840. _this._future._asyncComplete$1(value);
  28841. else {
  28842. t1 = _this._future;
  28843. if (_this.$ti._eval$1("Future<1>")._is(value))
  28844. t1._chainFuture$1(value);
  28845. else
  28846. t1._completeWithValue$1(value);
  28847. }
  28848. },
  28849. completeError$2(e, st) {
  28850. var t1 = this._future;
  28851. if (this.isSync)
  28852. t1._completeError$2(e, st);
  28853. else
  28854. t1._asyncCompleteError$2(e, st);
  28855. }
  28856. };
  28857. A._awaitOnObject_closure.prototype = {
  28858. call$1(result) {
  28859. return this.bodyFunction.call$2(0, result);
  28860. },
  28861. $signature: 133
  28862. };
  28863. A._awaitOnObject_closure0.prototype = {
  28864. call$2(error, stackTrace) {
  28865. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  28866. },
  28867. $signature: 339
  28868. };
  28869. A._wrapJsFunctionForAsync_closure.prototype = {
  28870. call$2(errorCode, result) {
  28871. this.$protected(errorCode, result);
  28872. },
  28873. $signature: 506
  28874. };
  28875. A._IterationMarker.prototype = {
  28876. toString$0(_) {
  28877. return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
  28878. }
  28879. };
  28880. A._SyncStarIterator.prototype = {
  28881. get$current(_) {
  28882. var nested = this._nestedIterator;
  28883. if (nested == null)
  28884. return this._async$_current;
  28885. return nested.get$current(nested);
  28886. },
  28887. moveNext$0() {
  28888. var t1, value, state, suspendedBodies, inner, _this = this;
  28889. for (; true;) {
  28890. t1 = _this._nestedIterator;
  28891. if (t1 != null)
  28892. if (t1.moveNext$0())
  28893. return true;
  28894. else
  28895. _this._nestedIterator = null;
  28896. value = function(body, SUCCESS, ERROR) {
  28897. var errorValue,
  28898. errorCode = SUCCESS;
  28899. while (true)
  28900. try {
  28901. return body(errorCode, errorValue);
  28902. } catch (error) {
  28903. errorValue = error;
  28904. errorCode = ERROR;
  28905. }
  28906. }(_this._body, 0, 1);
  28907. if (value instanceof A._IterationMarker) {
  28908. state = value.state;
  28909. if (state === 2) {
  28910. suspendedBodies = _this._suspendedBodies;
  28911. if (suspendedBodies == null || suspendedBodies.length === 0) {
  28912. _this._async$_current = null;
  28913. return false;
  28914. }
  28915. _this._body = suspendedBodies.pop();
  28916. continue;
  28917. } else {
  28918. t1 = value.value;
  28919. if (state === 3)
  28920. throw t1;
  28921. else {
  28922. inner = J.get$iterator$ax(t1);
  28923. if (inner instanceof A._SyncStarIterator) {
  28924. t1 = _this._suspendedBodies;
  28925. if (t1 == null)
  28926. t1 = _this._suspendedBodies = [];
  28927. t1.push(_this._body);
  28928. _this._body = inner._body;
  28929. continue;
  28930. } else {
  28931. _this._nestedIterator = inner;
  28932. continue;
  28933. }
  28934. }
  28935. }
  28936. } else {
  28937. _this._async$_current = value;
  28938. return true;
  28939. }
  28940. }
  28941. return false;
  28942. }
  28943. };
  28944. A._SyncStarIterable.prototype = {
  28945. get$iterator(_) {
  28946. return new A._SyncStarIterator(this._outerHelper());
  28947. }
  28948. };
  28949. A.AsyncError.prototype = {
  28950. toString$0(_) {
  28951. return A.S(this.error);
  28952. },
  28953. $isError: 1,
  28954. get$stackTrace() {
  28955. return this.stackTrace;
  28956. }
  28957. };
  28958. A.Future_wait_handleError.prototype = {
  28959. call$2(theError, theStackTrace) {
  28960. var _this = this,
  28961. t1 = _this._box_0,
  28962. t2 = --t1.remaining;
  28963. if (t1.values != null) {
  28964. t1.values = null;
  28965. if (t1.remaining === 0 || _this.eagerError)
  28966. _this._future._completeError$2(theError, theStackTrace);
  28967. else {
  28968. _this.error.__late_helper$_value = theError;
  28969. _this.stackTrace.__late_helper$_value = theStackTrace;
  28970. }
  28971. } else if (t2 === 0 && !_this.eagerError)
  28972. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28973. },
  28974. $signature: 65
  28975. };
  28976. A.Future_wait_closure.prototype = {
  28977. call$1(value) {
  28978. var valueList, _this = this,
  28979. t1 = _this._box_0;
  28980. --t1.remaining;
  28981. valueList = t1.values;
  28982. if (valueList != null) {
  28983. J.$indexSet$ax(valueList, _this.pos, value);
  28984. if (t1.remaining === 0)
  28985. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  28986. } else if (t1.remaining === 0 && !_this.eagerError)
  28987. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28988. },
  28989. $signature() {
  28990. return this.T._eval$1("Null(0)");
  28991. }
  28992. };
  28993. A._Completer.prototype = {
  28994. completeError$2(error, stackTrace) {
  28995. var replacement;
  28996. A.checkNotNullable(error, "error", type$.Object);
  28997. if ((this.future._state & 30) !== 0)
  28998. throw A.wrapException(A.StateError$("Future already completed"));
  28999. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29000. if (replacement != null) {
  29001. error = replacement.error;
  29002. stackTrace = replacement.stackTrace;
  29003. } else if (stackTrace == null)
  29004. stackTrace = A.AsyncError_defaultStackTrace(error);
  29005. this._completeError$2(error, stackTrace);
  29006. },
  29007. completeError$1(error) {
  29008. return this.completeError$2(error, null);
  29009. }
  29010. };
  29011. A._AsyncCompleter.prototype = {
  29012. complete$1(value) {
  29013. var t1 = this.future;
  29014. if ((t1._state & 30) !== 0)
  29015. throw A.wrapException(A.StateError$("Future already completed"));
  29016. t1._asyncComplete$1(value);
  29017. },
  29018. complete$0() {
  29019. return this.complete$1(null);
  29020. },
  29021. _completeError$2(error, stackTrace) {
  29022. this.future._asyncCompleteError$2(error, stackTrace);
  29023. }
  29024. };
  29025. A._SyncCompleter.prototype = {
  29026. complete$1(value) {
  29027. var t1 = this.future;
  29028. if ((t1._state & 30) !== 0)
  29029. throw A.wrapException(A.StateError$("Future already completed"));
  29030. t1._complete$1(value);
  29031. },
  29032. _completeError$2(error, stackTrace) {
  29033. this.future._completeError$2(error, stackTrace);
  29034. }
  29035. };
  29036. A._FutureListener.prototype = {
  29037. matchesErrorTest$1(asyncError) {
  29038. if ((this.state & 15) !== 6)
  29039. return true;
  29040. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  29041. },
  29042. handleError$1(asyncError) {
  29043. var exception,
  29044. errorCallback = this.errorCallback,
  29045. result = null,
  29046. t1 = type$.dynamic,
  29047. t2 = type$.Object,
  29048. t3 = asyncError.error,
  29049. t4 = this.result._zone;
  29050. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  29051. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  29052. else
  29053. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  29054. try {
  29055. t1 = result;
  29056. return t1;
  29057. } catch (exception) {
  29058. if (type$.TypeError._is(A.unwrapException(exception))) {
  29059. if ((this.state & 1) !== 0)
  29060. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  29061. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  29062. } else
  29063. throw exception;
  29064. }
  29065. }
  29066. };
  29067. A._Future.prototype = {
  29068. then$1$2$onError(_, f, onError, $R) {
  29069. var result, t1,
  29070. currentZone = $.Zone__current;
  29071. if (currentZone === B.C__RootZone) {
  29072. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  29073. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  29074. } else {
  29075. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  29076. if (onError != null)
  29077. onError = A._registerErrorHandler(onError, currentZone);
  29078. }
  29079. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  29080. t1 = onError == null ? 1 : 3;
  29081. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  29082. return result;
  29083. },
  29084. then$1$1($receiver, f, $R) {
  29085. return this.then$1$2$onError($receiver, f, null, $R);
  29086. },
  29087. _thenAwait$1$2(f, onError, $E) {
  29088. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  29089. this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  29090. return result;
  29091. },
  29092. whenComplete$1(action) {
  29093. var t1 = this.$ti,
  29094. t2 = $.Zone__current,
  29095. result = new A._Future(t2, t1);
  29096. if (t2 !== B.C__RootZone)
  29097. action = t2.registerCallback$1$1(action, type$.dynamic);
  29098. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  29099. return result;
  29100. },
  29101. _setErrorObject$1(error) {
  29102. this._state = this._state & 1 | 16;
  29103. this._resultOrListeners = error;
  29104. },
  29105. _cloneResult$1(source) {
  29106. this._state = source._state & 30 | this._state & 1;
  29107. this._resultOrListeners = source._resultOrListeners;
  29108. },
  29109. _addListener$1(listener) {
  29110. var _this = this,
  29111. t1 = _this._state;
  29112. if (t1 <= 3) {
  29113. listener._nextListener = _this._resultOrListeners;
  29114. _this._resultOrListeners = listener;
  29115. } else {
  29116. if ((t1 & 4) !== 0) {
  29117. t1 = _this._resultOrListeners;
  29118. if ((t1._state & 24) === 0) {
  29119. t1._addListener$1(listener);
  29120. return;
  29121. }
  29122. _this._cloneResult$1(t1);
  29123. }
  29124. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  29125. }
  29126. },
  29127. _prependListeners$1(listeners) {
  29128. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  29129. _box_0.listeners = listeners;
  29130. if (listeners == null)
  29131. return;
  29132. t1 = _this._state;
  29133. if (t1 <= 3) {
  29134. existingListeners = _this._resultOrListeners;
  29135. _this._resultOrListeners = listeners;
  29136. if (existingListeners != null) {
  29137. next = listeners._nextListener;
  29138. for (cursor = listeners; next != null; cursor = next, next = next0)
  29139. next0 = next._nextListener;
  29140. cursor._nextListener = existingListeners;
  29141. }
  29142. } else {
  29143. if ((t1 & 4) !== 0) {
  29144. t1 = _this._resultOrListeners;
  29145. if ((t1._state & 24) === 0) {
  29146. t1._prependListeners$1(listeners);
  29147. return;
  29148. }
  29149. _this._cloneResult$1(t1);
  29150. }
  29151. _box_0.listeners = _this._reverseListeners$1(listeners);
  29152. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  29153. }
  29154. },
  29155. _removeListeners$0() {
  29156. var current = this._resultOrListeners;
  29157. this._resultOrListeners = null;
  29158. return this._reverseListeners$1(current);
  29159. },
  29160. _reverseListeners$1(listeners) {
  29161. var current, prev, next;
  29162. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  29163. next = current._nextListener;
  29164. current._nextListener = prev;
  29165. }
  29166. return prev;
  29167. },
  29168. _chainForeignFuture$1(source) {
  29169. var e, s, exception, _this = this;
  29170. _this._state ^= 2;
  29171. try {
  29172. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  29173. } catch (exception) {
  29174. e = A.unwrapException(exception);
  29175. s = A.getTraceFromException(exception);
  29176. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  29177. }
  29178. },
  29179. _complete$1(value) {
  29180. var listeners, _this = this,
  29181. t1 = _this.$ti;
  29182. if (t1._eval$1("Future<1>")._is(value))
  29183. if (t1._is(value))
  29184. A._Future__chainCoreFuture(value, _this);
  29185. else
  29186. _this._chainForeignFuture$1(value);
  29187. else {
  29188. listeners = _this._removeListeners$0();
  29189. _this._state = 8;
  29190. _this._resultOrListeners = value;
  29191. A._Future__propagateToListeners(_this, listeners);
  29192. }
  29193. },
  29194. _completeWithValue$1(value) {
  29195. var _this = this,
  29196. listeners = _this._removeListeners$0();
  29197. _this._state = 8;
  29198. _this._resultOrListeners = value;
  29199. A._Future__propagateToListeners(_this, listeners);
  29200. },
  29201. _completeError$2(error, stackTrace) {
  29202. var listeners = this._removeListeners$0();
  29203. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  29204. A._Future__propagateToListeners(this, listeners);
  29205. },
  29206. _asyncComplete$1(value) {
  29207. if (this.$ti._eval$1("Future<1>")._is(value)) {
  29208. this._chainFuture$1(value);
  29209. return;
  29210. }
  29211. this._asyncCompleteWithValue$1(value);
  29212. },
  29213. _asyncCompleteWithValue$1(value) {
  29214. this._state ^= 2;
  29215. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  29216. },
  29217. _chainFuture$1(value) {
  29218. var _this = this;
  29219. if (_this.$ti._is(value)) {
  29220. if ((value._state & 16) !== 0) {
  29221. _this._state ^= 2;
  29222. _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
  29223. } else
  29224. A._Future__chainCoreFuture(value, _this);
  29225. return;
  29226. }
  29227. _this._chainForeignFuture$1(value);
  29228. },
  29229. _asyncCompleteError$2(error, stackTrace) {
  29230. this._state ^= 2;
  29231. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  29232. },
  29233. $isFuture: 1
  29234. };
  29235. A._Future__addListener_closure.prototype = {
  29236. call$0() {
  29237. A._Future__propagateToListeners(this.$this, this.listener);
  29238. },
  29239. $signature: 0
  29240. };
  29241. A._Future__prependListeners_closure.prototype = {
  29242. call$0() {
  29243. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  29244. },
  29245. $signature: 0
  29246. };
  29247. A._Future__chainForeignFuture_closure.prototype = {
  29248. call$1(value) {
  29249. var error, stackTrace, exception,
  29250. t1 = this.$this;
  29251. t1._state ^= 2;
  29252. try {
  29253. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  29254. } catch (exception) {
  29255. error = A.unwrapException(exception);
  29256. stackTrace = A.getTraceFromException(exception);
  29257. t1._completeError$2(error, stackTrace);
  29258. }
  29259. },
  29260. $signature: 72
  29261. };
  29262. A._Future__chainForeignFuture_closure0.prototype = {
  29263. call$2(error, stackTrace) {
  29264. this.$this._completeError$2(error, stackTrace);
  29265. },
  29266. $signature: 62
  29267. };
  29268. A._Future__chainForeignFuture_closure1.prototype = {
  29269. call$0() {
  29270. this.$this._completeError$2(this.e, this.s);
  29271. },
  29272. $signature: 0
  29273. };
  29274. A._Future__asyncCompleteWithValue_closure.prototype = {
  29275. call$0() {
  29276. this.$this._completeWithValue$1(this.value);
  29277. },
  29278. $signature: 0
  29279. };
  29280. A._Future__chainFuture_closure.prototype = {
  29281. call$0() {
  29282. A._Future__chainCoreFuture(this.value, this.$this);
  29283. },
  29284. $signature: 0
  29285. };
  29286. A._Future__asyncCompleteError_closure.prototype = {
  29287. call$0() {
  29288. this.$this._completeError$2(this.error, this.stackTrace);
  29289. },
  29290. $signature: 0
  29291. };
  29292. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  29293. call$0() {
  29294. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  29295. try {
  29296. t1 = _this._box_0.listener;
  29297. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  29298. } catch (exception) {
  29299. e = A.unwrapException(exception);
  29300. s = A.getTraceFromException(exception);
  29301. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  29302. t2 = _this._box_0;
  29303. if (t1)
  29304. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  29305. else
  29306. t2.listenerValueOrError = A.AsyncError$(e, s);
  29307. t2.listenerHasError = true;
  29308. return;
  29309. }
  29310. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  29311. if ((completeResult._state & 16) !== 0) {
  29312. t1 = _this._box_0;
  29313. t1.listenerValueOrError = completeResult._resultOrListeners;
  29314. t1.listenerHasError = true;
  29315. }
  29316. return;
  29317. }
  29318. if (type$.Future_dynamic._is(completeResult)) {
  29319. originalSource = _this._box_1.source;
  29320. t1 = _this._box_0;
  29321. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  29322. t1.listenerHasError = false;
  29323. }
  29324. },
  29325. $signature: 0
  29326. };
  29327. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  29328. call$1(_) {
  29329. return this.originalSource;
  29330. },
  29331. $signature: 541
  29332. };
  29333. A._Future__propagateToListeners_handleValueCallback.prototype = {
  29334. call$0() {
  29335. var e, s, t1, t2, t3, exception;
  29336. try {
  29337. t1 = this._box_0;
  29338. t2 = t1.listener;
  29339. t3 = t2.$ti;
  29340. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  29341. } catch (exception) {
  29342. e = A.unwrapException(exception);
  29343. s = A.getTraceFromException(exception);
  29344. t1 = this._box_0;
  29345. t1.listenerValueOrError = A.AsyncError$(e, s);
  29346. t1.listenerHasError = true;
  29347. }
  29348. },
  29349. $signature: 0
  29350. };
  29351. A._Future__propagateToListeners_handleError.prototype = {
  29352. call$0() {
  29353. var asyncError, e, s, t1, exception, t2, _this = this;
  29354. try {
  29355. asyncError = _this._box_1.source._resultOrListeners;
  29356. t1 = _this._box_0;
  29357. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  29358. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  29359. t1.listenerHasError = false;
  29360. }
  29361. } catch (exception) {
  29362. e = A.unwrapException(exception);
  29363. s = A.getTraceFromException(exception);
  29364. t1 = _this._box_1.source._resultOrListeners;
  29365. t2 = _this._box_0;
  29366. if (t1.error === e)
  29367. t2.listenerValueOrError = t1;
  29368. else
  29369. t2.listenerValueOrError = A.AsyncError$(e, s);
  29370. t2.listenerHasError = true;
  29371. }
  29372. },
  29373. $signature: 0
  29374. };
  29375. A._AsyncCallbackEntry.prototype = {};
  29376. A.Stream.prototype = {
  29377. get$isBroadcast() {
  29378. return false;
  29379. },
  29380. get$length(_) {
  29381. var t1 = {},
  29382. future = new A._Future($.Zone__current, type$._Future_int);
  29383. t1.count = 0;
  29384. 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());
  29385. return future;
  29386. }
  29387. };
  29388. A.Stream_Stream$fromFuture_closure.prototype = {
  29389. call$1(value) {
  29390. var t1 = this.controller;
  29391. t1._async$_add$1(value);
  29392. t1._closeUnchecked$0();
  29393. },
  29394. $signature() {
  29395. return this.T._eval$1("Null(0)");
  29396. }
  29397. };
  29398. A.Stream_Stream$fromFuture_closure0.prototype = {
  29399. call$2(error, stackTrace) {
  29400. var t1 = this.controller;
  29401. t1._addError$2(error, stackTrace);
  29402. t1._closeUnchecked$0();
  29403. },
  29404. $signature: 322
  29405. };
  29406. A.Stream_length_closure.prototype = {
  29407. call$1(_) {
  29408. ++this._box_0.count;
  29409. },
  29410. $signature() {
  29411. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  29412. }
  29413. };
  29414. A.Stream_length_closure0.prototype = {
  29415. call$0() {
  29416. this.future._complete$1(this._box_0.count);
  29417. },
  29418. $signature: 0
  29419. };
  29420. A.StreamTransformerBase.prototype = {};
  29421. A._StreamController.prototype = {
  29422. get$stream() {
  29423. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  29424. },
  29425. get$_pendingEvents() {
  29426. if ((this._state & 8) === 0)
  29427. return this._varData;
  29428. return this._varData.varData;
  29429. },
  29430. _ensurePendingEvents$0() {
  29431. var events, state, _this = this;
  29432. if ((_this._state & 8) === 0) {
  29433. events = _this._varData;
  29434. return events == null ? _this._varData = new A._PendingEvents() : events;
  29435. }
  29436. state = _this._varData;
  29437. events = state.varData;
  29438. return events == null ? state.varData = new A._PendingEvents() : events;
  29439. },
  29440. get$_subscription() {
  29441. var varData = this._varData;
  29442. return (this._state & 8) !== 0 ? varData.varData : varData;
  29443. },
  29444. _badEventState$0() {
  29445. if ((this._state & 4) !== 0)
  29446. return new A.StateError("Cannot add event after closing");
  29447. return new A.StateError("Cannot add event while adding a stream");
  29448. },
  29449. addStream$2$cancelOnError(source, cancelOnError) {
  29450. var t2, t3, t4, _this = this,
  29451. t1 = _this._state;
  29452. if (t1 >= 4)
  29453. throw A.wrapException(_this._badEventState$0());
  29454. if ((t1 & 2) !== 0) {
  29455. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  29456. t1._asyncComplete$1(null);
  29457. return t1;
  29458. }
  29459. t1 = _this._varData;
  29460. t2 = new A._Future($.Zone__current, type$._Future_dynamic);
  29461. t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
  29462. t4 = _this._state;
  29463. if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
  29464. t3.pause$0(0);
  29465. _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
  29466. _this._state |= 8;
  29467. return t2;
  29468. },
  29469. _ensureDoneFuture$0() {
  29470. var t1 = this._doneFuture;
  29471. if (t1 == null)
  29472. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  29473. return t1;
  29474. },
  29475. add$1(_, value) {
  29476. if (this._state >= 4)
  29477. throw A.wrapException(this._badEventState$0());
  29478. this._async$_add$1(value);
  29479. },
  29480. addError$2(error, stackTrace) {
  29481. var replacement;
  29482. A.checkNotNullable(error, "error", type$.Object);
  29483. if (this._state >= 4)
  29484. throw A.wrapException(this._badEventState$0());
  29485. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29486. if (replacement != null) {
  29487. error = replacement.error;
  29488. stackTrace = replacement.stackTrace;
  29489. } else if (stackTrace == null)
  29490. stackTrace = A.AsyncError_defaultStackTrace(error);
  29491. this._addError$2(error, stackTrace);
  29492. },
  29493. addError$1(error) {
  29494. return this.addError$2(error, null);
  29495. },
  29496. close$0(_) {
  29497. var _this = this,
  29498. t1 = _this._state;
  29499. if ((t1 & 4) !== 0)
  29500. return _this._ensureDoneFuture$0();
  29501. if (t1 >= 4)
  29502. throw A.wrapException(_this._badEventState$0());
  29503. _this._closeUnchecked$0();
  29504. return _this._ensureDoneFuture$0();
  29505. },
  29506. _closeUnchecked$0() {
  29507. var t1 = this._state |= 4;
  29508. if ((t1 & 1) !== 0)
  29509. this._sendDone$0();
  29510. else if ((t1 & 3) === 0)
  29511. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  29512. },
  29513. _async$_add$1(value) {
  29514. var t1 = this._state;
  29515. if ((t1 & 1) !== 0)
  29516. this._sendData$1(value);
  29517. else if ((t1 & 3) === 0)
  29518. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  29519. },
  29520. _addError$2(error, stackTrace) {
  29521. var t1 = this._state;
  29522. if ((t1 & 1) !== 0)
  29523. this._sendError$2(error, stackTrace);
  29524. else if ((t1 & 3) === 0)
  29525. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  29526. },
  29527. _close$0() {
  29528. var addState = this._varData;
  29529. this._varData = addState.varData;
  29530. this._state &= 4294967287;
  29531. addState.addStreamFuture._asyncComplete$1(null);
  29532. },
  29533. _subscribe$4(onData, onError, onDone, cancelOnError) {
  29534. var subscription, pendingEvents, t1, addState, _this = this;
  29535. if ((_this._state & 3) !== 0)
  29536. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  29537. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  29538. pendingEvents = _this.get$_pendingEvents();
  29539. t1 = _this._state |= 1;
  29540. if ((t1 & 8) !== 0) {
  29541. addState = _this._varData;
  29542. addState.varData = subscription;
  29543. addState.addSubscription.resume$0(0);
  29544. } else
  29545. _this._varData = subscription;
  29546. subscription._setPendingEvents$1(pendingEvents);
  29547. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  29548. return subscription;
  29549. },
  29550. _recordCancel$1(subscription) {
  29551. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  29552. if ((_this._state & 8) !== 0)
  29553. result = _this._varData.cancel$0();
  29554. _this._varData = null;
  29555. _this._state = _this._state & 4294967286 | 2;
  29556. onCancel = _this.onCancel;
  29557. if (onCancel != null)
  29558. if (result == null)
  29559. try {
  29560. cancelResult = onCancel.call$0();
  29561. if (type$.Future_void._is(cancelResult))
  29562. result = cancelResult;
  29563. } catch (exception) {
  29564. e = A.unwrapException(exception);
  29565. s = A.getTraceFromException(exception);
  29566. result0 = new A._Future($.Zone__current, type$._Future_void);
  29567. result0._asyncCompleteError$2(e, s);
  29568. result = result0;
  29569. }
  29570. else
  29571. result = result.whenComplete$1(onCancel);
  29572. t1 = new A._StreamController__recordCancel_complete(_this);
  29573. if (result != null)
  29574. result = result.whenComplete$1(t1);
  29575. else
  29576. t1.call$0();
  29577. return result;
  29578. },
  29579. _recordPause$1(subscription) {
  29580. if ((this._state & 8) !== 0)
  29581. this._varData.addSubscription.pause$0(0);
  29582. A._runGuarded(this.onPause);
  29583. },
  29584. _recordResume$1(subscription) {
  29585. if ((this._state & 8) !== 0)
  29586. this._varData.addSubscription.resume$0(0);
  29587. A._runGuarded(this.onResume);
  29588. },
  29589. $isEventSink: 1,
  29590. set$onPause(val) {
  29591. return this.onPause = val;
  29592. },
  29593. set$onResume(val) {
  29594. return this.onResume = val;
  29595. },
  29596. set$onCancel(val) {
  29597. return this.onCancel = val;
  29598. }
  29599. };
  29600. A._StreamController__subscribe_closure.prototype = {
  29601. call$0() {
  29602. A._runGuarded(this.$this.onListen);
  29603. },
  29604. $signature: 0
  29605. };
  29606. A._StreamController__recordCancel_complete.prototype = {
  29607. call$0() {
  29608. var doneFuture = this.$this._doneFuture;
  29609. if (doneFuture != null && (doneFuture._state & 30) === 0)
  29610. doneFuture._asyncComplete$1(null);
  29611. },
  29612. $signature: 0
  29613. };
  29614. A._SyncStreamControllerDispatch.prototype = {
  29615. _sendData$1(data) {
  29616. this.get$_subscription()._async$_add$1(data);
  29617. },
  29618. _sendError$2(error, stackTrace) {
  29619. this.get$_subscription()._addError$2(error, stackTrace);
  29620. },
  29621. _sendDone$0() {
  29622. this.get$_subscription()._close$0();
  29623. }
  29624. };
  29625. A._AsyncStreamControllerDispatch.prototype = {
  29626. _sendData$1(data) {
  29627. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  29628. },
  29629. _sendError$2(error, stackTrace) {
  29630. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  29631. },
  29632. _sendDone$0() {
  29633. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  29634. }
  29635. };
  29636. A._AsyncStreamController.prototype = {};
  29637. A._SyncStreamController.prototype = {};
  29638. A._ControllerStream.prototype = {
  29639. get$hashCode(_) {
  29640. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  29641. },
  29642. $eq(_, other) {
  29643. if (other == null)
  29644. return false;
  29645. if (this === other)
  29646. return true;
  29647. return other instanceof A._ControllerStream && other._controller === this._controller;
  29648. }
  29649. };
  29650. A._ControllerSubscription.prototype = {
  29651. _async$_onCancel$0() {
  29652. return this._controller._recordCancel$1(this);
  29653. },
  29654. _async$_onPause$0() {
  29655. this._controller._recordPause$1(this);
  29656. },
  29657. _async$_onResume$0() {
  29658. this._controller._recordResume$1(this);
  29659. }
  29660. };
  29661. A._AddStreamState.prototype = {
  29662. cancel$0() {
  29663. var cancel = this.addSubscription.cancel$0();
  29664. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  29665. }
  29666. };
  29667. A._AddStreamState_cancel_closure.prototype = {
  29668. call$0() {
  29669. this.$this.addStreamFuture._asyncComplete$1(null);
  29670. },
  29671. $signature: 1
  29672. };
  29673. A._StreamControllerAddStreamState.prototype = {};
  29674. A._BufferingStreamSubscription.prototype = {
  29675. _setPendingEvents$1(pendingEvents) {
  29676. var _this = this;
  29677. if (pendingEvents == null)
  29678. return;
  29679. _this._pending = pendingEvents;
  29680. if (pendingEvents.lastPendingEvent != null) {
  29681. _this._state = (_this._state | 64) >>> 0;
  29682. pendingEvents.schedule$1(_this);
  29683. }
  29684. },
  29685. pause$1(_, resumeSignal) {
  29686. var t2, t3, _this = this,
  29687. t1 = _this._state;
  29688. if ((t1 & 8) !== 0)
  29689. return;
  29690. t2 = (t1 + 128 | 4) >>> 0;
  29691. _this._state = t2;
  29692. if (t1 < 128) {
  29693. t3 = _this._pending;
  29694. if (t3 != null)
  29695. if (t3._state === 1)
  29696. t3._state = 3;
  29697. }
  29698. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  29699. _this._guardCallback$1(_this.get$_async$_onPause());
  29700. },
  29701. pause$0($receiver) {
  29702. return this.pause$1($receiver, null);
  29703. },
  29704. resume$0(_) {
  29705. var _this = this,
  29706. t1 = _this._state;
  29707. if ((t1 & 8) !== 0)
  29708. return;
  29709. if (t1 >= 128) {
  29710. t1 = _this._state = t1 - 128;
  29711. if (t1 < 128)
  29712. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  29713. _this._pending.schedule$1(_this);
  29714. else {
  29715. t1 = (t1 & 4294967291) >>> 0;
  29716. _this._state = t1;
  29717. if ((t1 & 32) === 0)
  29718. _this._guardCallback$1(_this.get$_async$_onResume());
  29719. }
  29720. }
  29721. },
  29722. cancel$0() {
  29723. var _this = this,
  29724. t1 = (_this._state & 4294967279) >>> 0;
  29725. _this._state = t1;
  29726. if ((t1 & 8) === 0)
  29727. _this._cancel$0();
  29728. t1 = _this._cancelFuture;
  29729. return t1 == null ? $.$get$Future__nullFuture() : t1;
  29730. },
  29731. _cancel$0() {
  29732. var t2, _this = this,
  29733. t1 = _this._state = (_this._state | 8) >>> 0;
  29734. if ((t1 & 64) !== 0) {
  29735. t2 = _this._pending;
  29736. if (t2._state === 1)
  29737. t2._state = 3;
  29738. }
  29739. if ((t1 & 32) === 0)
  29740. _this._pending = null;
  29741. _this._cancelFuture = _this._async$_onCancel$0();
  29742. },
  29743. _async$_add$1(data) {
  29744. var t1 = this._state;
  29745. if ((t1 & 8) !== 0)
  29746. return;
  29747. if (t1 < 32)
  29748. this._sendData$1(data);
  29749. else
  29750. this._addPending$1(new A._DelayedData(data));
  29751. },
  29752. _addError$2(error, stackTrace) {
  29753. var t1 = this._state;
  29754. if ((t1 & 8) !== 0)
  29755. return;
  29756. if (t1 < 32)
  29757. this._sendError$2(error, stackTrace);
  29758. else
  29759. this._addPending$1(new A._DelayedError(error, stackTrace));
  29760. },
  29761. _close$0() {
  29762. var _this = this,
  29763. t1 = _this._state;
  29764. if ((t1 & 8) !== 0)
  29765. return;
  29766. t1 = (t1 | 2) >>> 0;
  29767. _this._state = t1;
  29768. if (t1 < 32)
  29769. _this._sendDone$0();
  29770. else
  29771. _this._addPending$1(B.C__DelayedDone);
  29772. },
  29773. _async$_onPause$0() {
  29774. },
  29775. _async$_onResume$0() {
  29776. },
  29777. _async$_onCancel$0() {
  29778. return null;
  29779. },
  29780. _addPending$1($event) {
  29781. var t1, _this = this,
  29782. pending = _this._pending;
  29783. if (pending == null)
  29784. pending = _this._pending = new A._PendingEvents();
  29785. pending.add$1(0, $event);
  29786. t1 = _this._state;
  29787. if ((t1 & 64) === 0) {
  29788. t1 = (t1 | 64) >>> 0;
  29789. _this._state = t1;
  29790. if (t1 < 128)
  29791. pending.schedule$1(_this);
  29792. }
  29793. },
  29794. _sendData$1(data) {
  29795. var _this = this,
  29796. t1 = _this._state;
  29797. _this._state = (t1 | 32) >>> 0;
  29798. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  29799. _this._state = (_this._state & 4294967263) >>> 0;
  29800. _this._checkState$1((t1 & 4) !== 0);
  29801. },
  29802. _sendError$2(error, stackTrace) {
  29803. var cancelFuture, _this = this,
  29804. t1 = _this._state,
  29805. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  29806. if ((t1 & 1) !== 0) {
  29807. _this._state = (t1 | 16) >>> 0;
  29808. _this._cancel$0();
  29809. cancelFuture = _this._cancelFuture;
  29810. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29811. cancelFuture.whenComplete$1(t2);
  29812. else
  29813. t2.call$0();
  29814. } else {
  29815. t2.call$0();
  29816. _this._checkState$1((t1 & 4) !== 0);
  29817. }
  29818. },
  29819. _sendDone$0() {
  29820. var cancelFuture, _this = this,
  29821. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  29822. _this._cancel$0();
  29823. _this._state = (_this._state | 16) >>> 0;
  29824. cancelFuture = _this._cancelFuture;
  29825. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29826. cancelFuture.whenComplete$1(t1);
  29827. else
  29828. t1.call$0();
  29829. },
  29830. _guardCallback$1(callback) {
  29831. var _this = this,
  29832. t1 = _this._state;
  29833. _this._state = (t1 | 32) >>> 0;
  29834. callback.call$0();
  29835. _this._state = (_this._state & 4294967263) >>> 0;
  29836. _this._checkState$1((t1 & 4) !== 0);
  29837. },
  29838. _checkState$1(wasInputPaused) {
  29839. var t2, isInputPaused, _this = this,
  29840. t1 = _this._state;
  29841. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  29842. t1 = _this._state = (t1 & 4294967231) >>> 0;
  29843. if ((t1 & 4) !== 0)
  29844. if (t1 < 128) {
  29845. t2 = _this._pending;
  29846. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  29847. t2 = t2 !== false;
  29848. } else
  29849. t2 = false;
  29850. else
  29851. t2 = false;
  29852. if (t2) {
  29853. t1 = (t1 & 4294967291) >>> 0;
  29854. _this._state = t1;
  29855. }
  29856. }
  29857. for (; true; wasInputPaused = isInputPaused) {
  29858. if ((t1 & 8) !== 0) {
  29859. _this._pending = null;
  29860. return;
  29861. }
  29862. isInputPaused = (t1 & 4) !== 0;
  29863. if (wasInputPaused === isInputPaused)
  29864. break;
  29865. _this._state = (t1 ^ 32) >>> 0;
  29866. if (isInputPaused)
  29867. _this._async$_onPause$0();
  29868. else
  29869. _this._async$_onResume$0();
  29870. t1 = (_this._state & 4294967263) >>> 0;
  29871. _this._state = t1;
  29872. }
  29873. if ((t1 & 64) !== 0 && t1 < 128)
  29874. _this._pending.schedule$1(_this);
  29875. },
  29876. $isStreamSubscription: 1
  29877. };
  29878. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  29879. call$0() {
  29880. var onError, t3, t4,
  29881. t1 = this.$this,
  29882. t2 = t1._state;
  29883. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  29884. return;
  29885. t1._state = (t2 | 32) >>> 0;
  29886. onError = t1._onError;
  29887. t2 = this.error;
  29888. t3 = type$.Object;
  29889. t4 = t1._zone;
  29890. if (type$.void_Function_Object_StackTrace._is(onError))
  29891. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  29892. else
  29893. t4.runUnaryGuarded$1$2(onError, t2, t3);
  29894. t1._state = (t1._state & 4294967263) >>> 0;
  29895. },
  29896. $signature: 0
  29897. };
  29898. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  29899. call$0() {
  29900. var t1 = this.$this,
  29901. t2 = t1._state;
  29902. if ((t2 & 16) === 0)
  29903. return;
  29904. t1._state = (t2 | 42) >>> 0;
  29905. t1._zone.runGuarded$1(t1._onDone);
  29906. t1._state = (t1._state & 4294967263) >>> 0;
  29907. },
  29908. $signature: 0
  29909. };
  29910. A._StreamImpl.prototype = {
  29911. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  29912. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  29913. },
  29914. listen$1($receiver, onData) {
  29915. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  29916. },
  29917. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  29918. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  29919. }
  29920. };
  29921. A._DelayedEvent.prototype = {
  29922. get$next() {
  29923. return this.next;
  29924. },
  29925. set$next(val) {
  29926. return this.next = val;
  29927. }
  29928. };
  29929. A._DelayedData.prototype = {
  29930. perform$1(dispatch) {
  29931. dispatch._sendData$1(this.value);
  29932. }
  29933. };
  29934. A._DelayedError.prototype = {
  29935. perform$1(dispatch) {
  29936. dispatch._sendError$2(this.error, this.stackTrace);
  29937. }
  29938. };
  29939. A._DelayedDone.prototype = {
  29940. perform$1(dispatch) {
  29941. dispatch._sendDone$0();
  29942. },
  29943. get$next() {
  29944. return null;
  29945. },
  29946. set$next(_) {
  29947. throw A.wrapException(A.StateError$("No events after a done."));
  29948. }
  29949. };
  29950. A._PendingEvents.prototype = {
  29951. schedule$1(dispatch) {
  29952. var _this = this,
  29953. t1 = _this._state;
  29954. if (t1 === 1)
  29955. return;
  29956. if (t1 >= 1) {
  29957. _this._state = 1;
  29958. return;
  29959. }
  29960. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  29961. _this._state = 1;
  29962. },
  29963. add$1(_, $event) {
  29964. var _this = this,
  29965. lastEvent = _this.lastPendingEvent;
  29966. if (lastEvent == null)
  29967. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  29968. else {
  29969. lastEvent.set$next($event);
  29970. _this.lastPendingEvent = $event;
  29971. }
  29972. }
  29973. };
  29974. A._PendingEvents_schedule_closure.prototype = {
  29975. call$0() {
  29976. var $event, nextEvent,
  29977. t1 = this.$this,
  29978. oldState = t1._state;
  29979. t1._state = 0;
  29980. if (oldState === 3)
  29981. return;
  29982. $event = t1.firstPendingEvent;
  29983. nextEvent = $event.get$next();
  29984. t1.firstPendingEvent = nextEvent;
  29985. if (nextEvent == null)
  29986. t1.lastPendingEvent = null;
  29987. $event.perform$1(this.dispatch);
  29988. },
  29989. $signature: 0
  29990. };
  29991. A._StreamIterator.prototype = {
  29992. get$current(_) {
  29993. if (this._async$_hasValue)
  29994. return this._stateData;
  29995. return null;
  29996. },
  29997. moveNext$0() {
  29998. var future, _this = this,
  29999. subscription = _this._subscription;
  30000. if (subscription != null) {
  30001. if (_this._async$_hasValue) {
  30002. future = new A._Future($.Zone__current, type$._Future_bool);
  30003. _this._stateData = future;
  30004. _this._async$_hasValue = false;
  30005. subscription.resume$0(0);
  30006. return future;
  30007. }
  30008. throw A.wrapException(A.StateError$("Already waiting for next."));
  30009. }
  30010. return _this._initializeOrDone$0();
  30011. },
  30012. _initializeOrDone$0() {
  30013. var future, subscription, _this = this,
  30014. stateData = _this._stateData;
  30015. if (stateData != null) {
  30016. future = new A._Future($.Zone__current, type$._Future_bool);
  30017. _this._stateData = future;
  30018. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  30019. if (_this._stateData != null)
  30020. _this._subscription = subscription;
  30021. return future;
  30022. }
  30023. return $.$get$Future__falseFuture();
  30024. },
  30025. cancel$0() {
  30026. var _this = this,
  30027. subscription = _this._subscription,
  30028. stateData = _this._stateData;
  30029. _this._stateData = null;
  30030. if (subscription != null) {
  30031. _this._subscription = null;
  30032. if (!_this._async$_hasValue)
  30033. stateData._asyncComplete$1(false);
  30034. else
  30035. _this._async$_hasValue = false;
  30036. return subscription.cancel$0();
  30037. }
  30038. return $.$get$Future__nullFuture();
  30039. },
  30040. _onData$1(data) {
  30041. var moveNextFuture, t1, _this = this;
  30042. if (_this._subscription == null)
  30043. return;
  30044. moveNextFuture = _this._stateData;
  30045. _this._stateData = data;
  30046. _this._async$_hasValue = true;
  30047. moveNextFuture._complete$1(true);
  30048. if (_this._async$_hasValue) {
  30049. t1 = _this._subscription;
  30050. if (t1 != null)
  30051. t1.pause$0(0);
  30052. }
  30053. },
  30054. _onError$2(error, stackTrace) {
  30055. var _this = this,
  30056. subscription = _this._subscription,
  30057. moveNextFuture = _this._stateData;
  30058. _this._stateData = _this._subscription = null;
  30059. if (subscription != null)
  30060. moveNextFuture._completeError$2(error, stackTrace);
  30061. else
  30062. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  30063. },
  30064. _onDone$0() {
  30065. var _this = this,
  30066. subscription = _this._subscription,
  30067. moveNextFuture = _this._stateData;
  30068. _this._stateData = _this._subscription = null;
  30069. if (subscription != null)
  30070. moveNextFuture._completeWithValue$1(false);
  30071. else
  30072. moveNextFuture._asyncCompleteWithValue$1(false);
  30073. }
  30074. };
  30075. A._ForwardingStream.prototype = {
  30076. get$isBroadcast() {
  30077. return this._async$_source.get$isBroadcast();
  30078. },
  30079. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  30080. var t1 = this.$ti,
  30081. t2 = t1._rest[1],
  30082. t3 = $.Zone__current,
  30083. t4 = cancelOnError === true ? 1 : 0,
  30084. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  30085. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  30086. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  30087. t2 = new A._ForwardingStreamSubscription(this, t5, t6, t3.registerCallback$1$1(t7, type$.void), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
  30088. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  30089. return t2;
  30090. },
  30091. listen$1($receiver, onData) {
  30092. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  30093. },
  30094. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  30095. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  30096. }
  30097. };
  30098. A._ForwardingStreamSubscription.prototype = {
  30099. _async$_add$1(data) {
  30100. if ((this._state & 2) !== 0)
  30101. return;
  30102. this.super$_BufferingStreamSubscription$_add(data);
  30103. },
  30104. _addError$2(error, stackTrace) {
  30105. if ((this._state & 2) !== 0)
  30106. return;
  30107. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  30108. },
  30109. _async$_onPause$0() {
  30110. var t1 = this._subscription;
  30111. if (t1 != null)
  30112. t1.pause$0(0);
  30113. },
  30114. _async$_onResume$0() {
  30115. var t1 = this._subscription;
  30116. if (t1 != null)
  30117. t1.resume$0(0);
  30118. },
  30119. _async$_onCancel$0() {
  30120. var subscription = this._subscription;
  30121. if (subscription != null) {
  30122. this._subscription = null;
  30123. return subscription.cancel$0();
  30124. }
  30125. return null;
  30126. },
  30127. _handleData$1(data) {
  30128. this._stream._handleData$2(data, this);
  30129. },
  30130. _handleError$2(error, stackTrace) {
  30131. this._addError$2(error, stackTrace);
  30132. },
  30133. _handleDone$0() {
  30134. this._close$0();
  30135. }
  30136. };
  30137. A._ExpandStream.prototype = {
  30138. _handleData$2(inputEvent, sink) {
  30139. var value, e, s, t1, exception, error, stackTrace, replacement;
  30140. try {
  30141. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  30142. value = t1.get$current(t1);
  30143. sink._async$_add$1(value);
  30144. }
  30145. } catch (exception) {
  30146. e = A.unwrapException(exception);
  30147. s = A.getTraceFromException(exception);
  30148. error = e;
  30149. stackTrace = s;
  30150. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  30151. if (replacement != null) {
  30152. error = replacement.error;
  30153. stackTrace = replacement.stackTrace;
  30154. }
  30155. sink._addError$2(error, stackTrace);
  30156. }
  30157. }
  30158. };
  30159. A._ZoneFunction.prototype = {};
  30160. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  30161. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  30162. A._Zone.prototype = {
  30163. _processUncaughtError$3(zone, error, stackTrace) {
  30164. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  30165. implementation = this.get$_handleUncaughtError(),
  30166. implZone = implementation.zone;
  30167. if (implZone === B.C__RootZone) {
  30168. A._rootHandleError(error, stackTrace);
  30169. return;
  30170. }
  30171. handler = implementation.$function;
  30172. parentDelegate = implZone.get$_parentDelegate();
  30173. t1 = J.get$parent$z(implZone);
  30174. t1.toString;
  30175. parentZone = t1;
  30176. currentZone = $.Zone__current;
  30177. try {
  30178. $.Zone__current = parentZone;
  30179. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  30180. $.Zone__current = currentZone;
  30181. } catch (exception) {
  30182. e = A.unwrapException(exception);
  30183. s = A.getTraceFromException(exception);
  30184. $.Zone__current = currentZone;
  30185. t1 = error === e ? stackTrace : s;
  30186. parentZone._processUncaughtError$3(implZone, e, t1);
  30187. }
  30188. },
  30189. $isZone: 1
  30190. };
  30191. A._CustomZone.prototype = {
  30192. get$_delegate() {
  30193. var t1 = this._delegateCache;
  30194. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  30195. },
  30196. get$_parentDelegate() {
  30197. return this.parent.get$_delegate();
  30198. },
  30199. get$errorZone() {
  30200. return this._handleUncaughtError.zone;
  30201. },
  30202. runGuarded$1(f) {
  30203. var e, s, exception;
  30204. try {
  30205. this.run$1$1(0, f, type$.void);
  30206. } catch (exception) {
  30207. e = A.unwrapException(exception);
  30208. s = A.getTraceFromException(exception);
  30209. this._processUncaughtError$3(this, e, s);
  30210. }
  30211. },
  30212. runUnaryGuarded$1$2(f, arg, $T) {
  30213. var e, s, exception;
  30214. try {
  30215. this.runUnary$2$2(f, arg, type$.void, $T);
  30216. } catch (exception) {
  30217. e = A.unwrapException(exception);
  30218. s = A.getTraceFromException(exception);
  30219. this._processUncaughtError$3(this, e, s);
  30220. }
  30221. },
  30222. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  30223. var e, s, exception;
  30224. try {
  30225. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  30226. } catch (exception) {
  30227. e = A.unwrapException(exception);
  30228. s = A.getTraceFromException(exception);
  30229. this._processUncaughtError$3(this, e, s);
  30230. }
  30231. },
  30232. bindCallback$1$1(f, $R) {
  30233. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  30234. },
  30235. bindUnaryCallback$2$1(f, $R, $T) {
  30236. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  30237. },
  30238. bindCallbackGuarded$1(f) {
  30239. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  30240. },
  30241. $index(_, key) {
  30242. var value,
  30243. t1 = this._async$_map,
  30244. result = t1.$index(0, key);
  30245. if (result != null || t1.containsKey$1(key))
  30246. return result;
  30247. value = this.parent.$index(0, key);
  30248. if (value != null)
  30249. t1.$indexSet(0, key, value);
  30250. return value;
  30251. },
  30252. handleUncaughtError$2(error, stackTrace) {
  30253. this._processUncaughtError$3(this, error, stackTrace);
  30254. },
  30255. fork$2$specification$zoneValues(specification, zoneValues) {
  30256. var implementation = this._fork,
  30257. t1 = implementation.zone;
  30258. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  30259. },
  30260. run$1$1(_, f) {
  30261. var implementation = this._run,
  30262. t1 = implementation.zone;
  30263. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  30264. },
  30265. runUnary$2$2(f, arg) {
  30266. var implementation = this._runUnary,
  30267. t1 = implementation.zone;
  30268. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  30269. },
  30270. runBinary$3$3(f, arg1, arg2) {
  30271. var implementation = this._runBinary,
  30272. t1 = implementation.zone;
  30273. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  30274. },
  30275. registerCallback$1$1(callback) {
  30276. var implementation = this._registerCallback,
  30277. t1 = implementation.zone;
  30278. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30279. },
  30280. registerUnaryCallback$2$1(callback) {
  30281. var implementation = this._registerUnaryCallback,
  30282. t1 = implementation.zone;
  30283. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30284. },
  30285. registerBinaryCallback$3$1(callback) {
  30286. var implementation = this._registerBinaryCallback,
  30287. t1 = implementation.zone;
  30288. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  30289. },
  30290. errorCallback$2(error, stackTrace) {
  30291. var implementation, implementationZone;
  30292. A.checkNotNullable(error, "error", type$.Object);
  30293. implementation = this._errorCallback;
  30294. implementationZone = implementation.zone;
  30295. if (implementationZone === B.C__RootZone)
  30296. return null;
  30297. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  30298. },
  30299. scheduleMicrotask$1(f) {
  30300. var implementation = this._scheduleMicrotask,
  30301. t1 = implementation.zone;
  30302. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  30303. },
  30304. createTimer$2(duration, f) {
  30305. var implementation = this._createTimer,
  30306. t1 = implementation.zone;
  30307. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  30308. },
  30309. print$1(line) {
  30310. var implementation = this._print,
  30311. t1 = implementation.zone;
  30312. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  30313. },
  30314. get$_run() {
  30315. return this._run;
  30316. },
  30317. get$_runUnary() {
  30318. return this._runUnary;
  30319. },
  30320. get$_runBinary() {
  30321. return this._runBinary;
  30322. },
  30323. get$_registerCallback() {
  30324. return this._registerCallback;
  30325. },
  30326. get$_registerUnaryCallback() {
  30327. return this._registerUnaryCallback;
  30328. },
  30329. get$_registerBinaryCallback() {
  30330. return this._registerBinaryCallback;
  30331. },
  30332. get$_errorCallback() {
  30333. return this._errorCallback;
  30334. },
  30335. get$_scheduleMicrotask() {
  30336. return this._scheduleMicrotask;
  30337. },
  30338. get$_createTimer() {
  30339. return this._createTimer;
  30340. },
  30341. get$_createPeriodicTimer() {
  30342. return this._createPeriodicTimer;
  30343. },
  30344. get$_print() {
  30345. return this._print;
  30346. },
  30347. get$_fork() {
  30348. return this._fork;
  30349. },
  30350. get$_handleUncaughtError() {
  30351. return this._handleUncaughtError;
  30352. },
  30353. get$parent(receiver) {
  30354. return this.parent;
  30355. },
  30356. get$_async$_map() {
  30357. return this._async$_map;
  30358. }
  30359. };
  30360. A._CustomZone_bindCallback_closure.prototype = {
  30361. call$0() {
  30362. return this.$this.run$1$1(0, this.registered, this.R);
  30363. },
  30364. $signature() {
  30365. return this.R._eval$1("0()");
  30366. }
  30367. };
  30368. A._CustomZone_bindUnaryCallback_closure.prototype = {
  30369. call$1(arg) {
  30370. var _this = this;
  30371. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  30372. },
  30373. $signature() {
  30374. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30375. }
  30376. };
  30377. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  30378. call$0() {
  30379. return this.$this.runGuarded$1(this.registered);
  30380. },
  30381. $signature: 0
  30382. };
  30383. A._rootHandleError_closure.prototype = {
  30384. call$0() {
  30385. var t1 = this.error,
  30386. t2 = this.stackTrace;
  30387. A.checkNotNullable(t1, "error", type$.Object);
  30388. A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
  30389. A.Error__throw(t1, t2);
  30390. },
  30391. $signature: 0
  30392. };
  30393. A._RootZone.prototype = {
  30394. get$_run() {
  30395. return B._ZoneFunction__RootZone__rootRun;
  30396. },
  30397. get$_runUnary() {
  30398. return B._ZoneFunction__RootZone__rootRunUnary;
  30399. },
  30400. get$_runBinary() {
  30401. return B._ZoneFunction__RootZone__rootRunBinary;
  30402. },
  30403. get$_registerCallback() {
  30404. return B._ZoneFunction__RootZone__rootRegisterCallback;
  30405. },
  30406. get$_registerUnaryCallback() {
  30407. return B._ZoneFunction_Eeh;
  30408. },
  30409. get$_registerBinaryCallback() {
  30410. return B._ZoneFunction_7G2;
  30411. },
  30412. get$_errorCallback() {
  30413. return B._ZoneFunction__RootZone__rootErrorCallback;
  30414. },
  30415. get$_scheduleMicrotask() {
  30416. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  30417. },
  30418. get$_createTimer() {
  30419. return B._ZoneFunction__RootZone__rootCreateTimer;
  30420. },
  30421. get$_createPeriodicTimer() {
  30422. return B._ZoneFunction_3bB;
  30423. },
  30424. get$_print() {
  30425. return B._ZoneFunction__RootZone__rootPrint;
  30426. },
  30427. get$_fork() {
  30428. return B._ZoneFunction__RootZone__rootFork;
  30429. },
  30430. get$_handleUncaughtError() {
  30431. return B._ZoneFunction_NMc;
  30432. },
  30433. get$parent(_) {
  30434. return null;
  30435. },
  30436. get$_async$_map() {
  30437. return $.$get$_RootZone__rootMap();
  30438. },
  30439. get$_delegate() {
  30440. var t1 = $._RootZone__rootDelegate;
  30441. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  30442. },
  30443. get$_parentDelegate() {
  30444. var t1 = $._RootZone__rootDelegate;
  30445. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  30446. },
  30447. get$errorZone() {
  30448. return this;
  30449. },
  30450. runGuarded$1(f) {
  30451. var e, s, exception;
  30452. try {
  30453. if (B.C__RootZone === $.Zone__current) {
  30454. f.call$0();
  30455. return;
  30456. }
  30457. A._rootRun(null, null, this, f);
  30458. } catch (exception) {
  30459. e = A.unwrapException(exception);
  30460. s = A.getTraceFromException(exception);
  30461. A._rootHandleError(e, s);
  30462. }
  30463. },
  30464. runUnaryGuarded$1$2(f, arg) {
  30465. var e, s, exception;
  30466. try {
  30467. if (B.C__RootZone === $.Zone__current) {
  30468. f.call$1(arg);
  30469. return;
  30470. }
  30471. A._rootRunUnary(null, null, this, f, arg);
  30472. } catch (exception) {
  30473. e = A.unwrapException(exception);
  30474. s = A.getTraceFromException(exception);
  30475. A._rootHandleError(e, s);
  30476. }
  30477. },
  30478. runBinaryGuarded$2$3(f, arg1, arg2) {
  30479. var e, s, exception;
  30480. try {
  30481. if (B.C__RootZone === $.Zone__current) {
  30482. f.call$2(arg1, arg2);
  30483. return;
  30484. }
  30485. A._rootRunBinary(null, null, this, f, arg1, arg2);
  30486. } catch (exception) {
  30487. e = A.unwrapException(exception);
  30488. s = A.getTraceFromException(exception);
  30489. A._rootHandleError(e, s);
  30490. }
  30491. },
  30492. bindCallback$1$1(f, $R) {
  30493. return new A._RootZone_bindCallback_closure(this, f, $R);
  30494. },
  30495. bindUnaryCallback$2$1(f, $R, $T) {
  30496. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  30497. },
  30498. bindCallbackGuarded$1(f) {
  30499. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  30500. },
  30501. $index(_, key) {
  30502. return null;
  30503. },
  30504. handleUncaughtError$2(error, stackTrace) {
  30505. A._rootHandleError(error, stackTrace);
  30506. },
  30507. fork$2$specification$zoneValues(specification, zoneValues) {
  30508. return A._rootFork(null, null, this, specification, zoneValues);
  30509. },
  30510. run$1$1(_, f) {
  30511. if ($.Zone__current === B.C__RootZone)
  30512. return f.call$0();
  30513. return A._rootRun(null, null, this, f);
  30514. },
  30515. runUnary$2$2(f, arg) {
  30516. if ($.Zone__current === B.C__RootZone)
  30517. return f.call$1(arg);
  30518. return A._rootRunUnary(null, null, this, f, arg);
  30519. },
  30520. runBinary$3$3(f, arg1, arg2) {
  30521. if ($.Zone__current === B.C__RootZone)
  30522. return f.call$2(arg1, arg2);
  30523. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  30524. },
  30525. registerCallback$1$1(f) {
  30526. return f;
  30527. },
  30528. registerUnaryCallback$2$1(f) {
  30529. return f;
  30530. },
  30531. registerBinaryCallback$3$1(f) {
  30532. return f;
  30533. },
  30534. errorCallback$2(error, stackTrace) {
  30535. return null;
  30536. },
  30537. scheduleMicrotask$1(f) {
  30538. A._rootScheduleMicrotask(null, null, this, f);
  30539. },
  30540. createTimer$2(duration, f) {
  30541. return A.Timer__createTimer(duration, f);
  30542. },
  30543. print$1(line) {
  30544. A.printString(line);
  30545. }
  30546. };
  30547. A._RootZone_bindCallback_closure.prototype = {
  30548. call$0() {
  30549. return this.$this.run$1$1(0, this.f, this.R);
  30550. },
  30551. $signature() {
  30552. return this.R._eval$1("0()");
  30553. }
  30554. };
  30555. A._RootZone_bindUnaryCallback_closure.prototype = {
  30556. call$1(arg) {
  30557. var _this = this;
  30558. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  30559. },
  30560. $signature() {
  30561. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30562. }
  30563. };
  30564. A._RootZone_bindCallbackGuarded_closure.prototype = {
  30565. call$0() {
  30566. return this.$this.runGuarded$1(this.f);
  30567. },
  30568. $signature: 0
  30569. };
  30570. A._HashMap.prototype = {
  30571. get$length(_) {
  30572. return this._collection$_length;
  30573. },
  30574. get$isEmpty(_) {
  30575. return this._collection$_length === 0;
  30576. },
  30577. get$isNotEmpty(_) {
  30578. return this._collection$_length !== 0;
  30579. },
  30580. get$keys(_) {
  30581. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  30582. },
  30583. get$values(_) {
  30584. var t1 = A._instanceType(this);
  30585. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  30586. },
  30587. containsKey$1(key) {
  30588. var strings, nums;
  30589. if (typeof key == "string" && key !== "__proto__") {
  30590. strings = this._collection$_strings;
  30591. return strings == null ? false : strings[key] != null;
  30592. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30593. nums = this._collection$_nums;
  30594. return nums == null ? false : nums[key] != null;
  30595. } else
  30596. return this._containsKey$1(key);
  30597. },
  30598. _containsKey$1(key) {
  30599. var rest = this._collection$_rest;
  30600. if (rest == null)
  30601. return false;
  30602. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  30603. },
  30604. addAll$1(_, other) {
  30605. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  30606. },
  30607. $index(_, key) {
  30608. var strings, t1, nums;
  30609. if (typeof key == "string" && key !== "__proto__") {
  30610. strings = this._collection$_strings;
  30611. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  30612. return t1;
  30613. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30614. nums = this._collection$_nums;
  30615. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  30616. return t1;
  30617. } else
  30618. return this._get$1(key);
  30619. },
  30620. _get$1(key) {
  30621. var bucket, index,
  30622. rest = this._collection$_rest;
  30623. if (rest == null)
  30624. return null;
  30625. bucket = this._getBucket$2(rest, key);
  30626. index = this._findBucketIndex$2(bucket, key);
  30627. return index < 0 ? null : bucket[index + 1];
  30628. },
  30629. $indexSet(_, key, value) {
  30630. var strings, nums, _this = this;
  30631. if (typeof key == "string" && key !== "__proto__") {
  30632. strings = _this._collection$_strings;
  30633. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  30634. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30635. nums = _this._collection$_nums;
  30636. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  30637. } else
  30638. _this._set$2(key, value);
  30639. },
  30640. _set$2(key, value) {
  30641. var hash, bucket, index, _this = this,
  30642. rest = _this._collection$_rest;
  30643. if (rest == null)
  30644. rest = _this._collection$_rest = A._HashMap__newHashTable();
  30645. hash = _this._computeHashCode$1(key);
  30646. bucket = rest[hash];
  30647. if (bucket == null) {
  30648. A._HashMap__setTableEntry(rest, hash, [key, value]);
  30649. ++_this._collection$_length;
  30650. _this._collection$_keys = null;
  30651. } else {
  30652. index = _this._findBucketIndex$2(bucket, key);
  30653. if (index >= 0)
  30654. bucket[index + 1] = value;
  30655. else {
  30656. bucket.push(key, value);
  30657. ++_this._collection$_length;
  30658. _this._collection$_keys = null;
  30659. }
  30660. }
  30661. },
  30662. remove$1(_, key) {
  30663. var t1;
  30664. if (typeof key == "string" && key !== "__proto__")
  30665. return this._removeHashTableEntry$2(this._collection$_strings, key);
  30666. else {
  30667. t1 = this._remove$1(key);
  30668. return t1;
  30669. }
  30670. },
  30671. _remove$1(key) {
  30672. var hash, bucket, index, result, _this = this,
  30673. rest = _this._collection$_rest;
  30674. if (rest == null)
  30675. return null;
  30676. hash = _this._computeHashCode$1(key);
  30677. bucket = rest[hash];
  30678. index = _this._findBucketIndex$2(bucket, key);
  30679. if (index < 0)
  30680. return null;
  30681. --_this._collection$_length;
  30682. _this._collection$_keys = null;
  30683. result = bucket.splice(index, 2)[1];
  30684. if (0 === bucket.length)
  30685. delete rest[hash];
  30686. return result;
  30687. },
  30688. forEach$1(_, action) {
  30689. var $length, t1, i, key, t2, _this = this,
  30690. keys = _this._computeKeys$0();
  30691. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  30692. key = keys[i];
  30693. t2 = _this.$index(0, key);
  30694. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  30695. if (keys !== _this._collection$_keys)
  30696. throw A.wrapException(A.ConcurrentModificationError$(_this));
  30697. }
  30698. },
  30699. _computeKeys$0() {
  30700. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  30701. result = _this._collection$_keys;
  30702. if (result != null)
  30703. return result;
  30704. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  30705. strings = _this._collection$_strings;
  30706. if (strings != null) {
  30707. names = Object.getOwnPropertyNames(strings);
  30708. entries = names.length;
  30709. for (index = 0, i = 0; i < entries; ++i) {
  30710. result[index] = names[i];
  30711. ++index;
  30712. }
  30713. } else
  30714. index = 0;
  30715. nums = _this._collection$_nums;
  30716. if (nums != null) {
  30717. names = Object.getOwnPropertyNames(nums);
  30718. entries = names.length;
  30719. for (i = 0; i < entries; ++i) {
  30720. result[index] = +names[i];
  30721. ++index;
  30722. }
  30723. }
  30724. rest = _this._collection$_rest;
  30725. if (rest != null) {
  30726. names = Object.getOwnPropertyNames(rest);
  30727. entries = names.length;
  30728. for (i = 0; i < entries; ++i) {
  30729. bucket = rest[names[i]];
  30730. $length = bucket.length;
  30731. for (i0 = 0; i0 < $length; i0 += 2) {
  30732. result[index] = bucket[i0];
  30733. ++index;
  30734. }
  30735. }
  30736. }
  30737. return _this._collection$_keys = result;
  30738. },
  30739. _collection$_addHashTableEntry$3(table, key, value) {
  30740. if (table[key] == null) {
  30741. ++this._collection$_length;
  30742. this._collection$_keys = null;
  30743. }
  30744. A._HashMap__setTableEntry(table, key, value);
  30745. },
  30746. _removeHashTableEntry$2(table, key) {
  30747. var value;
  30748. if (table != null && table[key] != null) {
  30749. value = A._HashMap__getTableEntry(table, key);
  30750. delete table[key];
  30751. --this._collection$_length;
  30752. this._collection$_keys = null;
  30753. return value;
  30754. } else
  30755. return null;
  30756. },
  30757. _computeHashCode$1(key) {
  30758. return J.get$hashCode$(key) & 1073741823;
  30759. },
  30760. _getBucket$2(table, key) {
  30761. return table[this._computeHashCode$1(key)];
  30762. },
  30763. _findBucketIndex$2(bucket, key) {
  30764. var $length, i;
  30765. if (bucket == null)
  30766. return -1;
  30767. $length = bucket.length;
  30768. for (i = 0; i < $length; i += 2)
  30769. if (J.$eq$(bucket[i], key))
  30770. return i;
  30771. return -1;
  30772. }
  30773. };
  30774. A._HashMap_values_closure.prototype = {
  30775. call$1(each) {
  30776. var t1 = this.$this,
  30777. t2 = t1.$index(0, each);
  30778. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  30779. },
  30780. $signature() {
  30781. return A._instanceType(this.$this)._eval$1("2(1)");
  30782. }
  30783. };
  30784. A._HashMap_addAll_closure.prototype = {
  30785. call$2(key, value) {
  30786. this.$this.$indexSet(0, key, value);
  30787. },
  30788. $signature() {
  30789. return A._instanceType(this.$this)._eval$1("~(1,2)");
  30790. }
  30791. };
  30792. A._IdentityHashMap.prototype = {
  30793. _computeHashCode$1(key) {
  30794. return A.objectHashCode(key) & 1073741823;
  30795. },
  30796. _findBucketIndex$2(bucket, key) {
  30797. var $length, i, t1;
  30798. if (bucket == null)
  30799. return -1;
  30800. $length = bucket.length;
  30801. for (i = 0; i < $length; i += 2) {
  30802. t1 = bucket[i];
  30803. if (t1 == null ? key == null : t1 === key)
  30804. return i;
  30805. }
  30806. return -1;
  30807. }
  30808. };
  30809. A._HashMapKeyIterable.prototype = {
  30810. get$length(_) {
  30811. return this._map._collection$_length;
  30812. },
  30813. get$isEmpty(_) {
  30814. return this._map._collection$_length === 0;
  30815. },
  30816. get$iterator(_) {
  30817. var t1 = this._map;
  30818. return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
  30819. },
  30820. contains$1(_, element) {
  30821. return this._map.containsKey$1(element);
  30822. }
  30823. };
  30824. A._HashMapKeyIterator.prototype = {
  30825. get$current(_) {
  30826. var t1 = this._collection$_current;
  30827. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  30828. },
  30829. moveNext$0() {
  30830. var _this = this,
  30831. keys = _this._collection$_keys,
  30832. offset = _this._offset,
  30833. t1 = _this._map;
  30834. if (keys !== t1._collection$_keys)
  30835. throw A.wrapException(A.ConcurrentModificationError$(t1));
  30836. else if (offset >= keys.length) {
  30837. _this._collection$_current = null;
  30838. return false;
  30839. } else {
  30840. _this._collection$_current = keys[offset];
  30841. _this._offset = offset + 1;
  30842. return true;
  30843. }
  30844. }
  30845. };
  30846. A._LinkedIdentityHashMap.prototype = {
  30847. internalComputeHashCode$1(key) {
  30848. return A.objectHashCode(key) & 1073741823;
  30849. },
  30850. internalFindBucketIndex$2(bucket, key) {
  30851. var $length, i, t1;
  30852. if (bucket == null)
  30853. return -1;
  30854. $length = bucket.length;
  30855. for (i = 0; i < $length; ++i) {
  30856. t1 = bucket[i].hashMapCellKey;
  30857. if (t1 == null ? key == null : t1 === key)
  30858. return i;
  30859. }
  30860. return -1;
  30861. }
  30862. };
  30863. A._LinkedCustomHashMap.prototype = {
  30864. $index(_, key) {
  30865. if (!this._validKey.call$1(key))
  30866. return null;
  30867. return this.super$JsLinkedHashMap$internalGet(key);
  30868. },
  30869. $indexSet(_, key, value) {
  30870. this.super$JsLinkedHashMap$internalSet(key, value);
  30871. },
  30872. containsKey$1(key) {
  30873. if (!this._validKey.call$1(key))
  30874. return false;
  30875. return this.super$JsLinkedHashMap$internalContainsKey(key);
  30876. },
  30877. remove$1(_, key) {
  30878. if (!this._validKey.call$1(key))
  30879. return null;
  30880. return this.super$JsLinkedHashMap$internalRemove(key);
  30881. },
  30882. internalComputeHashCode$1(key) {
  30883. return this._hashCode.call$1(key) & 1073741823;
  30884. },
  30885. internalFindBucketIndex$2(bucket, key) {
  30886. var $length, t1, i;
  30887. if (bucket == null)
  30888. return -1;
  30889. $length = bucket.length;
  30890. for (t1 = this._equals, i = 0; i < $length; ++i)
  30891. if (t1.call$2(bucket[i].hashMapCellKey, key))
  30892. return i;
  30893. return -1;
  30894. }
  30895. };
  30896. A._LinkedCustomHashMap_closure.prototype = {
  30897. call$1(v) {
  30898. return this.K._is(v);
  30899. },
  30900. $signature: 131
  30901. };
  30902. A._LinkedHashSet.prototype = {
  30903. _newSet$0() {
  30904. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  30905. },
  30906. _newSimilarSet$1$0($R) {
  30907. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  30908. },
  30909. _newSimilarSet$0() {
  30910. return this._newSimilarSet$1$0(type$.dynamic);
  30911. },
  30912. get$iterator(_) {
  30913. var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
  30914. t1._collection$_cell = this._collection$_first;
  30915. return t1;
  30916. },
  30917. get$length(_) {
  30918. return this._collection$_length;
  30919. },
  30920. get$isEmpty(_) {
  30921. return this._collection$_length === 0;
  30922. },
  30923. get$isNotEmpty(_) {
  30924. return this._collection$_length !== 0;
  30925. },
  30926. contains$1(_, object) {
  30927. var strings, nums;
  30928. if (typeof object == "string" && object !== "__proto__") {
  30929. strings = this._collection$_strings;
  30930. if (strings == null)
  30931. return false;
  30932. return strings[object] != null;
  30933. } else if (typeof object == "number" && (object & 1073741823) === object) {
  30934. nums = this._collection$_nums;
  30935. if (nums == null)
  30936. return false;
  30937. return nums[object] != null;
  30938. } else
  30939. return this._contains$1(object);
  30940. },
  30941. _contains$1(object) {
  30942. var rest = this._collection$_rest;
  30943. if (rest == null)
  30944. return false;
  30945. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  30946. },
  30947. get$first(_) {
  30948. var first = this._collection$_first;
  30949. if (first == null)
  30950. throw A.wrapException(A.StateError$("No elements"));
  30951. return first._element;
  30952. },
  30953. get$last(_) {
  30954. var last = this._collection$_last;
  30955. if (last == null)
  30956. throw A.wrapException(A.StateError$("No elements"));
  30957. return last._element;
  30958. },
  30959. add$1(_, element) {
  30960. var strings, nums, _this = this;
  30961. if (typeof element == "string" && element !== "__proto__") {
  30962. strings = _this._collection$_strings;
  30963. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  30964. } else if (typeof element == "number" && (element & 1073741823) === element) {
  30965. nums = _this._collection$_nums;
  30966. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  30967. } else
  30968. return _this._add$1(element);
  30969. },
  30970. _add$1(element) {
  30971. var hash, bucket, _this = this,
  30972. rest = _this._collection$_rest;
  30973. if (rest == null)
  30974. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  30975. hash = _this._computeHashCode$1(element);
  30976. bucket = rest[hash];
  30977. if (bucket == null)
  30978. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  30979. else {
  30980. if (_this._findBucketIndex$2(bucket, element) >= 0)
  30981. return false;
  30982. bucket.push(_this._collection$_newLinkedCell$1(element));
  30983. }
  30984. return true;
  30985. },
  30986. remove$1(_, object) {
  30987. var _this = this;
  30988. if (typeof object == "string" && object !== "__proto__")
  30989. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  30990. else if (typeof object == "number" && (object & 1073741823) === object)
  30991. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  30992. else
  30993. return _this._remove$1(object);
  30994. },
  30995. _remove$1(object) {
  30996. var hash, bucket, index, cell, _this = this,
  30997. rest = _this._collection$_rest;
  30998. if (rest == null)
  30999. return false;
  31000. hash = _this._computeHashCode$1(object);
  31001. bucket = rest[hash];
  31002. index = _this._findBucketIndex$2(bucket, object);
  31003. if (index < 0)
  31004. return false;
  31005. cell = bucket.splice(index, 1)[0];
  31006. if (0 === bucket.length)
  31007. delete rest[hash];
  31008. _this._unlinkCell$1(cell);
  31009. return true;
  31010. },
  31011. _collection$_addHashTableEntry$2(table, element) {
  31012. if (table[element] != null)
  31013. return false;
  31014. table[element] = this._collection$_newLinkedCell$1(element);
  31015. return true;
  31016. },
  31017. _removeHashTableEntry$2(table, element) {
  31018. var cell;
  31019. if (table == null)
  31020. return false;
  31021. cell = table[element];
  31022. if (cell == null)
  31023. return false;
  31024. this._unlinkCell$1(cell);
  31025. delete table[element];
  31026. return true;
  31027. },
  31028. _collection$_modified$0() {
  31029. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  31030. },
  31031. _collection$_newLinkedCell$1(element) {
  31032. var t1, _this = this,
  31033. cell = new A._LinkedHashSetCell(element);
  31034. if (_this._collection$_first == null)
  31035. _this._collection$_first = _this._collection$_last = cell;
  31036. else {
  31037. t1 = _this._collection$_last;
  31038. t1.toString;
  31039. cell._collection$_previous = t1;
  31040. _this._collection$_last = t1._collection$_next = cell;
  31041. }
  31042. ++_this._collection$_length;
  31043. _this._collection$_modified$0();
  31044. return cell;
  31045. },
  31046. _unlinkCell$1(cell) {
  31047. var _this = this,
  31048. previous = cell._collection$_previous,
  31049. next = cell._collection$_next;
  31050. if (previous == null)
  31051. _this._collection$_first = next;
  31052. else
  31053. previous._collection$_next = next;
  31054. if (next == null)
  31055. _this._collection$_last = previous;
  31056. else
  31057. next._collection$_previous = previous;
  31058. --_this._collection$_length;
  31059. _this._collection$_modified$0();
  31060. },
  31061. _computeHashCode$1(element) {
  31062. return J.get$hashCode$(element) & 1073741823;
  31063. },
  31064. _findBucketIndex$2(bucket, element) {
  31065. var $length, i;
  31066. if (bucket == null)
  31067. return -1;
  31068. $length = bucket.length;
  31069. for (i = 0; i < $length; ++i)
  31070. if (J.$eq$(bucket[i]._element, element))
  31071. return i;
  31072. return -1;
  31073. }
  31074. };
  31075. A._LinkedIdentityHashSet.prototype = {
  31076. _newSet$0() {
  31077. return new A._LinkedIdentityHashSet(this.$ti);
  31078. },
  31079. _newSimilarSet$1$0($R) {
  31080. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  31081. },
  31082. _newSimilarSet$0() {
  31083. return this._newSimilarSet$1$0(type$.dynamic);
  31084. },
  31085. _computeHashCode$1(key) {
  31086. return A.objectHashCode(key) & 1073741823;
  31087. },
  31088. _findBucketIndex$2(bucket, element) {
  31089. var $length, i, t1;
  31090. if (bucket == null)
  31091. return -1;
  31092. $length = bucket.length;
  31093. for (i = 0; i < $length; ++i) {
  31094. t1 = bucket[i]._element;
  31095. if (t1 == null ? element == null : t1 === element)
  31096. return i;
  31097. }
  31098. return -1;
  31099. }
  31100. };
  31101. A._LinkedHashSetCell.prototype = {};
  31102. A._LinkedHashSetIterator.prototype = {
  31103. get$current(_) {
  31104. var t1 = this._collection$_current;
  31105. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31106. },
  31107. moveNext$0() {
  31108. var _this = this,
  31109. cell = _this._collection$_cell,
  31110. t1 = _this._set;
  31111. if (_this._collection$_modifications !== t1._collection$_modifications)
  31112. throw A.wrapException(A.ConcurrentModificationError$(t1));
  31113. else if (cell == null) {
  31114. _this._collection$_current = null;
  31115. return false;
  31116. } else {
  31117. _this._collection$_current = cell._element;
  31118. _this._collection$_cell = cell._collection$_next;
  31119. return true;
  31120. }
  31121. }
  31122. };
  31123. A.UnmodifiableListView.prototype = {
  31124. cast$1$0(_, $R) {
  31125. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  31126. },
  31127. get$length(_) {
  31128. return J.get$length$asx(this._collection$_source);
  31129. },
  31130. $index(_, index) {
  31131. return J.elementAt$1$ax(this._collection$_source, index);
  31132. }
  31133. };
  31134. A.HashMap_HashMap$from_closure.prototype = {
  31135. call$2(k, v) {
  31136. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  31137. },
  31138. $signature: 164
  31139. };
  31140. A.IterableBase.prototype = {};
  31141. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  31142. call$2(k, v) {
  31143. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  31144. },
  31145. $signature: 164
  31146. };
  31147. A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
  31148. A.ListMixin.prototype = {
  31149. get$iterator(receiver) {
  31150. return new A.ListIterator(receiver, this.get$length(receiver));
  31151. },
  31152. elementAt$1(receiver, index) {
  31153. return this.$index(receiver, index);
  31154. },
  31155. get$isEmpty(receiver) {
  31156. return this.get$length(receiver) === 0;
  31157. },
  31158. get$isNotEmpty(receiver) {
  31159. return !this.get$isEmpty(receiver);
  31160. },
  31161. get$first(receiver) {
  31162. if (this.get$length(receiver) === 0)
  31163. throw A.wrapException(A.IterableElementError_noElement());
  31164. return this.$index(receiver, 0);
  31165. },
  31166. get$last(receiver) {
  31167. if (this.get$length(receiver) === 0)
  31168. throw A.wrapException(A.IterableElementError_noElement());
  31169. return this.$index(receiver, this.get$length(receiver) - 1);
  31170. },
  31171. get$single(receiver) {
  31172. if (this.get$length(receiver) === 0)
  31173. throw A.wrapException(A.IterableElementError_noElement());
  31174. if (this.get$length(receiver) > 1)
  31175. throw A.wrapException(A.IterableElementError_tooMany());
  31176. return this.$index(receiver, 0);
  31177. },
  31178. contains$1(receiver, element) {
  31179. var i,
  31180. $length = this.get$length(receiver);
  31181. for (i = 0; i < $length; ++i) {
  31182. if (J.$eq$(this.$index(receiver, i), element))
  31183. return true;
  31184. if ($length !== this.get$length(receiver))
  31185. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31186. }
  31187. return false;
  31188. },
  31189. every$1(receiver, test) {
  31190. var i,
  31191. $length = this.get$length(receiver);
  31192. for (i = 0; i < $length; ++i) {
  31193. if (!test.call$1(this.$index(receiver, i)))
  31194. return false;
  31195. if ($length !== this.get$length(receiver))
  31196. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31197. }
  31198. return true;
  31199. },
  31200. any$1(receiver, test) {
  31201. var i,
  31202. $length = this.get$length(receiver);
  31203. for (i = 0; i < $length; ++i) {
  31204. if (test.call$1(this.$index(receiver, i)))
  31205. return true;
  31206. if ($length !== this.get$length(receiver))
  31207. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31208. }
  31209. return false;
  31210. },
  31211. lastWhere$2$orElse(receiver, test, orElse) {
  31212. var i, element,
  31213. $length = this.get$length(receiver);
  31214. for (i = $length - 1; i >= 0; --i) {
  31215. element = this.$index(receiver, i);
  31216. if (test.call$1(element))
  31217. return element;
  31218. if ($length !== this.get$length(receiver))
  31219. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  31220. }
  31221. if (orElse != null)
  31222. return orElse.call$0();
  31223. throw A.wrapException(A.IterableElementError_noElement());
  31224. },
  31225. join$1(receiver, separator) {
  31226. var t1;
  31227. if (this.get$length(receiver) === 0)
  31228. return "";
  31229. t1 = A.StringBuffer__writeAll("", receiver, separator);
  31230. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31231. },
  31232. join$0($receiver) {
  31233. return this.join$1($receiver, "");
  31234. },
  31235. where$1(receiver, test) {
  31236. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
  31237. },
  31238. map$1$1(receiver, f, $T) {
  31239. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  31240. },
  31241. expand$1$1(receiver, f, $T) {
  31242. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  31243. },
  31244. skip$1(receiver, count) {
  31245. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
  31246. },
  31247. take$1(receiver, count) {
  31248. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
  31249. },
  31250. toList$1$growable(receiver, growable) {
  31251. var t1, first, result, i, _this = this;
  31252. if (_this.get$isEmpty(receiver)) {
  31253. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
  31254. return t1;
  31255. }
  31256. first = _this.$index(receiver, 0);
  31257. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
  31258. for (i = 1; i < _this.get$length(receiver); ++i)
  31259. result[i] = _this.$index(receiver, i);
  31260. return result;
  31261. },
  31262. toList$0($receiver) {
  31263. return this.toList$1$growable($receiver, true);
  31264. },
  31265. toSet$0(receiver) {
  31266. var i,
  31267. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
  31268. for (i = 0; i < this.get$length(receiver); ++i)
  31269. result.add$1(0, this.$index(receiver, i));
  31270. return result;
  31271. },
  31272. add$1(receiver, element) {
  31273. var t1 = this.get$length(receiver);
  31274. this.set$length(receiver, t1 + 1);
  31275. this.$indexSet(receiver, t1, element);
  31276. },
  31277. cast$1$0(receiver, $R) {
  31278. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  31279. },
  31280. sort$1(receiver, compare) {
  31281. A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
  31282. },
  31283. getRange$2(receiver, start, end) {
  31284. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31285. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
  31286. },
  31287. fillRange$3(receiver, start, end, fill) {
  31288. var i,
  31289. value = fill == null ? A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill) : fill;
  31290. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31291. for (i = start; i < end; ++i)
  31292. this.$indexSet(receiver, i, value);
  31293. },
  31294. setRange$4(receiver, start, end, iterable, skipCount) {
  31295. var $length, otherStart, otherList, t1, i;
  31296. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  31297. $length = end - start;
  31298. if ($length === 0)
  31299. return;
  31300. A.RangeError_checkNotNegative(skipCount, "skipCount");
  31301. if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
  31302. otherStart = skipCount;
  31303. otherList = iterable;
  31304. } else {
  31305. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  31306. otherStart = 0;
  31307. }
  31308. t1 = J.getInterceptor$asx(otherList);
  31309. if (otherStart + $length > t1.get$length(otherList))
  31310. throw A.wrapException(A.IterableElementError_tooFew());
  31311. if (otherStart < start)
  31312. for (i = $length - 1; i >= 0; --i)
  31313. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  31314. else
  31315. for (i = 0; i < $length; ++i)
  31316. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  31317. },
  31318. get$reversed(receiver) {
  31319. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
  31320. },
  31321. toString$0(receiver) {
  31322. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  31323. }
  31324. };
  31325. A.MapBase.prototype = {};
  31326. A.MapBase_mapToString_closure.prototype = {
  31327. call$2(k, v) {
  31328. var t2,
  31329. t1 = this._box_0;
  31330. if (!t1.first)
  31331. this.result._contents += ", ";
  31332. t1.first = false;
  31333. t1 = this.result;
  31334. t2 = t1._contents += A.S(k);
  31335. t1._contents = t2 + ": ";
  31336. t1._contents += A.S(v);
  31337. },
  31338. $signature: 167
  31339. };
  31340. A.MapMixin.prototype = {
  31341. cast$2$0(_, RK, RV) {
  31342. var t1 = A._instanceType(this);
  31343. return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
  31344. },
  31345. forEach$1(_, action) {
  31346. var t1, t2, key, t3, _this = this;
  31347. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
  31348. key = t1.get$current(t1);
  31349. t3 = _this.$index(0, key);
  31350. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  31351. }
  31352. },
  31353. addAll$1(_, other) {
  31354. other.forEach$1(0, new A.MapMixin_addAll_closure(this));
  31355. },
  31356. get$entries(_) {
  31357. var _this = this;
  31358. return J.map$1$1$ax(_this.get$keys(_this), new A.MapMixin_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>"));
  31359. },
  31360. containsKey$1(key) {
  31361. return J.contains$1$asx(this.get$keys(this), key);
  31362. },
  31363. get$length(_) {
  31364. return J.get$length$asx(this.get$keys(this));
  31365. },
  31366. get$isEmpty(_) {
  31367. return J.get$isEmpty$asx(this.get$keys(this));
  31368. },
  31369. get$isNotEmpty(_) {
  31370. return J.get$isNotEmpty$asx(this.get$keys(this));
  31371. },
  31372. get$values(_) {
  31373. var t1 = A._instanceType(this);
  31374. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  31375. },
  31376. toString$0(_) {
  31377. return A.MapBase_mapToString(this);
  31378. },
  31379. $isMap: 1
  31380. };
  31381. A.MapMixin_addAll_closure.prototype = {
  31382. call$2(key, value) {
  31383. this.$this.$indexSet(0, key, value);
  31384. },
  31385. $signature() {
  31386. return A._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)");
  31387. }
  31388. };
  31389. A.MapMixin_entries_closure.prototype = {
  31390. call$1(key) {
  31391. var t1 = this.$this,
  31392. t2 = t1.$index(0, key);
  31393. if (t2 == null)
  31394. t2 = A._instanceType(t1)._eval$1("MapMixin.V")._as(t2);
  31395. t1 = A._instanceType(t1);
  31396. return new A.MapEntry(key, t2, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"));
  31397. },
  31398. $signature() {
  31399. return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
  31400. }
  31401. };
  31402. A.UnmodifiableMapBase.prototype = {};
  31403. A._MapBaseValueIterable.prototype = {
  31404. get$length(_) {
  31405. var t1 = this._map;
  31406. return t1.get$length(t1);
  31407. },
  31408. get$isEmpty(_) {
  31409. var t1 = this._map;
  31410. return t1.get$isEmpty(t1);
  31411. },
  31412. get$isNotEmpty(_) {
  31413. var t1 = this._map;
  31414. return t1.get$isNotEmpty(t1);
  31415. },
  31416. get$first(_) {
  31417. var t1 = this._map;
  31418. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  31419. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31420. },
  31421. get$single(_) {
  31422. var t1 = this._map;
  31423. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  31424. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31425. },
  31426. get$last(_) {
  31427. var t1 = this._map;
  31428. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  31429. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  31430. },
  31431. get$iterator(_) {
  31432. var t1 = this._map;
  31433. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
  31434. }
  31435. };
  31436. A._MapBaseValueIterator.prototype = {
  31437. moveNext$0() {
  31438. var _this = this,
  31439. t1 = _this._collection$_keys;
  31440. if (t1.moveNext$0()) {
  31441. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  31442. return true;
  31443. }
  31444. _this._collection$_current = null;
  31445. return false;
  31446. },
  31447. get$current(_) {
  31448. var t1 = this._collection$_current;
  31449. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  31450. }
  31451. };
  31452. A._UnmodifiableMapMixin.prototype = {
  31453. $indexSet(_, key, value) {
  31454. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31455. },
  31456. addAll$1(_, other) {
  31457. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31458. },
  31459. remove$1(_, key) {
  31460. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  31461. }
  31462. };
  31463. A.MapView.prototype = {
  31464. cast$2$0(_, RK, RV) {
  31465. return this._map.cast$2$0(0, RK, RV);
  31466. },
  31467. $index(_, key) {
  31468. return this._map.$index(0, key);
  31469. },
  31470. $indexSet(_, key, value) {
  31471. this._map.$indexSet(0, key, value);
  31472. },
  31473. addAll$1(_, other) {
  31474. this._map.addAll$1(0, other);
  31475. },
  31476. containsKey$1(key) {
  31477. return this._map.containsKey$1(key);
  31478. },
  31479. forEach$1(_, action) {
  31480. this._map.forEach$1(0, action);
  31481. },
  31482. get$isEmpty(_) {
  31483. var t1 = this._map;
  31484. return t1.get$isEmpty(t1);
  31485. },
  31486. get$isNotEmpty(_) {
  31487. var t1 = this._map;
  31488. return t1.get$isNotEmpty(t1);
  31489. },
  31490. get$length(_) {
  31491. var t1 = this._map;
  31492. return t1.get$length(t1);
  31493. },
  31494. get$keys(_) {
  31495. var t1 = this._map;
  31496. return t1.get$keys(t1);
  31497. },
  31498. remove$1(_, key) {
  31499. return this._map.remove$1(0, key);
  31500. },
  31501. toString$0(_) {
  31502. return this._map.toString$0(0);
  31503. },
  31504. get$values(_) {
  31505. var t1 = this._map;
  31506. return t1.get$values(t1);
  31507. },
  31508. get$entries(_) {
  31509. var t1 = this._map;
  31510. return t1.get$entries(t1);
  31511. },
  31512. $isMap: 1
  31513. };
  31514. A.UnmodifiableMapView.prototype = {
  31515. cast$2$0(_, RK, RV) {
  31516. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  31517. }
  31518. };
  31519. A.ListQueue.prototype = {
  31520. get$iterator(_) {
  31521. var _this = this;
  31522. return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
  31523. },
  31524. get$isEmpty(_) {
  31525. return this._collection$_head === this._collection$_tail;
  31526. },
  31527. get$length(_) {
  31528. return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
  31529. },
  31530. get$first(_) {
  31531. var _this = this,
  31532. t1 = _this._collection$_head;
  31533. if (t1 === _this._collection$_tail)
  31534. throw A.wrapException(A.IterableElementError_noElement());
  31535. t1 = _this._collection$_table[t1];
  31536. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31537. },
  31538. get$last(_) {
  31539. var _this = this,
  31540. t1 = _this._collection$_head,
  31541. t2 = _this._collection$_tail;
  31542. if (t1 === t2)
  31543. throw A.wrapException(A.IterableElementError_noElement());
  31544. t1 = _this._collection$_table;
  31545. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  31546. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31547. },
  31548. get$single(_) {
  31549. var t1, _this = this;
  31550. if (_this._collection$_head === _this._collection$_tail)
  31551. throw A.wrapException(A.IterableElementError_noElement());
  31552. if (_this.get$length(_this) > 1)
  31553. throw A.wrapException(A.IterableElementError_tooMany());
  31554. t1 = _this._collection$_table[_this._collection$_head];
  31555. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31556. },
  31557. elementAt$1(_, index) {
  31558. var t1, _this = this;
  31559. A.IndexError_check(index, _this.get$length(_this), _this, null, null);
  31560. t1 = _this._collection$_table;
  31561. t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
  31562. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31563. },
  31564. toList$1$growable(_, growable) {
  31565. var t1, list, t2, t3, i, t4, _this = this,
  31566. mask = _this._collection$_table.length - 1,
  31567. $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
  31568. if ($length === 0) {
  31569. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  31570. return t1;
  31571. }
  31572. t1 = _this.$ti._precomputed1;
  31573. list = A.List_List$filled($length, _this.get$first(_this), true, t1);
  31574. for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
  31575. t4 = t2[(t3 + i & mask) >>> 0];
  31576. list[i] = t4 == null ? t1._as(t4) : t4;
  31577. }
  31578. return list;
  31579. },
  31580. toList$0($receiver) {
  31581. return this.toList$1$growable($receiver, true);
  31582. },
  31583. addAll$1(_, elements) {
  31584. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
  31585. t1 = _this.$ti;
  31586. if (t1._eval$1("List<1>")._is(elements)) {
  31587. addCount = J.get$length$asx(elements);
  31588. $length = _this.get$length(_this);
  31589. t2 = $length + addCount;
  31590. t3 = _this._collection$_table;
  31591. t4 = t3.length;
  31592. if (t2 >= t4) {
  31593. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
  31594. _this._collection$_tail = _this._collection$_writeToList$1(newTable);
  31595. _this._collection$_table = newTable;
  31596. _this._collection$_head = 0;
  31597. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  31598. _this._collection$_tail += addCount;
  31599. } else {
  31600. t1 = _this._collection$_tail;
  31601. endSpace = t4 - t1;
  31602. if (addCount < endSpace) {
  31603. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  31604. _this._collection$_tail += addCount;
  31605. } else {
  31606. preSpace = addCount - endSpace;
  31607. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  31608. B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
  31609. _this._collection$_tail = preSpace;
  31610. }
  31611. }
  31612. ++_this._modificationCount;
  31613. } else
  31614. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31615. _this._add$1(t1.get$current(t1));
  31616. },
  31617. clear$0(_) {
  31618. var t2, t3, _this = this,
  31619. i = _this._collection$_head,
  31620. t1 = _this._collection$_tail;
  31621. if (i !== t1) {
  31622. for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  31623. t2[i] = null;
  31624. _this._collection$_head = _this._collection$_tail = 0;
  31625. ++_this._modificationCount;
  31626. }
  31627. },
  31628. toString$0(_) {
  31629. return A.IterableBase_iterableToFullString(this, "{", "}");
  31630. },
  31631. addFirst$1(value) {
  31632. var _this = this,
  31633. t1 = _this._collection$_head,
  31634. t2 = _this._collection$_table;
  31635. t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
  31636. t2[t1] = value;
  31637. if (t1 === _this._collection$_tail)
  31638. _this._collection$_grow$0();
  31639. ++_this._modificationCount;
  31640. },
  31641. removeFirst$0() {
  31642. var t2, result, _this = this,
  31643. t1 = _this._collection$_head;
  31644. if (t1 === _this._collection$_tail)
  31645. throw A.wrapException(A.IterableElementError_noElement());
  31646. ++_this._modificationCount;
  31647. t2 = _this._collection$_table;
  31648. result = t2[t1];
  31649. if (result == null)
  31650. result = _this.$ti._precomputed1._as(result);
  31651. t2[t1] = null;
  31652. _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
  31653. return result;
  31654. },
  31655. removeLast$0(_) {
  31656. var result, _this = this,
  31657. t1 = _this._collection$_head,
  31658. t2 = _this._collection$_tail;
  31659. if (t1 === t2)
  31660. throw A.wrapException(A.IterableElementError_noElement());
  31661. ++_this._modificationCount;
  31662. t1 = _this._collection$_table;
  31663. t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
  31664. result = t1[t2];
  31665. if (result == null)
  31666. result = _this.$ti._precomputed1._as(result);
  31667. t1[t2] = null;
  31668. return result;
  31669. },
  31670. _add$1(element) {
  31671. var _this = this,
  31672. t1 = _this._collection$_table,
  31673. t2 = _this._collection$_tail;
  31674. t1[t2] = element;
  31675. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  31676. _this._collection$_tail = t1;
  31677. if (_this._collection$_head === t1)
  31678. _this._collection$_grow$0();
  31679. ++_this._modificationCount;
  31680. },
  31681. _collection$_grow$0() {
  31682. var _this = this,
  31683. newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
  31684. t1 = _this._collection$_table,
  31685. t2 = _this._collection$_head,
  31686. split = t1.length - t2;
  31687. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  31688. B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
  31689. _this._collection$_head = 0;
  31690. _this._collection$_tail = _this._collection$_table.length;
  31691. _this._collection$_table = newTable;
  31692. },
  31693. _collection$_writeToList$1(target) {
  31694. var $length, firstPartSize, _this = this,
  31695. t1 = _this._collection$_head,
  31696. t2 = _this._collection$_tail,
  31697. t3 = _this._collection$_table;
  31698. if (t1 <= t2) {
  31699. $length = t2 - t1;
  31700. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  31701. return $length;
  31702. } else {
  31703. firstPartSize = t3.length - t1;
  31704. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  31705. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
  31706. return _this._collection$_tail + firstPartSize;
  31707. }
  31708. },
  31709. $isQueue: 1
  31710. };
  31711. A._ListQueueIterator.prototype = {
  31712. get$current(_) {
  31713. var t1 = this._collection$_current;
  31714. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31715. },
  31716. moveNext$0() {
  31717. var t2, _this = this,
  31718. t1 = _this._queue;
  31719. if (_this._modificationCount !== t1._modificationCount)
  31720. A.throwExpression(A.ConcurrentModificationError$(t1));
  31721. t2 = _this._collection$_position;
  31722. if (t2 === _this._collection$_end) {
  31723. _this._collection$_current = null;
  31724. return false;
  31725. }
  31726. t1 = t1._collection$_table;
  31727. _this._collection$_current = t1[t2];
  31728. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  31729. return true;
  31730. }
  31731. };
  31732. A.SetMixin.prototype = {
  31733. get$isEmpty(_) {
  31734. return this.get$length(this) === 0;
  31735. },
  31736. get$isNotEmpty(_) {
  31737. return this.get$length(this) !== 0;
  31738. },
  31739. addAll$1(_, elements) {
  31740. var t1;
  31741. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31742. this.add$1(0, t1.get$current(t1));
  31743. },
  31744. removeAll$1(elements) {
  31745. var t1;
  31746. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31747. this.remove$1(0, t1.get$current(t1));
  31748. },
  31749. difference$1(other) {
  31750. var t1, t2, element,
  31751. result = this.toSet$0(0);
  31752. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  31753. element = t1.get$current(t1);
  31754. if (t2.contains$1(0, element))
  31755. result.remove$1(0, element);
  31756. }
  31757. return result;
  31758. },
  31759. toList$1$growable(_, growable) {
  31760. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  31761. },
  31762. toList$0($receiver) {
  31763. return this.toList$1$growable($receiver, true);
  31764. },
  31765. map$1$1(_, f, $T) {
  31766. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  31767. },
  31768. get$single(_) {
  31769. var it, _this = this;
  31770. if (_this.get$length(_this) > 1)
  31771. throw A.wrapException(A.IterableElementError_tooMany());
  31772. it = _this.get$iterator(_this);
  31773. if (!it.moveNext$0())
  31774. throw A.wrapException(A.IterableElementError_noElement());
  31775. return it.get$current(it);
  31776. },
  31777. toString$0(_) {
  31778. return A.IterableBase_iterableToFullString(this, "{", "}");
  31779. },
  31780. where$1(_, f) {
  31781. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  31782. },
  31783. join$1(_, separator) {
  31784. var t1,
  31785. iterator = this.get$iterator(this);
  31786. if (!iterator.moveNext$0())
  31787. return "";
  31788. if (separator === "") {
  31789. t1 = "";
  31790. do
  31791. t1 += A.S(iterator.get$current(iterator));
  31792. while (iterator.moveNext$0());
  31793. } else {
  31794. t1 = "" + A.S(iterator.get$current(iterator));
  31795. for (; iterator.moveNext$0();)
  31796. t1 = t1 + separator + A.S(iterator.get$current(iterator));
  31797. }
  31798. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31799. },
  31800. join$0($receiver) {
  31801. return this.join$1($receiver, "");
  31802. },
  31803. any$1(_, test) {
  31804. var t1;
  31805. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  31806. if (test.call$1(t1.get$current(t1)))
  31807. return true;
  31808. return false;
  31809. },
  31810. take$1(_, n) {
  31811. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  31812. },
  31813. skip$1(_, n) {
  31814. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  31815. },
  31816. get$first(_) {
  31817. var it = this.get$iterator(this);
  31818. if (!it.moveNext$0())
  31819. throw A.wrapException(A.IterableElementError_noElement());
  31820. return it.get$current(it);
  31821. },
  31822. get$last(_) {
  31823. var result,
  31824. it = this.get$iterator(this);
  31825. if (!it.moveNext$0())
  31826. throw A.wrapException(A.IterableElementError_noElement());
  31827. do
  31828. result = it.get$current(it);
  31829. while (it.moveNext$0());
  31830. return result;
  31831. },
  31832. elementAt$1(_, index) {
  31833. var t1, elementIndex, element, _s5_ = "index";
  31834. A.checkNotNullable(index, _s5_, type$.int);
  31835. A.RangeError_checkNotNegative(index, _s5_);
  31836. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  31837. element = t1.get$current(t1);
  31838. if (index === elementIndex)
  31839. return element;
  31840. ++elementIndex;
  31841. }
  31842. throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, _s5_));
  31843. }
  31844. };
  31845. A.SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1};
  31846. A._SetBase.prototype = {
  31847. difference$1(other) {
  31848. var t1, t2, element,
  31849. result = this._newSet$0();
  31850. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  31851. element = t1.get$current(t1);
  31852. if (!t2.contains$1(0, element))
  31853. result.add$1(0, element);
  31854. }
  31855. return result;
  31856. },
  31857. intersection$1(other) {
  31858. var t1, t2, element,
  31859. result = this._newSet$0();
  31860. for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
  31861. element = t1.get$current(t1);
  31862. if (t2.containsKey$1(element))
  31863. result.add$1(0, element);
  31864. }
  31865. return result;
  31866. },
  31867. toSet$0(_) {
  31868. var t1 = this._newSet$0();
  31869. t1.addAll$1(0, this);
  31870. return t1;
  31871. },
  31872. $isEfficientLengthIterable: 1,
  31873. $isIterable: 1,
  31874. $isSet: 1
  31875. };
  31876. A._UnmodifiableSetMixin.prototype = {
  31877. add$1(_, value) {
  31878. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31879. },
  31880. addAll$1(_, elements) {
  31881. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31882. },
  31883. remove$1(_, value) {
  31884. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31885. }
  31886. };
  31887. A._UnmodifiableSet.prototype = {
  31888. _newSet$0() {
  31889. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  31890. },
  31891. contains$1(_, element) {
  31892. return this._map.containsKey$1(element);
  31893. },
  31894. get$iterator(_) {
  31895. var t1 = this._map;
  31896. return J.get$iterator$ax(t1.get$keys(t1));
  31897. },
  31898. get$length(_) {
  31899. var t1 = this._map;
  31900. return t1.get$length(t1);
  31901. }
  31902. };
  31903. A._ListBase_Object_ListMixin.prototype = {};
  31904. A._SetBase_Object_SetMixin.prototype = {};
  31905. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  31906. A.__SetBase_Object_SetMixin.prototype = {};
  31907. A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
  31908. A.Utf8Decoder__decoder_closure.prototype = {
  31909. call$0() {
  31910. var t1, exception;
  31911. try {
  31912. t1 = new TextDecoder("utf-8", {fatal: true});
  31913. return t1;
  31914. } catch (exception) {
  31915. }
  31916. return null;
  31917. },
  31918. $signature: 87
  31919. };
  31920. A.Utf8Decoder__decoderNonfatal_closure.prototype = {
  31921. call$0() {
  31922. var t1, exception;
  31923. try {
  31924. t1 = new TextDecoder("utf-8", {fatal: false});
  31925. return t1;
  31926. } catch (exception) {
  31927. }
  31928. return null;
  31929. },
  31930. $signature: 87
  31931. };
  31932. A.AsciiCodec.prototype = {
  31933. encode$1(source) {
  31934. return B.AsciiEncoder_127.convert$1(source);
  31935. },
  31936. get$encoder() {
  31937. return B.AsciiEncoder_127;
  31938. }
  31939. };
  31940. A._UnicodeSubsetEncoder.prototype = {
  31941. convert$1(string) {
  31942. var t1, i, codeUnit,
  31943. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  31944. result = new Uint8Array($length);
  31945. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  31946. codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
  31947. if ((codeUnit & t1) !== 0)
  31948. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  31949. result[i] = codeUnit;
  31950. }
  31951. return result;
  31952. }
  31953. };
  31954. A.AsciiEncoder.prototype = {};
  31955. A.Base64Codec.prototype = {
  31956. get$encoder() {
  31957. return B.C_Base64Encoder;
  31958. },
  31959. normalize$3(source, start, end) {
  31960. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  31961. _s31_ = "Invalid base64 encoding length ";
  31962. end = A.RangeError_checkValidRange(start, end, source.length);
  31963. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  31964. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  31965. i0 = i + 1;
  31966. char = B.JSString_methods._codeUnitAt$1(source, i);
  31967. if (char === 37) {
  31968. i1 = i0 + 2;
  31969. if (i1 <= end) {
  31970. digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
  31971. digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
  31972. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  31973. if (char0 === 37)
  31974. char0 = -1;
  31975. i0 = i1;
  31976. } else
  31977. char0 = -1;
  31978. } else
  31979. char0 = char;
  31980. if (0 <= char0 && char0 <= 127) {
  31981. value = inverseAlphabet[char0];
  31982. if (value >= 0) {
  31983. char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
  31984. if (char0 === char)
  31985. continue;
  31986. char = char0;
  31987. } else {
  31988. if (value === -1) {
  31989. if (firstPadding < 0) {
  31990. t1 = buffer == null ? null : buffer._contents.length;
  31991. if (t1 == null)
  31992. t1 = 0;
  31993. firstPadding = t1 + (i - sliceStart);
  31994. firstPaddingSourceIndex = i;
  31995. }
  31996. ++paddingCount;
  31997. if (char === 61)
  31998. continue;
  31999. }
  32000. char = char0;
  32001. }
  32002. if (value !== -2) {
  32003. if (buffer == null) {
  32004. buffer = new A.StringBuffer("");
  32005. t1 = buffer;
  32006. } else
  32007. t1 = buffer;
  32008. t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  32009. t1._contents = t2 + A.Primitives_stringFromCharCode(char);
  32010. sliceStart = i0;
  32011. continue;
  32012. }
  32013. }
  32014. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  32015. }
  32016. if (buffer != null) {
  32017. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  32018. t2 = t1.length;
  32019. if (firstPadding >= 0)
  32020. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  32021. else {
  32022. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  32023. if (endLength === 1)
  32024. throw A.wrapException(A.FormatException$(_s31_, source, end));
  32025. for (; endLength < 4;) {
  32026. t1 += "=";
  32027. buffer._contents = t1;
  32028. ++endLength;
  32029. }
  32030. }
  32031. t1 = buffer._contents;
  32032. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  32033. }
  32034. $length = end - start;
  32035. if (firstPadding >= 0)
  32036. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  32037. else {
  32038. endLength = B.JSInt_methods.$mod($length, 4);
  32039. if (endLength === 1)
  32040. throw A.wrapException(A.FormatException$(_s31_, source, end));
  32041. if (endLength > 1)
  32042. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  32043. }
  32044. return source;
  32045. }
  32046. };
  32047. A.Base64Encoder.prototype = {
  32048. convert$1(input) {
  32049. var t1 = J.getInterceptor$asx(input);
  32050. if (t1.get$isEmpty(input))
  32051. return "";
  32052. t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
  32053. t1.toString;
  32054. return A.String_String$fromCharCodes(t1, 0, null);
  32055. },
  32056. startChunkedConversion$1(sink) {
  32057. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  32058. }
  32059. };
  32060. A._Base64Encoder.prototype = {
  32061. createBuffer$1(bufferLength) {
  32062. return new Uint8Array(bufferLength);
  32063. },
  32064. encode$4(bytes, start, end, isLast) {
  32065. var output, _this = this,
  32066. byteCount = (_this._convert$_state & 3) + (end - start),
  32067. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  32068. bufferLength = fullChunks * 4;
  32069. if (isLast && byteCount - fullChunks * 3 > 0)
  32070. bufferLength += 4;
  32071. output = _this.createBuffer$1(bufferLength);
  32072. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  32073. if (bufferLength > 0)
  32074. return output;
  32075. return null;
  32076. }
  32077. };
  32078. A._Base64EncoderSink.prototype = {};
  32079. A._Utf8Base64EncoderSink.prototype = {
  32080. _convert$_add$4(source, start, end, isLast) {
  32081. var buffer = this._encoder.encode$4(source, start, end, isLast);
  32082. if (buffer != null)
  32083. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  32084. }
  32085. };
  32086. A.ByteConversionSink.prototype = {};
  32087. A.ByteConversionSinkBase.prototype = {};
  32088. A.ChunkedConversionSink.prototype = {};
  32089. A.Codec.prototype = {
  32090. encode$1(input) {
  32091. return this.get$encoder().convert$1(input);
  32092. }
  32093. };
  32094. A.Converter.prototype = {};
  32095. A.Encoding.prototype = {};
  32096. A.JsonUnsupportedObjectError.prototype = {
  32097. toString$0(_) {
  32098. var safeString = A.Error_safeToString(this.unsupportedObject);
  32099. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  32100. }
  32101. };
  32102. A.JsonCyclicError.prototype = {
  32103. toString$0(_) {
  32104. return "Cyclic error in JSON stringify";
  32105. }
  32106. };
  32107. A.JsonCodec.prototype = {
  32108. encode$2$toEncodable(value, toEncodable) {
  32109. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  32110. return t1;
  32111. },
  32112. get$encoder() {
  32113. return B.JsonEncoder_null;
  32114. }
  32115. };
  32116. A.JsonEncoder.prototype = {
  32117. convert$1(object) {
  32118. var t1,
  32119. output = new A.StringBuffer(""),
  32120. stringifier = A._JsonStringStringifier$(output, this._toEncodable);
  32121. stringifier.writeObject$1(object);
  32122. t1 = output._contents;
  32123. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32124. }
  32125. };
  32126. A._JsonStringifier.prototype = {
  32127. writeStringContent$1(s) {
  32128. var offset, i, charCode, t1, t2, _this = this,
  32129. $length = s.length;
  32130. for (offset = 0, i = 0; i < $length; ++i) {
  32131. charCode = B.JSString_methods._codeUnitAt$1(s, i);
  32132. if (charCode > 92) {
  32133. if (charCode >= 55296) {
  32134. t1 = charCode & 64512;
  32135. if (t1 === 55296) {
  32136. t2 = i + 1;
  32137. t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
  32138. } else
  32139. t2 = false;
  32140. if (!t2)
  32141. if (t1 === 56320) {
  32142. t1 = i - 1;
  32143. t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
  32144. } else
  32145. t1 = false;
  32146. else
  32147. t1 = true;
  32148. if (t1) {
  32149. if (i > offset)
  32150. _this.writeStringSlice$3(s, offset, i);
  32151. offset = i + 1;
  32152. _this.writeCharCode$1(92);
  32153. _this.writeCharCode$1(117);
  32154. _this.writeCharCode$1(100);
  32155. t1 = charCode >>> 8 & 15;
  32156. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32157. t1 = charCode >>> 4 & 15;
  32158. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32159. t1 = charCode & 15;
  32160. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32161. }
  32162. }
  32163. continue;
  32164. }
  32165. if (charCode < 32) {
  32166. if (i > offset)
  32167. _this.writeStringSlice$3(s, offset, i);
  32168. offset = i + 1;
  32169. _this.writeCharCode$1(92);
  32170. switch (charCode) {
  32171. case 8:
  32172. _this.writeCharCode$1(98);
  32173. break;
  32174. case 9:
  32175. _this.writeCharCode$1(116);
  32176. break;
  32177. case 10:
  32178. _this.writeCharCode$1(110);
  32179. break;
  32180. case 12:
  32181. _this.writeCharCode$1(102);
  32182. break;
  32183. case 13:
  32184. _this.writeCharCode$1(114);
  32185. break;
  32186. default:
  32187. _this.writeCharCode$1(117);
  32188. _this.writeCharCode$1(48);
  32189. _this.writeCharCode$1(48);
  32190. t1 = charCode >>> 4 & 15;
  32191. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32192. t1 = charCode & 15;
  32193. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  32194. break;
  32195. }
  32196. } else if (charCode === 34 || charCode === 92) {
  32197. if (i > offset)
  32198. _this.writeStringSlice$3(s, offset, i);
  32199. offset = i + 1;
  32200. _this.writeCharCode$1(92);
  32201. _this.writeCharCode$1(charCode);
  32202. }
  32203. }
  32204. if (offset === 0)
  32205. _this.writeString$1(s);
  32206. else if (offset < $length)
  32207. _this.writeStringSlice$3(s, offset, $length);
  32208. },
  32209. _checkCycle$1(object) {
  32210. var t1, t2, i, t3;
  32211. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  32212. t3 = t1[i];
  32213. if (object == null ? t3 == null : object === t3)
  32214. throw A.wrapException(new A.JsonCyclicError(object, null));
  32215. }
  32216. t1.push(object);
  32217. },
  32218. writeObject$1(object) {
  32219. var customJson, e, t1, exception, _this = this;
  32220. if (_this.writeJsonValue$1(object))
  32221. return;
  32222. _this._checkCycle$1(object);
  32223. try {
  32224. customJson = _this._toEncodable.call$1(object);
  32225. if (!_this.writeJsonValue$1(customJson)) {
  32226. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  32227. throw A.wrapException(t1);
  32228. }
  32229. _this._seen.pop();
  32230. } catch (exception) {
  32231. e = A.unwrapException(exception);
  32232. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  32233. throw A.wrapException(t1);
  32234. }
  32235. },
  32236. writeJsonValue$1(object) {
  32237. var success, _this = this;
  32238. if (typeof object == "number") {
  32239. if (!isFinite(object))
  32240. return false;
  32241. _this.writeNumber$1(object);
  32242. return true;
  32243. } else if (object === true) {
  32244. _this.writeString$1("true");
  32245. return true;
  32246. } else if (object === false) {
  32247. _this.writeString$1("false");
  32248. return true;
  32249. } else if (object == null) {
  32250. _this.writeString$1("null");
  32251. return true;
  32252. } else if (typeof object == "string") {
  32253. _this.writeString$1('"');
  32254. _this.writeStringContent$1(object);
  32255. _this.writeString$1('"');
  32256. return true;
  32257. } else if (type$.List_dynamic._is(object)) {
  32258. _this._checkCycle$1(object);
  32259. _this.writeList$1(object);
  32260. _this._seen.pop();
  32261. return true;
  32262. } else if (type$.Map_dynamic_dynamic._is(object)) {
  32263. _this._checkCycle$1(object);
  32264. success = _this.writeMap$1(object);
  32265. _this._seen.pop();
  32266. return success;
  32267. } else
  32268. return false;
  32269. },
  32270. writeList$1(list) {
  32271. var t1, i, _this = this;
  32272. _this.writeString$1("[");
  32273. t1 = J.getInterceptor$asx(list);
  32274. if (t1.get$isNotEmpty(list)) {
  32275. _this.writeObject$1(t1.$index(list, 0));
  32276. for (i = 1; i < t1.get$length(list); ++i) {
  32277. _this.writeString$1(",");
  32278. _this.writeObject$1(t1.$index(list, i));
  32279. }
  32280. }
  32281. _this.writeString$1("]");
  32282. },
  32283. writeMap$1(map) {
  32284. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  32285. if (map.get$isEmpty(map)) {
  32286. _this.writeString$1("{}");
  32287. return true;
  32288. }
  32289. t1 = map.get$length(map) * 2;
  32290. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  32291. i = _box_0.i = 0;
  32292. _box_0.allStringKeys = true;
  32293. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  32294. if (!_box_0.allStringKeys)
  32295. return false;
  32296. _this.writeString$1("{");
  32297. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  32298. _this.writeString$1(separator);
  32299. _this.writeStringContent$1(A._asString(keyValueList[i]));
  32300. _this.writeString$1('":');
  32301. _this.writeObject$1(keyValueList[i + 1]);
  32302. }
  32303. _this.writeString$1("}");
  32304. return true;
  32305. }
  32306. };
  32307. A._JsonStringifier_writeMap_closure.prototype = {
  32308. call$2(key, value) {
  32309. var t1, t2, t3, i;
  32310. if (typeof key != "string")
  32311. this._box_0.allStringKeys = false;
  32312. t1 = this.keyValueList;
  32313. t2 = this._box_0;
  32314. t3 = t2.i;
  32315. i = t2.i = t3 + 1;
  32316. t1[t3] = key;
  32317. t2.i = i + 1;
  32318. t1[i] = value;
  32319. },
  32320. $signature: 167
  32321. };
  32322. A._JsonStringStringifier.prototype = {
  32323. get$_partialResult() {
  32324. var t1 = this._sink._contents;
  32325. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32326. },
  32327. writeNumber$1(number) {
  32328. this._sink._contents += B.JSNumber_methods.toString$0(number);
  32329. },
  32330. writeString$1(string) {
  32331. this._sink._contents += string;
  32332. },
  32333. writeStringSlice$3(string, start, end) {
  32334. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  32335. },
  32336. writeCharCode$1(charCode) {
  32337. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  32338. }
  32339. };
  32340. A.StringConversionSinkBase.prototype = {};
  32341. A.StringConversionSinkMixin.prototype = {};
  32342. A._StringSinkConversionSink.prototype = {
  32343. close$0(_) {
  32344. }
  32345. };
  32346. A._StringCallbackSink.prototype = {
  32347. close$0(_) {
  32348. var t1 = this._stringSink,
  32349. t2 = t1._contents;
  32350. t1._contents = "";
  32351. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  32352. },
  32353. asUtf8Sink$1(allowMalformed) {
  32354. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  32355. }
  32356. };
  32357. A._Utf8StringSinkAdapter.prototype = {
  32358. close$0(_) {
  32359. this._decoder.flush$1(this._stringSink);
  32360. this._sink.close$0(0);
  32361. },
  32362. add$1(_, chunk) {
  32363. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  32364. },
  32365. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  32366. this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
  32367. if (isLast)
  32368. this.close$0(0);
  32369. }
  32370. };
  32371. A.Utf8Codec.prototype = {
  32372. get$encoder() {
  32373. return B.C_Utf8Encoder;
  32374. }
  32375. };
  32376. A.Utf8Encoder.prototype = {
  32377. convert$1(string) {
  32378. var t1, t2, encoder,
  32379. end = A.RangeError_checkValidRange(0, null, string.length),
  32380. $length = end - 0;
  32381. if ($length === 0)
  32382. return new Uint8Array(0);
  32383. t1 = $length * 3;
  32384. t2 = new Uint8Array(t1);
  32385. encoder = new A._Utf8Encoder(t2);
  32386. if (encoder._fillBuffer$3(string, 0, end) !== end) {
  32387. B.JSString_methods.codeUnitAt$1(string, end - 1);
  32388. encoder._writeReplacementCharacter$0();
  32389. }
  32390. return new Uint8Array(t2.subarray(0, A._checkValidRange(0, encoder._bufferIndex, t1)));
  32391. }
  32392. };
  32393. A._Utf8Encoder.prototype = {
  32394. _writeReplacementCharacter$0() {
  32395. var _this = this,
  32396. t1 = _this._convert$_buffer,
  32397. t2 = _this._bufferIndex,
  32398. t3 = _this._bufferIndex = t2 + 1;
  32399. t1[t2] = 239;
  32400. t2 = _this._bufferIndex = t3 + 1;
  32401. t1[t3] = 191;
  32402. _this._bufferIndex = t2 + 1;
  32403. t1[t2] = 189;
  32404. },
  32405. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  32406. var rune, t1, t2, t3, _this = this;
  32407. if ((nextCodeUnit & 64512) === 56320) {
  32408. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  32409. t1 = _this._convert$_buffer;
  32410. t2 = _this._bufferIndex;
  32411. t3 = _this._bufferIndex = t2 + 1;
  32412. t1[t2] = rune >>> 18 | 240;
  32413. t2 = _this._bufferIndex = t3 + 1;
  32414. t1[t3] = rune >>> 12 & 63 | 128;
  32415. t3 = _this._bufferIndex = t2 + 1;
  32416. t1[t2] = rune >>> 6 & 63 | 128;
  32417. _this._bufferIndex = t3 + 1;
  32418. t1[t3] = rune & 63 | 128;
  32419. return true;
  32420. } else {
  32421. _this._writeReplacementCharacter$0();
  32422. return false;
  32423. }
  32424. },
  32425. _fillBuffer$3(str, start, end) {
  32426. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  32427. if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
  32428. --end;
  32429. for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  32430. codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
  32431. if (codeUnit <= 127) {
  32432. t3 = _this._bufferIndex;
  32433. if (t3 >= t2)
  32434. break;
  32435. _this._bufferIndex = t3 + 1;
  32436. t1[t3] = codeUnit;
  32437. } else {
  32438. t3 = codeUnit & 64512;
  32439. if (t3 === 55296) {
  32440. if (_this._bufferIndex + 4 > t2)
  32441. break;
  32442. stringIndex0 = stringIndex + 1;
  32443. if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
  32444. stringIndex = stringIndex0;
  32445. } else if (t3 === 56320) {
  32446. if (_this._bufferIndex + 3 > t2)
  32447. break;
  32448. _this._writeReplacementCharacter$0();
  32449. } else if (codeUnit <= 2047) {
  32450. t3 = _this._bufferIndex;
  32451. t4 = t3 + 1;
  32452. if (t4 >= t2)
  32453. break;
  32454. _this._bufferIndex = t4;
  32455. t1[t3] = codeUnit >>> 6 | 192;
  32456. _this._bufferIndex = t4 + 1;
  32457. t1[t4] = codeUnit & 63 | 128;
  32458. } else {
  32459. t3 = _this._bufferIndex;
  32460. if (t3 + 2 >= t2)
  32461. break;
  32462. t4 = _this._bufferIndex = t3 + 1;
  32463. t1[t3] = codeUnit >>> 12 | 224;
  32464. t3 = _this._bufferIndex = t4 + 1;
  32465. t1[t4] = codeUnit >>> 6 & 63 | 128;
  32466. _this._bufferIndex = t3 + 1;
  32467. t1[t3] = codeUnit & 63 | 128;
  32468. }
  32469. }
  32470. }
  32471. return stringIndex;
  32472. }
  32473. };
  32474. A.Utf8Decoder.prototype = {
  32475. convert$1(codeUnits) {
  32476. var t1 = this._allowMalformed,
  32477. result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
  32478. if (result != null)
  32479. return result;
  32480. return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
  32481. }
  32482. };
  32483. A._Utf8Decoder.prototype = {
  32484. convertGeneral$4(codeUnits, start, maybeEnd, single) {
  32485. var bytes, errorOffset, result, t1, message, _this = this,
  32486. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  32487. if (start === end)
  32488. return "";
  32489. if (type$.Uint8List._is(codeUnits)) {
  32490. bytes = codeUnits;
  32491. errorOffset = 0;
  32492. } else {
  32493. bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
  32494. end -= start;
  32495. errorOffset = start;
  32496. start = 0;
  32497. }
  32498. result = _this._convertRecursive$4(bytes, start, end, single);
  32499. t1 = _this._convert$_state;
  32500. if ((t1 & 1) !== 0) {
  32501. message = A._Utf8Decoder_errorDescription(t1);
  32502. _this._convert$_state = 0;
  32503. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  32504. }
  32505. return result;
  32506. },
  32507. _convertRecursive$4(bytes, start, end, single) {
  32508. var mid, s1, _this = this;
  32509. if (end - start > 1000) {
  32510. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  32511. s1 = _this._convertRecursive$4(bytes, start, mid, false);
  32512. if ((_this._convert$_state & 1) !== 0)
  32513. return s1;
  32514. return s1 + _this._convertRecursive$4(bytes, mid, end, single);
  32515. }
  32516. return _this.decodeGeneral$4(bytes, start, end, single);
  32517. },
  32518. flush$1(sink) {
  32519. var state = this._convert$_state;
  32520. this._convert$_state = 0;
  32521. if (state <= 32)
  32522. return;
  32523. if (this.allowMalformed)
  32524. sink._contents += A.Primitives_stringFromCharCode(65533);
  32525. else
  32526. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  32527. },
  32528. decodeGeneral$4(bytes, start, end, single) {
  32529. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  32530. state = _this._convert$_state,
  32531. char = _this._charOrIndex,
  32532. buffer = new A.StringBuffer(""),
  32533. i = start + 1,
  32534. byte = bytes[start];
  32535. $label0$0:
  32536. for (t1 = _this.allowMalformed; true;) {
  32537. for (; true; i = i0) {
  32538. type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
  32539. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  32540. state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type);
  32541. if (state === 0) {
  32542. buffer._contents += A.Primitives_stringFromCharCode(char);
  32543. if (i === end)
  32544. break $label0$0;
  32545. break;
  32546. } else if ((state & 1) !== 0) {
  32547. if (t1)
  32548. switch (state) {
  32549. case 69:
  32550. case 67:
  32551. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32552. break;
  32553. case 65:
  32554. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32555. --i;
  32556. break;
  32557. default:
  32558. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32559. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  32560. break;
  32561. }
  32562. else {
  32563. _this._convert$_state = state;
  32564. _this._charOrIndex = i - 1;
  32565. return "";
  32566. }
  32567. state = 0;
  32568. }
  32569. if (i === end)
  32570. break $label0$0;
  32571. i0 = i + 1;
  32572. byte = bytes[i];
  32573. }
  32574. i0 = i + 1;
  32575. byte = bytes[i];
  32576. if (byte < 128) {
  32577. while (true) {
  32578. if (!(i0 < end)) {
  32579. markEnd = end;
  32580. break;
  32581. }
  32582. i1 = i0 + 1;
  32583. byte = bytes[i0];
  32584. if (byte >= 128) {
  32585. markEnd = i1 - 1;
  32586. i0 = i1;
  32587. break;
  32588. }
  32589. i0 = i1;
  32590. }
  32591. if (markEnd - i < 20)
  32592. for (m = i; m < markEnd; ++m)
  32593. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  32594. else
  32595. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  32596. if (markEnd === end)
  32597. break $label0$0;
  32598. i = i0;
  32599. } else
  32600. i = i0;
  32601. }
  32602. if (single && state > 32)
  32603. if (t1)
  32604. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32605. else {
  32606. _this._convert$_state = 77;
  32607. _this._charOrIndex = end;
  32608. return "";
  32609. }
  32610. _this._convert$_state = state;
  32611. _this._charOrIndex = char;
  32612. t1 = buffer._contents;
  32613. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32614. }
  32615. };
  32616. A.NoSuchMethodError_toString_closure.prototype = {
  32617. call$2(key, value) {
  32618. var t1 = this.sb,
  32619. t2 = this._box_0,
  32620. t3 = t1._contents += t2.comma;
  32621. t3 += key.__internal$_name;
  32622. t1._contents = t3;
  32623. t1._contents = t3 + ": ";
  32624. t1._contents += A.Error_safeToString(value);
  32625. t2.comma = ", ";
  32626. },
  32627. $signature: 522
  32628. };
  32629. A.DateTime.prototype = {
  32630. $eq(_, other) {
  32631. if (other == null)
  32632. return false;
  32633. return other instanceof A.DateTime && this._value === other._value && true;
  32634. },
  32635. compareTo$1(_, other) {
  32636. return B.JSInt_methods.compareTo$1(this._value, other._value);
  32637. },
  32638. get$hashCode(_) {
  32639. var t1 = this._value;
  32640. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  32641. },
  32642. toString$0(_) {
  32643. var _this = this,
  32644. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  32645. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  32646. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  32647. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  32648. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  32649. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  32650. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  32651. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  32652. },
  32653. $isComparable: 1
  32654. };
  32655. A.Duration.prototype = {
  32656. $eq(_, other) {
  32657. if (other == null)
  32658. return false;
  32659. return other instanceof A.Duration && this._duration === other._duration;
  32660. },
  32661. get$hashCode(_) {
  32662. return B.JSInt_methods.get$hashCode(this._duration);
  32663. },
  32664. compareTo$1(_, other) {
  32665. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  32666. },
  32667. toString$0(_) {
  32668. var minutes, minutesPadding, seconds, secondsPadding,
  32669. microseconds = this._duration,
  32670. sign = microseconds < 0 ? "-" : "",
  32671. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
  32672. microseconds %= 3600000000;
  32673. if (microseconds < 0)
  32674. microseconds = -microseconds;
  32675. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  32676. microseconds %= 60000000;
  32677. minutesPadding = minutes < 10 ? "0" : "";
  32678. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  32679. secondsPadding = seconds < 10 ? "0" : "";
  32680. return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  32681. },
  32682. $isComparable: 1
  32683. };
  32684. A._Enum.prototype = {
  32685. toString$0(_) {
  32686. return this._enumToString$0();
  32687. }
  32688. };
  32689. A.Error.prototype = {
  32690. get$stackTrace() {
  32691. return A.getTraceFromException(this.$thrownJsError);
  32692. }
  32693. };
  32694. A.AssertionError.prototype = {
  32695. toString$0(_) {
  32696. var t1 = this.message;
  32697. if (t1 != null)
  32698. return "Assertion failed: " + A.Error_safeToString(t1);
  32699. return "Assertion failed";
  32700. },
  32701. get$message(receiver) {
  32702. return this.message;
  32703. }
  32704. };
  32705. A.TypeError.prototype = {};
  32706. A.NullThrownError.prototype = {
  32707. toString$0(_) {
  32708. return "Throw of null.";
  32709. },
  32710. $isTypeError: 1
  32711. };
  32712. A.ArgumentError.prototype = {
  32713. get$_errorName() {
  32714. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  32715. },
  32716. get$_errorExplanation() {
  32717. return "";
  32718. },
  32719. toString$0(_) {
  32720. var _this = this,
  32721. $name = _this.name,
  32722. nameString = $name == null ? "" : " (" + $name + ")",
  32723. message = _this.message,
  32724. messageString = message == null ? "" : ": " + A.S(message),
  32725. prefix = _this.get$_errorName() + nameString + messageString;
  32726. if (!_this._hasValue)
  32727. return prefix;
  32728. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  32729. },
  32730. get$invalidValue() {
  32731. return this.invalidValue;
  32732. },
  32733. get$message(receiver) {
  32734. return this.message;
  32735. }
  32736. };
  32737. A.RangeError.prototype = {
  32738. get$invalidValue() {
  32739. return this.invalidValue;
  32740. },
  32741. get$_errorName() {
  32742. return "RangeError";
  32743. },
  32744. get$_errorExplanation() {
  32745. var explanation,
  32746. start = this.start,
  32747. end = this.end;
  32748. if (start == null)
  32749. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  32750. else if (end == null)
  32751. explanation = ": Not greater than or equal to " + A.S(start);
  32752. else if (end > start)
  32753. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  32754. else
  32755. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  32756. return explanation;
  32757. }
  32758. };
  32759. A.IndexError.prototype = {
  32760. get$invalidValue() {
  32761. return this.invalidValue;
  32762. },
  32763. get$_errorName() {
  32764. return "RangeError";
  32765. },
  32766. get$_errorExplanation() {
  32767. if (this.invalidValue < 0)
  32768. return ": index must not be negative";
  32769. var t1 = this.length;
  32770. if (t1 === 0)
  32771. return ": no indices are valid";
  32772. return ": index should be less than " + t1;
  32773. },
  32774. $isRangeError: 1,
  32775. get$length(receiver) {
  32776. return this.length;
  32777. }
  32778. };
  32779. A.NoSuchMethodError.prototype = {
  32780. toString$0(_) {
  32781. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  32782. sb = new A.StringBuffer("");
  32783. _box_0.comma = "";
  32784. $arguments = _this._core$_arguments;
  32785. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  32786. argument = $arguments[_i];
  32787. sb._contents = t2 + t3;
  32788. t2 = sb._contents += A.Error_safeToString(argument);
  32789. _box_0.comma = ", ";
  32790. }
  32791. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  32792. receiverText = A.Error_safeToString(_this._core$_receiver);
  32793. actualParameters = sb.toString$0(0);
  32794. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  32795. }
  32796. };
  32797. A.UnsupportedError.prototype = {
  32798. toString$0(_) {
  32799. return "Unsupported operation: " + this.message;
  32800. },
  32801. get$message(receiver) {
  32802. return this.message;
  32803. }
  32804. };
  32805. A.UnimplementedError.prototype = {
  32806. toString$0(_) {
  32807. return "UnimplementedError: " + this.message;
  32808. },
  32809. get$message(receiver) {
  32810. return this.message;
  32811. }
  32812. };
  32813. A.StateError.prototype = {
  32814. toString$0(_) {
  32815. return "Bad state: " + this.message;
  32816. },
  32817. get$message(receiver) {
  32818. return this.message;
  32819. }
  32820. };
  32821. A.ConcurrentModificationError.prototype = {
  32822. toString$0(_) {
  32823. var t1 = this.modifiedObject;
  32824. if (t1 == null)
  32825. return "Concurrent modification during iteration.";
  32826. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  32827. }
  32828. };
  32829. A.OutOfMemoryError.prototype = {
  32830. toString$0(_) {
  32831. return "Out of Memory";
  32832. },
  32833. get$stackTrace() {
  32834. return null;
  32835. },
  32836. $isError: 1
  32837. };
  32838. A.StackOverflowError.prototype = {
  32839. toString$0(_) {
  32840. return "Stack Overflow";
  32841. },
  32842. get$stackTrace() {
  32843. return null;
  32844. },
  32845. $isError: 1
  32846. };
  32847. A.CyclicInitializationError.prototype = {
  32848. toString$0(_) {
  32849. return "Reading static variable '" + this.variableName + "' during its initialization";
  32850. }
  32851. };
  32852. A._Exception.prototype = {
  32853. toString$0(_) {
  32854. return "Exception: " + this.message;
  32855. },
  32856. $isException: 1,
  32857. get$message(receiver) {
  32858. return this.message;
  32859. }
  32860. };
  32861. A.FormatException.prototype = {
  32862. toString$0(_) {
  32863. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  32864. message = this.message,
  32865. report = "" !== message ? "FormatException: " + message : "FormatException",
  32866. offset = this.offset,
  32867. source = this.source;
  32868. if (typeof source == "string") {
  32869. if (offset != null)
  32870. t1 = offset < 0 || offset > source.length;
  32871. else
  32872. t1 = false;
  32873. if (t1)
  32874. offset = null;
  32875. if (offset == null) {
  32876. if (source.length > 78)
  32877. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  32878. return report + "\n" + source;
  32879. }
  32880. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  32881. char = B.JSString_methods._codeUnitAt$1(source, i);
  32882. if (char === 10) {
  32883. if (lineStart !== i || !previousCharWasCR)
  32884. ++lineNum;
  32885. lineStart = i + 1;
  32886. previousCharWasCR = false;
  32887. } else if (char === 13) {
  32888. ++lineNum;
  32889. lineStart = i + 1;
  32890. previousCharWasCR = true;
  32891. }
  32892. }
  32893. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  32894. lineEnd = source.length;
  32895. for (i = offset; i < lineEnd; ++i) {
  32896. char = B.JSString_methods.codeUnitAt$1(source, i);
  32897. if (char === 10 || char === 13) {
  32898. lineEnd = i;
  32899. break;
  32900. }
  32901. }
  32902. if (lineEnd - lineStart > 78)
  32903. if (offset - lineStart < 75) {
  32904. end = lineStart + 75;
  32905. start = lineStart;
  32906. prefix = "";
  32907. postfix = "...";
  32908. } else {
  32909. if (lineEnd - offset < 75) {
  32910. start = lineEnd - 75;
  32911. end = lineEnd;
  32912. postfix = "";
  32913. } else {
  32914. start = offset - 36;
  32915. end = offset + 36;
  32916. postfix = "...";
  32917. }
  32918. prefix = "...";
  32919. }
  32920. else {
  32921. end = lineEnd;
  32922. start = lineStart;
  32923. prefix = "";
  32924. postfix = "";
  32925. }
  32926. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  32927. } else
  32928. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  32929. },
  32930. $isException: 1,
  32931. get$message(receiver) {
  32932. return this.message;
  32933. }
  32934. };
  32935. A.Iterable.prototype = {
  32936. cast$1$0(_, $R) {
  32937. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  32938. },
  32939. followedBy$1(_, other) {
  32940. var _this = this,
  32941. t1 = A._instanceType(_this);
  32942. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  32943. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  32944. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  32945. },
  32946. map$1$1(_, toElement, $T) {
  32947. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  32948. },
  32949. where$1(_, test) {
  32950. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  32951. },
  32952. expand$1$1(_, toElements, $T) {
  32953. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32954. },
  32955. contains$1(_, element) {
  32956. var t1;
  32957. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32958. if (J.$eq$(t1.get$current(t1), element))
  32959. return true;
  32960. return false;
  32961. },
  32962. fold$1$2(_, initialValue, combine) {
  32963. var t1, value;
  32964. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  32965. value = combine.call$2(value, t1.get$current(t1));
  32966. return value;
  32967. },
  32968. fold$2($receiver, initialValue, combine) {
  32969. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  32970. },
  32971. join$1(_, separator) {
  32972. var t1,
  32973. iterator = this.get$iterator(this);
  32974. if (!iterator.moveNext$0())
  32975. return "";
  32976. if (separator === "") {
  32977. t1 = "";
  32978. do
  32979. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  32980. while (iterator.moveNext$0());
  32981. } else {
  32982. t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
  32983. for (; iterator.moveNext$0();)
  32984. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  32985. }
  32986. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32987. },
  32988. join$0($receiver) {
  32989. return this.join$1($receiver, "");
  32990. },
  32991. any$1(_, test) {
  32992. var t1;
  32993. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32994. if (test.call$1(t1.get$current(t1)))
  32995. return true;
  32996. return false;
  32997. },
  32998. toList$1$growable(_, growable) {
  32999. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  33000. },
  33001. toList$0($receiver) {
  33002. return this.toList$1$growable($receiver, true);
  33003. },
  33004. toSet$0(_) {
  33005. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  33006. },
  33007. get$length(_) {
  33008. var count,
  33009. it = this.get$iterator(this);
  33010. for (count = 0; it.moveNext$0();)
  33011. ++count;
  33012. return count;
  33013. },
  33014. get$isEmpty(_) {
  33015. return !this.get$iterator(this).moveNext$0();
  33016. },
  33017. get$isNotEmpty(_) {
  33018. return !this.get$isEmpty(this);
  33019. },
  33020. take$1(_, count) {
  33021. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  33022. },
  33023. skip$1(_, count) {
  33024. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  33025. },
  33026. skipWhile$1(_, test) {
  33027. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  33028. },
  33029. get$first(_) {
  33030. var it = this.get$iterator(this);
  33031. if (!it.moveNext$0())
  33032. throw A.wrapException(A.IterableElementError_noElement());
  33033. return it.get$current(it);
  33034. },
  33035. get$last(_) {
  33036. var result,
  33037. it = this.get$iterator(this);
  33038. if (!it.moveNext$0())
  33039. throw A.wrapException(A.IterableElementError_noElement());
  33040. do
  33041. result = it.get$current(it);
  33042. while (it.moveNext$0());
  33043. return result;
  33044. },
  33045. get$single(_) {
  33046. var result,
  33047. it = this.get$iterator(this);
  33048. if (!it.moveNext$0())
  33049. throw A.wrapException(A.IterableElementError_noElement());
  33050. result = it.get$current(it);
  33051. if (it.moveNext$0())
  33052. throw A.wrapException(A.IterableElementError_tooMany());
  33053. return result;
  33054. },
  33055. elementAt$1(_, index) {
  33056. var t1, elementIndex, element;
  33057. A.RangeError_checkNotNegative(index, "index");
  33058. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  33059. element = t1.get$current(t1);
  33060. if (index === elementIndex)
  33061. return element;
  33062. ++elementIndex;
  33063. }
  33064. throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, "index"));
  33065. },
  33066. toString$0(_) {
  33067. return A.IterableBase_iterableToShortString(this, "(", ")");
  33068. }
  33069. };
  33070. A._GeneratorIterable.prototype = {
  33071. elementAt$1(_, index) {
  33072. A.IndexError_check(index, this.length, this, null, null);
  33073. return this._generator.call$1(index);
  33074. },
  33075. get$length(receiver) {
  33076. return this.length;
  33077. }
  33078. };
  33079. A.Iterator.prototype = {};
  33080. A.MapEntry.prototype = {
  33081. toString$0(_) {
  33082. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  33083. }
  33084. };
  33085. A.Null.prototype = {
  33086. get$hashCode(_) {
  33087. return A.Object.prototype.get$hashCode.call(this, this);
  33088. },
  33089. toString$0(_) {
  33090. return "null";
  33091. }
  33092. };
  33093. A.Object.prototype = {$isObject: 1,
  33094. $eq(_, other) {
  33095. return this === other;
  33096. },
  33097. get$hashCode(_) {
  33098. return A.Primitives_objectHashCode(this);
  33099. },
  33100. toString$0(_) {
  33101. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  33102. },
  33103. noSuchMethod$1(_, invocation) {
  33104. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  33105. },
  33106. get$runtimeType(_) {
  33107. var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
  33108. return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
  33109. },
  33110. toString() {
  33111. return this.toString$0(this);
  33112. }
  33113. };
  33114. A._StringStackTrace.prototype = {
  33115. toString$0(_) {
  33116. return this._stackTrace;
  33117. },
  33118. $isStackTrace: 1
  33119. };
  33120. A.Runes.prototype = {
  33121. get$iterator(_) {
  33122. return new A.RuneIterator(this.string);
  33123. },
  33124. get$last(_) {
  33125. var code, previousCode,
  33126. t1 = this.string,
  33127. t2 = t1.length;
  33128. if (t2 === 0)
  33129. throw A.wrapException(A.StateError$("No elements."));
  33130. code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
  33131. if ((code & 64512) === 56320 && t2 > 1) {
  33132. previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
  33133. if ((previousCode & 64512) === 55296)
  33134. return A._combineSurrogatePair(previousCode, code);
  33135. }
  33136. return code;
  33137. }
  33138. };
  33139. A.RuneIterator.prototype = {
  33140. get$current(_) {
  33141. return this._currentCodePoint;
  33142. },
  33143. moveNext$0() {
  33144. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  33145. t1 = _this._position = _this._nextPosition,
  33146. t2 = _this.string,
  33147. t3 = t2.length;
  33148. if (t1 === t3) {
  33149. _this._currentCodePoint = -1;
  33150. return false;
  33151. }
  33152. codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
  33153. nextPosition = t1 + 1;
  33154. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  33155. nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
  33156. if ((nextCodeUnit & 64512) === 56320) {
  33157. _this._nextPosition = nextPosition + 1;
  33158. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  33159. return true;
  33160. }
  33161. }
  33162. _this._nextPosition = nextPosition;
  33163. _this._currentCodePoint = codeUnit;
  33164. return true;
  33165. }
  33166. };
  33167. A.StringBuffer.prototype = {
  33168. get$length(_) {
  33169. return this._contents.length;
  33170. },
  33171. write$1(_, obj) {
  33172. this._contents += A.S(obj);
  33173. },
  33174. writeCharCode$1(charCode) {
  33175. this._contents += A.Primitives_stringFromCharCode(charCode);
  33176. },
  33177. toString$0(_) {
  33178. var t1 = this._contents;
  33179. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33180. }
  33181. };
  33182. A.Uri__parseIPv4Address_error.prototype = {
  33183. call$2(msg, position) {
  33184. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  33185. },
  33186. $signature: 266
  33187. };
  33188. A.Uri_parseIPv6Address_error.prototype = {
  33189. call$2(msg, position) {
  33190. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  33191. },
  33192. $signature: 298
  33193. };
  33194. A.Uri_parseIPv6Address_parseHex.prototype = {
  33195. call$2(start, end) {
  33196. var value;
  33197. if (end - start > 4)
  33198. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  33199. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  33200. if (value < 0 || value > 65535)
  33201. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  33202. return value;
  33203. },
  33204. $signature: 301
  33205. };
  33206. A._Uri.prototype = {
  33207. get$_core$_text() {
  33208. var t1, t2, t3, t4, _this = this,
  33209. value = _this.___Uri__text_FI;
  33210. if (value === $) {
  33211. t1 = _this.scheme;
  33212. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  33213. t3 = _this._host;
  33214. t4 = t3 == null;
  33215. if (!t4 || t1 === "file") {
  33216. t1 = t2 + "//";
  33217. t2 = _this._userInfo;
  33218. if (t2.length !== 0)
  33219. t1 = t1 + t2 + "@";
  33220. if (!t4)
  33221. t1 += t3;
  33222. t2 = _this._port;
  33223. if (t2 != null)
  33224. t1 = t1 + ":" + A.S(t2);
  33225. } else
  33226. t1 = t2;
  33227. t1 += _this.path;
  33228. t2 = _this._query;
  33229. if (t2 != null)
  33230. t1 = t1 + "?" + t2;
  33231. t2 = _this._fragment;
  33232. if (t2 != null)
  33233. t1 = t1 + "#" + t2;
  33234. value !== $ && A.throwUnnamedLateFieldADI();
  33235. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  33236. }
  33237. return value;
  33238. },
  33239. get$pathSegments() {
  33240. var pathToSplit, result, _this = this,
  33241. value = _this.___Uri_pathSegments_FI;
  33242. if (value === $) {
  33243. pathToSplit = _this.path;
  33244. if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
  33245. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  33246. 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);
  33247. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  33248. value = _this.___Uri_pathSegments_FI = result;
  33249. }
  33250. return value;
  33251. },
  33252. get$hashCode(_) {
  33253. var result, _this = this,
  33254. value = _this.___Uri_hashCode_FI;
  33255. if (value === $) {
  33256. result = B.JSString_methods.get$hashCode(_this.get$_core$_text());
  33257. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  33258. _this.___Uri_hashCode_FI = result;
  33259. value = result;
  33260. }
  33261. return value;
  33262. },
  33263. get$userInfo() {
  33264. return this._userInfo;
  33265. },
  33266. get$host() {
  33267. var host = this._host;
  33268. if (host == null)
  33269. return "";
  33270. if (B.JSString_methods.startsWith$1(host, "["))
  33271. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  33272. return host;
  33273. },
  33274. get$port(_) {
  33275. var t1 = this._port;
  33276. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  33277. },
  33278. get$query() {
  33279. var t1 = this._query;
  33280. return t1 == null ? "" : t1;
  33281. },
  33282. get$fragment() {
  33283. var t1 = this._fragment;
  33284. return t1 == null ? "" : t1;
  33285. },
  33286. isScheme$1(scheme) {
  33287. var thisScheme = this.scheme;
  33288. if (scheme.length !== thisScheme.length)
  33289. return false;
  33290. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  33291. },
  33292. _mergePaths$2(base, reference) {
  33293. var backCount, refStart, baseEnd, newEnd, delta, t1;
  33294. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  33295. refStart += 3;
  33296. ++backCount;
  33297. }
  33298. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  33299. while (true) {
  33300. if (!(baseEnd > 0 && backCount > 0))
  33301. break;
  33302. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  33303. if (newEnd < 0)
  33304. break;
  33305. delta = baseEnd - newEnd;
  33306. t1 = delta !== 2;
  33307. if (!t1 || delta === 3)
  33308. if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
  33309. t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
  33310. else
  33311. t1 = false;
  33312. else
  33313. t1 = false;
  33314. if (t1)
  33315. break;
  33316. --backCount;
  33317. baseEnd = newEnd;
  33318. }
  33319. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  33320. },
  33321. resolve$1(reference) {
  33322. return this.resolveUri$1(A.Uri_parse(reference));
  33323. },
  33324. resolveUri$1(reference) {
  33325. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  33326. if (reference.get$scheme().length !== 0) {
  33327. targetScheme = reference.get$scheme();
  33328. if (reference.get$hasAuthority()) {
  33329. targetUserInfo = reference.get$userInfo();
  33330. targetHost = reference.get$host();
  33331. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  33332. } else {
  33333. targetPort = _null;
  33334. targetHost = targetPort;
  33335. targetUserInfo = "";
  33336. }
  33337. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33338. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33339. } else {
  33340. targetScheme = _this.scheme;
  33341. if (reference.get$hasAuthority()) {
  33342. targetUserInfo = reference.get$userInfo();
  33343. targetHost = reference.get$host();
  33344. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  33345. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33346. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33347. } else {
  33348. targetUserInfo = _this._userInfo;
  33349. targetHost = _this._host;
  33350. targetPort = _this._port;
  33351. targetPath = _this.path;
  33352. if (reference.get$path(reference) === "")
  33353. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  33354. else {
  33355. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  33356. if (packageNameEnd > 0) {
  33357. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  33358. 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)));
  33359. } else if (reference.get$hasAbsolutePath())
  33360. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  33361. else if (targetPath.length === 0)
  33362. if (targetHost == null)
  33363. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  33364. else
  33365. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  33366. else {
  33367. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  33368. t1 = targetScheme.length === 0;
  33369. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  33370. targetPath = A._Uri__removeDotSegments(mergedPath);
  33371. else
  33372. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  33373. }
  33374. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  33375. }
  33376. }
  33377. }
  33378. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  33379. },
  33380. get$hasAuthority() {
  33381. return this._host != null;
  33382. },
  33383. get$hasPort() {
  33384. return this._port != null;
  33385. },
  33386. get$hasQuery() {
  33387. return this._query != null;
  33388. },
  33389. get$hasFragment() {
  33390. return this._fragment != null;
  33391. },
  33392. get$hasAbsolutePath() {
  33393. return B.JSString_methods.startsWith$1(this.path, "/");
  33394. },
  33395. toFilePath$0() {
  33396. var pathSegments, _this = this,
  33397. t1 = _this.scheme;
  33398. if (t1 !== "" && t1 !== "file")
  33399. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  33400. t1 = _this._query;
  33401. if ((t1 == null ? "" : t1) !== "")
  33402. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  33403. t1 = _this._fragment;
  33404. if ((t1 == null ? "" : t1) !== "")
  33405. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  33406. t1 = $.$get$_Uri__isWindowsCached();
  33407. if (t1)
  33408. t1 = A._Uri__toWindowsFilePath(_this);
  33409. else {
  33410. if (_this._host != null && _this.get$host() !== "")
  33411. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  33412. pathSegments = _this.get$pathSegments();
  33413. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  33414. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  33415. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  33416. }
  33417. return t1;
  33418. },
  33419. toString$0(_) {
  33420. return this.get$_core$_text();
  33421. },
  33422. $eq(_, other) {
  33423. var t1, t2, _this = this;
  33424. if (other == null)
  33425. return false;
  33426. if (_this === other)
  33427. return true;
  33428. if (type$.Uri._is(other))
  33429. if (_this.scheme === other.get$scheme())
  33430. if (_this._host != null === other.get$hasAuthority())
  33431. if (_this._userInfo === other.get$userInfo())
  33432. if (_this.get$host() === other.get$host())
  33433. if (_this.get$port(_this) === other.get$port(other))
  33434. if (_this.path === other.get$path(other)) {
  33435. t1 = _this._query;
  33436. t2 = t1 == null;
  33437. if (!t2 === other.get$hasQuery()) {
  33438. if (t2)
  33439. t1 = "";
  33440. if (t1 === other.get$query()) {
  33441. t1 = _this._fragment;
  33442. t2 = t1 == null;
  33443. if (!t2 === other.get$hasFragment()) {
  33444. if (t2)
  33445. t1 = "";
  33446. t1 = t1 === other.get$fragment();
  33447. } else
  33448. t1 = false;
  33449. } else
  33450. t1 = false;
  33451. } else
  33452. t1 = false;
  33453. } else
  33454. t1 = false;
  33455. else
  33456. t1 = false;
  33457. else
  33458. t1 = false;
  33459. else
  33460. t1 = false;
  33461. else
  33462. t1 = false;
  33463. else
  33464. t1 = false;
  33465. else
  33466. t1 = false;
  33467. return t1;
  33468. },
  33469. $isUri: 1,
  33470. get$scheme() {
  33471. return this.scheme;
  33472. },
  33473. get$path(receiver) {
  33474. return this.path;
  33475. }
  33476. };
  33477. A._Uri__makePath_closure.prototype = {
  33478. call$1(s) {
  33479. return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
  33480. },
  33481. $signature: 5
  33482. };
  33483. A.UriData.prototype = {
  33484. get$uri() {
  33485. var t2, queryIndex, end, query, _this = this, _null = null,
  33486. t1 = _this._uriCache;
  33487. if (t1 == null) {
  33488. t1 = _this._core$_text;
  33489. t2 = _this._separatorIndices[0] + 1;
  33490. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  33491. end = t1.length;
  33492. if (queryIndex >= 0) {
  33493. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false, false);
  33494. end = queryIndex;
  33495. } else
  33496. query = _null;
  33497. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false, false), query, _null);
  33498. }
  33499. return t1;
  33500. },
  33501. toString$0(_) {
  33502. var t1 = this._core$_text;
  33503. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  33504. }
  33505. };
  33506. A._createTables_build.prototype = {
  33507. call$2(state, defaultTransition) {
  33508. var t1 = this.tables[state];
  33509. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  33510. return t1;
  33511. },
  33512. $signature: 336
  33513. };
  33514. A._createTables_setChars.prototype = {
  33515. call$3(target, chars, transition) {
  33516. var t1, i;
  33517. for (t1 = chars.length, i = 0; i < t1; ++i)
  33518. target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
  33519. },
  33520. $signature: 203
  33521. };
  33522. A._createTables_setRange.prototype = {
  33523. call$3(target, range, transition) {
  33524. var i, n;
  33525. for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
  33526. target[(i ^ 96) >>> 0] = transition;
  33527. },
  33528. $signature: 203
  33529. };
  33530. A._SimpleUri.prototype = {
  33531. get$hasAuthority() {
  33532. return this._hostStart > 0;
  33533. },
  33534. get$hasPort() {
  33535. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  33536. },
  33537. get$hasQuery() {
  33538. return this._queryStart < this._fragmentStart;
  33539. },
  33540. get$hasFragment() {
  33541. return this._fragmentStart < this._uri.length;
  33542. },
  33543. get$hasAbsolutePath() {
  33544. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  33545. },
  33546. get$scheme() {
  33547. var t1 = this._schemeCache;
  33548. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  33549. },
  33550. _computeScheme$0() {
  33551. var t2, _this = this,
  33552. t1 = _this._schemeEnd;
  33553. if (t1 <= 0)
  33554. return "";
  33555. t2 = t1 === 4;
  33556. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33557. return "http";
  33558. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33559. return "https";
  33560. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  33561. return "file";
  33562. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  33563. return "package";
  33564. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  33565. },
  33566. get$userInfo() {
  33567. var t1 = this._hostStart,
  33568. t2 = this._schemeEnd + 3;
  33569. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  33570. },
  33571. get$host() {
  33572. var t1 = this._hostStart;
  33573. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  33574. },
  33575. get$port(_) {
  33576. var t1, _this = this;
  33577. if (_this.get$hasPort())
  33578. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  33579. t1 = _this._schemeEnd;
  33580. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33581. return 80;
  33582. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33583. return 443;
  33584. return 0;
  33585. },
  33586. get$path(_) {
  33587. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  33588. },
  33589. get$query() {
  33590. var t1 = this._queryStart,
  33591. t2 = this._fragmentStart;
  33592. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  33593. },
  33594. get$fragment() {
  33595. var t1 = this._fragmentStart,
  33596. t2 = this._uri;
  33597. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  33598. },
  33599. get$pathSegments() {
  33600. var parts, i,
  33601. start = this._pathStart,
  33602. end = this._queryStart,
  33603. t1 = this._uri;
  33604. if (B.JSString_methods.startsWith$2(t1, "/", start))
  33605. ++start;
  33606. if (start === end)
  33607. return B.List_empty;
  33608. parts = A._setArrayType([], type$.JSArray_String);
  33609. for (i = start; i < end; ++i)
  33610. if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
  33611. parts.push(B.JSString_methods.substring$2(t1, start, i));
  33612. start = i + 1;
  33613. }
  33614. parts.push(B.JSString_methods.substring$2(t1, start, end));
  33615. return A.List_List$unmodifiable(parts, type$.String);
  33616. },
  33617. _isPort$1(port) {
  33618. var portDigitStart = this._portStart + 1;
  33619. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  33620. },
  33621. removeFragment$0() {
  33622. var _this = this,
  33623. t1 = _this._fragmentStart,
  33624. t2 = _this._uri;
  33625. if (t1 >= t2.length)
  33626. return _this;
  33627. 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);
  33628. },
  33629. resolve$1(reference) {
  33630. return this.resolveUri$1(A.Uri_parse(reference));
  33631. },
  33632. resolveUri$1(reference) {
  33633. if (reference instanceof A._SimpleUri)
  33634. return this._simpleMerge$2(this, reference);
  33635. return this._toNonSimple$0().resolveUri$1(reference);
  33636. },
  33637. _simpleMerge$2(base, ref) {
  33638. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  33639. t1 = ref._schemeEnd;
  33640. if (t1 > 0)
  33641. return ref;
  33642. t2 = ref._hostStart;
  33643. if (t2 > 0) {
  33644. t3 = base._schemeEnd;
  33645. if (t3 <= 0)
  33646. return ref;
  33647. t4 = t3 === 4;
  33648. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  33649. isSimple = ref._pathStart !== ref._queryStart;
  33650. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  33651. isSimple = !ref._isPort$1("80");
  33652. else
  33653. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  33654. if (isSimple) {
  33655. delta = t3 + 1;
  33656. 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);
  33657. } else
  33658. return this._toNonSimple$0().resolveUri$1(ref);
  33659. }
  33660. refStart = ref._pathStart;
  33661. t1 = ref._queryStart;
  33662. if (refStart === t1) {
  33663. t2 = ref._fragmentStart;
  33664. if (t1 < t2) {
  33665. t3 = base._queryStart;
  33666. delta = t3 - t1;
  33667. 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);
  33668. }
  33669. t1 = ref._uri;
  33670. if (t2 < t1.length) {
  33671. t3 = base._fragmentStart;
  33672. 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);
  33673. }
  33674. return base.removeFragment$0();
  33675. }
  33676. t2 = ref._uri;
  33677. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  33678. basePathStart = base._pathStart;
  33679. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33680. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  33681. delta = basePathStart0 - refStart;
  33682. 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);
  33683. }
  33684. baseStart = base._pathStart;
  33685. baseEnd = base._queryStart;
  33686. if (baseStart === baseEnd && base._hostStart > 0) {
  33687. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  33688. refStart += 3;
  33689. delta = baseStart - refStart + 1;
  33690. 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);
  33691. }
  33692. baseUri = base._uri;
  33693. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33694. if (packageNameEnd >= 0)
  33695. baseStart0 = packageNameEnd;
  33696. else
  33697. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  33698. baseStart0 += 3;
  33699. backCount = 0;
  33700. while (true) {
  33701. refStart0 = refStart + 3;
  33702. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  33703. break;
  33704. ++backCount;
  33705. refStart = refStart0;
  33706. }
  33707. for (insert = ""; baseEnd > baseStart0;) {
  33708. --baseEnd;
  33709. if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
  33710. if (backCount === 0) {
  33711. insert = "/";
  33712. break;
  33713. }
  33714. --backCount;
  33715. insert = "/";
  33716. }
  33717. }
  33718. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  33719. refStart -= backCount * 3;
  33720. insert = "";
  33721. }
  33722. delta = baseEnd - refStart + insert.length;
  33723. 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);
  33724. },
  33725. toFilePath$0() {
  33726. var t2, t3, _this = this,
  33727. t1 = _this._schemeEnd;
  33728. if (t1 >= 0) {
  33729. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  33730. t1 = t2;
  33731. } else
  33732. t1 = false;
  33733. if (t1)
  33734. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  33735. t1 = _this._queryStart;
  33736. t2 = _this._uri;
  33737. if (t1 < t2.length) {
  33738. if (t1 < _this._fragmentStart)
  33739. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  33740. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  33741. }
  33742. t3 = $.$get$_Uri__isWindowsCached();
  33743. if (t3)
  33744. t1 = A._Uri__toWindowsFilePath(_this);
  33745. else {
  33746. if (_this._hostStart < _this._portStart)
  33747. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  33748. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  33749. }
  33750. return t1;
  33751. },
  33752. get$hashCode(_) {
  33753. var t1 = this._hashCodeCache;
  33754. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  33755. },
  33756. $eq(_, other) {
  33757. if (other == null)
  33758. return false;
  33759. if (this === other)
  33760. return true;
  33761. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  33762. },
  33763. _toNonSimple$0() {
  33764. var _this = this, _null = null,
  33765. t1 = _this.get$scheme(),
  33766. t2 = _this.get$userInfo(),
  33767. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  33768. t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
  33769. t5 = _this._uri,
  33770. t6 = _this._queryStart,
  33771. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  33772. t8 = _this._fragmentStart;
  33773. t6 = t6 < t8 ? _this.get$query() : _null;
  33774. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  33775. },
  33776. toString$0(_) {
  33777. return this._uri;
  33778. },
  33779. $isUri: 1
  33780. };
  33781. A._DataUri.prototype = {};
  33782. A.Expando.prototype = {
  33783. toString$0(_) {
  33784. return "Expando:null";
  33785. }
  33786. };
  33787. A._convertDataTree__convert.prototype = {
  33788. call$1(o) {
  33789. var convertedMap, key, convertedList,
  33790. t1 = this._convertedObjects;
  33791. if (t1.containsKey$1(o))
  33792. return t1.$index(0, o);
  33793. if (type$.Map_dynamic_dynamic._is(o)) {
  33794. convertedMap = {};
  33795. t1.$indexSet(0, o, convertedMap);
  33796. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  33797. key = t1.get$current(t1);
  33798. convertedMap[key] = this.call$1(o.$index(0, key));
  33799. }
  33800. return convertedMap;
  33801. } else if (type$.Iterable_dynamic._is(o)) {
  33802. convertedList = [];
  33803. t1.$indexSet(0, o, convertedList);
  33804. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  33805. return convertedList;
  33806. } else
  33807. return o;
  33808. },
  33809. $signature: 351
  33810. };
  33811. A._JSRandom.prototype = {
  33812. nextInt$1(max) {
  33813. if (max <= 0 || max > 4294967296)
  33814. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  33815. return Math.random() * max >>> 0;
  33816. },
  33817. nextDouble$0() {
  33818. return Math.random();
  33819. }
  33820. };
  33821. A.ArgParser.prototype = {
  33822. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  33823. var _null = null;
  33824. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  33825. },
  33826. addFlag$2$hide($name, hide) {
  33827. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  33828. },
  33829. addFlag$2$help($name, help) {
  33830. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  33831. },
  33832. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  33833. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  33834. },
  33835. addFlag$3$help$negatable($name, help, negatable) {
  33836. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  33837. },
  33838. addFlag$3$abbr$help($name, abbr, help) {
  33839. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  33840. },
  33841. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  33842. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  33843. },
  33844. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  33845. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  33846. },
  33847. addOption$2$hide($name, hide) {
  33848. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
  33849. },
  33850. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  33851. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  33852. },
  33853. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  33854. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  33855. },
  33856. addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowedHelp, help, splitCommas, valueHelp) {
  33857. var t1 = A._setArrayType([], type$.JSArray_String);
  33858. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, allowedHelp, t1, null, B.OptionType_qyr, B.List_empty, false, splitCommas);
  33859. },
  33860. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  33861. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, help, splitCommas, valueHelp);
  33862. },
  33863. addMultiOption$3$allowedHelp$help($name, allowedHelp, help) {
  33864. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, null, allowedHelp, help, true, null);
  33865. },
  33866. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  33867. var existing, t2, t3, option, _i, _this = this, _null = null,
  33868. t1 = A._setArrayType([$name], type$.JSArray_String);
  33869. B.JSArray_methods.addAll$1(t1, aliases);
  33870. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  33871. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  33872. t1 = abbr != null;
  33873. if (t1) {
  33874. existing = _this.findByAbbreviation$1(abbr);
  33875. if (existing != null)
  33876. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  33877. }
  33878. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  33879. if (allowedHelp == null)
  33880. t3 = _null;
  33881. else {
  33882. t3 = type$.String;
  33883. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  33884. }
  33885. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  33886. if ($name.length === 0)
  33887. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  33888. else if (B.JSString_methods.startsWith$1($name, "-"))
  33889. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  33890. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  33891. if (t2.test($name))
  33892. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  33893. if (t1) {
  33894. if (abbr.length !== 1)
  33895. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  33896. else if (abbr === "-")
  33897. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  33898. if (t2.test(abbr))
  33899. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  33900. }
  33901. _this._arg_parser$_options.$indexSet(0, $name, option);
  33902. _this._optionsAndSeparators.push(option);
  33903. for (t1 = _this._aliases, _i = 0; false; ++_i)
  33904. t1.$indexSet(0, aliases[_i], $name);
  33905. },
  33906. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  33907. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  33908. },
  33909. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  33910. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  33911. },
  33912. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  33913. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  33914. },
  33915. findByAbbreviation$1(abbr) {
  33916. var t1, t2;
  33917. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  33918. t2 = t1.get$current(t1);
  33919. if (t2.abbr === abbr)
  33920. return t2;
  33921. }
  33922. return null;
  33923. },
  33924. findByNameOrAlias$1($name) {
  33925. var t1 = this._aliases.$index(0, $name);
  33926. if (t1 == null)
  33927. t1 = $name;
  33928. return this.options._map.$index(0, t1);
  33929. }
  33930. };
  33931. A.ArgParser__addOption_closure.prototype = {
  33932. call$1($name) {
  33933. return this.$this.findByNameOrAlias$1($name) != null;
  33934. },
  33935. $signature: 8
  33936. };
  33937. A.ArgParserException.prototype = {};
  33938. A.ArgResults.prototype = {
  33939. $index(_, $name) {
  33940. var t1 = this._parser.options._map;
  33941. if (!t1.containsKey$1($name))
  33942. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33943. t1 = t1.$index(0, $name);
  33944. t1.toString;
  33945. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  33946. },
  33947. wasParsed$1($name) {
  33948. if (!this._parser.options._map.containsKey$1($name))
  33949. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33950. return this._parsed.containsKey$1($name);
  33951. }
  33952. };
  33953. A.Option.prototype = {
  33954. valueOrDefault$1(value) {
  33955. var t1;
  33956. if (value != null)
  33957. return value;
  33958. if (this.type === B.OptionType_qyr) {
  33959. t1 = this.defaultsTo;
  33960. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  33961. }
  33962. return this.defaultsTo;
  33963. }
  33964. };
  33965. A.OptionType.prototype = {};
  33966. A.Parser0.prototype = {
  33967. parse$0() {
  33968. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  33969. t2 = _this._args;
  33970. t2.toList$0(0);
  33971. commandResults = null;
  33972. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
  33973. t7 = t2._collection$_head;
  33974. if (t7 === t2._collection$_tail)
  33975. A.throwExpression(A.IterableElementError_noElement());
  33976. t7 = t2._collection$_table[t7];
  33977. t8 = t7 == null;
  33978. if ((t8 ? t6._as(t7) : t7) === "--") {
  33979. t2.removeFirst$0();
  33980. break;
  33981. }
  33982. if (t8)
  33983. t7 = t6._as(t7);
  33984. command = t5._map.$index(0, t7);
  33985. if (command != null) {
  33986. if (t3.length !== 0)
  33987. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  33988. commandName = t2.removeFirst$0();
  33989. t5 = type$.JSArray_String;
  33990. t6 = A._setArrayType([], t5);
  33991. B.JSArray_methods.addAll$1(t6, t3);
  33992. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  33993. try {
  33994. commandResults = commandParser.parse$0();
  33995. } catch (exception) {
  33996. t2 = A.unwrapException(exception);
  33997. if (t2 instanceof A.ArgParserException) {
  33998. error = t2;
  33999. t2 = error.message;
  34000. t1 = A._setArrayType([commandName], t5);
  34001. J.addAll$1$ax(t1, error.commands);
  34002. throw A.wrapException(A.ArgParserException$(t2, t1));
  34003. } else
  34004. throw exception;
  34005. }
  34006. B.JSArray_methods.clear$0(t3);
  34007. break;
  34008. }
  34009. if (_this._parseSoloOption$0())
  34010. continue;
  34011. if (_this._parseAbbreviation$1(_this))
  34012. continue;
  34013. if (_this._parseLongOption$0())
  34014. continue;
  34015. t3.push(t2.removeFirst$0());
  34016. }
  34017. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  34018. B.JSArray_methods.addAll$1(t3, t2);
  34019. t2.clear$0(0);
  34020. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  34021. },
  34022. _readNextArgAsValue$1(option) {
  34023. var t1 = this._args;
  34024. if (t1.get$isEmpty(t1))
  34025. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  34026. this._setOption$3(this._results, option, t1.get$first(t1));
  34027. t1.removeFirst$0();
  34028. },
  34029. _parseSoloOption$0() {
  34030. var opt,
  34031. t1 = this._args;
  34032. if (t1.get$first(t1).length !== 2)
  34033. return false;
  34034. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  34035. return false;
  34036. opt = t1.get$first(t1)[1];
  34037. if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
  34038. return false;
  34039. this._handleSoloOption$1(opt);
  34040. return true;
  34041. },
  34042. _handleSoloOption$1(opt) {
  34043. var t1, _this = this,
  34044. option = _this._grammar.findByAbbreviation$1(opt);
  34045. if (option == null) {
  34046. t1 = _this._parser$_parent;
  34047. if (t1 == null)
  34048. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  34049. t1._handleSoloOption$1(opt);
  34050. return true;
  34051. }
  34052. _this._args.removeFirst$0();
  34053. if (option.type === B.OptionType_nMZ)
  34054. _this._results.$indexSet(0, option.name, true);
  34055. else
  34056. _this._readNextArgAsValue$1(option);
  34057. return true;
  34058. },
  34059. _parseAbbreviation$1(innermostCommand) {
  34060. var t2, index, t3, t4, lettersAndDigits, rest,
  34061. t1 = this._args;
  34062. if (t1.get$first(t1).length < 2)
  34063. return false;
  34064. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  34065. return false;
  34066. t2 = t1.$ti._precomputed1;
  34067. index = 1;
  34068. while (true) {
  34069. t3 = t1._collection$_head;
  34070. if (t3 === t1._collection$_tail)
  34071. A.throwExpression(A.IterableElementError_noElement());
  34072. t3 = t1._collection$_table[t3];
  34073. t4 = t3 == null;
  34074. if (index < (t4 ? t2._as(t3) : t3).length) {
  34075. t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
  34076. if (!(t3 >= 65 && t3 <= 90))
  34077. if (!(t3 >= 97 && t3 <= 122))
  34078. t3 = t3 >= 48 && t3 <= 57;
  34079. else
  34080. t3 = true;
  34081. else
  34082. t3 = true;
  34083. } else
  34084. t3 = false;
  34085. if (!t3)
  34086. break;
  34087. ++index;
  34088. }
  34089. if (index === 1)
  34090. return false;
  34091. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
  34092. rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
  34093. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  34094. return false;
  34095. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  34096. return true;
  34097. },
  34098. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  34099. var t1, i, i0, _this = this,
  34100. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  34101. first = _this._grammar.findByAbbreviation$1(c);
  34102. if (first == null) {
  34103. t1 = _this._parser$_parent;
  34104. if (t1 == null)
  34105. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  34106. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  34107. return true;
  34108. } else if (first.type !== B.OptionType_nMZ)
  34109. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  34110. else {
  34111. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  34112. if (rest !== "")
  34113. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  34114. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  34115. i0 = i + 1;
  34116. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  34117. }
  34118. }
  34119. _this._args.removeFirst$0();
  34120. return true;
  34121. },
  34122. _parseShortFlag$1(c) {
  34123. var t1,
  34124. option = this._grammar.findByAbbreviation$1(c);
  34125. if (option == null) {
  34126. t1 = this._parser$_parent;
  34127. if (t1 == null)
  34128. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  34129. t1._parseShortFlag$1(c);
  34130. return;
  34131. }
  34132. if (option.type !== B.OptionType_nMZ)
  34133. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  34134. this._results.$indexSet(0, option.name, true);
  34135. },
  34136. _parseLongOption$0() {
  34137. var index, t2, $name, t3, i, t4, t5, value,
  34138. t1 = this._args;
  34139. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
  34140. return false;
  34141. index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
  34142. t2 = index === -1;
  34143. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
  34144. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  34145. t4 = B.JSString_methods._codeUnitAt$1($name, i);
  34146. if (!(t4 >= 65 && t4 <= 90))
  34147. if (!(t4 >= 97 && t4 <= 122))
  34148. t5 = t4 >= 48 && t4 <= 57;
  34149. else
  34150. t5 = true;
  34151. else
  34152. t5 = true;
  34153. if (!(t5 || t4 === 45 || t4 === 95))
  34154. return false;
  34155. }
  34156. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
  34157. if (value != null)
  34158. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  34159. else
  34160. t1 = false;
  34161. if (t1)
  34162. return false;
  34163. this._handleLongOption$2($name, value);
  34164. return true;
  34165. },
  34166. _handleLongOption$2($name, value) {
  34167. var _this = this, _null = null,
  34168. _s32_ = 'Could not find an option named "',
  34169. t1 = _this._grammar,
  34170. option = t1.findByNameOrAlias$1($name);
  34171. if (option != null) {
  34172. _this._args.removeFirst$0();
  34173. if (option.type === B.OptionType_nMZ) {
  34174. if (value != null)
  34175. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  34176. _this._results.$indexSet(0, option.name, true);
  34177. } else if (value != null)
  34178. _this._setOption$3(_this._results, option, value);
  34179. else
  34180. _this._readNextArgAsValue$1(option);
  34181. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  34182. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  34183. if (option == null) {
  34184. t1 = _this._parser$_parent;
  34185. if (t1 == null)
  34186. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  34187. t1._handleLongOption$2($name, value);
  34188. return true;
  34189. }
  34190. _this._args.removeFirst$0();
  34191. if (option.type !== B.OptionType_nMZ)
  34192. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  34193. if (!option.negatable)
  34194. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  34195. _this._results.$indexSet(0, option.name, false);
  34196. } else {
  34197. t1 = _this._parser$_parent;
  34198. if (t1 == null)
  34199. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  34200. t1._handleLongOption$2($name, value);
  34201. return true;
  34202. }
  34203. return true;
  34204. },
  34205. _setOption$3(results, option, value) {
  34206. var list, t1, t2, t3, _i, element;
  34207. if (option.type !== B.OptionType_qyr) {
  34208. this._validateAllowed$2(option, value);
  34209. results.$indexSet(0, option.name, value);
  34210. return;
  34211. }
  34212. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  34213. if (option.splitCommas)
  34214. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  34215. element = t1[_i];
  34216. this._validateAllowed$2(option, element);
  34217. t3.add$1(list, element);
  34218. }
  34219. else {
  34220. this._validateAllowed$2(option, value);
  34221. J.add$1$ax(list, value);
  34222. }
  34223. },
  34224. _validateAllowed$2(option, value) {
  34225. var t1 = option.allowed;
  34226. if (t1 == null)
  34227. return;
  34228. if (!B.JSArray_methods.contains$1(t1, value))
  34229. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  34230. }
  34231. };
  34232. A.Parser_parse_closure.prototype = {
  34233. call$2($name, option) {
  34234. var parsedOption = this.$this._results.$index(0, $name),
  34235. callback = option.callback;
  34236. if (callback == null)
  34237. return;
  34238. callback.call$1(option.valueOrDefault$1(parsedOption));
  34239. },
  34240. $signature: 455
  34241. };
  34242. A.Parser__setOption_closure.prototype = {
  34243. call$0() {
  34244. return A._setArrayType([], type$.JSArray_String);
  34245. },
  34246. $signature: 130
  34247. };
  34248. A._Usage.prototype = {
  34249. get$_columnWidths() {
  34250. var result, _this = this,
  34251. value = _this.___Usage__columnWidths_FI;
  34252. if (value === $) {
  34253. result = _this._calculateColumnWidths$0();
  34254. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  34255. _this.___Usage__columnWidths_FI = result;
  34256. value = result;
  34257. }
  34258. return value;
  34259. },
  34260. generate$0() {
  34261. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  34262. for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  34263. optionOrSeparator = t1[_i];
  34264. if (typeof optionOrSeparator == "string") {
  34265. t5 = t4._contents;
  34266. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  34267. _this._newlinesNeeded = 1;
  34268. continue;
  34269. }
  34270. t3._as(optionOrSeparator);
  34271. if (optionOrSeparator.hide)
  34272. continue;
  34273. _this._writeOption$1(optionOrSeparator);
  34274. }
  34275. t1 = t4._contents;
  34276. return t1.charCodeAt(0) == 0 ? t1 : t1;
  34277. },
  34278. _writeOption$1(option) {
  34279. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  34280. t1 = option.abbr;
  34281. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  34282. t1 = _this._longOption$1(option);
  34283. _this._write$2(1, t1);
  34284. t1 = option.help;
  34285. if (t1 != null)
  34286. _this._write$2(2, t1);
  34287. t1 = option.allowedHelp;
  34288. if (t1 != null) {
  34289. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  34290. B.JSArray_methods.sort$0(allowedNames);
  34291. _this._newline$0();
  34292. 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) {
  34293. $name = allowedNames[_i];
  34294. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  34295. _this._write$2(1, " [" + $name + "]" + t5);
  34296. t5 = t1.$index(0, $name);
  34297. t5.toString;
  34298. _this._write$2(2, t5);
  34299. }
  34300. _this._newline$0();
  34301. } else if (option.allowed != null)
  34302. _this._write$2(2, _this._buildAllowedList$1(option));
  34303. else {
  34304. t1 = option.type;
  34305. if (t1 === B.OptionType_nMZ) {
  34306. if (option.defaultsTo === true)
  34307. _this._write$2(2, "(defaults to on)");
  34308. } else if (t1 === B.OptionType_qyr) {
  34309. t1 = option.defaultsTo;
  34310. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  34311. type$.List_dynamic._as(t1);
  34312. _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, ", ") + ")");
  34313. }
  34314. } else {
  34315. t1 = option.defaultsTo;
  34316. if (t1 != null)
  34317. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  34318. }
  34319. }
  34320. },
  34321. _longOption$1(option) {
  34322. var t1 = option.name,
  34323. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  34324. t1 = option.valueHelp;
  34325. return t1 != null ? result + ("=<" + t1 + ">") : result;
  34326. },
  34327. _calculateColumnWidths$0() {
  34328. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  34329. 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) {
  34330. option = t1[_i];
  34331. if (!(option instanceof A.Option))
  34332. continue;
  34333. if (option.hide)
  34334. continue;
  34335. t4 = option.abbr;
  34336. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  34337. t4 = this._longOption$1(option);
  34338. title = Math.max(title, t4.length);
  34339. t4 = option.allowedHelp;
  34340. if (t4 != null)
  34341. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  34342. t7 = t4.get$current(t4);
  34343. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  34344. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  34345. }
  34346. }
  34347. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  34348. },
  34349. _newline$0() {
  34350. ++this._newlinesNeeded;
  34351. this._currentColumn = 0;
  34352. },
  34353. _write$2(column, text) {
  34354. var t1, _i,
  34355. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  34356. this.get$_columnWidths();
  34357. while (true) {
  34358. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  34359. break;
  34360. B.JSArray_methods.removeAt$1(lines, 0);
  34361. }
  34362. while (true) {
  34363. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  34364. break;
  34365. lines.pop();
  34366. }
  34367. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  34368. this._writeLine$2(column, lines[_i]);
  34369. },
  34370. _writeLine$2(column, text) {
  34371. var t1, t2, _this = this;
  34372. for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  34373. t1._contents += "\n";
  34374. _this._newlinesNeeded = t2 - 1;
  34375. }
  34376. for (; t2 = _this._currentColumn, t2 !== column;) {
  34377. if (t2 < 2)
  34378. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  34379. else
  34380. t1._contents += "\n";
  34381. _this._currentColumn = (_this._currentColumn + 1) % 3;
  34382. }
  34383. _this.get$_columnWidths();
  34384. if (column < 2)
  34385. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  34386. else
  34387. t1._contents += text;
  34388. _this._currentColumn = (_this._currentColumn + 1) % 3;
  34389. if (column === 2)
  34390. ++_this._newlinesNeeded;
  34391. },
  34392. _buildAllowedList$1(option) {
  34393. var t2, t3, first, _i, allowed,
  34394. t1 = option.defaultsTo,
  34395. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  34396. t1 = "" + "[";
  34397. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  34398. allowed = t2[_i];
  34399. if (!first)
  34400. t1 += ", ";
  34401. t1 += A.S(allowed);
  34402. if (isDefault.call$1(allowed))
  34403. t1 += " (default)";
  34404. }
  34405. t1 += "]";
  34406. return t1.charCodeAt(0) == 0 ? t1 : t1;
  34407. }
  34408. };
  34409. A._Usage__writeOption_closure.prototype = {
  34410. call$1(value) {
  34411. return '"' + A.S(value) + '"';
  34412. },
  34413. $signature: 76
  34414. };
  34415. A._Usage__buildAllowedList_closure.prototype = {
  34416. call$1(value) {
  34417. return value === this.option.defaultsTo;
  34418. },
  34419. $signature: 131
  34420. };
  34421. A.ErrorResult.prototype = {
  34422. complete$1(completer) {
  34423. completer.completeError$2(this.error, this.stackTrace);
  34424. },
  34425. get$hashCode(_) {
  34426. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  34427. },
  34428. $eq(_, other) {
  34429. if (other == null)
  34430. return false;
  34431. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  34432. },
  34433. $isResult: 1
  34434. };
  34435. A.ValueResult.prototype = {
  34436. complete$1(completer) {
  34437. completer.complete$1(this.value);
  34438. },
  34439. get$hashCode(_) {
  34440. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  34441. },
  34442. $eq(_, other) {
  34443. if (other == null)
  34444. return false;
  34445. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  34446. },
  34447. $isResult: 1
  34448. };
  34449. A.StreamCompleter.prototype = {
  34450. setSourceStream$1(sourceStream) {
  34451. var t1 = this._stream_completer$_stream;
  34452. if (t1._sourceStream != null)
  34453. throw A.wrapException(A.StateError$("Source stream already set"));
  34454. t1._sourceStream = sourceStream;
  34455. if (t1._stream_completer$_controller != null)
  34456. t1._linkStreamToController$0();
  34457. },
  34458. setError$2(error, stackTrace) {
  34459. var t1 = this.$ti._precomputed1;
  34460. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  34461. },
  34462. setError$1(error) {
  34463. return this.setError$2(error, null);
  34464. }
  34465. };
  34466. A._CompleterStream.prototype = {
  34467. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  34468. var sourceStream, t1, _this = this, _null = null;
  34469. if (_this._stream_completer$_controller == null) {
  34470. sourceStream = _this._sourceStream;
  34471. if (sourceStream != null && !sourceStream.get$isBroadcast())
  34472. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  34473. if (_this._stream_completer$_controller == null)
  34474. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  34475. if (_this._sourceStream != null)
  34476. _this._linkStreamToController$0();
  34477. }
  34478. t1 = _this._stream_completer$_controller;
  34479. t1.toString;
  34480. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  34481. },
  34482. listen$1($receiver, onData) {
  34483. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  34484. },
  34485. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  34486. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  34487. },
  34488. _linkStreamToController$0() {
  34489. var t2,
  34490. t1 = this._stream_completer$_controller;
  34491. t1.toString;
  34492. t2 = this._sourceStream;
  34493. t2.toString;
  34494. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  34495. }
  34496. };
  34497. A.StreamGroup.prototype = {
  34498. add$1(_, stream) {
  34499. var t1, _this = this;
  34500. if (_this._closed)
  34501. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  34502. t1 = _this._stream_group$_state;
  34503. if (t1 === B._StreamGroupState_dormant)
  34504. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  34505. else if (t1 === B._StreamGroupState_canceled)
  34506. return stream.listen$1(0, null).cancel$0();
  34507. else
  34508. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  34509. return null;
  34510. },
  34511. remove$1(_, stream) {
  34512. var t1 = this._subscriptions,
  34513. subscription = t1.remove$1(0, stream),
  34514. future = subscription == null ? null : subscription.cancel$0();
  34515. if (t1.__js_helper$_length === 0)
  34516. if (this._closed) {
  34517. t1 = this.__StreamGroup__controller_A;
  34518. t1 === $ && A.throwUnnamedLateFieldNI();
  34519. A.scheduleMicrotask(t1.get$close(t1));
  34520. }
  34521. return future;
  34522. },
  34523. _onListen$0() {
  34524. var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
  34525. _this._stream_group$_state = B._StreamGroupState_listening;
  34526. for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(t1), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  34527. entry = t2[_i];
  34528. if (entry.value != null)
  34529. continue;
  34530. stream = entry.key;
  34531. try {
  34532. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  34533. } catch (exception) {
  34534. t1 = _this._onCancel$0();
  34535. if (t1 != null) {
  34536. onError = new A.StreamGroup__onListen_closure();
  34537. t2 = t1.$ti;
  34538. t3 = $.Zone__current;
  34539. if (t3 !== B.C__RootZone)
  34540. onError = A._registerErrorHandler(onError, t3);
  34541. t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>")));
  34542. }
  34543. throw exception;
  34544. }
  34545. }
  34546. },
  34547. _onPause$0() {
  34548. var t1, t2, t3;
  34549. this._stream_group$_state = B._StreamGroupState_paused;
  34550. for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  34551. t3 = t1.__internal$_current;
  34552. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  34553. }
  34554. },
  34555. _onResume$0() {
  34556. var t1, t2, t3;
  34557. this._stream_group$_state = B._StreamGroupState_listening;
  34558. for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  34559. t3 = t1.__internal$_current;
  34560. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  34561. }
  34562. },
  34563. _onCancel$0() {
  34564. var t1, t2, futures;
  34565. this._stream_group$_state = B._StreamGroupState_canceled;
  34566. t1 = this._subscriptions;
  34567. t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(t1).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
  34568. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  34569. t1.clear$0(0);
  34570. return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
  34571. },
  34572. _listenToStream$1(stream) {
  34573. var subscription,
  34574. t1 = this.__StreamGroup__controller_A;
  34575. t1 === $ && A.throwUnnamedLateFieldNI();
  34576. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  34577. if (this._stream_group$_state === B._StreamGroupState_paused)
  34578. subscription.pause$0(0);
  34579. return subscription;
  34580. }
  34581. };
  34582. A.StreamGroup_add_closure.prototype = {
  34583. call$0() {
  34584. return null;
  34585. },
  34586. $signature: 1
  34587. };
  34588. A.StreamGroup_add_closure0.prototype = {
  34589. call$0() {
  34590. return this.$this._listenToStream$1(this.stream);
  34591. },
  34592. $signature() {
  34593. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  34594. }
  34595. };
  34596. A.StreamGroup__onListen_closure.prototype = {
  34597. call$1(_) {
  34598. },
  34599. $signature: 72
  34600. };
  34601. A.StreamGroup__onCancel_closure.prototype = {
  34602. call$1(entry) {
  34603. var t1, exception,
  34604. subscription = entry.value;
  34605. try {
  34606. if (subscription != null) {
  34607. t1 = subscription.cancel$0();
  34608. return t1;
  34609. }
  34610. t1 = J.listen$1$z(entry.key, null).cancel$0();
  34611. return t1;
  34612. } catch (exception) {
  34613. return null;
  34614. }
  34615. },
  34616. $signature() {
  34617. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  34618. }
  34619. };
  34620. A.StreamGroup__listenToStream_closure.prototype = {
  34621. call$0() {
  34622. return this.$this.remove$1(0, this.stream);
  34623. },
  34624. $signature: 0
  34625. };
  34626. A._StreamGroupState.prototype = {
  34627. toString$0(_) {
  34628. return this.name;
  34629. }
  34630. };
  34631. A.StreamQueue.prototype = {
  34632. _updateRequests$0() {
  34633. var t1, t2, t3, t4, _this = this;
  34634. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
  34635. t4 = t1._collection$_head;
  34636. if (t4 === t1._collection$_tail)
  34637. A.throwExpression(A.IterableElementError_noElement());
  34638. t4 = t1._collection$_table[t4];
  34639. if (t4 == null)
  34640. t4 = t3._as(t4);
  34641. if (t4.update$2(t2, _this._isDone))
  34642. t1.removeFirst$0();
  34643. else
  34644. return;
  34645. }
  34646. if (!_this._isDone)
  34647. _this._stream_queue$_subscription.pause$0(0);
  34648. },
  34649. _ensureListening$0() {
  34650. var t1, _this = this;
  34651. if (_this._isDone)
  34652. return;
  34653. t1 = _this._stream_queue$_subscription;
  34654. if (t1 == null)
  34655. _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));
  34656. else
  34657. t1.resume$0(0);
  34658. },
  34659. _addResult$1(result) {
  34660. ++this._eventsReceived;
  34661. this._eventQueue._queue_list$_add$1(result);
  34662. this._updateRequests$0();
  34663. },
  34664. _addRequest$1(request) {
  34665. var _this = this,
  34666. t1 = _this._requestQueue;
  34667. if (t1._collection$_head === t1._collection$_tail) {
  34668. if (request.update$2(_this._eventQueue, _this._isDone))
  34669. return;
  34670. _this._ensureListening$0();
  34671. }
  34672. t1._add$1(request);
  34673. }
  34674. };
  34675. A.StreamQueue__ensureListening_closure.prototype = {
  34676. call$1(data) {
  34677. var t1 = this.$this;
  34678. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  34679. },
  34680. $signature() {
  34681. return this.$this.$ti._eval$1("~(1)");
  34682. }
  34683. };
  34684. A.StreamQueue__ensureListening_closure1.prototype = {
  34685. call$2(error, stackTrace) {
  34686. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  34687. },
  34688. $signature: 62
  34689. };
  34690. A.StreamQueue__ensureListening_closure0.prototype = {
  34691. call$0() {
  34692. var t1 = this.$this;
  34693. t1._stream_queue$_subscription = null;
  34694. t1._isDone = true;
  34695. t1._updateRequests$0();
  34696. },
  34697. $signature: 0
  34698. };
  34699. A._NextRequest.prototype = {
  34700. update$2(events, isDone) {
  34701. if (!events.get$isEmpty(events)) {
  34702. events.removeFirst$0().complete$1(this._completer);
  34703. return true;
  34704. }
  34705. if (isDone) {
  34706. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  34707. return true;
  34708. }
  34709. return false;
  34710. },
  34711. $is_EventRequest: 1
  34712. };
  34713. A.Repl.prototype = {};
  34714. A.alwaysValid_closure.prototype = {
  34715. call$1(text) {
  34716. return true;
  34717. },
  34718. $signature: 8
  34719. };
  34720. A.ReplAdapter.prototype = {
  34721. runAsync$0() {
  34722. var rl, runController, _this = this, t1 = {},
  34723. t2 = J.get$isTTY$x(self.process.stdin),
  34724. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  34725. t2 = _this.repl.prompt;
  34726. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  34727. _this.rl = rl;
  34728. t1.statement = "";
  34729. t1.prompt = t2;
  34730. runController = A._Cell$();
  34731. 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);
  34732. return runController._readLocal$0().get$stream();
  34733. },
  34734. exit$0(_) {
  34735. var t1 = this.rl;
  34736. if (t1 != null)
  34737. J.close$0$x(t1);
  34738. this.rl = null;
  34739. }
  34740. };
  34741. A.ReplAdapter_runAsync_closure.prototype = {
  34742. call$0() {
  34743. var $async$goto = 0,
  34744. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  34745. $async$handler = 1, $async$currentError, $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, t9, line0, toZone, statement, exception, $async$exception;
  34746. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  34747. if ($async$errorCode === 1) {
  34748. $async$currentError = $async$result;
  34749. $async$goto = $async$handler;
  34750. }
  34751. while (true)
  34752. switch ($async$goto) {
  34753. case 0:
  34754. // Function start
  34755. $async$handler = 3;
  34756. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  34757. t1 = lineController;
  34758. t2 = A.QueueList$(null, type$.Result_String);
  34759. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  34760. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  34761. t1 = $async$self.rl;
  34762. t2 = J.getInterceptor$x(t1);
  34763. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  34764. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController, t6 = t5.__late_helper$_name;
  34765. case 6:
  34766. // for condition
  34767. // trivial condition
  34768. t7 = J.get$isTTY$x(self.process.stdin);
  34769. if (t7 == null ? false : t7)
  34770. J.write$1$x(self.process.stdout, t3.prompt);
  34771. t7 = lineQueue;
  34772. t8 = A.instanceType(t7);
  34773. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  34774. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  34775. $async$goto = 8;
  34776. return A._asyncAwait(t9, $async$call$0);
  34777. case 8:
  34778. // returning from await.
  34779. line = $async$result;
  34780. t7 = J.get$isTTY$x(self.process.stdin);
  34781. if (!(t7 == null ? false : t7)) {
  34782. line0 = t3.prompt + A.S(line);
  34783. toZone = $.printToZone;
  34784. if (toZone == null)
  34785. A.printString(line0);
  34786. else
  34787. toZone.call$1(line0);
  34788. }
  34789. statement = B.JSString_methods.$add(t3.statement, line);
  34790. t3.statement = statement;
  34791. if (t4.validator.call$1(statement)) {
  34792. t7 = t5.__late_helper$_value;
  34793. if (t7 === t5)
  34794. A.throwExpression(A.LateError$localNI(t6));
  34795. J.add$1$ax(t7, t3.statement);
  34796. t3.statement = "";
  34797. t3.prompt = prompt0;
  34798. t2.setPrompt$1(t1, prompt0);
  34799. } else {
  34800. t3.statement += "\n";
  34801. t3.prompt = $prompt;
  34802. t2.setPrompt$1(t1, $prompt);
  34803. }
  34804. // goto for condition
  34805. $async$goto = 6;
  34806. break;
  34807. case 7:
  34808. // after for
  34809. $async$handler = 1;
  34810. // goto after finally
  34811. $async$goto = 5;
  34812. break;
  34813. case 3:
  34814. // catch
  34815. $async$handler = 2;
  34816. $async$exception = $async$currentError;
  34817. error = A.unwrapException($async$exception);
  34818. stackTrace = A.getTraceFromException($async$exception);
  34819. t1 = $async$self.runController;
  34820. t1._readLocal$0().addError$2(error, stackTrace);
  34821. $async$goto = 9;
  34822. return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
  34823. case 9:
  34824. // returning from await.
  34825. J.close$0$x(t1._readLocal$0());
  34826. // goto after finally
  34827. $async$goto = 5;
  34828. break;
  34829. case 2:
  34830. // uncaught
  34831. // goto rethrow
  34832. $async$goto = 1;
  34833. break;
  34834. case 5:
  34835. // after finally
  34836. // implicit return
  34837. return A._asyncReturn(null, $async$completer);
  34838. case 1:
  34839. // rethrow
  34840. return A._asyncRethrow($async$currentError, $async$completer);
  34841. }
  34842. });
  34843. return A._asyncStartSync($async$call$0, $async$completer);
  34844. },
  34845. $signature: 39
  34846. };
  34847. A.ReplAdapter_runAsync__closure.prototype = {
  34848. call$1(value) {
  34849. return this.lineController.add$1(0, A._asString(value));
  34850. },
  34851. $signature: 133
  34852. };
  34853. A.Stdin.prototype = {};
  34854. A.Stdout.prototype = {};
  34855. A.ReadlineModule.prototype = {};
  34856. A.ReadlineOptions.prototype = {};
  34857. A.ReadlineInterface.prototype = {};
  34858. A.EmptyUnmodifiableSet.prototype = {
  34859. get$iterator(_) {
  34860. return B.C_EmptyIterator;
  34861. },
  34862. get$length(_) {
  34863. return 0;
  34864. },
  34865. contains$1(_, element) {
  34866. return false;
  34867. },
  34868. toSet$0(_) {
  34869. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  34870. },
  34871. $isEfficientLengthIterable: 1,
  34872. $isSet: 1
  34873. };
  34874. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  34875. A.DefaultEquality.prototype = {};
  34876. A.IterableEquality.prototype = {
  34877. equals$2(_, elements1, elements2) {
  34878. var it1, it2, hasNext;
  34879. if (elements1 === elements2)
  34880. return true;
  34881. it1 = J.get$iterator$ax(elements1);
  34882. it2 = J.get$iterator$ax(elements2);
  34883. for (; true;) {
  34884. hasNext = it1.moveNext$0();
  34885. if (hasNext !== it2.moveNext$0())
  34886. return false;
  34887. if (!hasNext)
  34888. return true;
  34889. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  34890. return false;
  34891. }
  34892. },
  34893. hash$1(elements) {
  34894. var t1, hash, _i;
  34895. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  34896. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  34897. hash = hash + (hash << 10 >>> 0) & 2147483647;
  34898. hash ^= hash >>> 6;
  34899. }
  34900. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34901. hash ^= hash >>> 11;
  34902. return hash + (hash << 15 >>> 0) & 2147483647;
  34903. }
  34904. };
  34905. A.ListEquality.prototype = {
  34906. equals$2(_, list1, list2) {
  34907. var t1, $length, t2, i;
  34908. if (list1 == null ? list2 == null : list1 === list2)
  34909. return true;
  34910. if (list1 == null || list2 == null)
  34911. return false;
  34912. t1 = J.getInterceptor$asx(list1);
  34913. $length = t1.get$length(list1);
  34914. t2 = J.getInterceptor$asx(list2);
  34915. if ($length !== t2.get$length(list2))
  34916. return false;
  34917. for (i = 0; i < $length; ++i)
  34918. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  34919. return false;
  34920. return true;
  34921. },
  34922. hash$1(list) {
  34923. var hash, i;
  34924. for (hash = 0, i = 0; i < list.length; ++i) {
  34925. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  34926. hash = hash + (hash << 10 >>> 0) & 2147483647;
  34927. hash ^= hash >>> 6;
  34928. }
  34929. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34930. hash ^= hash >>> 11;
  34931. return hash + (hash << 15 >>> 0) & 2147483647;
  34932. }
  34933. };
  34934. A._MapEntry.prototype = {
  34935. get$hashCode(_) {
  34936. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  34937. },
  34938. $eq(_, other) {
  34939. if (other == null)
  34940. return false;
  34941. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  34942. }
  34943. };
  34944. A.MapEquality.prototype = {
  34945. equals$2(_, map1, map2) {
  34946. var equalElementCounts, t1, key, entry, count;
  34947. if (map1 === map2)
  34948. return true;
  34949. if (map1.get$length(map1) !== map2.get$length(map2))
  34950. return false;
  34951. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  34952. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  34953. key = t1.get$current(t1);
  34954. entry = new A._MapEntry(this, key, map1.$index(0, key));
  34955. count = equalElementCounts.$index(0, entry);
  34956. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  34957. }
  34958. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  34959. key = t1.get$current(t1);
  34960. entry = new A._MapEntry(this, key, map2.$index(0, key));
  34961. count = equalElementCounts.$index(0, entry);
  34962. if (count == null || count === 0)
  34963. return false;
  34964. equalElementCounts.$indexSet(0, entry, count - 1);
  34965. }
  34966. return true;
  34967. },
  34968. hash$1(map) {
  34969. var t1, t2, hash, key, keyHash, t3;
  34970. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
  34971. key = t1.get$current(t1);
  34972. keyHash = J.get$hashCode$(key);
  34973. t3 = map.$index(0, key);
  34974. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  34975. }
  34976. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34977. hash ^= hash >>> 11;
  34978. return hash + (hash << 15 >>> 0) & 2147483647;
  34979. }
  34980. };
  34981. A.QueueList.prototype = {
  34982. add$1(_, element) {
  34983. this._queue_list$_add$1(element);
  34984. },
  34985. addAll$1(_, iterable) {
  34986. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  34987. if (type$.List_dynamic._is(iterable)) {
  34988. addCount = J.get$length$asx(iterable);
  34989. $length = _this.get$length(_this);
  34990. t1 = $length + addCount;
  34991. if (t1 >= J.get$length$asx(_this._table)) {
  34992. _this._preGrow$1(t1);
  34993. J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
  34994. _this.set$_tail(_this.get$_tail() + addCount);
  34995. } else {
  34996. endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
  34997. t1 = _this._table;
  34998. t2 = J.getInterceptor$ax(t1);
  34999. if (addCount < endSpace) {
  35000. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
  35001. _this.set$_tail(_this.get$_tail() + addCount);
  35002. } else {
  35003. preSpace = addCount - endSpace;
  35004. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
  35005. J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
  35006. _this.set$_tail(preSpace);
  35007. }
  35008. }
  35009. } else
  35010. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  35011. _this._queue_list$_add$1(t1.get$current(t1));
  35012. },
  35013. cast$1$0(_, $T) {
  35014. return new A._CastQueueList(this, J.cast$1$0$ax(this._table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
  35015. },
  35016. toString$0(_) {
  35017. return A.IterableBase_iterableToFullString(this, "{", "}");
  35018. },
  35019. addFirst$1(element) {
  35020. var _this = this;
  35021. _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35022. J.$indexSet$ax(_this._table, _this.get$_head(), element);
  35023. if (_this.get$_head() === _this.get$_tail())
  35024. _this._grow$0();
  35025. },
  35026. removeFirst$0() {
  35027. var result, _this = this;
  35028. if (_this.get$_head() === _this.get$_tail())
  35029. throw A.wrapException(A.StateError$("No element"));
  35030. result = J.$index$asx(_this._table, _this.get$_head());
  35031. if (result == null)
  35032. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  35033. J.$indexSet$ax(_this._table, _this.get$_head(), null);
  35034. _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35035. return result;
  35036. },
  35037. get$length(_) {
  35038. return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
  35039. },
  35040. set$length(_, value) {
  35041. var delta, newTail, t1, t2, _this = this;
  35042. if (value < 0)
  35043. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  35044. if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  35045. 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) + "`."));
  35046. delta = value - _this.get$length(_this);
  35047. if (delta >= 0) {
  35048. if (J.get$length$asx(_this._table) <= value)
  35049. _this._preGrow$1(value);
  35050. _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
  35051. return;
  35052. }
  35053. newTail = _this.get$_tail() + delta;
  35054. t1 = _this._table;
  35055. if (newTail >= 0)
  35056. J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
  35057. else {
  35058. newTail += J.get$length$asx(t1);
  35059. J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
  35060. t1 = _this._table;
  35061. t2 = J.getInterceptor$asx(t1);
  35062. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  35063. }
  35064. _this.set$_tail(newTail);
  35065. },
  35066. $index(_, index) {
  35067. var t1, _this = this;
  35068. if (index < 0 || index >= _this.get$length(_this))
  35069. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  35070. t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
  35071. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  35072. },
  35073. $indexSet(_, index, value) {
  35074. var _this = this;
  35075. if (index < 0 || index >= _this.get$length(_this))
  35076. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  35077. J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
  35078. },
  35079. _queue_list$_add$1(element) {
  35080. var _this = this;
  35081. J.$indexSet$ax(_this._table, _this.get$_tail(), element);
  35082. _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  35083. if (_this.get$_head() === _this.get$_tail())
  35084. _this._grow$0();
  35085. },
  35086. _grow$0() {
  35087. var _this = this,
  35088. newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  35089. split = J.get$length$asx(_this._table) - _this.get$_head();
  35090. B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
  35091. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
  35092. _this.set$_head(0);
  35093. _this.set$_tail(J.get$length$asx(_this._table));
  35094. _this._table = newTable;
  35095. },
  35096. _writeToList$1(target) {
  35097. var $length, firstPartSize, _this = this;
  35098. if (_this.get$_head() <= _this.get$_tail()) {
  35099. $length = _this.get$_tail() - _this.get$_head();
  35100. B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
  35101. return $length;
  35102. } else {
  35103. firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
  35104. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
  35105. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
  35106. return _this.get$_tail() + firstPartSize;
  35107. }
  35108. },
  35109. _preGrow$1(newElementCount) {
  35110. var _this = this,
  35111. 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?"));
  35112. _this.set$_tail(_this._writeToList$1(newTable));
  35113. _this._table = newTable;
  35114. _this.set$_head(0);
  35115. },
  35116. $isEfficientLengthIterable: 1,
  35117. $isQueue: 1,
  35118. $isIterable: 1,
  35119. $isList: 1,
  35120. get$_head() {
  35121. return this._head;
  35122. },
  35123. get$_tail() {
  35124. return this._tail;
  35125. },
  35126. set$_head(val) {
  35127. return this._head = val;
  35128. },
  35129. set$_tail(val) {
  35130. return this._tail = val;
  35131. }
  35132. };
  35133. A._CastQueueList.prototype = {
  35134. get$_head() {
  35135. return this._queue_list$_delegate.get$_head();
  35136. },
  35137. set$_head(value) {
  35138. this._queue_list$_delegate.set$_head(value);
  35139. },
  35140. get$_tail() {
  35141. return this._queue_list$_delegate.get$_tail();
  35142. },
  35143. set$_tail(value) {
  35144. this._queue_list$_delegate.set$_tail(value);
  35145. }
  35146. };
  35147. A._QueueList_Object_ListMixin.prototype = {};
  35148. A.UnionSet.prototype = {
  35149. get$length(_) {
  35150. var t1 = this.get$_union_set$_iterable();
  35151. t1 = t1.get$length(t1);
  35152. return t1;
  35153. },
  35154. get$iterator(_) {
  35155. var t1 = this.get$_union_set$_iterable();
  35156. return t1.get$iterator(t1);
  35157. },
  35158. get$_union_set$_iterable() {
  35159. var t1 = this._sets,
  35160. t2 = this.$ti._precomputed1,
  35161. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  35162. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  35163. 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>"));
  35164. },
  35165. contains$1(_, element) {
  35166. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  35167. },
  35168. toSet$0(_) {
  35169. var t2, t3, t4,
  35170. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  35171. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  35172. t4 = t2._collection$_current;
  35173. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  35174. }
  35175. return t1;
  35176. }
  35177. };
  35178. A.UnionSet__iterable_closure.prototype = {
  35179. call$1(set) {
  35180. return set;
  35181. },
  35182. $signature() {
  35183. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  35184. }
  35185. };
  35186. A.UnionSet_contains_closure.prototype = {
  35187. call$1(set) {
  35188. return set.contains$1(0, this.element);
  35189. },
  35190. $signature() {
  35191. return this.$this.$ti._eval$1("bool(Set<1>)");
  35192. }
  35193. };
  35194. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  35195. A.UnmodifiableSetView.prototype = {};
  35196. A.UnmodifiableSetMixin.prototype = {
  35197. add$1(_, value) {
  35198. return A.UnmodifiableSetMixin__throw();
  35199. },
  35200. addAll$1(_, elements) {
  35201. return A.UnmodifiableSetMixin__throw();
  35202. },
  35203. remove$1(_, value) {
  35204. return A.UnmodifiableSetMixin__throw();
  35205. }
  35206. };
  35207. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  35208. A._DelegatingIterableBase.prototype = {
  35209. contains$1(_, element) {
  35210. return J.contains$1$asx(this.get$_base(), element);
  35211. },
  35212. elementAt$1(_, index) {
  35213. return J.elementAt$1$ax(this.get$_base(), index);
  35214. },
  35215. get$first(_) {
  35216. return J.get$first$ax(this.get$_base());
  35217. },
  35218. get$isEmpty(_) {
  35219. return J.get$isEmpty$asx(this.get$_base());
  35220. },
  35221. get$isNotEmpty(_) {
  35222. return J.get$isNotEmpty$asx(this.get$_base());
  35223. },
  35224. get$iterator(_) {
  35225. return J.get$iterator$ax(this.get$_base());
  35226. },
  35227. join$1(_, separator) {
  35228. return J.join$1$ax(this.get$_base(), separator);
  35229. },
  35230. join$0($receiver) {
  35231. return this.join$1($receiver, "");
  35232. },
  35233. get$last(_) {
  35234. return J.get$last$ax(this.get$_base());
  35235. },
  35236. get$length(_) {
  35237. return J.get$length$asx(this.get$_base());
  35238. },
  35239. map$1$1(_, f, $T) {
  35240. return J.map$1$1$ax(this.get$_base(), f, $T);
  35241. },
  35242. get$single(_) {
  35243. return J.get$single$ax(this.get$_base());
  35244. },
  35245. skip$1(_, n) {
  35246. return J.skip$1$ax(this.get$_base(), n);
  35247. },
  35248. take$1(_, n) {
  35249. return J.take$1$ax(this.get$_base(), n);
  35250. },
  35251. toList$1$growable(_, growable) {
  35252. return J.toList$1$growable$ax(this.get$_base(), true);
  35253. },
  35254. toList$0($receiver) {
  35255. return this.toList$1$growable($receiver, true);
  35256. },
  35257. toSet$0(_) {
  35258. return J.toSet$0$ax(this.get$_base());
  35259. },
  35260. where$1(_, test) {
  35261. return J.where$1$ax(this.get$_base(), test);
  35262. },
  35263. toString$0(_) {
  35264. return J.toString$0$(this.get$_base());
  35265. },
  35266. $isIterable: 1
  35267. };
  35268. A.DelegatingSet.prototype = {
  35269. add$1(_, value) {
  35270. return this._base.add$1(0, value);
  35271. },
  35272. addAll$1(_, elements) {
  35273. this._base.addAll$1(0, elements);
  35274. },
  35275. toSet$0(_) {
  35276. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  35277. },
  35278. $isEfficientLengthIterable: 1,
  35279. $isSet: 1,
  35280. get$_base() {
  35281. return this._base;
  35282. }
  35283. };
  35284. A.MapKeySet.prototype = {
  35285. get$_base() {
  35286. var t1 = this._baseMap;
  35287. return t1.get$keys(t1);
  35288. },
  35289. contains$1(_, element) {
  35290. return this._baseMap.containsKey$1(element);
  35291. },
  35292. get$isEmpty(_) {
  35293. var t1 = this._baseMap;
  35294. return t1.get$isEmpty(t1);
  35295. },
  35296. get$isNotEmpty(_) {
  35297. var t1 = this._baseMap;
  35298. return t1.get$isNotEmpty(t1);
  35299. },
  35300. get$length(_) {
  35301. var t1 = this._baseMap;
  35302. return t1.get$length(t1);
  35303. },
  35304. toString$0(_) {
  35305. return A.IterableBase_iterableToFullString(this, "{", "}");
  35306. },
  35307. difference$1(other) {
  35308. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  35309. },
  35310. $isEfficientLengthIterable: 1,
  35311. $isSet: 1
  35312. };
  35313. A.MapKeySet_difference_closure.prototype = {
  35314. call$1(element) {
  35315. return !this.other._source.contains$1(0, element);
  35316. },
  35317. $signature() {
  35318. return this.$this.$ti._eval$1("bool(1)");
  35319. }
  35320. };
  35321. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  35322. A.BufferModule.prototype = {};
  35323. A.BufferConstants.prototype = {};
  35324. A.Buffer.prototype = {};
  35325. A.ConsoleModule.prototype = {};
  35326. A.Console.prototype = {};
  35327. A.EventEmitter.prototype = {};
  35328. A.FS.prototype = {};
  35329. A.FSConstants.prototype = {};
  35330. A.FSWatcher.prototype = {};
  35331. A.ReadStream.prototype = {};
  35332. A.ReadStreamOptions.prototype = {};
  35333. A.WriteStream.prototype = {};
  35334. A.WriteStreamOptions.prototype = {};
  35335. A.FileOptions.prototype = {};
  35336. A.StatOptions.prototype = {};
  35337. A.MkdirOptions.prototype = {};
  35338. A.RmdirOptions.prototype = {};
  35339. A.WatchOptions.prototype = {};
  35340. A.WatchFileOptions.prototype = {};
  35341. A.Stats.prototype = {};
  35342. A.Promise.prototype = {};
  35343. A.Date.prototype = {};
  35344. A.JsError.prototype = {};
  35345. A.Atomics.prototype = {};
  35346. A.Modules.prototype = {};
  35347. A.Module1.prototype = {};
  35348. A.Net.prototype = {};
  35349. A.Socket.prototype = {};
  35350. A.NetAddress.prototype = {};
  35351. A.NetServer.prototype = {};
  35352. A.NodeJsError.prototype = {};
  35353. A.JsAssertionError.prototype = {};
  35354. A.JsRangeError.prototype = {};
  35355. A.JsReferenceError.prototype = {};
  35356. A.JsSyntaxError.prototype = {};
  35357. A.JsTypeError.prototype = {};
  35358. A.JsSystemError.prototype = {};
  35359. A.Process.prototype = {};
  35360. A.CPUUsage.prototype = {};
  35361. A.Release.prototype = {};
  35362. A.StreamModule.prototype = {};
  35363. A.Readable.prototype = {};
  35364. A.Writable.prototype = {};
  35365. A.Duplex.prototype = {};
  35366. A.Transform.prototype = {};
  35367. A.WritableOptions.prototype = {};
  35368. A.ReadableOptions.prototype = {};
  35369. A.Immediate.prototype = {};
  35370. A.Timeout.prototype = {};
  35371. A.TTY.prototype = {};
  35372. A.TTYReadStream.prototype = {};
  35373. A.TTYWriteStream.prototype = {};
  35374. A.Util.prototype = {};
  35375. A.promiseToFuture_closure.prototype = {
  35376. call$1(value) {
  35377. this.completer.complete$1(value);
  35378. },
  35379. $signature: 72
  35380. };
  35381. A.promiseToFuture_closure0.prototype = {
  35382. call$1(error) {
  35383. this.completer.completeError$1(error);
  35384. },
  35385. $signature: 72
  35386. };
  35387. A.futureToPromise_closure.prototype = {
  35388. call$2(resolve, reject) {
  35389. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  35390. },
  35391. $signature: 477
  35392. };
  35393. A.futureToPromise__closure.prototype = {
  35394. call$1(result) {
  35395. return this.resolve.call$1(result);
  35396. },
  35397. $signature() {
  35398. return this.T._eval$1("@(0)");
  35399. }
  35400. };
  35401. A.Context.prototype = {
  35402. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  35403. var t1;
  35404. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  35405. if (part2 == null) {
  35406. t1 = this.style;
  35407. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  35408. } else
  35409. t1 = false;
  35410. if (t1)
  35411. return part1;
  35412. t1 = this._context$_current;
  35413. 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);
  35414. },
  35415. absolute$1(part1) {
  35416. return this.absolute$15(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  35417. },
  35418. dirname$1(path) {
  35419. var t1, t2,
  35420. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35421. parsed.removeTrailingSeparators$0();
  35422. t1 = parsed.parts;
  35423. t2 = t1.length;
  35424. if (t2 === 0) {
  35425. t1 = parsed.root;
  35426. return t1 == null ? "." : t1;
  35427. }
  35428. if (t2 === 1) {
  35429. t1 = parsed.root;
  35430. return t1 == null ? "." : t1;
  35431. }
  35432. B.JSArray_methods.removeLast$0(t1);
  35433. parsed.separators.pop();
  35434. parsed.removeTrailingSeparators$0();
  35435. return parsed.toString$0(0);
  35436. },
  35437. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  35438. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  35439. A._validateArgList("join", parts);
  35440. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  35441. },
  35442. join$2($receiver, part1, part2) {
  35443. return this.join$16($receiver, part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  35444. },
  35445. joinAll$1(parts) {
  35446. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  35447. for (t1 = parts.get$iterator(parts), t2 = new A.WhereIterator(t1, new A.Context_joinAll_closure()), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t2.moveNext$0();) {
  35448. t5 = t1.get$current(t1);
  35449. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  35450. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  35451. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  35452. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  35453. parsed.root = t4;
  35454. if (t3.needsSeparator$1(t4))
  35455. parsed.separators[0] = t3.get$separator(t3);
  35456. t4 = "" + parsed.toString$0(0);
  35457. } else if (t3.rootLength$1(t5) > 0) {
  35458. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  35459. t4 = "" + t5;
  35460. } else {
  35461. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  35462. if (needsSeparator)
  35463. t4 += t3.get$separator(t3);
  35464. t4 += t5;
  35465. }
  35466. needsSeparator = t3.needsSeparator$1(t5);
  35467. }
  35468. return t4.charCodeAt(0) == 0 ? t4 : t4;
  35469. },
  35470. split$1(_, path) {
  35471. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  35472. t1 = parsed.parts,
  35473. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  35474. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  35475. parsed.parts = t2;
  35476. t1 = parsed.root;
  35477. if (t1 != null)
  35478. B.JSArray_methods.insert$2(t2, 0, t1);
  35479. return parsed.parts;
  35480. },
  35481. canonicalize$1(_, path) {
  35482. var t1, parsed;
  35483. path = this.absolute$1(path);
  35484. t1 = this.style;
  35485. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  35486. return path;
  35487. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  35488. parsed.normalize$1$canonicalize(true);
  35489. return parsed.toString$0(0);
  35490. },
  35491. normalize$1(path) {
  35492. var parsed;
  35493. if (!this._needsNormalization$1(path))
  35494. return path;
  35495. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35496. parsed.normalize$0();
  35497. return parsed.toString$0(0);
  35498. },
  35499. _needsNormalization$1(path) {
  35500. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  35501. t1 = this.style,
  35502. root = t1.rootLength$1(path);
  35503. if (root !== 0) {
  35504. if (t1 === $.$get$Style_windows())
  35505. for (i = 0; i < root; ++i)
  35506. if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
  35507. return true;
  35508. start = root;
  35509. previous = 47;
  35510. } else {
  35511. start = 0;
  35512. previous = null;
  35513. }
  35514. for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  35515. codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
  35516. if (t1.isSeparator$1(codeUnit)) {
  35517. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  35518. return true;
  35519. if (previous != null && t1.isSeparator$1(previous))
  35520. return true;
  35521. if (previous === 46)
  35522. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  35523. else
  35524. t4 = false;
  35525. if (t4)
  35526. return true;
  35527. }
  35528. }
  35529. if (previous == null)
  35530. return true;
  35531. if (t1.isSeparator$1(previous))
  35532. return true;
  35533. if (previous === 46)
  35534. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  35535. else
  35536. t1 = false;
  35537. if (t1)
  35538. return true;
  35539. return false;
  35540. },
  35541. relative$2$from(path, from) {
  35542. var fromParsed, pathParsed, t2, t3, _this = this,
  35543. _s26_ = 'Unable to find a path to "',
  35544. t1 = from == null;
  35545. if (t1 && _this.style.rootLength$1(path) <= 0)
  35546. return _this.normalize$1(path);
  35547. if (t1) {
  35548. t1 = _this._context$_current;
  35549. from = t1 == null ? A.current() : t1;
  35550. } else
  35551. from = _this.absolute$1(from);
  35552. t1 = _this.style;
  35553. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  35554. return _this.normalize$1(path);
  35555. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  35556. path = _this.absolute$1(path);
  35557. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  35558. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  35559. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  35560. fromParsed.normalize$0();
  35561. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  35562. pathParsed.normalize$0();
  35563. t2 = fromParsed.parts;
  35564. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  35565. return pathParsed.toString$0(0);
  35566. t2 = fromParsed.root;
  35567. t3 = pathParsed.root;
  35568. if (t2 != t3)
  35569. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  35570. else
  35571. t2 = false;
  35572. if (t2)
  35573. return pathParsed.toString$0(0);
  35574. while (true) {
  35575. t2 = fromParsed.parts;
  35576. if (t2.length !== 0) {
  35577. t3 = pathParsed.parts;
  35578. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  35579. } else
  35580. t2 = false;
  35581. if (!t2)
  35582. break;
  35583. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  35584. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  35585. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  35586. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  35587. }
  35588. t2 = fromParsed.parts;
  35589. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  35590. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  35591. t2 = type$.String;
  35592. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  35593. t3 = pathParsed.separators;
  35594. t3[0] = "";
  35595. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  35596. t1 = pathParsed.parts;
  35597. t2 = t1.length;
  35598. if (t2 === 0)
  35599. return ".";
  35600. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  35601. B.JSArray_methods.removeLast$0(pathParsed.parts);
  35602. t1 = pathParsed.separators;
  35603. t1.pop();
  35604. t1.pop();
  35605. t1.push("");
  35606. }
  35607. pathParsed.root = "";
  35608. pathParsed.removeTrailingSeparators$0();
  35609. return pathParsed.toString$0(0);
  35610. },
  35611. relative$1(path) {
  35612. return this.relative$2$from(path, null);
  35613. },
  35614. _isWithinOrEquals$2($parent, child) {
  35615. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  35616. $parent = $parent;
  35617. child = child;
  35618. t1 = _this.style;
  35619. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  35620. childIsAbsolute = t1.rootLength$1(child) > 0;
  35621. if (parentIsAbsolute && !childIsAbsolute) {
  35622. child = _this.absolute$1(child);
  35623. if (t1.isRootRelative$1($parent))
  35624. $parent = _this.absolute$1($parent);
  35625. } else if (childIsAbsolute && !parentIsAbsolute) {
  35626. $parent = _this.absolute$1($parent);
  35627. if (t1.isRootRelative$1(child))
  35628. child = _this.absolute$1(child);
  35629. } else if (childIsAbsolute && parentIsAbsolute) {
  35630. childIsRootRelative = t1.isRootRelative$1(child);
  35631. parentIsRootRelative = t1.isRootRelative$1($parent);
  35632. if (childIsRootRelative && !parentIsRootRelative)
  35633. child = _this.absolute$1(child);
  35634. else if (parentIsRootRelative && !childIsRootRelative)
  35635. $parent = _this.absolute$1($parent);
  35636. }
  35637. result = _this._isWithinOrEqualsFast$2($parent, child);
  35638. if (result !== B._PathRelation_inconclusive)
  35639. return result;
  35640. relative = null;
  35641. try {
  35642. relative = _this.relative$2$from(child, $parent);
  35643. } catch (exception) {
  35644. if (A.unwrapException(exception) instanceof A.PathException)
  35645. return B._PathRelation_different;
  35646. else
  35647. throw exception;
  35648. }
  35649. if (t1.rootLength$1(relative) > 0)
  35650. return B._PathRelation_different;
  35651. if (J.$eq$(relative, "."))
  35652. return B._PathRelation_equal;
  35653. if (J.$eq$(relative, ".."))
  35654. return B._PathRelation_different;
  35655. 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;
  35656. },
  35657. _isWithinOrEqualsFast$2($parent, child) {
  35658. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  35659. if ($parent === ".")
  35660. $parent = "";
  35661. t1 = _this.style;
  35662. parentRootLength = t1.rootLength$1($parent);
  35663. childRootLength = t1.rootLength$1(child);
  35664. if (parentRootLength !== childRootLength)
  35665. return B._PathRelation_different;
  35666. for (i = 0; i < parentRootLength; ++i)
  35667. if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
  35668. return B._PathRelation_different;
  35669. t2 = child.length;
  35670. t3 = $parent.length;
  35671. childIndex = childRootLength;
  35672. parentIndex = parentRootLength;
  35673. lastCodeUnit = 47;
  35674. lastParentSeparator = null;
  35675. while (true) {
  35676. if (!(parentIndex < t3 && childIndex < t2))
  35677. break;
  35678. c$0: {
  35679. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35680. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35681. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  35682. if (t1.isSeparator$1(parentCodeUnit))
  35683. lastParentSeparator = parentIndex;
  35684. ++parentIndex;
  35685. ++childIndex;
  35686. lastCodeUnit = parentCodeUnit;
  35687. break c$0;
  35688. }
  35689. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35690. parentIndex0 = parentIndex + 1;
  35691. lastParentSeparator = parentIndex;
  35692. parentIndex = parentIndex0;
  35693. break c$0;
  35694. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35695. ++childIndex;
  35696. break c$0;
  35697. }
  35698. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35699. ++parentIndex;
  35700. if (parentIndex === t3)
  35701. break;
  35702. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35703. if (t1.isSeparator$1(parentCodeUnit)) {
  35704. parentIndex0 = parentIndex + 1;
  35705. lastParentSeparator = parentIndex;
  35706. parentIndex = parentIndex0;
  35707. break c$0;
  35708. }
  35709. if (parentCodeUnit === 46) {
  35710. ++parentIndex;
  35711. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35712. return B._PathRelation_inconclusive;
  35713. }
  35714. }
  35715. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35716. ++childIndex;
  35717. if (childIndex === t2)
  35718. break;
  35719. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35720. if (t1.isSeparator$1(childCodeUnit)) {
  35721. ++childIndex;
  35722. break c$0;
  35723. }
  35724. if (childCodeUnit === 46) {
  35725. ++childIndex;
  35726. if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
  35727. return B._PathRelation_inconclusive;
  35728. }
  35729. }
  35730. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  35731. return B._PathRelation_inconclusive;
  35732. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  35733. return B._PathRelation_inconclusive;
  35734. return B._PathRelation_different;
  35735. }
  35736. }
  35737. if (childIndex === t2) {
  35738. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35739. lastParentSeparator = parentIndex;
  35740. else if (lastParentSeparator == null)
  35741. lastParentSeparator = Math.max(0, parentRootLength - 1);
  35742. direction = _this._pathDirection$2($parent, lastParentSeparator);
  35743. if (direction === B._PathDirection_8Gl)
  35744. return B._PathRelation_equal;
  35745. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  35746. }
  35747. direction = _this._pathDirection$2(child, childIndex);
  35748. if (direction === B._PathDirection_8Gl)
  35749. return B._PathRelation_equal;
  35750. if (direction === B._PathDirection_ZGD)
  35751. return B._PathRelation_inconclusive;
  35752. return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  35753. },
  35754. _pathDirection$2(path, index) {
  35755. var t1, t2, i, depth, reachedRoot, i0, t3;
  35756. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  35757. while (true) {
  35758. if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
  35759. break;
  35760. ++i;
  35761. }
  35762. if (i === t1)
  35763. break;
  35764. i0 = i;
  35765. while (true) {
  35766. if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
  35767. break;
  35768. ++i0;
  35769. }
  35770. t3 = i0 - i;
  35771. if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
  35772. if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
  35773. --depth;
  35774. if (depth < 0)
  35775. break;
  35776. if (depth === 0)
  35777. reachedRoot = true;
  35778. } else
  35779. ++depth;
  35780. if (i0 === t1)
  35781. break;
  35782. i = i0 + 1;
  35783. }
  35784. if (depth < 0)
  35785. return B._PathDirection_ZGD;
  35786. if (depth === 0)
  35787. return B._PathDirection_8Gl;
  35788. if (reachedRoot)
  35789. return B._PathDirection_FIw;
  35790. return B._PathDirection_988;
  35791. },
  35792. hash$1(path) {
  35793. var result, parsed, t1, _this = this;
  35794. path = _this.absolute$1(path);
  35795. result = _this._hashFast$1(path);
  35796. if (result != null)
  35797. return result;
  35798. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  35799. parsed.normalize$0();
  35800. t1 = _this._hashFast$1(parsed.toString$0(0));
  35801. t1.toString;
  35802. return t1;
  35803. },
  35804. _hashFast$1(path) {
  35805. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  35806. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  35807. codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
  35808. if (t2.isSeparator$1(codeUnit)) {
  35809. wasSeparator = true;
  35810. continue;
  35811. }
  35812. if (codeUnit === 46 && wasSeparator) {
  35813. t3 = i + 1;
  35814. if (t3 === t1)
  35815. break;
  35816. next = B.JSString_methods._codeUnitAt$1(path, t3);
  35817. if (t2.isSeparator$1(next))
  35818. continue;
  35819. if (!beginning)
  35820. if (next === 46) {
  35821. t3 = i + 2;
  35822. t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
  35823. } else
  35824. t3 = false;
  35825. else
  35826. t3 = false;
  35827. if (t3)
  35828. return null;
  35829. }
  35830. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  35831. beginning = false;
  35832. wasSeparator = false;
  35833. }
  35834. return hash;
  35835. },
  35836. withoutExtension$1(path) {
  35837. var i,
  35838. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35839. for (i = parsed.parts.length - 1; i >= 0; --i)
  35840. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  35841. parsed.parts[i] = parsed._splitExtension$0()[0];
  35842. break;
  35843. }
  35844. return parsed.toString$0(0);
  35845. },
  35846. toUri$1(path) {
  35847. var t2,
  35848. t1 = this.style;
  35849. if (t1.rootLength$1(path) <= 0)
  35850. return t1.relativePathToUri$1(path);
  35851. else {
  35852. t2 = this._context$_current;
  35853. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  35854. }
  35855. },
  35856. prettyUri$1(uri) {
  35857. var path, rel, _this = this,
  35858. typedUri = A._parseUri(uri);
  35859. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  35860. return typedUri.toString$0(0);
  35861. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  35862. return typedUri.toString$0(0);
  35863. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  35864. rel = _this.relative$1(path);
  35865. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  35866. }
  35867. };
  35868. A.Context_joinAll_closure.prototype = {
  35869. call$1(part) {
  35870. return part !== "";
  35871. },
  35872. $signature: 8
  35873. };
  35874. A.Context_split_closure.prototype = {
  35875. call$1(part) {
  35876. return part.length !== 0;
  35877. },
  35878. $signature: 8
  35879. };
  35880. A._validateArgList_closure.prototype = {
  35881. call$1(arg) {
  35882. return arg == null ? "null" : '"' + arg + '"';
  35883. },
  35884. $signature: 511
  35885. };
  35886. A._PathDirection.prototype = {
  35887. toString$0(_) {
  35888. return this.name;
  35889. }
  35890. };
  35891. A._PathRelation.prototype = {
  35892. toString$0(_) {
  35893. return this.name;
  35894. }
  35895. };
  35896. A.InternalStyle.prototype = {
  35897. getRoot$1(path) {
  35898. var $length = this.rootLength$1(path);
  35899. if ($length > 0)
  35900. return B.JSString_methods.substring$2(path, 0, $length);
  35901. return this.isRootRelative$1(path) ? path[0] : null;
  35902. },
  35903. relativePathToUri$1(path) {
  35904. var segments, _null = null,
  35905. t1 = path.length;
  35906. if (t1 === 0)
  35907. return A._Uri__Uri(_null, _null, _null, _null);
  35908. segments = A.Context_Context(this).split$1(0, path);
  35909. if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
  35910. B.JSArray_methods.add$1(segments, "");
  35911. return A._Uri__Uri(_null, _null, segments, _null);
  35912. },
  35913. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  35914. return codeUnit1 === codeUnit2;
  35915. },
  35916. pathsEqual$2(path1, path2) {
  35917. return path1 === path2;
  35918. },
  35919. canonicalizeCodeUnit$1(codeUnit) {
  35920. return codeUnit;
  35921. },
  35922. canonicalizePart$1(part) {
  35923. return part;
  35924. }
  35925. };
  35926. A.ParsedPath.prototype = {
  35927. get$basename() {
  35928. var _this = this,
  35929. t1 = type$.String,
  35930. 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));
  35931. copy.removeTrailingSeparators$0();
  35932. t1 = copy.parts;
  35933. if (t1.length === 0) {
  35934. t1 = _this.root;
  35935. return t1 == null ? "" : t1;
  35936. }
  35937. return B.JSArray_methods.get$last(t1);
  35938. },
  35939. get$hasTrailingSeparator() {
  35940. var t1 = this.parts;
  35941. if (t1.length !== 0)
  35942. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  35943. else
  35944. t1 = false;
  35945. return t1;
  35946. },
  35947. removeTrailingSeparators$0() {
  35948. var t1, t2, _this = this;
  35949. while (true) {
  35950. t1 = _this.parts;
  35951. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  35952. break;
  35953. B.JSArray_methods.removeLast$0(_this.parts);
  35954. _this.separators.pop();
  35955. }
  35956. t1 = _this.separators;
  35957. t2 = t1.length;
  35958. if (t2 !== 0)
  35959. t1[t2 - 1] = "";
  35960. },
  35961. normalize$1$canonicalize(canonicalize) {
  35962. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  35963. newParts = A._setArrayType([], type$.JSArray_String);
  35964. 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) {
  35965. part = t1[_i];
  35966. t4 = J.getInterceptor$(part);
  35967. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  35968. if (t4.$eq(part, ".."))
  35969. if (newParts.length !== 0)
  35970. newParts.pop();
  35971. else
  35972. ++leadingDoubles;
  35973. else
  35974. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  35975. }
  35976. if (_this.root == null)
  35977. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  35978. if (newParts.length === 0 && _this.root == null)
  35979. newParts.push(".");
  35980. _this.parts = newParts;
  35981. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  35982. t1 = _this.root;
  35983. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  35984. _this.separators[0] = "";
  35985. t1 = _this.root;
  35986. if (t1 != null && t3 === $.$get$Style_windows()) {
  35987. if (canonicalize)
  35988. t1 = _this.root = t1.toLowerCase();
  35989. t1.toString;
  35990. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  35991. }
  35992. _this.removeTrailingSeparators$0();
  35993. },
  35994. normalize$0() {
  35995. return this.normalize$1$canonicalize(false);
  35996. },
  35997. toString$0(_) {
  35998. var i, _this = this,
  35999. t1 = _this.root;
  36000. t1 = t1 != null ? "" + t1 : "";
  36001. for (i = 0; i < _this.parts.length; ++i)
  36002. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  36003. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  36004. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36005. },
  36006. _kthLastIndexOf$3(path, character, k) {
  36007. var index, count, leftMostIndexedCharacter;
  36008. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  36009. if (path[index] === character) {
  36010. ++count;
  36011. if (count === k)
  36012. return index;
  36013. leftMostIndexedCharacter = index;
  36014. }
  36015. return leftMostIndexedCharacter;
  36016. },
  36017. _splitExtension$1(level) {
  36018. var t1, file, lastDot;
  36019. if (level <= 0)
  36020. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  36021. t1 = this.parts;
  36022. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  36023. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  36024. if (file == null)
  36025. return A._setArrayType(["", ""], type$.JSArray_String);
  36026. if (file === "..")
  36027. return A._setArrayType(["..", ""], type$.JSArray_String);
  36028. lastDot = this._kthLastIndexOf$3(file, ".", level);
  36029. if (lastDot <= 0)
  36030. return A._setArrayType([file, ""], type$.JSArray_String);
  36031. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  36032. },
  36033. _splitExtension$0() {
  36034. return this._splitExtension$1(1);
  36035. }
  36036. };
  36037. A.ParsedPath__splitExtension_closure.prototype = {
  36038. call$1(p) {
  36039. return p !== "";
  36040. },
  36041. $signature: 139
  36042. };
  36043. A.ParsedPath__splitExtension_closure0.prototype = {
  36044. call$0() {
  36045. return null;
  36046. },
  36047. $signature: 1
  36048. };
  36049. A.PathException.prototype = {
  36050. toString$0(_) {
  36051. return "PathException: " + this.message;
  36052. },
  36053. $isException: 1,
  36054. get$message(receiver) {
  36055. return this.message;
  36056. }
  36057. };
  36058. A.PathMap.prototype = {};
  36059. A.PathMap__create_closure.prototype = {
  36060. call$2(path1, path2) {
  36061. if (path1 == null)
  36062. return path2 == null;
  36063. if (path2 == null)
  36064. return false;
  36065. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  36066. },
  36067. $signature: 569
  36068. };
  36069. A.PathMap__create_closure0.prototype = {
  36070. call$1(path) {
  36071. return path == null ? 0 : this._box_0.context.hash$1(path);
  36072. },
  36073. $signature: 603
  36074. };
  36075. A.PathMap__create_closure1.prototype = {
  36076. call$1(path) {
  36077. return typeof path == "string" || path == null;
  36078. },
  36079. $signature: 131
  36080. };
  36081. A.Style.prototype = {
  36082. toString$0(_) {
  36083. return this.get$name(this);
  36084. }
  36085. };
  36086. A.PosixStyle.prototype = {
  36087. containsSeparator$1(path) {
  36088. return B.JSString_methods.contains$1(path, "/");
  36089. },
  36090. isSeparator$1(codeUnit) {
  36091. return codeUnit === 47;
  36092. },
  36093. needsSeparator$1(path) {
  36094. var t1 = path.length;
  36095. return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
  36096. },
  36097. rootLength$2$withDrive(path, withDrive) {
  36098. if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  36099. return 1;
  36100. return 0;
  36101. },
  36102. rootLength$1(path) {
  36103. return this.rootLength$2$withDrive(path, false);
  36104. },
  36105. isRootRelative$1(path) {
  36106. return false;
  36107. },
  36108. pathFromUri$1(uri) {
  36109. var t1;
  36110. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  36111. t1 = uri.get$path(uri);
  36112. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  36113. }
  36114. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  36115. },
  36116. absolutePathToUri$1(path) {
  36117. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  36118. t1 = parsed.parts;
  36119. if (t1.length === 0)
  36120. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  36121. else if (parsed.get$hasTrailingSeparator())
  36122. B.JSArray_methods.add$1(parsed.parts, "");
  36123. return A._Uri__Uri(null, null, parsed.parts, "file");
  36124. },
  36125. get$name() {
  36126. return "posix";
  36127. },
  36128. get$separator() {
  36129. return "/";
  36130. }
  36131. };
  36132. A.UrlStyle.prototype = {
  36133. containsSeparator$1(path) {
  36134. return B.JSString_methods.contains$1(path, "/");
  36135. },
  36136. isSeparator$1(codeUnit) {
  36137. return codeUnit === 47;
  36138. },
  36139. needsSeparator$1(path) {
  36140. var t1 = path.length;
  36141. if (t1 === 0)
  36142. return false;
  36143. if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
  36144. return true;
  36145. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  36146. },
  36147. rootLength$2$withDrive(path, withDrive) {
  36148. var i, codeUnit, index, t2,
  36149. t1 = path.length;
  36150. if (t1 === 0)
  36151. return 0;
  36152. if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  36153. return 1;
  36154. for (i = 0; i < t1; ++i) {
  36155. codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
  36156. if (codeUnit === 47)
  36157. return 0;
  36158. if (codeUnit === 58) {
  36159. if (i === 0)
  36160. return 0;
  36161. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  36162. if (index <= 0)
  36163. return t1;
  36164. if (!withDrive || t1 < index + 3)
  36165. return index;
  36166. if (!B.JSString_methods.startsWith$1(path, "file://"))
  36167. return index;
  36168. if (!A.isDriveLetter(path, index + 1))
  36169. return index;
  36170. t2 = index + 3;
  36171. return t1 === t2 ? t2 : index + 4;
  36172. }
  36173. }
  36174. return 0;
  36175. },
  36176. rootLength$1(path) {
  36177. return this.rootLength$2$withDrive(path, false);
  36178. },
  36179. isRootRelative$1(path) {
  36180. return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
  36181. },
  36182. pathFromUri$1(uri) {
  36183. return uri.toString$0(0);
  36184. },
  36185. relativePathToUri$1(path) {
  36186. return A.Uri_parse(path);
  36187. },
  36188. absolutePathToUri$1(path) {
  36189. return A.Uri_parse(path);
  36190. },
  36191. get$name() {
  36192. return "url";
  36193. },
  36194. get$separator() {
  36195. return "/";
  36196. }
  36197. };
  36198. A.WindowsStyle.prototype = {
  36199. containsSeparator$1(path) {
  36200. return B.JSString_methods.contains$1(path, "/");
  36201. },
  36202. isSeparator$1(codeUnit) {
  36203. return codeUnit === 47 || codeUnit === 92;
  36204. },
  36205. needsSeparator$1(path) {
  36206. var t1 = path.length;
  36207. if (t1 === 0)
  36208. return false;
  36209. t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
  36210. return !(t1 === 47 || t1 === 92);
  36211. },
  36212. rootLength$2$withDrive(path, withDrive) {
  36213. var t2, index,
  36214. t1 = path.length;
  36215. if (t1 === 0)
  36216. return 0;
  36217. t2 = B.JSString_methods._codeUnitAt$1(path, 0);
  36218. if (t2 === 47)
  36219. return 1;
  36220. if (t2 === 92) {
  36221. if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
  36222. return 1;
  36223. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  36224. if (index > 0) {
  36225. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  36226. if (index > 0)
  36227. return index;
  36228. }
  36229. return t1;
  36230. }
  36231. if (t1 < 3)
  36232. return 0;
  36233. if (!A.isAlphabetic(t2))
  36234. return 0;
  36235. if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
  36236. return 0;
  36237. t1 = B.JSString_methods._codeUnitAt$1(path, 2);
  36238. if (!(t1 === 47 || t1 === 92))
  36239. return 0;
  36240. return 3;
  36241. },
  36242. rootLength$1(path) {
  36243. return this.rootLength$2$withDrive(path, false);
  36244. },
  36245. isRootRelative$1(path) {
  36246. return this.rootLength$1(path) === 1;
  36247. },
  36248. pathFromUri$1(uri) {
  36249. var path, t1;
  36250. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  36251. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  36252. path = uri.get$path(uri);
  36253. if (uri.get$host() === "") {
  36254. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
  36255. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  36256. } else
  36257. path = "\\\\" + uri.get$host() + path;
  36258. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  36259. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  36260. },
  36261. absolutePathToUri$1(path) {
  36262. var rootParts, t2,
  36263. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  36264. t1 = parsed.root;
  36265. t1.toString;
  36266. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  36267. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  36268. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
  36269. if (parsed.get$hasTrailingSeparator())
  36270. B.JSArray_methods.add$1(parsed.parts, "");
  36271. return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
  36272. } else {
  36273. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  36274. B.JSArray_methods.add$1(parsed.parts, "");
  36275. t1 = parsed.parts;
  36276. t2 = parsed.root;
  36277. t2.toString;
  36278. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  36279. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  36280. return A._Uri__Uri(null, null, parsed.parts, "file");
  36281. }
  36282. },
  36283. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  36284. var upperCase1;
  36285. if (codeUnit1 === codeUnit2)
  36286. return true;
  36287. if (codeUnit1 === 47)
  36288. return codeUnit2 === 92;
  36289. if (codeUnit1 === 92)
  36290. return codeUnit2 === 47;
  36291. if ((codeUnit1 ^ codeUnit2) !== 32)
  36292. return false;
  36293. upperCase1 = codeUnit1 | 32;
  36294. return upperCase1 >= 97 && upperCase1 <= 122;
  36295. },
  36296. pathsEqual$2(path1, path2) {
  36297. var t1, i;
  36298. if (path1 === path2)
  36299. return true;
  36300. t1 = path1.length;
  36301. if (t1 !== path2.length)
  36302. return false;
  36303. for (i = 0; i < t1; ++i)
  36304. if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
  36305. return false;
  36306. return true;
  36307. },
  36308. canonicalizeCodeUnit$1(codeUnit) {
  36309. if (codeUnit === 47)
  36310. return 92;
  36311. if (codeUnit < 65)
  36312. return codeUnit;
  36313. if (codeUnit > 90)
  36314. return codeUnit;
  36315. return codeUnit | 32;
  36316. },
  36317. canonicalizePart$1(part) {
  36318. return part.toLowerCase();
  36319. },
  36320. get$name() {
  36321. return "windows";
  36322. },
  36323. get$separator() {
  36324. return "\\";
  36325. }
  36326. };
  36327. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  36328. call$1(part) {
  36329. return part !== "";
  36330. },
  36331. $signature: 8
  36332. };
  36333. A.Version.prototype = {
  36334. get$min() {
  36335. return this;
  36336. },
  36337. get$max() {
  36338. return this;
  36339. },
  36340. get$includeMin() {
  36341. return true;
  36342. },
  36343. get$includeMax() {
  36344. return true;
  36345. },
  36346. $eq(_, other) {
  36347. var _this = this;
  36348. if (other == null)
  36349. return false;
  36350. 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);
  36351. },
  36352. get$hashCode(_) {
  36353. var _this = this;
  36354. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  36355. },
  36356. compareTo$1(_, other) {
  36357. var t1, t2, t3, comparison, _this = this;
  36358. if (other instanceof A.Version) {
  36359. t1 = _this.major;
  36360. t2 = other.major;
  36361. if (t1 !== t2)
  36362. return B.JSInt_methods.compareTo$1(t1, t2);
  36363. t1 = _this.minor;
  36364. t2 = other.minor;
  36365. if (t1 !== t2)
  36366. return B.JSInt_methods.compareTo$1(t1, t2);
  36367. t1 = _this.patch;
  36368. t2 = other.patch;
  36369. if (t1 !== t2)
  36370. return B.JSInt_methods.compareTo$1(t1, t2);
  36371. t1 = _this.preRelease;
  36372. t2 = t1.length === 0;
  36373. if (t2 && other.preRelease.length !== 0)
  36374. return 1;
  36375. t3 = other.preRelease;
  36376. if (t3.length === 0 && !t2)
  36377. return -1;
  36378. comparison = _this._compareLists$2(t1, t3);
  36379. if (comparison !== 0)
  36380. return comparison;
  36381. t1 = _this.build;
  36382. t2 = t1.length === 0;
  36383. if (t2 && other.build.length !== 0)
  36384. return -1;
  36385. t3 = other.build;
  36386. if (t3.length === 0 && !t2)
  36387. return 1;
  36388. return _this._compareLists$2(t1, t3);
  36389. } else
  36390. return -other.compareTo$1(0, _this);
  36391. },
  36392. toString$0(_) {
  36393. return this._text;
  36394. },
  36395. _compareLists$2(a, b) {
  36396. var i, t1, t2, aPart, bPart;
  36397. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  36398. aPart = i < t1 ? a[i] : null;
  36399. bPart = i < t2 ? b[i] : null;
  36400. if (J.$eq$(aPart, bPart))
  36401. continue;
  36402. if (aPart == null)
  36403. return -1;
  36404. if (bPart == null)
  36405. return 1;
  36406. if (typeof aPart == "number")
  36407. if (typeof bPart == "number")
  36408. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  36409. else
  36410. return -1;
  36411. else if (typeof bPart == "number")
  36412. return 1;
  36413. else {
  36414. A._asString(aPart);
  36415. A._asString(bPart);
  36416. if (aPart === bPart)
  36417. t1 = 0;
  36418. else
  36419. t1 = aPart < bPart ? -1 : 1;
  36420. return t1;
  36421. }
  36422. }
  36423. return 0;
  36424. },
  36425. $isComparable: 1,
  36426. $isVersionRange: 1
  36427. };
  36428. A.Version__splitParts_closure.prototype = {
  36429. call$1(part) {
  36430. var t1 = A.Primitives_parseInt(part, null);
  36431. return t1 == null ? part : t1;
  36432. },
  36433. $signature: 394
  36434. };
  36435. A.VersionRange.prototype = {
  36436. $eq(_, other) {
  36437. var t1;
  36438. if (other == null)
  36439. return false;
  36440. if (!type$.VersionRange._is(other))
  36441. return false;
  36442. if (this.min == other.get$min())
  36443. if (J.$eq$(this.max, other.get$max()))
  36444. if (!other.get$includeMin()) {
  36445. other.get$includeMax();
  36446. t1 = true;
  36447. } else
  36448. t1 = false;
  36449. else
  36450. t1 = false;
  36451. else
  36452. t1 = false;
  36453. return t1;
  36454. },
  36455. get$hashCode(_) {
  36456. var t1 = B.JSNull_methods.get$hashCode(this.min),
  36457. t2 = J.get$hashCode$(this.max);
  36458. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  36459. },
  36460. allows$1(other) {
  36461. var t1 = this.max;
  36462. if (t1 != null)
  36463. if (other.compareTo$1(0, t1) > 0)
  36464. return false;
  36465. return true;
  36466. },
  36467. compareTo$1(_, other) {
  36468. if (other.get$min() == null)
  36469. return this._compareMax$1(other);
  36470. return -1;
  36471. },
  36472. _compareMax$1(other) {
  36473. var t2, result,
  36474. t1 = this.max;
  36475. if (t1 == null) {
  36476. if (other.get$max() == null)
  36477. return 0;
  36478. return 1;
  36479. } else if (other.get$max() == null)
  36480. return -1;
  36481. t2 = other.get$max();
  36482. t2.toString;
  36483. result = t1.compareTo$1(0, t2);
  36484. if (result !== 0)
  36485. return result;
  36486. other.get$includeMax();
  36487. return 0;
  36488. },
  36489. toString$0(_) {
  36490. var t2,
  36491. max = this.max,
  36492. t1 = max == null;
  36493. if (!t1)
  36494. t2 = "" + "<=" + max.toString$0(0);
  36495. else
  36496. t2 = "";
  36497. t1 = t1 ? t2 + "any" : t2;
  36498. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36499. },
  36500. $isComparable: 1,
  36501. get$min() {
  36502. return this.min;
  36503. },
  36504. get$max() {
  36505. return this.max;
  36506. },
  36507. get$includeMin() {
  36508. return this.includeMin;
  36509. },
  36510. get$includeMax() {
  36511. return this.includeMax;
  36512. }
  36513. };
  36514. A.CssMediaQuery.prototype = {
  36515. merge$1(other) {
  36516. 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";
  36517. if (!_this.conjunction || !other.conjunction)
  36518. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36519. t1 = _this.modifier;
  36520. ourModifier = t1 == null ? _null : t1.toLowerCase();
  36521. t2 = _this.type;
  36522. t3 = t2 == null;
  36523. ourType = t3 ? _null : t2.toLowerCase();
  36524. t4 = other.modifier;
  36525. theirModifier = t4 == null ? _null : t4.toLowerCase();
  36526. t5 = other.type;
  36527. t6 = t5 == null;
  36528. theirType = t6 ? _null : t5.toLowerCase();
  36529. t7 = ourType == null;
  36530. if (t7 && theirType == null) {
  36531. t1 = A.List_List$of(_this.conditions, true, type$.String);
  36532. B.JSArray_methods.addAll$1(t1, other.conditions);
  36533. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  36534. }
  36535. t8 = ourModifier === "not";
  36536. if (t8 !== (theirModifier === "not")) {
  36537. if (ourType == theirType) {
  36538. negativeConditions = t8 ? _this.conditions : other.conditions;
  36539. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  36540. return B._SingletonCssMediaQueryMergeResult_empty;
  36541. else
  36542. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36543. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  36544. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36545. if (t8) {
  36546. conditions = other.conditions;
  36547. type = theirType;
  36548. modifier = theirModifier;
  36549. } else {
  36550. conditions = _this.conditions;
  36551. type = ourType;
  36552. modifier = ourModifier;
  36553. }
  36554. } else if (t8) {
  36555. if (ourType != theirType)
  36556. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36557. fewerConditions = _this.conditions;
  36558. fewerConditions0 = other.conditions;
  36559. t3 = fewerConditions.length > fewerConditions0.length;
  36560. moreConditions = t3 ? fewerConditions : fewerConditions0;
  36561. if (t3)
  36562. fewerConditions = fewerConditions0;
  36563. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  36564. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  36565. conditions = moreConditions;
  36566. type = ourType;
  36567. modifier = ourModifier;
  36568. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  36569. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  36570. t3 = A.List_List$of(_this.conditions, true, type$.String);
  36571. B.JSArray_methods.addAll$1(t3, other.conditions);
  36572. conditions = t3;
  36573. modifier = theirModifier;
  36574. } else {
  36575. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  36576. t3 = A.List_List$of(_this.conditions, true, type$.String);
  36577. B.JSArray_methods.addAll$1(t3, other.conditions);
  36578. conditions = t3;
  36579. modifier = ourModifier;
  36580. } else {
  36581. if (ourType != theirType)
  36582. return B._SingletonCssMediaQueryMergeResult_empty;
  36583. else {
  36584. modifier = ourModifier == null ? theirModifier : ourModifier;
  36585. t3 = A.List_List$of(_this.conditions, true, type$.String);
  36586. B.JSArray_methods.addAll$1(t3, other.conditions);
  36587. }
  36588. conditions = t3;
  36589. }
  36590. type = ourType;
  36591. }
  36592. t2 = type == ourType ? t2 : t5;
  36593. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  36594. },
  36595. $eq(_, other) {
  36596. if (other == null)
  36597. return false;
  36598. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  36599. },
  36600. get$hashCode(_) {
  36601. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  36602. },
  36603. toString$0(_) {
  36604. var t2, _this = this,
  36605. t1 = _this.modifier;
  36606. t1 = t1 != null ? "" + (t1 + " ") : "";
  36607. t2 = _this.type;
  36608. if (t2 != null) {
  36609. t1 += t2;
  36610. if (_this.conditions.length !== 0)
  36611. t1 += " and ";
  36612. }
  36613. t2 = _this.conjunction ? " and " : " or ";
  36614. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  36615. return t2.charCodeAt(0) == 0 ? t2 : t2;
  36616. }
  36617. };
  36618. A._SingletonCssMediaQueryMergeResult.prototype = {
  36619. toString$0(_) {
  36620. return this._media_query$_name;
  36621. }
  36622. };
  36623. A.MediaQuerySuccessfulMergeResult.prototype = {
  36624. toString$0(_) {
  36625. return this.query.toString$0(0);
  36626. }
  36627. };
  36628. A.ModifiableCssAtRule.prototype = {
  36629. accept$1$1(visitor) {
  36630. return visitor.visitCssAtRule$1(this);
  36631. },
  36632. accept$1(visitor) {
  36633. return this.accept$1$1(visitor, type$.dynamic);
  36634. },
  36635. equalsIgnoringChildren$1(other) {
  36636. var t1, t2;
  36637. if (other instanceof A.ModifiableCssAtRule) {
  36638. t1 = this.name;
  36639. t2 = other.name;
  36640. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  36641. } else
  36642. t1 = false;
  36643. return t1;
  36644. },
  36645. copyWithoutChildren$0() {
  36646. var _this = this;
  36647. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  36648. },
  36649. addChild$1(child) {
  36650. this.super$ModifiableCssParentNode$addChild(child);
  36651. },
  36652. $isCssAtRule: 1,
  36653. get$isChildless() {
  36654. return this.isChildless;
  36655. },
  36656. get$span(receiver) {
  36657. return this.span;
  36658. }
  36659. };
  36660. A.ModifiableCssComment.prototype = {
  36661. accept$1$1(visitor) {
  36662. return visitor.visitCssComment$1(this);
  36663. },
  36664. accept$1(visitor) {
  36665. return this.accept$1$1(visitor, type$.dynamic);
  36666. },
  36667. $isCssComment: 1,
  36668. get$span(receiver) {
  36669. return this.span;
  36670. }
  36671. };
  36672. A.ModifiableCssDeclaration.prototype = {
  36673. accept$1$1(visitor) {
  36674. return visitor.visitCssDeclaration$1(this);
  36675. },
  36676. accept$1(visitor) {
  36677. return this.accept$1$1(visitor, type$.dynamic);
  36678. },
  36679. toString$0(_) {
  36680. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  36681. },
  36682. get$span(receiver) {
  36683. return this.span;
  36684. }
  36685. };
  36686. A.ModifiableCssImport.prototype = {
  36687. accept$1$1(visitor) {
  36688. return visitor.visitCssImport$1(this);
  36689. },
  36690. accept$1(visitor) {
  36691. return this.accept$1$1(visitor, type$.dynamic);
  36692. },
  36693. $isCssImport: 1,
  36694. get$span(receiver) {
  36695. return this.span;
  36696. }
  36697. };
  36698. A.ModifiableCssKeyframeBlock.prototype = {
  36699. accept$1$1(visitor) {
  36700. return visitor.visitCssKeyframeBlock$1(this);
  36701. },
  36702. accept$1(visitor) {
  36703. return this.accept$1$1(visitor, type$.dynamic);
  36704. },
  36705. equalsIgnoringChildren$1(other) {
  36706. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  36707. },
  36708. copyWithoutChildren$0() {
  36709. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  36710. },
  36711. get$span(receiver) {
  36712. return this.span;
  36713. }
  36714. };
  36715. A.ModifiableCssMediaRule.prototype = {
  36716. accept$1$1(visitor) {
  36717. return visitor.visitCssMediaRule$1(this);
  36718. },
  36719. accept$1(visitor) {
  36720. return this.accept$1$1(visitor, type$.dynamic);
  36721. },
  36722. equalsIgnoringChildren$1(other) {
  36723. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  36724. },
  36725. copyWithoutChildren$0() {
  36726. return A.ModifiableCssMediaRule$(this.queries, this.span);
  36727. },
  36728. $isCssMediaRule: 1,
  36729. get$span(receiver) {
  36730. return this.span;
  36731. }
  36732. };
  36733. A.ModifiableCssNode.prototype = {
  36734. get$hasFollowingSibling() {
  36735. var t2,
  36736. t1 = this._parent;
  36737. if (t1 == null)
  36738. t1 = null;
  36739. else {
  36740. t1 = t1.children;
  36741. t2 = this._indexInParent;
  36742. t2.toString;
  36743. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  36744. }
  36745. return t1 === true;
  36746. },
  36747. get$isGroupEnd() {
  36748. return this.isGroupEnd;
  36749. }
  36750. };
  36751. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  36752. call$1(sibling) {
  36753. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  36754. },
  36755. $signature: 129
  36756. };
  36757. A.ModifiableCssParentNode.prototype = {
  36758. get$isChildless() {
  36759. return false;
  36760. },
  36761. addChild$1(child) {
  36762. var t1;
  36763. child._parent = this;
  36764. t1 = this._children;
  36765. child._indexInParent = t1.length;
  36766. t1.push(child);
  36767. },
  36768. $isCssParentNode: 1,
  36769. get$children(receiver) {
  36770. return this.children;
  36771. }
  36772. };
  36773. A.ModifiableCssStyleRule.prototype = {
  36774. accept$1$1(visitor) {
  36775. return visitor.visitCssStyleRule$1(this);
  36776. },
  36777. accept$1(visitor) {
  36778. return this.accept$1$1(visitor, type$.dynamic);
  36779. },
  36780. equalsIgnoringChildren$1(other) {
  36781. var t1;
  36782. if (other instanceof A.ModifiableCssStyleRule)
  36783. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  36784. else
  36785. t1 = false;
  36786. return t1;
  36787. },
  36788. copyWithoutChildren$0() {
  36789. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, this.originalSelector);
  36790. },
  36791. $isCssStyleRule: 1,
  36792. get$span(receiver) {
  36793. return this.span;
  36794. }
  36795. };
  36796. A.ModifiableCssStylesheet.prototype = {
  36797. accept$1$1(visitor) {
  36798. return visitor.visitCssStylesheet$1(this);
  36799. },
  36800. accept$1(visitor) {
  36801. return this.accept$1$1(visitor, type$.dynamic);
  36802. },
  36803. equalsIgnoringChildren$1(other) {
  36804. return other instanceof A.ModifiableCssStylesheet;
  36805. },
  36806. copyWithoutChildren$0() {
  36807. return A.ModifiableCssStylesheet$(this.span);
  36808. },
  36809. $isCssStylesheet: 1,
  36810. get$span(receiver) {
  36811. return this.span;
  36812. }
  36813. };
  36814. A.ModifiableCssSupportsRule.prototype = {
  36815. accept$1$1(visitor) {
  36816. return visitor.visitCssSupportsRule$1(this);
  36817. },
  36818. accept$1(visitor) {
  36819. return this.accept$1$1(visitor, type$.dynamic);
  36820. },
  36821. equalsIgnoringChildren$1(other) {
  36822. var t1, t2;
  36823. if (other instanceof A.ModifiableCssSupportsRule) {
  36824. t1 = this.condition;
  36825. t2 = other.condition;
  36826. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  36827. } else
  36828. t1 = false;
  36829. return t1;
  36830. },
  36831. copyWithoutChildren$0() {
  36832. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  36833. },
  36834. $isCssSupportsRule: 1,
  36835. get$span(receiver) {
  36836. return this.span;
  36837. }
  36838. };
  36839. A.CssNode.prototype = {
  36840. toString$0(_) {
  36841. return A.serialize(this, true, null, true, null, false, null, true).css;
  36842. }
  36843. };
  36844. A.CssParentNode.prototype = {};
  36845. A._IsInvisibleVisitor.prototype = {
  36846. visitCssAtRule$1(rule) {
  36847. return false;
  36848. },
  36849. visitCssComment$1(comment) {
  36850. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  36851. },
  36852. visitCssStyleRule$1(rule) {
  36853. var t1 = rule._style_rule$_selector._box$_inner;
  36854. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  36855. }
  36856. };
  36857. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  36858. A.CssStylesheet.prototype = {
  36859. get$isGroupEnd() {
  36860. return false;
  36861. },
  36862. get$isChildless() {
  36863. return false;
  36864. },
  36865. accept$1$1(visitor) {
  36866. return visitor.visitCssStylesheet$1(this);
  36867. },
  36868. accept$1(visitor) {
  36869. return this.accept$1$1(visitor, type$.dynamic);
  36870. },
  36871. get$children(receiver) {
  36872. return this.children;
  36873. },
  36874. get$span(receiver) {
  36875. return this.span;
  36876. }
  36877. };
  36878. A.CssValue.prototype = {
  36879. $eq(_, other) {
  36880. if (other == null)
  36881. return false;
  36882. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  36883. },
  36884. get$hashCode(_) {
  36885. return J.get$hashCode$(this.value);
  36886. },
  36887. toString$0(_) {
  36888. return J.toString$0$(this.value);
  36889. },
  36890. $isAstNode: 1,
  36891. get$span(receiver) {
  36892. return this.span;
  36893. }
  36894. };
  36895. A.AstNode.prototype = {};
  36896. A._FakeAstNode.prototype = {
  36897. get$span(_) {
  36898. return this._callback.call$0();
  36899. },
  36900. $isAstNode: 1
  36901. };
  36902. A.Argument.prototype = {
  36903. toString$0(_) {
  36904. var t1 = this.defaultValue,
  36905. t2 = this.name;
  36906. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  36907. },
  36908. $isAstNode: 1,
  36909. get$span(receiver) {
  36910. return this.span;
  36911. }
  36912. };
  36913. A.ArgumentDeclaration.prototype = {
  36914. get$spanWithName() {
  36915. var t3, t4,
  36916. t1 = this.span,
  36917. t2 = t1.file,
  36918. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  36919. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  36920. while (true) {
  36921. if (i > 0) {
  36922. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36923. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  36924. } else
  36925. t3 = false;
  36926. if (!t3)
  36927. break;
  36928. --i;
  36929. }
  36930. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36931. if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
  36932. return t1;
  36933. --i;
  36934. while (true) {
  36935. if (i >= 0) {
  36936. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36937. if (t3 !== 95) {
  36938. if (!(t3 >= 97 && t3 <= 122))
  36939. t4 = t3 >= 65 && t3 <= 90;
  36940. else
  36941. t4 = true;
  36942. t4 = t4 || t3 >= 128;
  36943. } else
  36944. t4 = true;
  36945. if (!t4)
  36946. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  36947. else
  36948. t3 = true;
  36949. } else
  36950. t3 = false;
  36951. if (!t3)
  36952. break;
  36953. --i;
  36954. }
  36955. t3 = i + 1;
  36956. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  36957. if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
  36958. return t1;
  36959. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  36960. },
  36961. verify$2(positional, names) {
  36962. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  36963. _s10_ = "invocation",
  36964. _s8_ = "argument";
  36965. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  36966. argument = t1[i];
  36967. if (i < positional) {
  36968. t4 = argument.name;
  36969. if (t3.containsKey$1(t4))
  36970. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  36971. } else {
  36972. t4 = argument.name;
  36973. if (t3.containsKey$1(t4))
  36974. ++namedUsed;
  36975. else if (argument.defaultValue == null)
  36976. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  36977. }
  36978. }
  36979. if (_this.restArgument != null)
  36980. return;
  36981. if (positional > t2) {
  36982. t1 = names.get$isEmpty(names) ? "" : "positional ";
  36983. 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)));
  36984. }
  36985. if (namedUsed < t3.get$length(t3)) {
  36986. t2 = type$.String;
  36987. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  36988. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  36989. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + A.S(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)));
  36990. }
  36991. },
  36992. _originalArgumentName$1($name) {
  36993. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  36994. if ($name === this.restArgument) {
  36995. t1 = this.span;
  36996. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  36997. 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, "."));
  36998. }
  36999. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  37000. argument = t1[_i];
  37001. if (argument.name === $name) {
  37002. t1 = argument.defaultValue;
  37003. t2 = argument.span;
  37004. t3 = t2.file;
  37005. t4 = t2._file$_start;
  37006. t2 = t2._end;
  37007. if (t1 == null) {
  37008. t1 = t3._decodedChars;
  37009. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  37010. } else {
  37011. t1 = t3._decodedChars;
  37012. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  37013. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  37014. end = A._lastNonWhitespace(t1, false);
  37015. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  37016. }
  37017. return t1;
  37018. }
  37019. }
  37020. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  37021. },
  37022. matches$2(positional, names) {
  37023. var t1, t2, t3, namedUsed, i, argument;
  37024. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  37025. argument = t1[i];
  37026. if (i < positional) {
  37027. if (t3.containsKey$1(argument.name))
  37028. return false;
  37029. } else if (t3.containsKey$1(argument.name))
  37030. ++namedUsed;
  37031. else if (argument.defaultValue == null)
  37032. return false;
  37033. }
  37034. if (this.restArgument != null)
  37035. return true;
  37036. if (positional > t2)
  37037. return false;
  37038. if (namedUsed < t3.get$length(t3))
  37039. return false;
  37040. return true;
  37041. },
  37042. toString$0(_) {
  37043. var t2, t3, _i,
  37044. t1 = A._setArrayType([], type$.JSArray_String);
  37045. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  37046. t1.push("$" + A.S(t2[_i]));
  37047. t2 = this.restArgument;
  37048. if (t2 != null)
  37049. t1.push("$" + t2 + "...");
  37050. return B.JSArray_methods.join$1(t1, ", ");
  37051. },
  37052. $isAstNode: 1,
  37053. get$span(receiver) {
  37054. return this.span;
  37055. }
  37056. };
  37057. A.ArgumentDeclaration_verify_closure.prototype = {
  37058. call$1(argument) {
  37059. return argument.name;
  37060. },
  37061. $signature: 469
  37062. };
  37063. A.ArgumentDeclaration_verify_closure0.prototype = {
  37064. call$1($name) {
  37065. return "$" + $name;
  37066. },
  37067. $signature: 5
  37068. };
  37069. A.ArgumentInvocation.prototype = {
  37070. get$isEmpty(_) {
  37071. var t1;
  37072. if (this.positional.length === 0) {
  37073. t1 = this.named;
  37074. t1 = t1.get$isEmpty(t1) && this.rest == null;
  37075. } else
  37076. t1 = false;
  37077. return t1;
  37078. },
  37079. toString$0(_) {
  37080. var t2, t3, _i, _this = this,
  37081. rest = _this.rest,
  37082. keywordRest = _this.keywordRest,
  37083. t1 = A._setArrayType([], type$.JSArray_String);
  37084. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  37085. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  37086. for (t2 = _this.named, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  37087. t3 = t2.get$current(t2);
  37088. t1.push("$" + A.S(t3.key) + ": " + _this._parenthesizeArgument$1(t3.value));
  37089. }
  37090. if (rest != null)
  37091. t1.push(_this._parenthesizeArgument$1(rest) + "...");
  37092. if (keywordRest != null)
  37093. t1.push(_this._parenthesizeArgument$1(keywordRest) + "...");
  37094. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  37095. },
  37096. _parenthesizeArgument$1(argument) {
  37097. return argument instanceof A.ListExpression && argument.separator === B.ListSeparator_rXA && !argument.hasBrackets && argument.contents.length > 1 ? "(" + argument.toString$0(0) + ")" : argument.toString$0(0);
  37098. },
  37099. $isAstNode: 1,
  37100. get$span(receiver) {
  37101. return this.span;
  37102. }
  37103. };
  37104. A.AtRootQuery.prototype = {
  37105. excludes$1(node) {
  37106. var _this = this;
  37107. if (_this._all)
  37108. return !_this.include;
  37109. if (type$.CssStyleRule._is(node))
  37110. return _this._at_root_query$_rule !== _this.include;
  37111. if (type$.CssMediaRule._is(node))
  37112. return _this.excludesName$1("media");
  37113. if (type$.CssSupportsRule._is(node))
  37114. return _this.excludesName$1("supports");
  37115. if (type$.CssAtRule._is(node))
  37116. return _this.excludesName$1(node.name.value.toLowerCase());
  37117. return false;
  37118. },
  37119. excludesName$1($name) {
  37120. var t1 = this._all || this.names.contains$1(0, $name);
  37121. return t1 !== this.include;
  37122. }
  37123. };
  37124. A.ConfiguredVariable.prototype = {
  37125. toString$0(_) {
  37126. var t1 = this.expression.toString$0(0),
  37127. t2 = this.isGuarded ? " !default" : "";
  37128. return "$" + this.name + ": " + t1 + t2;
  37129. },
  37130. $isAstNode: 1,
  37131. get$span(receiver) {
  37132. return this.span;
  37133. }
  37134. };
  37135. A.BinaryOperationExpression.prototype = {
  37136. get$span(_) {
  37137. var right,
  37138. left = this.left;
  37139. for (; left instanceof A.BinaryOperationExpression;)
  37140. left = left.left;
  37141. right = this.right;
  37142. for (; right instanceof A.BinaryOperationExpression;)
  37143. right = right.right;
  37144. return left.get$span(left).expand$1(0, right.get$span(right));
  37145. },
  37146. accept$1$1(visitor) {
  37147. return visitor.visitBinaryOperationExpression$1(this);
  37148. },
  37149. accept$1(visitor) {
  37150. return this.accept$1$1(visitor, type$.dynamic);
  37151. },
  37152. toString$0(_) {
  37153. var leftNeedsParens, t1, t2, right, t3, rightNeedsParens, _this = this,
  37154. left = _this.left;
  37155. if (!(left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence))
  37156. leftNeedsParens = left instanceof A.ListExpression && !left.hasBrackets && left.contents.length > 1;
  37157. else
  37158. leftNeedsParens = true;
  37159. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  37160. t1 += left.toString$0(0);
  37161. if (leftNeedsParens)
  37162. t1 += A.Primitives_stringFromCharCode(41);
  37163. t2 = _this.operator;
  37164. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  37165. right = _this.right;
  37166. if (right instanceof A.BinaryOperationExpression) {
  37167. t3 = right.operator;
  37168. if (t3.precedence <= t2.precedence)
  37169. t2 = !(t3 === t2 && t2.isAssociative);
  37170. else
  37171. t2 = false;
  37172. } else
  37173. t2 = false;
  37174. if (!t2)
  37175. rightNeedsParens = right instanceof A.ListExpression && !right.hasBrackets && right.contents.length > 1;
  37176. else
  37177. rightNeedsParens = true;
  37178. if (rightNeedsParens)
  37179. t1 += A.Primitives_stringFromCharCode(40);
  37180. t1 += right.toString$0(0);
  37181. if (rightNeedsParens)
  37182. t1 += A.Primitives_stringFromCharCode(41);
  37183. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37184. },
  37185. $isAstNode: 1,
  37186. $isExpression: 1
  37187. };
  37188. A.BinaryOperator.prototype = {
  37189. _enumToString$0() {
  37190. return "BinaryOperator." + this._name;
  37191. },
  37192. toString$0(_) {
  37193. return this.name;
  37194. }
  37195. };
  37196. A.BooleanExpression.prototype = {
  37197. accept$1$1(visitor) {
  37198. return visitor.visitBooleanExpression$1(this);
  37199. },
  37200. accept$1(visitor) {
  37201. return this.accept$1$1(visitor, type$.dynamic);
  37202. },
  37203. toString$0(_) {
  37204. return String(this.value);
  37205. },
  37206. $isAstNode: 1,
  37207. $isExpression: 1,
  37208. get$span(receiver) {
  37209. return this.span;
  37210. }
  37211. };
  37212. A.CalculationExpression.prototype = {
  37213. accept$1$1(visitor) {
  37214. return visitor.visitCalculationExpression$1(this);
  37215. },
  37216. accept$1(visitor) {
  37217. return this.accept$1$1(visitor, type$.dynamic);
  37218. },
  37219. toString$0(_) {
  37220. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  37221. },
  37222. $isAstNode: 1,
  37223. $isExpression: 1,
  37224. get$span(receiver) {
  37225. return this.span;
  37226. }
  37227. };
  37228. A.CalculationExpression__verifyArguments_closure.prototype = {
  37229. call$1(arg) {
  37230. A.CalculationExpression__verify(arg);
  37231. return arg;
  37232. },
  37233. $signature: 127
  37234. };
  37235. A.ColorExpression.prototype = {
  37236. accept$1$1(visitor) {
  37237. return visitor.visitColorExpression$1(this);
  37238. },
  37239. accept$1(visitor) {
  37240. return this.accept$1$1(visitor, type$.dynamic);
  37241. },
  37242. toString$0(_) {
  37243. return A.serializeValue(this.value, true, true);
  37244. },
  37245. $isAstNode: 1,
  37246. $isExpression: 1,
  37247. get$span(receiver) {
  37248. return this.span;
  37249. }
  37250. };
  37251. A.FunctionExpression.prototype = {
  37252. accept$1$1(visitor) {
  37253. return visitor.visitFunctionExpression$1(this);
  37254. },
  37255. accept$1(visitor) {
  37256. return this.accept$1$1(visitor, type$.dynamic);
  37257. },
  37258. toString$0(_) {
  37259. var t1 = this.namespace;
  37260. t1 = t1 != null ? "" + (t1 + ".") : "";
  37261. t1 += this.originalName + this.$arguments.toString$0(0);
  37262. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37263. },
  37264. $isAstNode: 1,
  37265. $isExpression: 1,
  37266. get$span(receiver) {
  37267. return this.span;
  37268. }
  37269. };
  37270. A.IfExpression.prototype = {
  37271. accept$1$1(visitor) {
  37272. return visitor.visitIfExpression$1(this);
  37273. },
  37274. accept$1(visitor) {
  37275. return this.accept$1$1(visitor, type$.dynamic);
  37276. },
  37277. toString$0(_) {
  37278. return "if" + this.$arguments.toString$0(0);
  37279. },
  37280. $isAstNode: 1,
  37281. $isExpression: 1,
  37282. get$span(receiver) {
  37283. return this.span;
  37284. }
  37285. };
  37286. A.InterpolatedFunctionExpression.prototype = {
  37287. accept$1$1(visitor) {
  37288. return visitor.visitInterpolatedFunctionExpression$1(this);
  37289. },
  37290. accept$1(visitor) {
  37291. return this.accept$1$1(visitor, type$.dynamic);
  37292. },
  37293. toString$0(_) {
  37294. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  37295. },
  37296. $isAstNode: 1,
  37297. $isExpression: 1,
  37298. get$span(receiver) {
  37299. return this.span;
  37300. }
  37301. };
  37302. A.ListExpression.prototype = {
  37303. accept$1$1(visitor) {
  37304. return visitor.visitListExpression$1(this);
  37305. },
  37306. accept$1(visitor) {
  37307. return this.accept$1$1(visitor, type$.dynamic);
  37308. },
  37309. toString$0(_) {
  37310. var t2, t3, t4, t5, _this = this,
  37311. t1 = _this.hasBrackets;
  37312. if (t1)
  37313. t2 = "" + A.Primitives_stringFromCharCode(91);
  37314. else {
  37315. t2 = _this.contents.length;
  37316. if (t2 !== 0)
  37317. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA;
  37318. else
  37319. t2 = true;
  37320. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  37321. }
  37322. t3 = _this.contents;
  37323. t4 = _this.separator === B.ListSeparator_rXA;
  37324. t5 = t4 ? ", " : " ";
  37325. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  37326. if (t1)
  37327. t1 = t5 + A.Primitives_stringFromCharCode(93);
  37328. else {
  37329. t1 = t3.length;
  37330. if (t1 === 0)
  37331. t1 = t5 + A.Primitives_stringFromCharCode(41);
  37332. else
  37333. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  37334. }
  37335. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37336. },
  37337. _list0$_elementNeedsParens$1(expression) {
  37338. var t1;
  37339. if (expression instanceof A.ListExpression) {
  37340. if (expression.contents.length < 2)
  37341. return false;
  37342. if (expression.hasBrackets)
  37343. return false;
  37344. t1 = expression.separator;
  37345. return this.separator === B.ListSeparator_rXA ? t1 === B.ListSeparator_rXA : t1 !== B.ListSeparator_undecided_null_undecided;
  37346. }
  37347. if (this.separator !== B.ListSeparator_EVt)
  37348. return false;
  37349. if (expression instanceof A.UnaryOperationExpression) {
  37350. t1 = expression.operator;
  37351. return t1 === B.UnaryOperator_gg4 || t1 === B.UnaryOperator_TLI;
  37352. }
  37353. return false;
  37354. },
  37355. $isAstNode: 1,
  37356. $isExpression: 1,
  37357. get$span(receiver) {
  37358. return this.span;
  37359. }
  37360. };
  37361. A.ListExpression_toString_closure.prototype = {
  37362. call$1(element) {
  37363. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  37364. },
  37365. $signature: 126
  37366. };
  37367. A.MapExpression.prototype = {
  37368. accept$1$1(visitor) {
  37369. return visitor.visitMapExpression$1(this);
  37370. },
  37371. accept$1(visitor) {
  37372. return this.accept$1$1(visitor, type$.dynamic);
  37373. },
  37374. toString$0(_) {
  37375. var t1 = this.pairs;
  37376. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  37377. },
  37378. $isAstNode: 1,
  37379. $isExpression: 1,
  37380. get$span(receiver) {
  37381. return this.span;
  37382. }
  37383. };
  37384. A.MapExpression_toString_closure.prototype = {
  37385. call$1(pair) {
  37386. return A.S(pair.item1) + ": " + A.S(pair.item2);
  37387. },
  37388. $signature: 508
  37389. };
  37390. A.NullExpression.prototype = {
  37391. accept$1$1(visitor) {
  37392. return visitor.visitNullExpression$1(this);
  37393. },
  37394. accept$1(visitor) {
  37395. return this.accept$1$1(visitor, type$.dynamic);
  37396. },
  37397. toString$0(_) {
  37398. return "null";
  37399. },
  37400. $isAstNode: 1,
  37401. $isExpression: 1,
  37402. get$span(receiver) {
  37403. return this.span;
  37404. }
  37405. };
  37406. A.NumberExpression.prototype = {
  37407. accept$1$1(visitor) {
  37408. return visitor.visitNumberExpression$1(this);
  37409. },
  37410. accept$1(visitor) {
  37411. return this.accept$1$1(visitor, type$.dynamic);
  37412. },
  37413. toString$0(_) {
  37414. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  37415. },
  37416. $isAstNode: 1,
  37417. $isExpression: 1,
  37418. get$span(receiver) {
  37419. return this.span;
  37420. }
  37421. };
  37422. A.ParenthesizedExpression.prototype = {
  37423. accept$1$1(visitor) {
  37424. return visitor.visitParenthesizedExpression$1(this);
  37425. },
  37426. accept$1(visitor) {
  37427. return this.accept$1$1(visitor, type$.dynamic);
  37428. },
  37429. toString$0(_) {
  37430. return "(" + this.expression.toString$0(0) + ")";
  37431. },
  37432. $isAstNode: 1,
  37433. $isExpression: 1,
  37434. get$span(receiver) {
  37435. return this.span;
  37436. }
  37437. };
  37438. A.SelectorExpression.prototype = {
  37439. accept$1$1(visitor) {
  37440. return visitor.visitSelectorExpression$1(this);
  37441. },
  37442. accept$1(visitor) {
  37443. return this.accept$1$1(visitor, type$.dynamic);
  37444. },
  37445. toString$0(_) {
  37446. return "&";
  37447. },
  37448. $isAstNode: 1,
  37449. $isExpression: 1,
  37450. get$span(receiver) {
  37451. return this.span;
  37452. }
  37453. };
  37454. A.StringExpression.prototype = {
  37455. get$span(_) {
  37456. return this.text.span;
  37457. },
  37458. accept$1$1(visitor) {
  37459. return visitor.visitStringExpression$1(this);
  37460. },
  37461. accept$1(visitor) {
  37462. return this.accept$1$1(visitor, type$.dynamic);
  37463. },
  37464. asInterpolation$1$static($static) {
  37465. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  37466. if (!this.hasQuotes)
  37467. return this.text;
  37468. t1 = this.text;
  37469. t2 = t1.contents;
  37470. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  37471. t3 = new A.StringBuffer("");
  37472. t4 = A._setArrayType([], type$.JSArray_Object);
  37473. buffer = new A.InterpolationBuffer(t3, t4);
  37474. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  37475. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  37476. value = t2[_i];
  37477. if (t6._is(value)) {
  37478. buffer._flushText$0();
  37479. t4.push(value);
  37480. } else if (typeof value == "string")
  37481. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  37482. }
  37483. t3._contents += A.Primitives_stringFromCharCode(quote);
  37484. return buffer.interpolation$1(t1.span);
  37485. },
  37486. asInterpolation$0() {
  37487. return this.asInterpolation$1$static(false);
  37488. },
  37489. toString$0(_) {
  37490. return this.asInterpolation$0().toString$0(0);
  37491. },
  37492. $isAstNode: 1,
  37493. $isExpression: 1
  37494. };
  37495. A.SupportsExpression.prototype = {
  37496. get$span(_) {
  37497. var t1 = this.condition;
  37498. return t1.get$span(t1);
  37499. },
  37500. accept$1$1(visitor) {
  37501. return visitor.visitSupportsExpression$1(this);
  37502. },
  37503. accept$1(visitor) {
  37504. return this.accept$1$1(visitor, type$.dynamic);
  37505. },
  37506. toString$0(_) {
  37507. return this.condition.toString$0(0);
  37508. },
  37509. $isAstNode: 1,
  37510. $isExpression: 1
  37511. };
  37512. A.UnaryOperationExpression.prototype = {
  37513. accept$1$1(visitor) {
  37514. return visitor.visitUnaryOperationExpression$1(this);
  37515. },
  37516. accept$1(visitor) {
  37517. return this.accept$1$1(visitor, type$.dynamic);
  37518. },
  37519. toString$0(_) {
  37520. var operand, needsParens,
  37521. t1 = this.operator,
  37522. t2 = t1.operator;
  37523. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  37524. operand = this.operand;
  37525. if (!(operand instanceof A.BinaryOperationExpression))
  37526. if (!(operand instanceof A.UnaryOperationExpression)) {
  37527. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length > 1;
  37528. needsParens = t2;
  37529. } else
  37530. needsParens = true;
  37531. else
  37532. needsParens = true;
  37533. if (needsParens)
  37534. t1 += "40";
  37535. t1 += operand.toString$0(0);
  37536. if (needsParens)
  37537. t1 += "41";
  37538. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37539. },
  37540. $isAstNode: 1,
  37541. $isExpression: 1,
  37542. get$span(receiver) {
  37543. return this.span;
  37544. }
  37545. };
  37546. A.UnaryOperator.prototype = {
  37547. _enumToString$0() {
  37548. return "UnaryOperator." + this._name;
  37549. },
  37550. toString$0(_) {
  37551. return this.name;
  37552. }
  37553. };
  37554. A.ValueExpression.prototype = {
  37555. accept$1$1(visitor) {
  37556. return visitor.visitValueExpression$1(this);
  37557. },
  37558. accept$1(visitor) {
  37559. return this.accept$1$1(visitor, type$.dynamic);
  37560. },
  37561. toString$0(_) {
  37562. return A.serializeValue(this.value, true, true);
  37563. },
  37564. $isAstNode: 1,
  37565. $isExpression: 1,
  37566. get$span(receiver) {
  37567. return this.span;
  37568. }
  37569. };
  37570. A.VariableExpression.prototype = {
  37571. accept$1$1(visitor) {
  37572. return visitor.visitVariableExpression$1(this);
  37573. },
  37574. accept$1(visitor) {
  37575. return this.accept$1$1(visitor, type$.dynamic);
  37576. },
  37577. toString$0(_) {
  37578. var t1 = this.namespace,
  37579. t2 = this.name;
  37580. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  37581. },
  37582. $isAstNode: 1,
  37583. $isExpression: 1,
  37584. get$span(receiver) {
  37585. return this.span;
  37586. }
  37587. };
  37588. A.DynamicImport.prototype = {
  37589. toString$0(_) {
  37590. return A.StringExpression_quoteText(this.urlString);
  37591. },
  37592. $isAstNode: 1,
  37593. $isImport: 1,
  37594. get$span(receiver) {
  37595. return this.span;
  37596. }
  37597. };
  37598. A.StaticImport.prototype = {
  37599. toString$0(_) {
  37600. var t1 = this.url.toString$0(0),
  37601. t2 = this.modifiers;
  37602. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  37603. },
  37604. $isAstNode: 1,
  37605. $isImport: 1,
  37606. get$span(receiver) {
  37607. return this.span;
  37608. }
  37609. };
  37610. A.Interpolation.prototype = {
  37611. get$asPlain() {
  37612. var first,
  37613. t1 = this.contents,
  37614. t2 = t1.length;
  37615. if (t2 === 0)
  37616. return "";
  37617. if (t2 > 1)
  37618. return null;
  37619. first = B.JSArray_methods.get$first(t1);
  37620. return typeof first == "string" ? first : null;
  37621. },
  37622. get$initialPlain() {
  37623. var first = B.JSArray_methods.get$first(this.contents);
  37624. return typeof first == "string" ? first : "";
  37625. },
  37626. Interpolation$2(contents, span) {
  37627. var t1, t2, t3, i, t4, t5,
  37628. _s8_ = "contents";
  37629. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  37630. t4 = t1[i];
  37631. t5 = typeof t4 == "string";
  37632. if (!t5 && !t3._is(t4))
  37633. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  37634. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  37635. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  37636. }
  37637. },
  37638. toString$0(_) {
  37639. var t1 = this.contents;
  37640. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  37641. },
  37642. $isAstNode: 1,
  37643. get$span(receiver) {
  37644. return this.span;
  37645. }
  37646. };
  37647. A.Interpolation_toString_closure.prototype = {
  37648. call$1(value) {
  37649. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  37650. },
  37651. $signature: 59
  37652. };
  37653. A.AtRootRule.prototype = {
  37654. accept$1$1(visitor) {
  37655. return visitor.visitAtRootRule$1(this);
  37656. },
  37657. accept$1(visitor) {
  37658. return this.accept$1$1(visitor, type$.dynamic);
  37659. },
  37660. toString$0(_) {
  37661. var buffer = new A.StringBuffer("@at-root "),
  37662. t1 = this.query;
  37663. if (t1 != null)
  37664. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  37665. t1 = this.children;
  37666. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37667. },
  37668. get$span(receiver) {
  37669. return this.span;
  37670. }
  37671. };
  37672. A.AtRule.prototype = {
  37673. accept$1$1(visitor) {
  37674. return visitor.visitAtRule$1(this);
  37675. },
  37676. accept$1(visitor) {
  37677. return this.accept$1$1(visitor, type$.dynamic);
  37678. },
  37679. toString$0(_) {
  37680. var children,
  37681. t1 = "@" + this.name.toString$0(0),
  37682. buffer = new A.StringBuffer(t1),
  37683. t2 = this.value;
  37684. if (t2 != null)
  37685. buffer._contents = t1 + (" " + t2.toString$0(0));
  37686. children = this.children;
  37687. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  37688. },
  37689. get$span(receiver) {
  37690. return this.span;
  37691. }
  37692. };
  37693. A.CallableDeclaration.prototype = {
  37694. get$span(receiver) {
  37695. return this.span;
  37696. }
  37697. };
  37698. A.ContentBlock.prototype = {
  37699. accept$1$1(visitor) {
  37700. return visitor.visitContentBlock$1(this);
  37701. },
  37702. accept$1(visitor) {
  37703. return this.accept$1$1(visitor, type$.dynamic);
  37704. },
  37705. toString$0(_) {
  37706. var t2,
  37707. t1 = this.$arguments;
  37708. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  37709. t2 = this.children;
  37710. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  37711. }
  37712. };
  37713. A.ContentRule.prototype = {
  37714. accept$1$1(visitor) {
  37715. return visitor.visitContentRule$1(this);
  37716. },
  37717. accept$1(visitor) {
  37718. return this.accept$1$1(visitor, type$.dynamic);
  37719. },
  37720. toString$0(_) {
  37721. var t1 = this.$arguments;
  37722. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  37723. },
  37724. $isAstNode: 1,
  37725. $isStatement: 1,
  37726. get$span(receiver) {
  37727. return this.span;
  37728. }
  37729. };
  37730. A.DebugRule.prototype = {
  37731. accept$1$1(visitor) {
  37732. return visitor.visitDebugRule$1(this);
  37733. },
  37734. accept$1(visitor) {
  37735. return this.accept$1$1(visitor, type$.dynamic);
  37736. },
  37737. toString$0(_) {
  37738. return "@debug " + this.expression.toString$0(0) + ";";
  37739. },
  37740. $isAstNode: 1,
  37741. $isStatement: 1,
  37742. get$span(receiver) {
  37743. return this.span;
  37744. }
  37745. };
  37746. A.Declaration.prototype = {
  37747. accept$1$1(visitor) {
  37748. return visitor.visitDeclaration$1(this);
  37749. },
  37750. accept$1(visitor) {
  37751. return this.accept$1$1(visitor, type$.dynamic);
  37752. },
  37753. toString$0(_) {
  37754. var t3, children,
  37755. buffer = new A.StringBuffer(""),
  37756. t1 = this.name,
  37757. t2 = "" + t1.toString$0(0);
  37758. buffer._contents = t2;
  37759. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  37760. t3 = this.value;
  37761. if (t3 != null) {
  37762. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  37763. buffer._contents = t1 + t3.toString$0(0);
  37764. }
  37765. children = this.children;
  37766. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  37767. },
  37768. get$span(receiver) {
  37769. return this.span;
  37770. }
  37771. };
  37772. A.EachRule.prototype = {
  37773. accept$1$1(visitor) {
  37774. return visitor.visitEachRule$1(this);
  37775. },
  37776. accept$1(visitor) {
  37777. return this.accept$1$1(visitor, type$.dynamic);
  37778. },
  37779. toString$0(_) {
  37780. var t1 = this.variables,
  37781. t2 = this.children;
  37782. 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, " ") + "}";
  37783. },
  37784. get$span(receiver) {
  37785. return this.span;
  37786. }
  37787. };
  37788. A.EachRule_toString_closure.prototype = {
  37789. call$1(variable) {
  37790. return "$" + variable;
  37791. },
  37792. $signature: 5
  37793. };
  37794. A.ErrorRule.prototype = {
  37795. accept$1$1(visitor) {
  37796. return visitor.visitErrorRule$1(this);
  37797. },
  37798. accept$1(visitor) {
  37799. return this.accept$1$1(visitor, type$.dynamic);
  37800. },
  37801. toString$0(_) {
  37802. return "@error " + this.expression.toString$0(0) + ";";
  37803. },
  37804. $isAstNode: 1,
  37805. $isStatement: 1,
  37806. get$span(receiver) {
  37807. return this.span;
  37808. }
  37809. };
  37810. A.ExtendRule.prototype = {
  37811. accept$1$1(visitor) {
  37812. return visitor.visitExtendRule$1(this);
  37813. },
  37814. accept$1(visitor) {
  37815. return this.accept$1$1(visitor, type$.dynamic);
  37816. },
  37817. toString$0(_) {
  37818. var t1 = this.selector.toString$0(0),
  37819. t2 = this.isOptional ? " !optional" : "";
  37820. return "@extend " + t1 + t2 + ";";
  37821. },
  37822. $isAstNode: 1,
  37823. $isStatement: 1,
  37824. get$span(receiver) {
  37825. return this.span;
  37826. }
  37827. };
  37828. A.ForRule.prototype = {
  37829. accept$1$1(visitor) {
  37830. return visitor.visitForRule$1(this);
  37831. },
  37832. accept$1(visitor) {
  37833. return this.accept$1$1(visitor, type$.dynamic);
  37834. },
  37835. toString$0(_) {
  37836. var _this = this,
  37837. t1 = _this.from.toString$0(0),
  37838. t2 = _this.isExclusive ? "to" : "through",
  37839. t3 = _this.children;
  37840. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  37841. },
  37842. get$span(receiver) {
  37843. return this.span;
  37844. }
  37845. };
  37846. A.ForwardRule.prototype = {
  37847. accept$1$1(visitor) {
  37848. return visitor.visitForwardRule$1(this);
  37849. },
  37850. accept$1(visitor) {
  37851. return this.accept$1$1(visitor, type$.dynamic);
  37852. },
  37853. toString$0(_) {
  37854. var t2, prefix, _this = this,
  37855. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  37856. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  37857. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  37858. if (shownMixinsAndFunctions != null) {
  37859. t2 = _this.shownVariables;
  37860. t2.toString;
  37861. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  37862. t1 = t2;
  37863. } else {
  37864. if (hiddenMixinsAndFunctions != null) {
  37865. t2 = hiddenMixinsAndFunctions._base;
  37866. t2 = t2.get$isNotEmpty(t2);
  37867. } else
  37868. t2 = false;
  37869. if (t2) {
  37870. t2 = _this.hiddenVariables;
  37871. t2.toString;
  37872. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  37873. t1 = t2;
  37874. }
  37875. }
  37876. prefix = _this.prefix;
  37877. if (prefix != null)
  37878. t1 += " as " + prefix + "*";
  37879. t2 = _this.configuration;
  37880. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  37881. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37882. },
  37883. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  37884. var t2,
  37885. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  37886. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  37887. t1.push("$" + t2.get$current(t2));
  37888. return B.JSArray_methods.join$1(t1, ", ");
  37889. },
  37890. $isAstNode: 1,
  37891. $isStatement: 1,
  37892. get$span(receiver) {
  37893. return this.span;
  37894. }
  37895. };
  37896. A.FunctionRule.prototype = {
  37897. accept$1$1(visitor) {
  37898. return visitor.visitFunctionRule$1(this);
  37899. },
  37900. accept$1(visitor) {
  37901. return this.accept$1$1(visitor, type$.dynamic);
  37902. },
  37903. toString$0(_) {
  37904. var t1 = this.children;
  37905. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37906. }
  37907. };
  37908. A.IfRule.prototype = {
  37909. accept$1$1(visitor) {
  37910. return visitor.visitIfRule$1(this);
  37911. },
  37912. accept$1(visitor) {
  37913. return this.accept$1$1(visitor, type$.dynamic);
  37914. },
  37915. toString$0(_) {
  37916. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  37917. lastClause = this.lastClause;
  37918. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  37919. },
  37920. $isAstNode: 1,
  37921. $isStatement: 1,
  37922. get$span(receiver) {
  37923. return this.span;
  37924. }
  37925. };
  37926. A.IfRule_toString_closure.prototype = {
  37927. call$2(index, clause) {
  37928. var t1 = index === 0 ? "if" : "else if";
  37929. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  37930. },
  37931. $signature: 588
  37932. };
  37933. A.IfRuleClause.prototype = {};
  37934. A.IfRuleClause$__closure.prototype = {
  37935. call$1(child) {
  37936. var t1;
  37937. if (!(child instanceof A.VariableDeclaration))
  37938. if (!(child instanceof A.FunctionRule))
  37939. if (!(child instanceof A.MixinRule))
  37940. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  37941. else
  37942. t1 = true;
  37943. else
  37944. t1 = true;
  37945. else
  37946. t1 = true;
  37947. return t1;
  37948. },
  37949. $signature: 151
  37950. };
  37951. A.IfRuleClause$___closure.prototype = {
  37952. call$1($import) {
  37953. return $import instanceof A.DynamicImport;
  37954. },
  37955. $signature: 152
  37956. };
  37957. A.IfClause.prototype = {
  37958. toString$0(_) {
  37959. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37960. }
  37961. };
  37962. A.ElseClause.prototype = {
  37963. toString$0(_) {
  37964. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37965. }
  37966. };
  37967. A.ImportRule.prototype = {
  37968. accept$1$1(visitor) {
  37969. return visitor.visitImportRule$1(this);
  37970. },
  37971. accept$1(visitor) {
  37972. return this.accept$1$1(visitor, type$.dynamic);
  37973. },
  37974. toString$0(_) {
  37975. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  37976. },
  37977. $isAstNode: 1,
  37978. $isStatement: 1,
  37979. get$span(receiver) {
  37980. return this.span;
  37981. }
  37982. };
  37983. A.IncludeRule.prototype = {
  37984. get$spanWithoutContent() {
  37985. var t2, t3,
  37986. t1 = this.span;
  37987. if (!(this.content == null)) {
  37988. t2 = t1.file;
  37989. t3 = this.$arguments.span;
  37990. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  37991. t1 = t3;
  37992. }
  37993. return t1;
  37994. },
  37995. accept$1$1(visitor) {
  37996. return visitor.visitIncludeRule$1(this);
  37997. },
  37998. accept$1(visitor) {
  37999. return this.accept$1$1(visitor, type$.dynamic);
  38000. },
  38001. toString$0(_) {
  38002. var t2, _this = this,
  38003. t1 = _this.namespace;
  38004. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  38005. t1 += _this.name;
  38006. t2 = _this.$arguments;
  38007. if (!t2.get$isEmpty(t2))
  38008. t1 += "(" + t2.toString$0(0) + ")";
  38009. t2 = _this.content;
  38010. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  38011. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38012. },
  38013. $isAstNode: 1,
  38014. $isStatement: 1,
  38015. get$span(receiver) {
  38016. return this.span;
  38017. }
  38018. };
  38019. A.LoudComment.prototype = {
  38020. get$span(_) {
  38021. return this.text.span;
  38022. },
  38023. accept$1$1(visitor) {
  38024. return visitor.visitLoudComment$1(this);
  38025. },
  38026. accept$1(visitor) {
  38027. return this.accept$1$1(visitor, type$.dynamic);
  38028. },
  38029. toString$0(_) {
  38030. return this.text.toString$0(0);
  38031. },
  38032. $isAstNode: 1,
  38033. $isStatement: 1
  38034. };
  38035. A.MediaRule.prototype = {
  38036. accept$1$1(visitor) {
  38037. return visitor.visitMediaRule$1(this);
  38038. },
  38039. accept$1(visitor) {
  38040. return this.accept$1$1(visitor, type$.dynamic);
  38041. },
  38042. toString$0(_) {
  38043. var t1 = this.children;
  38044. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38045. },
  38046. get$span(receiver) {
  38047. return this.span;
  38048. }
  38049. };
  38050. A.MixinRule.prototype = {
  38051. get$hasContent() {
  38052. var result, _this = this,
  38053. value = _this.__MixinRule_hasContent_FI;
  38054. if (value === $) {
  38055. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  38056. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  38057. _this.__MixinRule_hasContent_FI = result;
  38058. value = result;
  38059. }
  38060. return value;
  38061. },
  38062. accept$1$1(visitor) {
  38063. return visitor.visitMixinRule$1(this);
  38064. },
  38065. accept$1(visitor) {
  38066. return this.accept$1$1(visitor, type$.dynamic);
  38067. },
  38068. toString$0(_) {
  38069. var t1 = "@mixin " + this.name,
  38070. t2 = this.$arguments;
  38071. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  38072. t1 += "(" + t2.toString$0(0) + ")";
  38073. t2 = this.children;
  38074. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  38075. return t2.charCodeAt(0) == 0 ? t2 : t2;
  38076. }
  38077. };
  38078. A._HasContentVisitor.prototype = {
  38079. visitContentRule$1(_) {
  38080. return true;
  38081. }
  38082. };
  38083. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  38084. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  38085. A.ParentStatement_closure.prototype = {
  38086. call$1(child) {
  38087. var t1;
  38088. if (!(child instanceof A.VariableDeclaration))
  38089. if (!(child instanceof A.FunctionRule))
  38090. if (!(child instanceof A.MixinRule))
  38091. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  38092. else
  38093. t1 = true;
  38094. else
  38095. t1 = true;
  38096. else
  38097. t1 = true;
  38098. return t1;
  38099. },
  38100. $signature: 151
  38101. };
  38102. A.ParentStatement__closure.prototype = {
  38103. call$1($import) {
  38104. return $import instanceof A.DynamicImport;
  38105. },
  38106. $signature: 152
  38107. };
  38108. A.ReturnRule.prototype = {
  38109. accept$1$1(visitor) {
  38110. return visitor.visitReturnRule$1(this);
  38111. },
  38112. accept$1(visitor) {
  38113. return this.accept$1$1(visitor, type$.dynamic);
  38114. },
  38115. toString$0(_) {
  38116. return "@return " + this.expression.toString$0(0) + ";";
  38117. },
  38118. $isAstNode: 1,
  38119. $isStatement: 1,
  38120. get$span(receiver) {
  38121. return this.span;
  38122. }
  38123. };
  38124. A.SilentComment.prototype = {
  38125. accept$1$1(visitor) {
  38126. return visitor.visitSilentComment$1(this);
  38127. },
  38128. accept$1(visitor) {
  38129. return this.accept$1$1(visitor, type$.dynamic);
  38130. },
  38131. toString$0(_) {
  38132. return this.text;
  38133. },
  38134. $isAstNode: 1,
  38135. $isStatement: 1,
  38136. get$span(receiver) {
  38137. return this.span;
  38138. }
  38139. };
  38140. A.StyleRule.prototype = {
  38141. accept$1$1(visitor) {
  38142. return visitor.visitStyleRule$1(this);
  38143. },
  38144. accept$1(visitor) {
  38145. return this.accept$1$1(visitor, type$.dynamic);
  38146. },
  38147. toString$0(_) {
  38148. var t1 = this.children;
  38149. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38150. },
  38151. get$span(receiver) {
  38152. return this.span;
  38153. }
  38154. };
  38155. A.Stylesheet.prototype = {
  38156. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  38157. var t1, t2, t3, t4, _i, child;
  38158. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  38159. child = t1[_i];
  38160. if (child instanceof A.UseRule)
  38161. t4.push(child);
  38162. else if (child instanceof A.ForwardRule)
  38163. t3.push(child);
  38164. else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
  38165. break;
  38166. }
  38167. },
  38168. accept$1$1(visitor) {
  38169. return visitor.visitStylesheet$1(this);
  38170. },
  38171. accept$1(visitor) {
  38172. return this.accept$1$1(visitor, type$.dynamic);
  38173. },
  38174. toString$0(_) {
  38175. var t1 = this.children;
  38176. return (t1 && B.JSArray_methods).join$1(t1, " ");
  38177. },
  38178. get$span(receiver) {
  38179. return this.span;
  38180. }
  38181. };
  38182. A.SupportsRule.prototype = {
  38183. accept$1$1(visitor) {
  38184. return visitor.visitSupportsRule$1(this);
  38185. },
  38186. accept$1(visitor) {
  38187. return this.accept$1$1(visitor, type$.dynamic);
  38188. },
  38189. toString$0(_) {
  38190. var t1 = this.children;
  38191. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38192. },
  38193. get$span(receiver) {
  38194. return this.span;
  38195. }
  38196. };
  38197. A.UseRule.prototype = {
  38198. UseRule$4$configuration(url, namespace, span, configuration) {
  38199. var t1, t2, _i, variable;
  38200. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  38201. variable = t1[_i];
  38202. if (variable.isGuarded)
  38203. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  38204. }
  38205. },
  38206. accept$1$1(visitor) {
  38207. return visitor.visitUseRule$1(this);
  38208. },
  38209. accept$1(visitor) {
  38210. return this.accept$1$1(visitor, type$.dynamic);
  38211. },
  38212. toString$0(_) {
  38213. var t1 = this.url,
  38214. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  38215. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  38216. dot = B.JSString_methods.indexOf$1(basename, ".");
  38217. t1 = this.namespace;
  38218. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  38219. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  38220. else
  38221. t1 = t2;
  38222. t2 = this.configuration;
  38223. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  38224. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38225. },
  38226. $isAstNode: 1,
  38227. $isStatement: 1,
  38228. get$span(receiver) {
  38229. return this.span;
  38230. }
  38231. };
  38232. A.VariableDeclaration.prototype = {
  38233. accept$1$1(visitor) {
  38234. return visitor.visitVariableDeclaration$1(this);
  38235. },
  38236. accept$1(visitor) {
  38237. return this.accept$1$1(visitor, type$.dynamic);
  38238. },
  38239. toString$0(_) {
  38240. var t1 = this.namespace;
  38241. t1 = t1 != null ? "" + (t1 + ".") : "";
  38242. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  38243. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38244. },
  38245. $isAstNode: 1,
  38246. $isStatement: 1,
  38247. get$span(receiver) {
  38248. return this.span;
  38249. }
  38250. };
  38251. A.WarnRule.prototype = {
  38252. accept$1$1(visitor) {
  38253. return visitor.visitWarnRule$1(this);
  38254. },
  38255. accept$1(visitor) {
  38256. return this.accept$1$1(visitor, type$.dynamic);
  38257. },
  38258. toString$0(_) {
  38259. return "@warn " + this.expression.toString$0(0) + ";";
  38260. },
  38261. $isAstNode: 1,
  38262. $isStatement: 1,
  38263. get$span(receiver) {
  38264. return this.span;
  38265. }
  38266. };
  38267. A.WhileRule.prototype = {
  38268. accept$1$1(visitor) {
  38269. return visitor.visitWhileRule$1(this);
  38270. },
  38271. accept$1(visitor) {
  38272. return this.accept$1$1(visitor, type$.dynamic);
  38273. },
  38274. toString$0(_) {
  38275. var t1 = this.children;
  38276. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  38277. },
  38278. get$span(receiver) {
  38279. return this.span;
  38280. }
  38281. };
  38282. A.SupportsAnything.prototype = {
  38283. toString$0(_) {
  38284. return "(" + this.contents.toString$0(0) + ")";
  38285. },
  38286. $isAstNode: 1,
  38287. get$span(receiver) {
  38288. return this.span;
  38289. }
  38290. };
  38291. A.SupportsDeclaration.prototype = {
  38292. get$isCustomProperty() {
  38293. var $name = this.name;
  38294. return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  38295. },
  38296. toString$0(_) {
  38297. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  38298. },
  38299. $isAstNode: 1,
  38300. get$span(receiver) {
  38301. return this.span;
  38302. }
  38303. };
  38304. A.SupportsFunction.prototype = {
  38305. toString$0(_) {
  38306. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  38307. },
  38308. $isAstNode: 1,
  38309. get$span(receiver) {
  38310. return this.span;
  38311. }
  38312. };
  38313. A.SupportsInterpolation.prototype = {
  38314. toString$0(_) {
  38315. return "#{" + this.expression.toString$0(0) + "}";
  38316. },
  38317. $isAstNode: 1,
  38318. get$span(receiver) {
  38319. return this.span;
  38320. }
  38321. };
  38322. A.SupportsNegation.prototype = {
  38323. toString$0(_) {
  38324. var t1 = this.condition;
  38325. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  38326. return "not (" + t1.toString$0(0) + ")";
  38327. else
  38328. return "not " + t1.toString$0(0);
  38329. },
  38330. $isAstNode: 1,
  38331. get$span(receiver) {
  38332. return this.span;
  38333. }
  38334. };
  38335. A.SupportsOperation.prototype = {
  38336. toString$0(_) {
  38337. var _this = this;
  38338. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  38339. },
  38340. _operation$_parenthesize$1(condition) {
  38341. var t1;
  38342. if (!(condition instanceof A.SupportsNegation))
  38343. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  38344. else
  38345. t1 = true;
  38346. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  38347. },
  38348. $isAstNode: 1,
  38349. get$span(receiver) {
  38350. return this.span;
  38351. }
  38352. };
  38353. A.Selector.prototype = {
  38354. assertNotBogus$1$name($name) {
  38355. var t1;
  38356. if (!this.accept$1(B._IsBogusVisitor_true))
  38357. return;
  38358. t1 = this.toString$0(0);
  38359. A.EvaluationContext_current().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_vrR);
  38360. },
  38361. toString$0(_) {
  38362. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  38363. this.accept$1(visitor);
  38364. return visitor._serialize$_buffer.toString$0(0);
  38365. },
  38366. $isAstNode: 1,
  38367. get$span(receiver) {
  38368. return this.span;
  38369. }
  38370. };
  38371. A._IsInvisibleVisitor0.prototype = {
  38372. visitSelectorList$1(list) {
  38373. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  38374. },
  38375. visitComplexSelector$1(complex) {
  38376. var t1;
  38377. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  38378. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  38379. else
  38380. t1 = true;
  38381. return t1;
  38382. },
  38383. visitPlaceholderSelector$1(placeholder) {
  38384. return true;
  38385. },
  38386. visitPseudoSelector$1(pseudo) {
  38387. var t1,
  38388. selector = pseudo.selector;
  38389. if (selector == null)
  38390. return false;
  38391. if (pseudo.name === "not")
  38392. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true);
  38393. else
  38394. t1 = this.visitSelectorList$1(selector);
  38395. return t1;
  38396. }
  38397. };
  38398. A._IsBogusVisitor.prototype = {
  38399. visitComplexSelector$1(complex) {
  38400. var t2, t3,
  38401. t1 = complex.components;
  38402. if (t1.length === 0)
  38403. return complex.leadingCombinators.length !== 0;
  38404. else {
  38405. t2 = complex.leadingCombinators;
  38406. t3 = this.includeLeadingCombinator ? 0 : 1;
  38407. return t2.length > t3 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure(this));
  38408. }
  38409. },
  38410. visitPseudoSelector$1(pseudo) {
  38411. var selector = pseudo.selector;
  38412. if (selector == null)
  38413. return false;
  38414. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  38415. }
  38416. };
  38417. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  38418. call$1(component) {
  38419. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  38420. },
  38421. $signature: 47
  38422. };
  38423. A._IsUselessVisitor.prototype = {
  38424. visitComplexSelector$1(complex) {
  38425. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  38426. },
  38427. visitPseudoSelector$1(pseudo) {
  38428. return pseudo.accept$1(B._IsBogusVisitor_true);
  38429. }
  38430. };
  38431. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  38432. call$1(component) {
  38433. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  38434. },
  38435. $signature: 47
  38436. };
  38437. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  38438. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  38439. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  38440. A.AttributeSelector.prototype = {
  38441. accept$1$1(visitor) {
  38442. return visitor.visitAttributeSelector$1(this);
  38443. },
  38444. accept$1(visitor) {
  38445. return this.accept$1$1(visitor, type$.dynamic);
  38446. },
  38447. $eq(_, other) {
  38448. var _this = this;
  38449. if (other == null)
  38450. return false;
  38451. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  38452. },
  38453. get$hashCode(_) {
  38454. var _this = this,
  38455. t1 = _this.name;
  38456. 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;
  38457. }
  38458. };
  38459. A.AttributeOperator.prototype = {
  38460. _enumToString$0() {
  38461. return "AttributeOperator." + this._name;
  38462. },
  38463. toString$0(_) {
  38464. return this._attribute$_text;
  38465. }
  38466. };
  38467. A.ClassSelector.prototype = {
  38468. $eq(_, other) {
  38469. if (other == null)
  38470. return false;
  38471. return other instanceof A.ClassSelector && other.name === this.name;
  38472. },
  38473. accept$1$1(visitor) {
  38474. return visitor.visitClassSelector$1(this);
  38475. },
  38476. accept$1(visitor) {
  38477. return this.accept$1$1(visitor, type$.dynamic);
  38478. },
  38479. addSuffix$1(suffix) {
  38480. return new A.ClassSelector(this.name + suffix, this.span);
  38481. },
  38482. get$hashCode(_) {
  38483. return B.JSString_methods.get$hashCode(this.name);
  38484. }
  38485. };
  38486. A.Combinator.prototype = {
  38487. _enumToString$0() {
  38488. return "Combinator." + this._name;
  38489. },
  38490. toString$0(_) {
  38491. return this._combinator$_text;
  38492. }
  38493. };
  38494. A.ComplexSelector.prototype = {
  38495. get$specificity() {
  38496. var result, _this = this,
  38497. value = _this.__ComplexSelector_specificity_FI;
  38498. if (value === $) {
  38499. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  38500. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38501. _this.__ComplexSelector_specificity_FI = result;
  38502. value = result;
  38503. }
  38504. return value;
  38505. },
  38506. get$singleCompound() {
  38507. if (this.leadingCombinators.length === 0) {
  38508. var t1 = this.components;
  38509. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  38510. } else
  38511. t1 = false;
  38512. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  38513. },
  38514. accept$1$1(visitor) {
  38515. return visitor.visitComplexSelector$1(this);
  38516. },
  38517. accept$1(visitor) {
  38518. return this.accept$1$1(visitor, type$.dynamic);
  38519. },
  38520. isSuperselector$1(other) {
  38521. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  38522. },
  38523. withAdditionalCombinators$1(combinators) {
  38524. var t1, t2, t3, t4, _this = this;
  38525. if (combinators.length === 0)
  38526. return _this;
  38527. else {
  38528. t1 = _this.components;
  38529. t2 = _this.leadingCombinators;
  38530. t3 = _this.span;
  38531. if (t1.length === 0) {
  38532. t1 = A.List_List$of(t2, true, type$.CssValue_Combinator);
  38533. B.JSArray_methods.addAll$1(t1, combinators);
  38534. return A.ComplexSelector$(t1, B.List_empty0, t3, _this.lineBreak || false);
  38535. } else {
  38536. t4 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  38537. t4.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  38538. return A.ComplexSelector$(t2, t4, t3, _this.lineBreak || false);
  38539. }
  38540. }
  38541. },
  38542. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  38543. var t2, t3, t4, t5, _this = this,
  38544. t1 = child.leadingCombinators;
  38545. if (t1.length === 0) {
  38546. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent);
  38547. B.JSArray_methods.addAll$1(t1, child.components);
  38548. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  38549. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  38550. } else {
  38551. t2 = _this.components;
  38552. t3 = _this.leadingCombinators;
  38553. t4 = child.components;
  38554. if (t2.length === 0) {
  38555. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  38556. B.JSArray_methods.addAll$1(t2, t1);
  38557. return A.ComplexSelector$(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  38558. } else {
  38559. t5 = A.List_List$of(A.IterableExtension_get_exceptLast(t2), true, type$.ComplexSelectorComponent);
  38560. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  38561. B.JSArray_methods.addAll$1(t5, t4);
  38562. return A.ComplexSelector$(t3, t5, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  38563. }
  38564. }
  38565. },
  38566. concatenate$2(child, span) {
  38567. return this.concatenate$3$forceLineBreak(child, span, false);
  38568. },
  38569. get$hashCode(_) {
  38570. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  38571. },
  38572. $eq(_, other) {
  38573. if (other == null)
  38574. return false;
  38575. 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);
  38576. }
  38577. };
  38578. A.ComplexSelector_specificity_closure.prototype = {
  38579. call$2(sum, component) {
  38580. return sum + component.selector.get$specificity();
  38581. },
  38582. $signature: 353
  38583. };
  38584. A.ComplexSelectorComponent.prototype = {
  38585. withAdditionalCombinators$1(combinators) {
  38586. var t1, t2, _this = this;
  38587. if (combinators.length === 0)
  38588. t1 = _this;
  38589. else {
  38590. t1 = type$.CssValue_Combinator;
  38591. t2 = A.List_List$of(_this.combinators, true, t1);
  38592. B.JSArray_methods.addAll$1(t2, combinators);
  38593. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  38594. }
  38595. return t1;
  38596. },
  38597. get$hashCode(_) {
  38598. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  38599. },
  38600. $eq(_, other) {
  38601. var t1;
  38602. if (other == null)
  38603. return false;
  38604. if (other instanceof A.ComplexSelectorComponent) {
  38605. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  38606. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  38607. } else
  38608. t1 = false;
  38609. return t1;
  38610. },
  38611. toString$0(_) {
  38612. var t1 = this.combinators;
  38613. 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, "");
  38614. }
  38615. };
  38616. A.ComplexSelectorComponent_toString_closure.prototype = {
  38617. call$1(combinator) {
  38618. return " " + combinator.toString$0(0);
  38619. },
  38620. $signature: 361
  38621. };
  38622. A.CompoundSelector.prototype = {
  38623. get$specificity() {
  38624. var result, _this = this,
  38625. value = _this.__CompoundSelector_specificity_FI;
  38626. if (value === $) {
  38627. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  38628. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38629. _this.__CompoundSelector_specificity_FI = result;
  38630. value = result;
  38631. }
  38632. return value;
  38633. },
  38634. accept$1$1(visitor) {
  38635. return visitor.visitCompoundSelector$1(this);
  38636. },
  38637. accept$1(visitor) {
  38638. return this.accept$1$1(visitor, type$.dynamic);
  38639. },
  38640. get$hashCode(_) {
  38641. return B.C_ListEquality0.hash$1(this.components);
  38642. },
  38643. $eq(_, other) {
  38644. if (other == null)
  38645. return false;
  38646. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  38647. }
  38648. };
  38649. A.CompoundSelector_specificity_closure.prototype = {
  38650. call$2(sum, component) {
  38651. return sum + component.get$specificity();
  38652. },
  38653. $signature: 253
  38654. };
  38655. A.IDSelector.prototype = {
  38656. get$specificity() {
  38657. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  38658. },
  38659. accept$1$1(visitor) {
  38660. return visitor.visitIDSelector$1(this);
  38661. },
  38662. accept$1(visitor) {
  38663. return this.accept$1$1(visitor, type$.dynamic);
  38664. },
  38665. addSuffix$1(suffix) {
  38666. return new A.IDSelector(this.name + suffix, this.span);
  38667. },
  38668. unify$1(compound) {
  38669. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  38670. return null;
  38671. return this.super$SimpleSelector$unify(compound);
  38672. },
  38673. $eq(_, other) {
  38674. if (other == null)
  38675. return false;
  38676. return other instanceof A.IDSelector && other.name === this.name;
  38677. },
  38678. get$hashCode(_) {
  38679. return B.JSString_methods.get$hashCode(this.name);
  38680. }
  38681. };
  38682. A.IDSelector_unify_closure.prototype = {
  38683. call$1(simple) {
  38684. var t1;
  38685. if (simple instanceof A.IDSelector) {
  38686. t1 = simple.name;
  38687. t1 = this.$this.name !== t1;
  38688. } else
  38689. t1 = false;
  38690. return t1;
  38691. },
  38692. $signature: 13
  38693. };
  38694. A.SelectorList.prototype = {
  38695. get$asSassList() {
  38696. var t1 = this.components;
  38697. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  38698. },
  38699. accept$1$1(visitor) {
  38700. return visitor.visitSelectorList$1(this);
  38701. },
  38702. accept$1(visitor) {
  38703. return this.accept$1$1(visitor, type$.dynamic);
  38704. },
  38705. unify$1(other) {
  38706. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  38707. t1 = type$.JSArray_ComplexSelector,
  38708. t2 = A._setArrayType([], t1);
  38709. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  38710. complex1 = t3[_i];
  38711. for (_i0 = 0; _i0 < t6; ++_i0) {
  38712. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  38713. if (t7 != null)
  38714. B.JSArray_methods.addAll$1(t2, t7);
  38715. }
  38716. }
  38717. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  38718. },
  38719. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  38720. var parentSelector, t1, _this = this;
  38721. if ($parent == null) {
  38722. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  38723. if (parentSelector == null)
  38724. return _this;
  38725. throw A.wrapException(A.SassException$(string$.Top_le, parentSelector.span));
  38726. }
  38727. t1 = _this.components;
  38728. return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector), _this.span);
  38729. },
  38730. resolveParentSelectors$1($parent) {
  38731. return this.resolveParentSelectors$2$implicitParent($parent, true);
  38732. },
  38733. _resolveParentSelectorsCompound$2(component, $parent) {
  38734. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  38735. t1 = component.selector,
  38736. simples = t1.components,
  38737. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  38738. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  38739. return null;
  38740. if (containsSelectorPseudo) {
  38741. t2 = simples;
  38742. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  38743. } else
  38744. resolvedSimples0 = simples;
  38745. resolvedSimples = resolvedSimples0;
  38746. parentSelector = J.get$first$ax(simples);
  38747. try {
  38748. if (!(parentSelector instanceof A.ParentSelector)) {
  38749. t2 = component.span;
  38750. 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);
  38751. return t2;
  38752. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  38753. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  38754. return t1.components;
  38755. }
  38756. } catch (exception) {
  38757. t1 = A.unwrapException(exception);
  38758. if (t1 instanceof A.SassException) {
  38759. error = t1;
  38760. stackTrace = A.getTraceFromException(exception);
  38761. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), stackTrace);
  38762. } else
  38763. throw exception;
  38764. }
  38765. t1 = $parent.components;
  38766. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  38767. },
  38768. isSuperselector$1(other) {
  38769. return A.listIsSuperselector(this.components, other.components);
  38770. },
  38771. withAdditionalCombinators$1(combinators) {
  38772. var t1;
  38773. if (combinators.length === 0)
  38774. t1 = this;
  38775. else {
  38776. t1 = this.components;
  38777. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  38778. }
  38779. return t1;
  38780. },
  38781. get$hashCode(_) {
  38782. return B.C_ListEquality0.hash$1(this.components);
  38783. },
  38784. $eq(_, other) {
  38785. if (other == null)
  38786. return false;
  38787. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  38788. }
  38789. };
  38790. A.SelectorList_asSassList_closure.prototype = {
  38791. call$1(complex) {
  38792. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  38793. t1 = type$.JSArray_Value,
  38794. t2 = A._setArrayType([], t1);
  38795. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  38796. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  38797. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  38798. component = t3[_i];
  38799. t5 = component.selector;
  38800. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  38801. t5.accept$1(visitor);
  38802. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  38803. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  38804. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  38805. B.JSArray_methods.addAll$1(t2, t5);
  38806. }
  38807. return A.SassList$(t2, B.ListSeparator_EVt, false);
  38808. },
  38809. $signature: 475
  38810. };
  38811. A.SelectorList_resolveParentSelectors_closure.prototype = {
  38812. call$1(complex) {
  38813. 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;
  38814. if (complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  38815. if (!_this.implicitParent)
  38816. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  38817. t1 = _this.parent.components;
  38818. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  38819. }
  38820. t1 = type$.JSArray_ComplexSelector;
  38821. newComplexes = A._setArrayType([], t1);
  38822. 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) {
  38823. component = t2[_i];
  38824. resolved = t4._resolveParentSelectorsCompound$2(component, t5);
  38825. if (resolved == null)
  38826. if (newComplexes.length === 0)
  38827. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  38828. else
  38829. for (i = 0; i < newComplexes.length; ++i) {
  38830. t12 = newComplexes[i];
  38831. t13 = t12.leadingCombinators;
  38832. t14 = A.List_List$of(t12.components, true, t10);
  38833. t14.push(component);
  38834. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12.lineBreak || false);
  38835. }
  38836. else if (newComplexes.length === 0)
  38837. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure0(complex), t6));
  38838. else {
  38839. t12 = A._setArrayType([], t1);
  38840. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  38841. newComplex = newComplexes[_i0];
  38842. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  38843. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  38844. }
  38845. newComplexes = t12;
  38846. }
  38847. }
  38848. return newComplexes;
  38849. },
  38850. $signature: 495
  38851. };
  38852. A.SelectorList_resolveParentSelectors__closure.prototype = {
  38853. call$1(parentComplex) {
  38854. var t1 = this.complex;
  38855. return parentComplex.concatenate$2(t1, t1.span);
  38856. },
  38857. $signature: 57
  38858. };
  38859. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  38860. call$1(resolvedComplex) {
  38861. var t1 = resolvedComplex.leadingCombinators,
  38862. t2 = this.complex,
  38863. t3 = t2.leadingCombinators;
  38864. if (t1.length === 0)
  38865. t1 = t3;
  38866. else {
  38867. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  38868. B.JSArray_methods.addAll$1(t3, t1);
  38869. t1 = t3;
  38870. }
  38871. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  38872. },
  38873. $signature: 57
  38874. };
  38875. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  38876. call$1(simple) {
  38877. var selector;
  38878. if (!(simple instanceof A.PseudoSelector))
  38879. return false;
  38880. selector = simple.selector;
  38881. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  38882. },
  38883. $signature: 13
  38884. };
  38885. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  38886. call$1(simple) {
  38887. var selector;
  38888. if (!(simple instanceof A.PseudoSelector))
  38889. return simple;
  38890. selector = simple.selector;
  38891. if (selector == null)
  38892. return simple;
  38893. if (selector.accept$1(B.C__ParentSelectorVisitor) == null)
  38894. return simple;
  38895. return simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  38896. },
  38897. $signature: 502
  38898. };
  38899. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  38900. call$1(complex) {
  38901. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  38902. try {
  38903. t4 = complex.components;
  38904. lastComponent = B.JSArray_methods.get$last(t4);
  38905. if (lastComponent.combinators.length !== 0) {
  38906. 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));
  38907. throw A.wrapException(t1);
  38908. }
  38909. suffix = _this.parentSelector.suffix;
  38910. lastSimples = lastComponent.selector.components;
  38911. t5 = type$.SimpleSelector;
  38912. t6 = _this.resolvedSimples;
  38913. t7 = J.getInterceptor$ax(t6);
  38914. if (suffix == null) {
  38915. t1 = A.List_List$of(lastSimples, true, t5);
  38916. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  38917. t1 = t1;
  38918. } else {
  38919. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  38920. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  38921. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  38922. t1 = t2;
  38923. }
  38924. t2 = _this.component;
  38925. last = A.CompoundSelector$(t1, t2.selector.span);
  38926. t1 = complex.leadingCombinators;
  38927. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  38928. t4 = t2.span;
  38929. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  38930. t4 = A.ComplexSelector$(t1, t3, t4, complex.lineBreak);
  38931. return t4;
  38932. } catch (exception) {
  38933. t1 = A.unwrapException(exception);
  38934. if (t1 instanceof A.SassException) {
  38935. error = t1;
  38936. stackTrace = A.getTraceFromException(exception);
  38937. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), stackTrace);
  38938. } else
  38939. throw exception;
  38940. }
  38941. },
  38942. $signature: 57
  38943. };
  38944. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  38945. call$1(complex) {
  38946. return complex.withAdditionalCombinators$1(this.combinators);
  38947. },
  38948. $signature: 57
  38949. };
  38950. A._ParentSelectorVisitor.prototype = {
  38951. visitParentSelector$1(selector) {
  38952. return selector;
  38953. }
  38954. };
  38955. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  38956. A.ParentSelector.prototype = {
  38957. accept$1$1(visitor) {
  38958. return visitor.visitParentSelector$1(this);
  38959. },
  38960. accept$1(visitor) {
  38961. return this.accept$1$1(visitor, type$.dynamic);
  38962. },
  38963. unify$1(compound) {
  38964. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  38965. }
  38966. };
  38967. A.PlaceholderSelector.prototype = {
  38968. accept$1$1(visitor) {
  38969. return visitor.visitPlaceholderSelector$1(this);
  38970. },
  38971. accept$1(visitor) {
  38972. return this.accept$1$1(visitor, type$.dynamic);
  38973. },
  38974. addSuffix$1(suffix) {
  38975. return new A.PlaceholderSelector(this.name + suffix, this.span);
  38976. },
  38977. $eq(_, other) {
  38978. if (other == null)
  38979. return false;
  38980. return other instanceof A.PlaceholderSelector && other.name === this.name;
  38981. },
  38982. get$hashCode(_) {
  38983. return B.JSString_methods.get$hashCode(this.name);
  38984. }
  38985. };
  38986. A.PseudoSelector.prototype = {
  38987. get$isHostContext() {
  38988. return this.isClass && this.name === "host-context" && this.selector != null;
  38989. },
  38990. get$specificity() {
  38991. var result, _this = this,
  38992. value = _this.__PseudoSelector_specificity_FI;
  38993. if (value === $) {
  38994. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  38995. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38996. _this.__PseudoSelector_specificity_FI = result;
  38997. value = result;
  38998. }
  38999. return value;
  39000. },
  39001. withSelector$1(selector) {
  39002. var _this = this;
  39003. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  39004. },
  39005. addSuffix$1(suffix) {
  39006. var _this = this;
  39007. if (_this.argument != null || _this.selector != null)
  39008. _this.super$SimpleSelector$addSuffix(suffix);
  39009. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  39010. },
  39011. unify$1(compound) {
  39012. var other, result, t2, addedThis, _i, simple, _this = this,
  39013. t1 = _this.name;
  39014. if (t1 === "host" || t1 === "host-context") {
  39015. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  39016. return null;
  39017. } else if (compound.length === 1) {
  39018. other = B.JSArray_methods.get$first(compound);
  39019. if (!(other instanceof A.UniversalSelector))
  39020. if (other instanceof A.PseudoSelector)
  39021. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  39022. else
  39023. t1 = false;
  39024. else
  39025. t1 = true;
  39026. if (t1)
  39027. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  39028. }
  39029. if (B.JSArray_methods.contains$1(compound, _this))
  39030. return compound;
  39031. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  39032. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  39033. simple = compound[_i];
  39034. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  39035. if (t2)
  39036. return null;
  39037. result.push(_this);
  39038. addedThis = true;
  39039. }
  39040. result.push(simple);
  39041. }
  39042. if (!addedThis)
  39043. result.push(_this);
  39044. return result;
  39045. },
  39046. isSuperselector$1(other) {
  39047. var selector, t1, t2, _this = this;
  39048. if (_this.super$SimpleSelector$isSuperselector(other))
  39049. return true;
  39050. selector = _this.selector;
  39051. if (selector == null)
  39052. return _this.$eq(0, other);
  39053. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  39054. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  39055. return t1 == null ? false : t1;
  39056. }
  39057. t1 = type$.JSArray_SimpleSelector;
  39058. t2 = _this.span;
  39059. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  39060. },
  39061. accept$1$1(visitor) {
  39062. return visitor.visitPseudoSelector$1(this);
  39063. },
  39064. accept$1(visitor) {
  39065. return this.accept$1$1(visitor, type$.dynamic);
  39066. },
  39067. $eq(_, other) {
  39068. var _this = this;
  39069. if (other == null)
  39070. return false;
  39071. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  39072. },
  39073. get$hashCode(_) {
  39074. var _this = this,
  39075. t1 = B.JSString_methods.get$hashCode(_this.name),
  39076. t2 = !_this.isClass ? 519018 : 218159;
  39077. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  39078. }
  39079. };
  39080. A.PseudoSelector_specificity_closure.prototype = {
  39081. call$0() {
  39082. var selector, t2,
  39083. t1 = this.$this;
  39084. if (!t1.isClass)
  39085. return 1;
  39086. selector = t1.selector;
  39087. if (selector == null)
  39088. return A.SimpleSelector.prototype.get$specificity.call(t1);
  39089. switch (t1.normalizedName) {
  39090. case "where":
  39091. return 0;
  39092. case "is":
  39093. case "not":
  39094. case "has":
  39095. case "matches":
  39096. t1 = selector.components;
  39097. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  39098. case "nth-child":
  39099. case "nth-last-child":
  39100. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  39101. t2 = selector.components;
  39102. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  39103. default:
  39104. return A.SimpleSelector.prototype.get$specificity.call(t1);
  39105. }
  39106. },
  39107. $signature: 12
  39108. };
  39109. A.PseudoSelector_specificity__closure.prototype = {
  39110. call$1(component) {
  39111. return component.get$specificity();
  39112. },
  39113. $signature: 169
  39114. };
  39115. A.PseudoSelector_specificity__closure0.prototype = {
  39116. call$1(component) {
  39117. return component.get$specificity();
  39118. },
  39119. $signature: 169
  39120. };
  39121. A.PseudoSelector_unify_closure.prototype = {
  39122. call$1(simple) {
  39123. var t1;
  39124. if (simple instanceof A.PseudoSelector)
  39125. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  39126. else
  39127. t1 = false;
  39128. return t1;
  39129. },
  39130. $signature: 13
  39131. };
  39132. A.QualifiedName.prototype = {
  39133. $eq(_, other) {
  39134. if (other == null)
  39135. return false;
  39136. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  39137. },
  39138. get$hashCode(_) {
  39139. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  39140. },
  39141. toString$0(_) {
  39142. var t1 = this.namespace,
  39143. t2 = this.name;
  39144. return t1 == null ? t2 : t1 + "|" + t2;
  39145. }
  39146. };
  39147. A.SimpleSelector.prototype = {
  39148. get$specificity() {
  39149. return 1000;
  39150. },
  39151. addSuffix$1(suffix) {
  39152. 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)));
  39153. },
  39154. unify$1(compound) {
  39155. var other, t1, result, addedThis, _i, simple, _this = this;
  39156. if (compound.length === 1) {
  39157. other = B.JSArray_methods.get$first(compound);
  39158. if (!(other instanceof A.UniversalSelector))
  39159. if (other instanceof A.PseudoSelector)
  39160. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  39161. else
  39162. t1 = false;
  39163. else
  39164. t1 = true;
  39165. if (t1)
  39166. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  39167. }
  39168. if (B.JSArray_methods.contains$1(compound, _this))
  39169. return compound;
  39170. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  39171. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  39172. simple = compound[_i];
  39173. if (!addedThis && simple instanceof A.PseudoSelector) {
  39174. result.push(_this);
  39175. addedThis = true;
  39176. }
  39177. result.push(simple);
  39178. }
  39179. if (!addedThis)
  39180. result.push(_this);
  39181. return result;
  39182. },
  39183. isSuperselector$1(other) {
  39184. var list;
  39185. if (this.$eq(0, other))
  39186. return true;
  39187. if (other instanceof A.PseudoSelector && other.isClass) {
  39188. list = other.selector;
  39189. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  39190. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  39191. }
  39192. return false;
  39193. }
  39194. };
  39195. A.SimpleSelector_isSuperselector_closure.prototype = {
  39196. call$1(complex) {
  39197. var t1 = complex.components;
  39198. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  39199. },
  39200. $signature: 15
  39201. };
  39202. A.SimpleSelector_isSuperselector__closure.prototype = {
  39203. call$1(simple) {
  39204. return this.$this.isSuperselector$1(simple);
  39205. },
  39206. $signature: 13
  39207. };
  39208. A.TypeSelector.prototype = {
  39209. get$specificity() {
  39210. return 1;
  39211. },
  39212. accept$1$1(visitor) {
  39213. return visitor.visitTypeSelector$1(this);
  39214. },
  39215. accept$1(visitor) {
  39216. return this.accept$1$1(visitor, type$.dynamic);
  39217. },
  39218. addSuffix$1(suffix) {
  39219. var t1 = this.name;
  39220. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  39221. },
  39222. unify$1(compound) {
  39223. var unified, t1;
  39224. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
  39225. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  39226. if (unified == null)
  39227. return null;
  39228. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  39229. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  39230. return t1;
  39231. } else {
  39232. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  39233. B.JSArray_methods.addAll$1(t1, compound);
  39234. return t1;
  39235. }
  39236. },
  39237. isSuperselector$1(other) {
  39238. var t1, t2;
  39239. if (!this.super$SimpleSelector$isSuperselector(other))
  39240. if (other instanceof A.TypeSelector) {
  39241. t1 = this.name;
  39242. t2 = other.name;
  39243. if (t1.name === t2.name) {
  39244. t1 = t1.namespace;
  39245. t1 = t1 === "*" || t1 == t2.namespace;
  39246. } else
  39247. t1 = false;
  39248. } else
  39249. t1 = false;
  39250. else
  39251. t1 = true;
  39252. return t1;
  39253. },
  39254. $eq(_, other) {
  39255. if (other == null)
  39256. return false;
  39257. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  39258. },
  39259. get$hashCode(_) {
  39260. var t1 = this.name;
  39261. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  39262. }
  39263. };
  39264. A.UniversalSelector.prototype = {
  39265. get$specificity() {
  39266. return 0;
  39267. },
  39268. accept$1$1(visitor) {
  39269. return visitor.visitUniversalSelector$1(this);
  39270. },
  39271. accept$1(visitor) {
  39272. return this.accept$1$1(visitor, type$.dynamic);
  39273. },
  39274. unify$1(compound) {
  39275. var unified, t1, _this = this,
  39276. first = B.JSArray_methods.get$first(compound);
  39277. if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
  39278. unified = A.unifyUniversalAndElement(_this, first);
  39279. if (unified == null)
  39280. return null;
  39281. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  39282. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  39283. return t1;
  39284. } else {
  39285. if (compound.length === 1)
  39286. if (first instanceof A.PseudoSelector)
  39287. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  39288. else
  39289. t1 = false;
  39290. else
  39291. t1 = false;
  39292. if (t1)
  39293. return null;
  39294. }
  39295. t1 = _this.namespace;
  39296. if (t1 != null && t1 !== "*") {
  39297. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  39298. B.JSArray_methods.addAll$1(t1, compound);
  39299. return t1;
  39300. }
  39301. if (compound.length !== 0)
  39302. return compound;
  39303. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  39304. },
  39305. isSuperselector$1(other) {
  39306. var t1 = this.namespace;
  39307. if (t1 === "*")
  39308. return true;
  39309. if (other instanceof A.TypeSelector)
  39310. return t1 == other.name.namespace;
  39311. if (other instanceof A.UniversalSelector)
  39312. return t1 == other.namespace;
  39313. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  39314. },
  39315. $eq(_, other) {
  39316. if (other == null)
  39317. return false;
  39318. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  39319. },
  39320. get$hashCode(_) {
  39321. return J.get$hashCode$(this.namespace);
  39322. }
  39323. };
  39324. A._compileStylesheet_closure0.prototype = {
  39325. call$1(url) {
  39326. var t1;
  39327. if (url === "") {
  39328. t1 = this.stylesheet.span;
  39329. 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$_core$_text();
  39330. } else
  39331. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  39332. return t1;
  39333. },
  39334. $signature: 5
  39335. };
  39336. A.AsyncEnvironment.prototype = {
  39337. closure$0() {
  39338. var t4, t5, t6, _this = this,
  39339. t1 = _this._async_environment$_forwardedModules,
  39340. t2 = _this._async_environment$_nestedForwardedModules,
  39341. t3 = _this._async_environment$_variables;
  39342. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  39343. t4 = _this._async_environment$_variableNodes;
  39344. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  39345. t5 = _this._async_environment$_functions;
  39346. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  39347. t6 = _this._async_environment$_mixins;
  39348. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  39349. 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);
  39350. },
  39351. addModule$3$namespace(module, nodeWithSpan, namespace) {
  39352. var t1, t2, span, _this = this;
  39353. if (namespace == null) {
  39354. _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
  39355. _this._async_environment$_allModules.push(module);
  39356. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
  39357. t2 = t1.get$current(t1);
  39358. if (module.get$variables().containsKey$1(t2))
  39359. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  39360. }
  39361. } else {
  39362. t1 = _this._async_environment$_modules;
  39363. if (t1.containsKey$1(namespace)) {
  39364. t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
  39365. span = t1 == null ? null : t1.span;
  39366. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39367. if (span != null)
  39368. t1.$indexSet(0, span, "original @use");
  39369. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  39370. }
  39371. t1.$indexSet(0, namespace, module);
  39372. _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  39373. _this._async_environment$_allModules.push(module);
  39374. }
  39375. },
  39376. forwardModule$2(module, rule) {
  39377. var view, t1, t2, _this = this,
  39378. forwardedModules = _this._async_environment$_forwardedModules;
  39379. if (forwardedModules == null)
  39380. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39381. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  39382. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  39383. t2 = t1.__js_helper$_current;
  39384. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  39385. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  39386. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  39387. }
  39388. _this._async_environment$_allModules.push(module);
  39389. forwardedModules.$indexSet(0, view, rule);
  39390. },
  39391. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  39392. var larger, smaller, t1, t2, $name, span;
  39393. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  39394. larger = oldMembers;
  39395. smaller = newMembers;
  39396. } else {
  39397. larger = newMembers;
  39398. smaller = oldMembers;
  39399. }
  39400. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  39401. $name = t1.get$current(t1);
  39402. if (!larger.containsKey$1($name))
  39403. continue;
  39404. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  39405. continue;
  39406. if (t2)
  39407. $name = "$" + $name;
  39408. t1 = this._async_environment$_forwardedModules;
  39409. if (t1 == null)
  39410. span = null;
  39411. else {
  39412. t1 = t1.$index(0, oldModule);
  39413. span = t1 == null ? null : J.get$span$z(t1);
  39414. }
  39415. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39416. if (span != null)
  39417. t1.$indexSet(0, span, "original @forward");
  39418. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  39419. }
  39420. },
  39421. importForwards$1(module) {
  39422. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  39423. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  39424. if (forwarded == null)
  39425. return;
  39426. forwardedModules = _this._async_environment$_forwardedModules;
  39427. if (forwardedModules != null) {
  39428. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39429. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
  39430. t4 = t2.get$current(t2);
  39431. t5 = t4.key;
  39432. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  39433. t1.$indexSet(0, t5, t4.value);
  39434. }
  39435. forwarded = t1;
  39436. } else
  39437. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  39438. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  39439. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  39440. t3 = t2._eval$1("Iterable.E");
  39441. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
  39442. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
  39443. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
  39444. t2 = _this._async_environment$_variables;
  39445. t3 = t2.length;
  39446. if (t3 === 1) {
  39447. for (t1 = _this._async_environment$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  39448. entry = t3[_i];
  39449. module = entry.key;
  39450. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39451. if (shadowed != null) {
  39452. t1.remove$1(0, module);
  39453. t6 = shadowed.variables;
  39454. if (t6.get$isEmpty(t6)) {
  39455. t6 = shadowed.functions;
  39456. if (t6.get$isEmpty(t6)) {
  39457. t6 = shadowed.mixins;
  39458. if (t6.get$isEmpty(t6)) {
  39459. t6 = shadowed._shadowed_view$_inner;
  39460. t6 = t6.get$css(t6);
  39461. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39462. } else
  39463. t6 = false;
  39464. } else
  39465. t6 = false;
  39466. } else
  39467. t6 = false;
  39468. if (!t6)
  39469. t1.$indexSet(0, shadowed, entry.value);
  39470. }
  39471. }
  39472. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  39473. entry = t3[_i];
  39474. module = entry.key;
  39475. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39476. if (shadowed != null) {
  39477. forwardedModules.remove$1(0, module);
  39478. t6 = shadowed.variables;
  39479. if (t6.get$isEmpty(t6)) {
  39480. t6 = shadowed.functions;
  39481. if (t6.get$isEmpty(t6)) {
  39482. t6 = shadowed.mixins;
  39483. if (t6.get$isEmpty(t6)) {
  39484. t6 = shadowed._shadowed_view$_inner;
  39485. t6 = t6.get$css(t6);
  39486. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39487. } else
  39488. t6 = false;
  39489. } else
  39490. t6 = false;
  39491. } else
  39492. t6 = false;
  39493. if (!t6)
  39494. forwardedModules.$indexSet(0, shadowed, entry.value);
  39495. }
  39496. }
  39497. t1.addAll$1(0, forwarded);
  39498. forwardedModules.addAll$1(0, forwarded);
  39499. } else {
  39500. t4 = _this._async_environment$_nestedForwardedModules;
  39501. if (t4 == null) {
  39502. _length = t3 - 1;
  39503. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  39504. for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  39505. _list[_i] = A._setArrayType([], t3);
  39506. _this._async_environment$_nestedForwardedModules = _list;
  39507. t3 = _list;
  39508. } else
  39509. t3 = t4;
  39510. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  39511. }
  39512. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment$_variableIndices, t4 = _this._async_environment$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39513. t6 = t1._collection$_current;
  39514. if (t6 == null)
  39515. t6 = t5._as(t6);
  39516. t3.remove$1(0, t6);
  39517. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  39518. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  39519. }
  39520. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment$_functionIndices, t3 = _this._async_environment$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39521. t5 = t1._collection$_current;
  39522. if (t5 == null)
  39523. t5 = t4._as(t5);
  39524. t2.remove$1(0, t5);
  39525. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39526. }
  39527. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39528. t5 = t1._collection$_current;
  39529. if (t5 == null)
  39530. t5 = t4._as(t5);
  39531. t2.remove$1(0, t5);
  39532. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39533. }
  39534. },
  39535. getVariable$2$namespace($name, namespace) {
  39536. var t1, index, _this = this;
  39537. if (namespace != null)
  39538. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  39539. if (_this._async_environment$_lastVariableName === $name) {
  39540. t1 = _this._async_environment$_lastVariableIndex;
  39541. t1.toString;
  39542. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  39543. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39544. }
  39545. t1 = _this._async_environment$_variableIndices;
  39546. index = t1.$index(0, $name);
  39547. if (index != null) {
  39548. _this._async_environment$_lastVariableName = $name;
  39549. _this._async_environment$_lastVariableIndex = index;
  39550. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  39551. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39552. }
  39553. index = _this._async_environment$_variableIndex$1($name);
  39554. if (index == null)
  39555. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  39556. _this._async_environment$_lastVariableName = $name;
  39557. _this._async_environment$_lastVariableIndex = index;
  39558. t1.$indexSet(0, $name, index);
  39559. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  39560. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  39561. },
  39562. getVariable$1($name) {
  39563. return this.getVariable$2$namespace($name, null);
  39564. },
  39565. _async_environment$_getVariableFromGlobalModule$1($name) {
  39566. return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
  39567. },
  39568. getVariableNode$2$namespace($name, namespace) {
  39569. var t1, index, _this = this;
  39570. if (namespace != null)
  39571. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  39572. if (_this._async_environment$_lastVariableName === $name) {
  39573. t1 = _this._async_environment$_lastVariableIndex;
  39574. t1.toString;
  39575. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  39576. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  39577. }
  39578. t1 = _this._async_environment$_variableIndices;
  39579. index = t1.$index(0, $name);
  39580. if (index != null) {
  39581. _this._async_environment$_lastVariableName = $name;
  39582. _this._async_environment$_lastVariableIndex = index;
  39583. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  39584. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  39585. }
  39586. index = _this._async_environment$_variableIndex$1($name);
  39587. if (index == null)
  39588. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  39589. _this._async_environment$_lastVariableName = $name;
  39590. _this._async_environment$_lastVariableIndex = index;
  39591. t1.$indexSet(0, $name, index);
  39592. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  39593. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  39594. },
  39595. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  39596. var t1, t2, value;
  39597. 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();) {
  39598. t1 = t2._currentIterator;
  39599. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  39600. if (value != null)
  39601. return value;
  39602. }
  39603. return null;
  39604. },
  39605. globalVariableExists$2$namespace($name, namespace) {
  39606. if (namespace != null)
  39607. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  39608. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  39609. return true;
  39610. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  39611. },
  39612. globalVariableExists$1($name) {
  39613. return this.globalVariableExists$2$namespace($name, null);
  39614. },
  39615. _async_environment$_variableIndex$1($name) {
  39616. var t1, i;
  39617. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  39618. if (t1[i].containsKey$1($name))
  39619. return i;
  39620. return null;
  39621. },
  39622. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  39623. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  39624. if (namespace != null) {
  39625. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  39626. return;
  39627. }
  39628. if (global || _this._async_environment$_variables.length === 1) {
  39629. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  39630. t1 = _this._async_environment$_variables;
  39631. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  39632. moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
  39633. if (moduleWithName != null) {
  39634. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  39635. return;
  39636. }
  39637. }
  39638. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  39639. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  39640. return;
  39641. }
  39642. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  39643. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  39644. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39645. t3 = t1.__internal$_current;
  39646. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  39647. t5 = t3.__internal$_current;
  39648. if (t5 == null)
  39649. t5 = t4._as(t5);
  39650. if (t5.get$variables().containsKey$1($name)) {
  39651. t5.setVariable$3($name, value, nodeWithSpan);
  39652. return;
  39653. }
  39654. }
  39655. }
  39656. if (_this._async_environment$_lastVariableName === $name) {
  39657. t1 = _this._async_environment$_lastVariableIndex;
  39658. t1.toString;
  39659. index = t1;
  39660. } else
  39661. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  39662. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  39663. index = _this._async_environment$_variables.length - 1;
  39664. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  39665. }
  39666. _this._async_environment$_lastVariableName = $name;
  39667. _this._async_environment$_lastVariableIndex = index;
  39668. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  39669. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  39670. },
  39671. setVariable$4$global($name, value, nodeWithSpan, global) {
  39672. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  39673. },
  39674. setLocalVariable$3($name, value, nodeWithSpan) {
  39675. var index, _this = this,
  39676. t1 = _this._async_environment$_variables,
  39677. t2 = t1.length;
  39678. _this._async_environment$_lastVariableName = $name;
  39679. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  39680. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  39681. J.$indexSet$ax(t1[index], $name, value);
  39682. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  39683. },
  39684. getFunction$2$namespace($name, namespace) {
  39685. var t1, index, _this = this;
  39686. if (namespace != null) {
  39687. t1 = _this._async_environment$_getModule$1(namespace);
  39688. return t1.get$functions(t1).$index(0, $name);
  39689. }
  39690. t1 = _this._async_environment$_functionIndices;
  39691. index = t1.$index(0, $name);
  39692. if (index != null) {
  39693. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  39694. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  39695. }
  39696. index = _this._async_environment$_functionIndex$1($name);
  39697. if (index == null)
  39698. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  39699. t1.$indexSet(0, $name, index);
  39700. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  39701. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  39702. },
  39703. _async_environment$_getFunctionFromGlobalModule$1($name) {
  39704. return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
  39705. },
  39706. _async_environment$_functionIndex$1($name) {
  39707. var t1, i;
  39708. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  39709. if (t1[i].containsKey$1($name))
  39710. return i;
  39711. return null;
  39712. },
  39713. getMixin$2$namespace($name, namespace) {
  39714. var t1, index, _this = this;
  39715. if (namespace != null)
  39716. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  39717. t1 = _this._async_environment$_mixinIndices;
  39718. index = t1.$index(0, $name);
  39719. if (index != null) {
  39720. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  39721. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  39722. }
  39723. index = _this._async_environment$_mixinIndex$1($name);
  39724. if (index == null)
  39725. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  39726. t1.$indexSet(0, $name, index);
  39727. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  39728. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  39729. },
  39730. _async_environment$_getMixinFromGlobalModule$1($name) {
  39731. return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
  39732. },
  39733. _async_environment$_mixinIndex$1($name) {
  39734. var t1, i;
  39735. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  39736. if (t1[i].containsKey$1($name))
  39737. return i;
  39738. return null;
  39739. },
  39740. withContent$2($content, callback) {
  39741. return this.withContent$body$AsyncEnvironment($content, callback);
  39742. },
  39743. withContent$body$AsyncEnvironment($content, callback) {
  39744. var $async$goto = 0,
  39745. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  39746. $async$self = this, oldContent;
  39747. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39748. if ($async$errorCode === 1)
  39749. return A._asyncRethrow($async$result, $async$completer);
  39750. while (true)
  39751. switch ($async$goto) {
  39752. case 0:
  39753. // Function start
  39754. oldContent = $async$self._async_environment$_content;
  39755. $async$self._async_environment$_content = $content;
  39756. $async$goto = 2;
  39757. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  39758. case 2:
  39759. // returning from await.
  39760. $async$self._async_environment$_content = oldContent;
  39761. // implicit return
  39762. return A._asyncReturn(null, $async$completer);
  39763. }
  39764. });
  39765. return A._asyncStartSync($async$withContent$2, $async$completer);
  39766. },
  39767. asMixin$1(callback) {
  39768. var $async$goto = 0,
  39769. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  39770. $async$self = this, oldInMixin;
  39771. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39772. if ($async$errorCode === 1)
  39773. return A._asyncRethrow($async$result, $async$completer);
  39774. while (true)
  39775. switch ($async$goto) {
  39776. case 0:
  39777. // Function start
  39778. oldInMixin = $async$self._async_environment$_inMixin;
  39779. $async$self._async_environment$_inMixin = true;
  39780. $async$goto = 2;
  39781. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  39782. case 2:
  39783. // returning from await.
  39784. $async$self._async_environment$_inMixin = oldInMixin;
  39785. // implicit return
  39786. return A._asyncReturn(null, $async$completer);
  39787. }
  39788. });
  39789. return A._asyncStartSync($async$asMixin$1, $async$completer);
  39790. },
  39791. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  39792. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  39793. },
  39794. scope$1$1(callback, $T) {
  39795. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  39796. },
  39797. scope$1$2$when(callback, when, $T) {
  39798. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  39799. },
  39800. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  39801. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  39802. },
  39803. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  39804. var $async$goto = 0,
  39805. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  39806. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  39807. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39808. if ($async$errorCode === 1) {
  39809. $async$currentError = $async$result;
  39810. $async$goto = $async$handler;
  39811. }
  39812. while (true)
  39813. switch ($async$goto) {
  39814. case 0:
  39815. // Function start
  39816. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  39817. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  39818. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  39819. $async$goto = !when ? 3 : 4;
  39820. break;
  39821. case 3:
  39822. // then
  39823. $async$handler = 5;
  39824. $async$goto = 8;
  39825. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  39826. case 8:
  39827. // returning from await.
  39828. t1 = $async$result;
  39829. $async$returnValue = t1;
  39830. $async$next = [1];
  39831. // goto finally
  39832. $async$goto = 6;
  39833. break;
  39834. $async$next.push(7);
  39835. // goto finally
  39836. $async$goto = 6;
  39837. break;
  39838. case 5:
  39839. // uncaught
  39840. $async$next = [2];
  39841. case 6:
  39842. // finally
  39843. $async$handler = 2;
  39844. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  39845. // goto the next finally handler
  39846. $async$goto = $async$next.pop();
  39847. break;
  39848. case 7:
  39849. // after finally
  39850. case 4:
  39851. // join
  39852. t1 = $async$self._async_environment$_variables;
  39853. t2 = type$.String;
  39854. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  39855. t3 = $async$self._async_environment$_variableNodes;
  39856. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  39857. t4 = $async$self._async_environment$_functions;
  39858. t5 = type$.AsyncCallable;
  39859. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  39860. t6 = $async$self._async_environment$_mixins;
  39861. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  39862. t5 = $async$self._async_environment$_nestedForwardedModules;
  39863. if (t5 != null)
  39864. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  39865. $async$handler = 9;
  39866. $async$goto = 12;
  39867. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  39868. case 12:
  39869. // returning from await.
  39870. t2 = $async$result;
  39871. $async$returnValue = t2;
  39872. $async$next = [1];
  39873. // goto finally
  39874. $async$goto = 10;
  39875. break;
  39876. $async$next.push(11);
  39877. // goto finally
  39878. $async$goto = 10;
  39879. break;
  39880. case 9:
  39881. // uncaught
  39882. $async$next = [2];
  39883. case 10:
  39884. // finally
  39885. $async$handler = 2;
  39886. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  39887. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  39888. 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();) {
  39889. $name = t1.get$current(t1);
  39890. t2.remove$1(0, $name);
  39891. }
  39892. B.JSArray_methods.removeLast$0(t3);
  39893. 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();) {
  39894. name0 = t1.get$current(t1);
  39895. t2.remove$1(0, name0);
  39896. }
  39897. 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();) {
  39898. name1 = t1.get$current(t1);
  39899. t2.remove$1(0, name1);
  39900. }
  39901. t1 = $async$self._async_environment$_nestedForwardedModules;
  39902. if (t1 != null)
  39903. t1.pop();
  39904. // goto the next finally handler
  39905. $async$goto = $async$next.pop();
  39906. break;
  39907. case 11:
  39908. // after finally
  39909. case 1:
  39910. // return
  39911. return A._asyncReturn($async$returnValue, $async$completer);
  39912. case 2:
  39913. // rethrow
  39914. return A._asyncRethrow($async$currentError, $async$completer);
  39915. }
  39916. });
  39917. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  39918. },
  39919. toImplicitConfiguration$0() {
  39920. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  39921. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  39922. for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
  39923. values = t1[i];
  39924. nodes = t2[i];
  39925. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  39926. t4 = t3.get$current(t3);
  39927. t5 = t4.key;
  39928. t4 = t4.value;
  39929. t6 = nodes.$index(0, t5);
  39930. t6.toString;
  39931. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  39932. }
  39933. }
  39934. return new A.Configuration(configuration, null);
  39935. },
  39936. toModule$2(css, extensionStore) {
  39937. return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  39938. },
  39939. toDummyModule$0() {
  39940. 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.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  39941. },
  39942. _async_environment$_getModule$1(namespace) {
  39943. var module = this._async_environment$_modules.$index(0, namespace);
  39944. if (module != null)
  39945. return module;
  39946. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  39947. },
  39948. _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
  39949. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  39950. nestedForwardedModules = this._async_environment$_nestedForwardedModules;
  39951. if (nestedForwardedModules != null)
  39952. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39953. t3 = t1.__internal$_current;
  39954. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  39955. t5 = t3.__internal$_current;
  39956. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  39957. if (value != null)
  39958. return value;
  39959. }
  39960. }
  39961. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  39962. value = callback.call$1(t1.__js_helper$_current);
  39963. if (value != null)
  39964. return value;
  39965. }
  39966. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  39967. t4 = t2.__js_helper$_current;
  39968. valueInModule = callback.call$1(t4);
  39969. if (valueInModule == null)
  39970. continue;
  39971. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  39972. if (identityFromModule.$eq(0, identity))
  39973. continue;
  39974. if (value != null) {
  39975. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  39976. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39977. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  39978. t4 = t1.get$current(t1);
  39979. if (t4 != null)
  39980. t2.$indexSet(0, t4, t3);
  39981. }
  39982. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  39983. }
  39984. identity = identityFromModule;
  39985. value = valueInModule;
  39986. }
  39987. return value;
  39988. }
  39989. };
  39990. A.AsyncEnvironment_importForwards_closure.prototype = {
  39991. call$1(module) {
  39992. var t1 = module.get$variables();
  39993. return t1.get$keys(t1);
  39994. },
  39995. $signature: 121
  39996. };
  39997. A.AsyncEnvironment_importForwards_closure0.prototype = {
  39998. call$1(module) {
  39999. var t1 = module.get$functions(module);
  40000. return t1.get$keys(t1);
  40001. },
  40002. $signature: 121
  40003. };
  40004. A.AsyncEnvironment_importForwards_closure1.prototype = {
  40005. call$1(module) {
  40006. var t1 = module.get$mixins();
  40007. return t1.get$keys(t1);
  40008. },
  40009. $signature: 121
  40010. };
  40011. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  40012. call$1(module) {
  40013. return module.get$variables().$index(0, this.name);
  40014. },
  40015. $signature: 534
  40016. };
  40017. A.AsyncEnvironment_setVariable_closure.prototype = {
  40018. call$0() {
  40019. var t1 = this.$this;
  40020. t1._async_environment$_lastVariableName = this.name;
  40021. return t1._async_environment$_lastVariableIndex = 0;
  40022. },
  40023. $signature: 12
  40024. };
  40025. A.AsyncEnvironment_setVariable_closure0.prototype = {
  40026. call$1(module) {
  40027. return module.get$variables().containsKey$1(this.name) ? module : null;
  40028. },
  40029. $signature: 543
  40030. };
  40031. A.AsyncEnvironment_setVariable_closure1.prototype = {
  40032. call$0() {
  40033. var t1 = this.$this,
  40034. t2 = t1._async_environment$_variableIndex$1(this.name);
  40035. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  40036. },
  40037. $signature: 12
  40038. };
  40039. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  40040. call$1(module) {
  40041. return module.get$functions(module).$index(0, this.name);
  40042. },
  40043. $signature: 172
  40044. };
  40045. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  40046. call$1(module) {
  40047. return module.get$mixins().$index(0, this.name);
  40048. },
  40049. $signature: 172
  40050. };
  40051. A.AsyncEnvironment_toModule_closure.prototype = {
  40052. call$1(modules) {
  40053. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  40054. },
  40055. $signature: 174
  40056. };
  40057. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  40058. call$1(modules) {
  40059. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  40060. },
  40061. $signature: 174
  40062. };
  40063. A.AsyncEnvironment__fromOneModule_closure.prototype = {
  40064. call$1(entry) {
  40065. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
  40066. },
  40067. $signature: 587
  40068. };
  40069. A.AsyncEnvironment__fromOneModule__closure.prototype = {
  40070. call$1(_) {
  40071. return J.get$span$z(this.entry.value);
  40072. },
  40073. $signature() {
  40074. return this.T._eval$1("FileSpan(0)");
  40075. }
  40076. };
  40077. A._EnvironmentModule0.prototype = {
  40078. get$url(_) {
  40079. var t1 = this.css;
  40080. t1 = t1.get$span(t1);
  40081. return t1.get$sourceUrl(t1);
  40082. },
  40083. setVariable$3($name, value, nodeWithSpan) {
  40084. var t1, t2,
  40085. module = this._async_environment$_modulesByVariable.$index(0, $name);
  40086. if (module != null) {
  40087. module.setVariable$3($name, value, nodeWithSpan);
  40088. return;
  40089. }
  40090. t1 = this._async_environment$_environment;
  40091. t2 = t1._async_environment$_variables;
  40092. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  40093. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  40094. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  40095. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  40096. return;
  40097. },
  40098. variableIdentity$1($name) {
  40099. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  40100. return module == null ? this : module.variableIdentity$1($name);
  40101. },
  40102. cloneCss$0() {
  40103. var newCssAndExtensionStore, _this = this;
  40104. if (!_this.transitivelyContainsCss)
  40105. return _this;
  40106. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  40107. return A._EnvironmentModule$_0(_this._async_environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  40108. },
  40109. toString$0(_) {
  40110. var t1 = this.css,
  40111. t2 = t1.get$span(t1);
  40112. if (t2.get$sourceUrl(t2) == null)
  40113. t1 = "<unknown url>";
  40114. else {
  40115. t1 = t1.get$span(t1);
  40116. t1 = t1.get$sourceUrl(t1);
  40117. t1 = $.$get$context().prettyUri$1(t1);
  40118. }
  40119. return t1;
  40120. },
  40121. $isModule: 1,
  40122. get$upstream() {
  40123. return this.upstream;
  40124. },
  40125. get$variables() {
  40126. return this.variables;
  40127. },
  40128. get$variableNodes() {
  40129. return this.variableNodes;
  40130. },
  40131. get$functions(receiver) {
  40132. return this.functions;
  40133. },
  40134. get$mixins() {
  40135. return this.mixins;
  40136. },
  40137. get$extensionStore() {
  40138. return this.extensionStore;
  40139. },
  40140. get$css(receiver) {
  40141. return this.css;
  40142. },
  40143. get$transitivelyContainsCss() {
  40144. return this.transitivelyContainsCss;
  40145. },
  40146. get$transitivelyContainsExtensions() {
  40147. return this.transitivelyContainsExtensions;
  40148. }
  40149. };
  40150. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  40151. call$1(module) {
  40152. return module.get$variables();
  40153. },
  40154. $signature: 255
  40155. };
  40156. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  40157. call$1(module) {
  40158. return module.get$variableNodes();
  40159. },
  40160. $signature: 258
  40161. };
  40162. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  40163. call$1(module) {
  40164. return module.get$functions(module);
  40165. },
  40166. $signature: 179
  40167. };
  40168. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  40169. call$1(module) {
  40170. return module.get$mixins();
  40171. },
  40172. $signature: 179
  40173. };
  40174. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  40175. call$1(module) {
  40176. return module.get$transitivelyContainsCss();
  40177. },
  40178. $signature: 119
  40179. };
  40180. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  40181. call$1(module) {
  40182. return module.get$transitivelyContainsExtensions();
  40183. },
  40184. $signature: 119
  40185. };
  40186. A.AsyncImportCache.prototype = {
  40187. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  40188. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  40189. },
  40190. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  40191. var $async$goto = 0,
  40192. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40193. $async$returnValue, $async$self = this, t1, relativeResult;
  40194. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40195. if ($async$errorCode === 1)
  40196. return A._asyncRethrow($async$result, $async$completer);
  40197. while (true)
  40198. switch ($async$goto) {
  40199. case 0:
  40200. // Function start
  40201. $async$goto = baseImporter != null ? 3 : 4;
  40202. break;
  40203. case 3:
  40204. // then
  40205. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
  40206. $async$goto = 5;
  40207. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  40208. case 5:
  40209. // returning from await.
  40210. relativeResult = $async$result;
  40211. if (relativeResult != null) {
  40212. $async$returnValue = relativeResult;
  40213. // goto return
  40214. $async$goto = 1;
  40215. break;
  40216. }
  40217. case 4:
  40218. // join
  40219. t1 = type$.Tuple2_Uri_bool;
  40220. $async$goto = 6;
  40221. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure0($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  40222. case 6:
  40223. // returning from await.
  40224. $async$returnValue = $async$result;
  40225. // goto return
  40226. $async$goto = 1;
  40227. break;
  40228. case 1:
  40229. // return
  40230. return A._asyncReturn($async$returnValue, $async$completer);
  40231. }
  40232. });
  40233. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  40234. },
  40235. _async_import_cache$_canonicalize$3(importer, url, forImport) {
  40236. return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
  40237. },
  40238. _canonicalize$body$AsyncImportCache(importer, url, forImport) {
  40239. var $async$goto = 0,
  40240. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  40241. $async$returnValue, $async$self = this, t1, result;
  40242. var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40243. if ($async$errorCode === 1)
  40244. return A._asyncRethrow($async$result, $async$completer);
  40245. while (true)
  40246. switch ($async$goto) {
  40247. case 0:
  40248. // Function start
  40249. if (forImport) {
  40250. t1 = type$.nullable_Object;
  40251. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  40252. } else
  40253. t1 = importer.canonicalize$1(0, url);
  40254. $async$goto = 3;
  40255. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
  40256. case 3:
  40257. // returning from await.
  40258. result = $async$result;
  40259. if ((result == null ? null : result.get$scheme()) === "")
  40260. A.WarnForDeprecation_warnForDeprecation($async$self._async_import_cache$_logger, B.Deprecation_mFp, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, null, null);
  40261. $async$returnValue = result;
  40262. // goto return
  40263. $async$goto = 1;
  40264. break;
  40265. case 1:
  40266. // return
  40267. return A._asyncReturn($async$returnValue, $async$completer);
  40268. }
  40269. });
  40270. return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
  40271. },
  40272. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  40273. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  40274. },
  40275. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  40276. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  40277. },
  40278. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  40279. var $async$goto = 0,
  40280. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  40281. $async$returnValue, $async$self = this;
  40282. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40283. if ($async$errorCode === 1)
  40284. return A._asyncRethrow($async$result, $async$completer);
  40285. while (true)
  40286. switch ($async$goto) {
  40287. case 0:
  40288. // Function start
  40289. $async$goto = 3;
  40290. 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);
  40291. case 3:
  40292. // returning from await.
  40293. $async$returnValue = $async$result;
  40294. // goto return
  40295. $async$goto = 1;
  40296. break;
  40297. case 1:
  40298. // return
  40299. return A._asyncReturn($async$returnValue, $async$completer);
  40300. }
  40301. });
  40302. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  40303. },
  40304. humanize$1(canonicalUrl) {
  40305. var t2, url,
  40306. t1 = this._async_import_cache$_canonicalizeCache;
  40307. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
  40308. t2 = t1.$ti;
  40309. url = 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());
  40310. if (url == null)
  40311. return canonicalUrl;
  40312. t1 = $.$get$url();
  40313. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  40314. },
  40315. sourceMapUrl$1(_, canonicalUrl) {
  40316. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  40317. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  40318. return t1 == null ? canonicalUrl : t1;
  40319. }
  40320. };
  40321. A.AsyncImportCache_canonicalize_closure.prototype = {
  40322. call$0() {
  40323. var $async$goto = 0,
  40324. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40325. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  40326. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40327. if ($async$errorCode === 1)
  40328. return A._asyncRethrow($async$result, $async$completer);
  40329. while (true)
  40330. switch ($async$goto) {
  40331. case 0:
  40332. // Function start
  40333. t1 = $async$self.baseUrl;
  40334. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  40335. if (resolvedUrl == null)
  40336. resolvedUrl = $async$self.url;
  40337. t1 = $async$self.baseImporter;
  40338. $async$goto = 3;
  40339. return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  40340. case 3:
  40341. // returning from await.
  40342. canonicalUrl = $async$result;
  40343. if (canonicalUrl == null) {
  40344. $async$returnValue = null;
  40345. // goto return
  40346. $async$goto = 1;
  40347. break;
  40348. }
  40349. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
  40350. // goto return
  40351. $async$goto = 1;
  40352. break;
  40353. case 1:
  40354. // return
  40355. return A._asyncReturn($async$returnValue, $async$completer);
  40356. }
  40357. });
  40358. return A._asyncStartSync($async$call$0, $async$completer);
  40359. },
  40360. $signature: 181
  40361. };
  40362. A.AsyncImportCache_canonicalize_closure0.prototype = {
  40363. call$0() {
  40364. var $async$goto = 0,
  40365. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  40366. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  40367. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40368. if ($async$errorCode === 1)
  40369. return A._asyncRethrow($async$result, $async$completer);
  40370. while (true)
  40371. switch ($async$goto) {
  40372. case 0:
  40373. // Function start
  40374. t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  40375. case 3:
  40376. // for condition
  40377. if (!(_i < t2.length)) {
  40378. // goto after for
  40379. $async$goto = 5;
  40380. break;
  40381. }
  40382. importer = t2[_i];
  40383. $async$goto = 6;
  40384. return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
  40385. case 6:
  40386. // returning from await.
  40387. canonicalUrl = $async$result;
  40388. if (canonicalUrl != null) {
  40389. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
  40390. // goto return
  40391. $async$goto = 1;
  40392. break;
  40393. }
  40394. case 4:
  40395. // for update
  40396. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  40397. // goto for condition
  40398. $async$goto = 3;
  40399. break;
  40400. case 5:
  40401. // after for
  40402. $async$returnValue = null;
  40403. // goto return
  40404. $async$goto = 1;
  40405. break;
  40406. case 1:
  40407. // return
  40408. return A._asyncReturn($async$returnValue, $async$completer);
  40409. }
  40410. });
  40411. return A._asyncStartSync($async$call$0, $async$completer);
  40412. },
  40413. $signature: 181
  40414. };
  40415. A.AsyncImportCache__canonicalize_closure.prototype = {
  40416. call$0() {
  40417. return this.importer.canonicalize$1(0, this.url);
  40418. },
  40419. $signature: 182
  40420. };
  40421. A.AsyncImportCache_importCanonical_closure.prototype = {
  40422. call$0() {
  40423. var $async$goto = 0,
  40424. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  40425. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  40426. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40427. if ($async$errorCode === 1)
  40428. return A._asyncRethrow($async$result, $async$completer);
  40429. while (true)
  40430. switch ($async$goto) {
  40431. case 0:
  40432. // Function start
  40433. t1 = $async$self.canonicalUrl;
  40434. $async$goto = 3;
  40435. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  40436. case 3:
  40437. // returning from await.
  40438. result = $async$result;
  40439. if (result == null) {
  40440. $async$returnValue = null;
  40441. // goto return
  40442. $async$goto = 1;
  40443. break;
  40444. }
  40445. t2 = $async$self.$this;
  40446. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  40447. t3 = result.contents;
  40448. t4 = result.syntax;
  40449. t1 = $async$self.originalUrl.resolveUri$1(t1);
  40450. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  40451. // goto return
  40452. $async$goto = 1;
  40453. break;
  40454. case 1:
  40455. // return
  40456. return A._asyncReturn($async$returnValue, $async$completer);
  40457. }
  40458. });
  40459. return A._asyncStartSync($async$call$0, $async$completer);
  40460. },
  40461. $signature: 281
  40462. };
  40463. A.AsyncImportCache_humanize_closure.prototype = {
  40464. call$1(tuple) {
  40465. return tuple.item2.$eq(0, this.canonicalUrl);
  40466. },
  40467. $signature: 292
  40468. };
  40469. A.AsyncImportCache_humanize_closure0.prototype = {
  40470. call$1(tuple) {
  40471. return tuple.item3;
  40472. },
  40473. $signature: 297
  40474. };
  40475. A.AsyncImportCache_humanize_closure1.prototype = {
  40476. call$1(url) {
  40477. return url.get$path(url).length;
  40478. },
  40479. $signature: 94
  40480. };
  40481. A.AsyncBuiltInCallable.prototype = {
  40482. callbackFor$2(positional, names) {
  40483. return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
  40484. },
  40485. $isAsyncCallable: 1,
  40486. get$name(receiver) {
  40487. return this.name;
  40488. }
  40489. };
  40490. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  40491. call$1($arguments) {
  40492. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  40493. },
  40494. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  40495. var $async$goto = 0,
  40496. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  40497. $async$returnValue, $async$self = this;
  40498. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40499. if ($async$errorCode === 1)
  40500. return A._asyncRethrow($async$result, $async$completer);
  40501. while (true)
  40502. switch ($async$goto) {
  40503. case 0:
  40504. // Function start
  40505. $async$goto = 3;
  40506. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  40507. case 3:
  40508. // returning from await.
  40509. $async$returnValue = B.C__SassNull;
  40510. // goto return
  40511. $async$goto = 1;
  40512. break;
  40513. case 1:
  40514. // return
  40515. return A._asyncReturn($async$returnValue, $async$completer);
  40516. }
  40517. });
  40518. return A._asyncStartSync($async$call$1, $async$completer);
  40519. },
  40520. $signature: 187
  40521. };
  40522. A.BuiltInCallable.prototype = {
  40523. callbackFor$2(positional, names) {
  40524. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  40525. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  40526. overload = t1[_i];
  40527. t3 = overload.item1;
  40528. if (t3.matches$2(positional, names))
  40529. return overload;
  40530. mismatchDistance = t3.$arguments.length - positional;
  40531. if (minMismatchDistance != null) {
  40532. t3 = Math.abs(mismatchDistance);
  40533. t4 = Math.abs(minMismatchDistance);
  40534. if (t3 > t4)
  40535. continue;
  40536. if (t3 === t4 && mismatchDistance < 0)
  40537. continue;
  40538. }
  40539. minMismatchDistance = mismatchDistance;
  40540. fuzzyMatch = overload;
  40541. }
  40542. if (fuzzyMatch != null)
  40543. return fuzzyMatch;
  40544. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  40545. },
  40546. withName$1($name) {
  40547. return new A.BuiltInCallable($name, this._overloads);
  40548. },
  40549. $isCallable: 1,
  40550. $isAsyncCallable: 1,
  40551. $isAsyncBuiltInCallable: 1,
  40552. get$name(receiver) {
  40553. return this.name;
  40554. }
  40555. };
  40556. A.BuiltInCallable$mixin_closure.prototype = {
  40557. call$1($arguments) {
  40558. this.callback.call$1($arguments);
  40559. return B.C__SassNull;
  40560. },
  40561. $signature: 4
  40562. };
  40563. A.PlainCssCallable.prototype = {
  40564. $eq(_, other) {
  40565. if (other == null)
  40566. return false;
  40567. return other instanceof A.PlainCssCallable && this.name === other.name;
  40568. },
  40569. get$hashCode(_) {
  40570. return B.JSString_methods.get$hashCode(this.name);
  40571. },
  40572. $isCallable: 1,
  40573. $isAsyncCallable: 1,
  40574. get$name(receiver) {
  40575. return this.name;
  40576. }
  40577. };
  40578. A.UserDefinedCallable.prototype = {
  40579. get$name(_) {
  40580. return this.declaration.name;
  40581. },
  40582. $isCallable: 1,
  40583. $isAsyncCallable: 1
  40584. };
  40585. A._compileStylesheet_closure.prototype = {
  40586. call$1(url) {
  40587. var t1;
  40588. if (url === "") {
  40589. t1 = this.stylesheet.span;
  40590. 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$_core$_text();
  40591. } else
  40592. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  40593. return t1;
  40594. },
  40595. $signature: 5
  40596. };
  40597. A.CompileResult.prototype = {};
  40598. A.Configuration.prototype = {
  40599. throughForward$1($forward) {
  40600. var prefix, shownVariables, hiddenVariables, t1,
  40601. newValues = this._values;
  40602. if (newValues.get$isEmpty(newValues))
  40603. return B.Configuration_Map_empty_null;
  40604. prefix = $forward.prefix;
  40605. if (prefix != null)
  40606. newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
  40607. shownVariables = $forward.shownVariables;
  40608. hiddenVariables = $forward.hiddenVariables;
  40609. if (shownVariables != null)
  40610. newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  40611. else {
  40612. if (hiddenVariables != null) {
  40613. t1 = hiddenVariables._base;
  40614. t1 = t1.get$isNotEmpty(t1);
  40615. } else
  40616. t1 = false;
  40617. if (t1)
  40618. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  40619. }
  40620. return this._withValues$1(newValues);
  40621. },
  40622. _withValues$1(values) {
  40623. var t1 = this.__originalConfiguration;
  40624. return new A.Configuration(values, t1 == null ? this : t1);
  40625. },
  40626. toString$0(_) {
  40627. var t1 = this._values;
  40628. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
  40629. }
  40630. };
  40631. A.Configuration_toString_closure.prototype = {
  40632. call$1(entry) {
  40633. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  40634. },
  40635. $signature: 304
  40636. };
  40637. A.ExplicitConfiguration.prototype = {
  40638. _withValues$1(values) {
  40639. var t1 = this.__originalConfiguration;
  40640. if (t1 == null)
  40641. t1 = this;
  40642. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  40643. }
  40644. };
  40645. A.ConfiguredValue.prototype = {
  40646. toString$0(_) {
  40647. return A.serializeValue(this.value, true, true);
  40648. }
  40649. };
  40650. A.Deprecation.prototype = {
  40651. _enumToString$0() {
  40652. return "Deprecation." + this._name;
  40653. },
  40654. toString$0(_) {
  40655. return this.id;
  40656. }
  40657. };
  40658. A.Deprecation_fromId_closure.prototype = {
  40659. call$1(deprecation) {
  40660. return deprecation.id === this.id;
  40661. },
  40662. $signature: 305
  40663. };
  40664. A.Environment.prototype = {
  40665. closure$0() {
  40666. var t4, t5, t6, _this = this,
  40667. t1 = _this._forwardedModules,
  40668. t2 = _this._nestedForwardedModules,
  40669. t3 = _this._variables;
  40670. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  40671. t4 = _this._variableNodes;
  40672. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  40673. t5 = _this._functions;
  40674. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  40675. t6 = _this._mixins;
  40676. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  40677. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  40678. },
  40679. addModule$3$namespace(module, nodeWithSpan, namespace) {
  40680. var t1, t2, span, _this = this;
  40681. if (namespace == null) {
  40682. _this._globalModules.$indexSet(0, module, nodeWithSpan);
  40683. _this._allModules.push(module);
  40684. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
  40685. t2 = t1.get$current(t1);
  40686. if (module.get$variables().containsKey$1(t2))
  40687. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  40688. }
  40689. } else {
  40690. t1 = _this._environment$_modules;
  40691. if (t1.containsKey$1(namespace)) {
  40692. t1 = _this._namespaceNodes.$index(0, namespace);
  40693. span = t1 == null ? null : t1.span;
  40694. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  40695. if (span != null)
  40696. t1.$indexSet(0, span, "original @use");
  40697. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  40698. }
  40699. t1.$indexSet(0, namespace, module);
  40700. _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  40701. _this._allModules.push(module);
  40702. }
  40703. },
  40704. forwardModule$2(module, rule) {
  40705. var view, t1, t2, _this = this,
  40706. forwardedModules = _this._forwardedModules;
  40707. if (forwardedModules == null)
  40708. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  40709. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  40710. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  40711. t2 = t1.__js_helper$_current;
  40712. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  40713. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  40714. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  40715. }
  40716. _this._allModules.push(module);
  40717. forwardedModules.$indexSet(0, view, rule);
  40718. },
  40719. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  40720. var larger, smaller, t1, t2, $name, span;
  40721. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  40722. larger = oldMembers;
  40723. smaller = newMembers;
  40724. } else {
  40725. larger = newMembers;
  40726. smaller = oldMembers;
  40727. }
  40728. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  40729. $name = t1.get$current(t1);
  40730. if (!larger.containsKey$1($name))
  40731. continue;
  40732. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  40733. continue;
  40734. if (t2)
  40735. $name = "$" + $name;
  40736. t1 = this._forwardedModules;
  40737. if (t1 == null)
  40738. span = null;
  40739. else {
  40740. t1 = t1.$index(0, oldModule);
  40741. span = t1 == null ? null : J.get$span$z(t1);
  40742. }
  40743. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  40744. if (span != null)
  40745. t1.$indexSet(0, span, "original @forward");
  40746. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  40747. }
  40748. },
  40749. importForwards$1(module) {
  40750. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  40751. forwarded = module._environment$_environment._forwardedModules;
  40752. if (forwarded == null)
  40753. return;
  40754. forwardedModules = _this._forwardedModules;
  40755. if (forwardedModules != null) {
  40756. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  40757. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
  40758. t4 = t2.get$current(t2);
  40759. t5 = t4.key;
  40760. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  40761. t1.$indexSet(0, t5, t4.value);
  40762. }
  40763. forwarded = t1;
  40764. } else
  40765. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  40766. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  40767. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  40768. t3 = t2._eval$1("Iterable.E");
  40769. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
  40770. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
  40771. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
  40772. t2 = _this._variables;
  40773. t3 = t2.length;
  40774. if (t3 === 1) {
  40775. for (t1 = _this._importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  40776. entry = t3[_i];
  40777. module = entry.key;
  40778. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  40779. if (shadowed != null) {
  40780. t1.remove$1(0, module);
  40781. t6 = shadowed.variables;
  40782. if (t6.get$isEmpty(t6)) {
  40783. t6 = shadowed.functions;
  40784. if (t6.get$isEmpty(t6)) {
  40785. t6 = shadowed.mixins;
  40786. if (t6.get$isEmpty(t6)) {
  40787. t6 = shadowed._shadowed_view$_inner;
  40788. t6 = t6.get$css(t6);
  40789. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  40790. } else
  40791. t6 = false;
  40792. } else
  40793. t6 = false;
  40794. } else
  40795. t6 = false;
  40796. if (!t6)
  40797. t1.$indexSet(0, shadowed, entry.value);
  40798. }
  40799. }
  40800. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  40801. entry = t3[_i];
  40802. module = entry.key;
  40803. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  40804. if (shadowed != null) {
  40805. forwardedModules.remove$1(0, module);
  40806. t6 = shadowed.variables;
  40807. if (t6.get$isEmpty(t6)) {
  40808. t6 = shadowed.functions;
  40809. if (t6.get$isEmpty(t6)) {
  40810. t6 = shadowed.mixins;
  40811. if (t6.get$isEmpty(t6)) {
  40812. t6 = shadowed._shadowed_view$_inner;
  40813. t6 = t6.get$css(t6);
  40814. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  40815. } else
  40816. t6 = false;
  40817. } else
  40818. t6 = false;
  40819. } else
  40820. t6 = false;
  40821. if (!t6)
  40822. forwardedModules.$indexSet(0, shadowed, entry.value);
  40823. }
  40824. }
  40825. t1.addAll$1(0, forwarded);
  40826. forwardedModules.addAll$1(0, forwarded);
  40827. } else {
  40828. t4 = _this._nestedForwardedModules;
  40829. if (t4 == null) {
  40830. _length = t3 - 1;
  40831. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  40832. for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  40833. _list[_i] = A._setArrayType([], t3);
  40834. _this._nestedForwardedModules = _list;
  40835. t3 = _list;
  40836. } else
  40837. t3 = t4;
  40838. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  40839. }
  40840. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40841. t6 = t1._collection$_current;
  40842. if (t6 == null)
  40843. t6 = t5._as(t6);
  40844. t3.remove$1(0, t6);
  40845. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  40846. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  40847. }
  40848. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40849. t5 = t1._collection$_current;
  40850. if (t5 == null)
  40851. t5 = t4._as(t5);
  40852. t2.remove$1(0, t5);
  40853. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  40854. }
  40855. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40856. t5 = t1._collection$_current;
  40857. if (t5 == null)
  40858. t5 = t4._as(t5);
  40859. t2.remove$1(0, t5);
  40860. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  40861. }
  40862. },
  40863. getVariable$2$namespace($name, namespace) {
  40864. var t1, index, _this = this;
  40865. if (namespace != null)
  40866. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  40867. if (_this._lastVariableName === $name) {
  40868. t1 = _this._lastVariableIndex;
  40869. t1.toString;
  40870. t1 = J.$index$asx(_this._variables[t1], $name);
  40871. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40872. }
  40873. t1 = _this._variableIndices;
  40874. index = t1.$index(0, $name);
  40875. if (index != null) {
  40876. _this._lastVariableName = $name;
  40877. _this._lastVariableIndex = index;
  40878. t1 = J.$index$asx(_this._variables[index], $name);
  40879. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40880. }
  40881. index = _this._variableIndex$1($name);
  40882. if (index == null)
  40883. return _this._getVariableFromGlobalModule$1($name);
  40884. _this._lastVariableName = $name;
  40885. _this._lastVariableIndex = index;
  40886. t1.$indexSet(0, $name, index);
  40887. t1 = J.$index$asx(_this._variables[index], $name);
  40888. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40889. },
  40890. getVariable$1($name) {
  40891. return this.getVariable$2$namespace($name, null);
  40892. },
  40893. _getVariableFromGlobalModule$1($name) {
  40894. return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
  40895. },
  40896. getVariableNode$2$namespace($name, namespace) {
  40897. var t1, index, _this = this;
  40898. if (namespace != null)
  40899. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  40900. if (_this._lastVariableName === $name) {
  40901. t1 = _this._lastVariableIndex;
  40902. t1.toString;
  40903. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  40904. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40905. }
  40906. t1 = _this._variableIndices;
  40907. index = t1.$index(0, $name);
  40908. if (index != null) {
  40909. _this._lastVariableName = $name;
  40910. _this._lastVariableIndex = index;
  40911. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40912. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40913. }
  40914. index = _this._variableIndex$1($name);
  40915. if (index == null)
  40916. return _this._getVariableNodeFromGlobalModule$1($name);
  40917. _this._lastVariableName = $name;
  40918. _this._lastVariableIndex = index;
  40919. t1.$indexSet(0, $name, index);
  40920. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40921. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40922. },
  40923. _getVariableNodeFromGlobalModule$1($name) {
  40924. var t1, t2, value;
  40925. 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();) {
  40926. t1 = t2._currentIterator;
  40927. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  40928. if (value != null)
  40929. return value;
  40930. }
  40931. return null;
  40932. },
  40933. globalVariableExists$2$namespace($name, namespace) {
  40934. if (namespace != null)
  40935. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  40936. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  40937. return true;
  40938. return this._getVariableFromGlobalModule$1($name) != null;
  40939. },
  40940. globalVariableExists$1($name) {
  40941. return this.globalVariableExists$2$namespace($name, null);
  40942. },
  40943. _variableIndex$1($name) {
  40944. var t1, i;
  40945. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  40946. if (t1[i].containsKey$1($name))
  40947. return i;
  40948. return null;
  40949. },
  40950. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  40951. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  40952. if (namespace != null) {
  40953. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  40954. return;
  40955. }
  40956. if (global || _this._variables.length === 1) {
  40957. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  40958. t1 = _this._variables;
  40959. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  40960. moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
  40961. if (moduleWithName != null) {
  40962. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  40963. return;
  40964. }
  40965. }
  40966. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  40967. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  40968. return;
  40969. }
  40970. nestedForwardedModules = _this._nestedForwardedModules;
  40971. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  40972. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40973. t3 = t1.__internal$_current;
  40974. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  40975. t5 = t3.__internal$_current;
  40976. if (t5 == null)
  40977. t5 = t4._as(t5);
  40978. if (t5.get$variables().containsKey$1($name)) {
  40979. t5.setVariable$3($name, value, nodeWithSpan);
  40980. return;
  40981. }
  40982. }
  40983. }
  40984. if (_this._lastVariableName === $name) {
  40985. t1 = _this._lastVariableIndex;
  40986. t1.toString;
  40987. index = t1;
  40988. } else
  40989. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  40990. if (!_this._inSemiGlobalScope && index === 0) {
  40991. index = _this._variables.length - 1;
  40992. _this._variableIndices.$indexSet(0, $name, index);
  40993. }
  40994. _this._lastVariableName = $name;
  40995. _this._lastVariableIndex = index;
  40996. J.$indexSet$ax(_this._variables[index], $name, value);
  40997. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  40998. },
  40999. setVariable$4$global($name, value, nodeWithSpan, global) {
  41000. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  41001. },
  41002. setLocalVariable$3($name, value, nodeWithSpan) {
  41003. var index, _this = this,
  41004. t1 = _this._variables,
  41005. t2 = t1.length;
  41006. _this._lastVariableName = $name;
  41007. index = _this._lastVariableIndex = t2 - 1;
  41008. _this._variableIndices.$indexSet(0, $name, index);
  41009. J.$indexSet$ax(t1[index], $name, value);
  41010. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  41011. },
  41012. getFunction$2$namespace($name, namespace) {
  41013. var t1, index, _this = this;
  41014. if (namespace != null) {
  41015. t1 = _this._getModule$1(namespace);
  41016. return t1.get$functions(t1).$index(0, $name);
  41017. }
  41018. t1 = _this._functionIndices;
  41019. index = t1.$index(0, $name);
  41020. if (index != null) {
  41021. t1 = J.$index$asx(_this._functions[index], $name);
  41022. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  41023. }
  41024. index = _this._functionIndex$1($name);
  41025. if (index == null)
  41026. return _this._getFunctionFromGlobalModule$1($name);
  41027. t1.$indexSet(0, $name, index);
  41028. t1 = J.$index$asx(_this._functions[index], $name);
  41029. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  41030. },
  41031. _getFunctionFromGlobalModule$1($name) {
  41032. return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
  41033. },
  41034. _functionIndex$1($name) {
  41035. var t1, i;
  41036. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  41037. if (t1[i].containsKey$1($name))
  41038. return i;
  41039. return null;
  41040. },
  41041. getMixin$2$namespace($name, namespace) {
  41042. var t1, index, _this = this;
  41043. if (namespace != null)
  41044. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  41045. t1 = _this._mixinIndices;
  41046. index = t1.$index(0, $name);
  41047. if (index != null) {
  41048. t1 = J.$index$asx(_this._mixins[index], $name);
  41049. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  41050. }
  41051. index = _this._mixinIndex$1($name);
  41052. if (index == null)
  41053. return _this._getMixinFromGlobalModule$1($name);
  41054. t1.$indexSet(0, $name, index);
  41055. t1 = J.$index$asx(_this._mixins[index], $name);
  41056. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  41057. },
  41058. _getMixinFromGlobalModule$1($name) {
  41059. return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
  41060. },
  41061. _mixinIndex$1($name) {
  41062. var t1, i;
  41063. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  41064. if (t1[i].containsKey$1($name))
  41065. return i;
  41066. return null;
  41067. },
  41068. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  41069. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  41070. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  41071. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  41072. _this._inSemiGlobalScope = semiGlobal;
  41073. if (!when)
  41074. try {
  41075. t1 = callback.call$0();
  41076. return t1;
  41077. } finally {
  41078. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  41079. }
  41080. t1 = _this._variables;
  41081. t2 = type$.String;
  41082. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  41083. t3 = _this._variableNodes;
  41084. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  41085. t4 = _this._functions;
  41086. t5 = type$.Callable;
  41087. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  41088. t6 = _this._mixins;
  41089. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  41090. t5 = _this._nestedForwardedModules;
  41091. if (t5 != null)
  41092. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  41093. try {
  41094. t2 = callback.call$0();
  41095. return t2;
  41096. } finally {
  41097. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  41098. _this._lastVariableIndex = _this._lastVariableName = null;
  41099. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  41100. $name = t1.get$current(t1);
  41101. t2.remove$1(0, $name);
  41102. }
  41103. B.JSArray_methods.removeLast$0(t3);
  41104. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  41105. name0 = t1.get$current(t1);
  41106. t2.remove$1(0, name0);
  41107. }
  41108. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  41109. name1 = t1.get$current(t1);
  41110. t2.remove$1(0, name1);
  41111. }
  41112. t1 = _this._nestedForwardedModules;
  41113. if (t1 != null)
  41114. t1.pop();
  41115. }
  41116. },
  41117. scope$1$1(callback, $T) {
  41118. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  41119. },
  41120. scope$1$2$when(callback, when, $T) {
  41121. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  41122. },
  41123. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  41124. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  41125. },
  41126. toImplicitConfiguration$0() {
  41127. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  41128. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  41129. for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
  41130. values = t1[i];
  41131. nodes = t2[i];
  41132. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  41133. t4 = t3.get$current(t3);
  41134. t5 = t4.key;
  41135. t4 = t4.value;
  41136. t6 = nodes.$index(0, t5);
  41137. t6.toString;
  41138. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  41139. }
  41140. }
  41141. return new A.Configuration(configuration, null);
  41142. },
  41143. toModule$2(css, extensionStore) {
  41144. return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  41145. },
  41146. toDummyModule$0() {
  41147. 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.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  41148. },
  41149. _getModule$1(namespace) {
  41150. var module = this._environment$_modules.$index(0, namespace);
  41151. if (module != null)
  41152. return module;
  41153. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  41154. },
  41155. _fromOneModule$1$3($name, type, callback, $T) {
  41156. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  41157. nestedForwardedModules = this._nestedForwardedModules;
  41158. if (nestedForwardedModules != null)
  41159. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  41160. t3 = t1.__internal$_current;
  41161. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  41162. t5 = t3.__internal$_current;
  41163. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  41164. if (value != null)
  41165. return value;
  41166. }
  41167. }
  41168. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  41169. value = callback.call$1(t1.__js_helper$_current);
  41170. if (value != null)
  41171. return value;
  41172. }
  41173. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  41174. t4 = t2.__js_helper$_current;
  41175. valueInModule = callback.call$1(t4);
  41176. if (valueInModule == null)
  41177. continue;
  41178. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  41179. if (identityFromModule.$eq(0, identity))
  41180. continue;
  41181. if (value != null) {
  41182. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  41183. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  41184. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  41185. t4 = t1.get$current(t1);
  41186. if (t4 != null)
  41187. t2.$indexSet(0, t4, t3);
  41188. }
  41189. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  41190. }
  41191. identity = identityFromModule;
  41192. value = valueInModule;
  41193. }
  41194. return value;
  41195. }
  41196. };
  41197. A.Environment_importForwards_closure.prototype = {
  41198. call$1(module) {
  41199. var t1 = module.get$variables();
  41200. return t1.get$keys(t1);
  41201. },
  41202. $signature: 117
  41203. };
  41204. A.Environment_importForwards_closure0.prototype = {
  41205. call$1(module) {
  41206. var t1 = module.get$functions(module);
  41207. return t1.get$keys(t1);
  41208. },
  41209. $signature: 117
  41210. };
  41211. A.Environment_importForwards_closure1.prototype = {
  41212. call$1(module) {
  41213. var t1 = module.get$mixins();
  41214. return t1.get$keys(t1);
  41215. },
  41216. $signature: 117
  41217. };
  41218. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  41219. call$1(module) {
  41220. return module.get$variables().$index(0, this.name);
  41221. },
  41222. $signature: 317
  41223. };
  41224. A.Environment_setVariable_closure.prototype = {
  41225. call$0() {
  41226. var t1 = this.$this;
  41227. t1._lastVariableName = this.name;
  41228. return t1._lastVariableIndex = 0;
  41229. },
  41230. $signature: 12
  41231. };
  41232. A.Environment_setVariable_closure0.prototype = {
  41233. call$1(module) {
  41234. return module.get$variables().containsKey$1(this.name) ? module : null;
  41235. },
  41236. $signature: 318
  41237. };
  41238. A.Environment_setVariable_closure1.prototype = {
  41239. call$0() {
  41240. var t1 = this.$this,
  41241. t2 = t1._variableIndex$1(this.name);
  41242. return t2 == null ? t1._variables.length - 1 : t2;
  41243. },
  41244. $signature: 12
  41245. };
  41246. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  41247. call$1(module) {
  41248. return module.get$functions(module).$index(0, this.name);
  41249. },
  41250. $signature: 193
  41251. };
  41252. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  41253. call$1(module) {
  41254. return module.get$mixins().$index(0, this.name);
  41255. },
  41256. $signature: 193
  41257. };
  41258. A.Environment_toModule_closure.prototype = {
  41259. call$1(modules) {
  41260. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  41261. },
  41262. $signature: 194
  41263. };
  41264. A.Environment_toDummyModule_closure.prototype = {
  41265. call$1(modules) {
  41266. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  41267. },
  41268. $signature: 194
  41269. };
  41270. A.Environment__fromOneModule_closure.prototype = {
  41271. call$1(entry) {
  41272. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
  41273. },
  41274. $signature: 326
  41275. };
  41276. A.Environment__fromOneModule__closure.prototype = {
  41277. call$1(_) {
  41278. return J.get$span$z(this.entry.value);
  41279. },
  41280. $signature() {
  41281. return this.T._eval$1("FileSpan(0)");
  41282. }
  41283. };
  41284. A._EnvironmentModule.prototype = {
  41285. get$url(_) {
  41286. var t1 = this.css;
  41287. t1 = t1.get$span(t1);
  41288. return t1.get$sourceUrl(t1);
  41289. },
  41290. setVariable$3($name, value, nodeWithSpan) {
  41291. var t1, t2,
  41292. module = this._modulesByVariable.$index(0, $name);
  41293. if (module != null) {
  41294. module.setVariable$3($name, value, nodeWithSpan);
  41295. return;
  41296. }
  41297. t1 = this._environment$_environment;
  41298. t2 = t1._variables;
  41299. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  41300. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  41301. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  41302. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  41303. return;
  41304. },
  41305. variableIdentity$1($name) {
  41306. var module = this._modulesByVariable.$index(0, $name);
  41307. return module == null ? this : module.variableIdentity$1($name);
  41308. },
  41309. cloneCss$0() {
  41310. var newCssAndExtensionStore, _this = this;
  41311. if (!_this.transitivelyContainsCss)
  41312. return _this;
  41313. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  41314. return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  41315. },
  41316. toString$0(_) {
  41317. var t1 = this.css,
  41318. t2 = t1.get$span(t1);
  41319. if (t2.get$sourceUrl(t2) == null)
  41320. t1 = "<unknown url>";
  41321. else {
  41322. t1 = t1.get$span(t1);
  41323. t1 = t1.get$sourceUrl(t1);
  41324. t1 = $.$get$context().prettyUri$1(t1);
  41325. }
  41326. return t1;
  41327. },
  41328. $isModule: 1,
  41329. get$upstream() {
  41330. return this.upstream;
  41331. },
  41332. get$variables() {
  41333. return this.variables;
  41334. },
  41335. get$variableNodes() {
  41336. return this.variableNodes;
  41337. },
  41338. get$functions(receiver) {
  41339. return this.functions;
  41340. },
  41341. get$mixins() {
  41342. return this.mixins;
  41343. },
  41344. get$extensionStore() {
  41345. return this.extensionStore;
  41346. },
  41347. get$css(receiver) {
  41348. return this.css;
  41349. },
  41350. get$transitivelyContainsCss() {
  41351. return this.transitivelyContainsCss;
  41352. },
  41353. get$transitivelyContainsExtensions() {
  41354. return this.transitivelyContainsExtensions;
  41355. }
  41356. };
  41357. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  41358. call$1(module) {
  41359. return module.get$variables();
  41360. },
  41361. $signature: 331
  41362. };
  41363. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  41364. call$1(module) {
  41365. return module.get$variableNodes();
  41366. },
  41367. $signature: 332
  41368. };
  41369. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  41370. call$1(module) {
  41371. return module.get$functions(module);
  41372. },
  41373. $signature: 198
  41374. };
  41375. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  41376. call$1(module) {
  41377. return module.get$mixins();
  41378. },
  41379. $signature: 198
  41380. };
  41381. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  41382. call$1(module) {
  41383. return module.get$transitivelyContainsCss();
  41384. },
  41385. $signature: 116
  41386. };
  41387. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  41388. call$1(module) {
  41389. return module.get$transitivelyContainsExtensions();
  41390. },
  41391. $signature: 116
  41392. };
  41393. A.SassException.prototype = {
  41394. get$trace(_) {
  41395. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  41396. },
  41397. get$span(_) {
  41398. return A.SourceSpanException.prototype.get$span.call(this, this);
  41399. },
  41400. withAdditionalSpan$2(span, label) {
  41401. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  41402. t2 = type$.FileSpan,
  41403. t3 = type$.String;
  41404. return new A.MultiSpanSassException("", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), this._span_exception$_message, t1);
  41405. },
  41406. withTrace$1(trace) {
  41407. return new A.SassRuntimeException(trace, this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, this));
  41408. },
  41409. toString$1$color(_, color) {
  41410. var t2, _i, frame, t3, _this = this,
  41411. buffer = new A.StringBuffer(""),
  41412. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  41413. buffer._contents = t1;
  41414. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  41415. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  41416. frame = t1[_i];
  41417. if (J.get$length$asx(frame) === 0)
  41418. continue;
  41419. t3 = buffer._contents += "\n";
  41420. buffer._contents = t3 + (" " + A.S(frame));
  41421. }
  41422. t1 = buffer._contents;
  41423. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41424. },
  41425. toString$0($receiver) {
  41426. return this.toString$1$color($receiver, null);
  41427. },
  41428. toCssString$0() {
  41429. var commentMessage, stringMessage, rune,
  41430. t1 = $._glyphs,
  41431. t2 = $._glyphs = B.C_AsciiGlyphSet,
  41432. t3 = this.toString$1$color(0, false);
  41433. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  41434. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  41435. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  41436. stringMessage = new A.StringBuffer("");
  41437. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  41438. rune = t1._currentCodePoint;
  41439. t2 = stringMessage._contents;
  41440. if (rune > 255) {
  41441. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
  41442. t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  41443. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
  41444. } else
  41445. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
  41446. }
  41447. 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}";
  41448. }
  41449. };
  41450. A.MultiSpanSassException.prototype = {
  41451. withAdditionalSpan$2(span, label) {
  41452. var _this = this,
  41453. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41454. t2 = type$.FileSpan,
  41455. t3 = type$.String,
  41456. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  41457. t4.$indexSet(0, span, label);
  41458. return new A.MultiSpanSassException(_this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  41459. },
  41460. withTrace$1(trace) {
  41461. var _this = this,
  41462. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this);
  41463. return new A.MultiSpanSassRuntimeException(trace, _this.primaryLabel, A.ConstantMap_ConstantMap$from(_this.secondarySpans, type$.FileSpan, type$.String), _this._span_exception$_message, t1);
  41464. },
  41465. toString$1$color(_, color) {
  41466. var t1, t2, _i, frame, _this = this,
  41467. useColor = color === true && true,
  41468. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  41469. A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  41470. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  41471. frame = t1[_i];
  41472. if (J.get$length$asx(frame) === 0)
  41473. continue;
  41474. buffer._contents += "\n";
  41475. buffer._contents += " " + A.S(frame);
  41476. }
  41477. t1 = buffer._contents;
  41478. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41479. },
  41480. toString$0($receiver) {
  41481. return this.toString$1$color($receiver, null);
  41482. },
  41483. get$primaryLabel() {
  41484. return this.primaryLabel;
  41485. },
  41486. get$secondarySpans() {
  41487. return this.secondarySpans;
  41488. }
  41489. };
  41490. A.SassRuntimeException.prototype = {
  41491. withAdditionalSpan$2(span, label) {
  41492. var _this = this,
  41493. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41494. t2 = type$.FileSpan,
  41495. t3 = type$.String;
  41496. return new A.MultiSpanSassRuntimeException(_this.trace, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), _this._span_exception$_message, t1);
  41497. },
  41498. get$trace(receiver) {
  41499. return this.trace;
  41500. }
  41501. };
  41502. A.MultiSpanSassRuntimeException.prototype = {
  41503. withAdditionalSpan$2(span, label) {
  41504. var _this = this,
  41505. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41506. t2 = type$.FileSpan,
  41507. t3 = type$.String,
  41508. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  41509. t4.$indexSet(0, span, label);
  41510. return new A.MultiSpanSassRuntimeException(_this.trace, _this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  41511. },
  41512. $isSassRuntimeException: 1,
  41513. get$trace(receiver) {
  41514. return this.trace;
  41515. }
  41516. };
  41517. A.SassFormatException.prototype = {
  41518. get$source() {
  41519. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  41520. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  41521. },
  41522. withAdditionalSpan$2(span, label) {
  41523. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  41524. t2 = type$.FileSpan,
  41525. t3 = type$.String;
  41526. return new A.MultiSpanSassFormatException("", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), this._span_exception$_message, t1);
  41527. },
  41528. $isFormatException: 1,
  41529. $isSourceSpanFormatException: 1
  41530. };
  41531. A.MultiSpanSassFormatException.prototype = {
  41532. get$source() {
  41533. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  41534. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  41535. },
  41536. withAdditionalSpan$2(span, label) {
  41537. var _this = this,
  41538. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  41539. t2 = type$.FileSpan,
  41540. t3 = type$.String,
  41541. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  41542. t4.$indexSet(0, span, label);
  41543. return new A.MultiSpanSassFormatException(_this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  41544. },
  41545. $isFormatException: 1,
  41546. $isSassFormatException: 1,
  41547. $isSourceSpanFormatException: 1,
  41548. $isMultiSourceSpanFormatException: 1
  41549. };
  41550. A.SassScriptException.prototype = {
  41551. withSpan$1(span) {
  41552. return new A.SassException(this.message, span);
  41553. },
  41554. toString$0(_) {
  41555. return this.message + string$.x0a_BUG_;
  41556. },
  41557. get$message(receiver) {
  41558. return this.message;
  41559. }
  41560. };
  41561. A.MultiSpanSassScriptException.prototype = {
  41562. withSpan$1(span) {
  41563. return new A.MultiSpanSassException(this.primaryLabel, A.ConstantMap_ConstantMap$from(this.secondarySpans, type$.FileSpan, type$.String), this.message, span);
  41564. }
  41565. };
  41566. A._writeSourceMap_closure.prototype = {
  41567. call$1(url) {
  41568. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  41569. },
  41570. $signature: 5
  41571. };
  41572. A.ExecutableOptions.prototype = {
  41573. get$interactive() {
  41574. var result, _this = this,
  41575. value = _this.__ExecutableOptions_interactive_FI;
  41576. if (value === $) {
  41577. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  41578. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  41579. _this.__ExecutableOptions_interactive_FI = result;
  41580. value = result;
  41581. }
  41582. return value;
  41583. },
  41584. get$color() {
  41585. var t1 = this._options;
  41586. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  41587. },
  41588. get$emitErrorCss() {
  41589. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  41590. if (t1 == null) {
  41591. this._ensureSources$0();
  41592. t1 = this._sourcesToDestinations;
  41593. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  41594. }
  41595. return t1;
  41596. },
  41597. _ensureSources$0() {
  41598. var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
  41599. _s18_ = 'Duplicate source "';
  41600. if (_this._sourcesToDestinations != null)
  41601. return;
  41602. t1 = _this._options;
  41603. stdin = A._asBool(t1.$index(0, "stdin"));
  41604. t2 = t1.rest;
  41605. if (t2.get$length(t2) === 0 && !stdin)
  41606. A.ExecutableOptions__fail("Compile Sass to CSS.");
  41607. t3 = type$.String;
  41608. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  41609. for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
  41610. t6 = t4.__internal$_current;
  41611. if (t6 == null)
  41612. t6 = t5._as(t6);
  41613. t7 = t6.length;
  41614. if (t7 === 0)
  41615. A.ExecutableOptions__fail('Invalid argument "".');
  41616. if (A.stringContainsUnchecked(t6, ":", 0)) {
  41617. if (t7 > 2) {
  41618. t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
  41619. if (!(t8 >= 97 && t8 <= 122))
  41620. t8 = t8 >= 65 && t8 <= 90;
  41621. else
  41622. t8 = true;
  41623. t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
  41624. } else
  41625. t8 = false;
  41626. if (t8) {
  41627. if (2 > t7)
  41628. A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
  41629. t7 = A.stringContainsUnchecked(t6, ":", 2);
  41630. } else
  41631. t7 = true;
  41632. } else
  41633. t7 = false;
  41634. if (t7)
  41635. colonArgs = true;
  41636. else if (A.dirExists(t6))
  41637. $directories.add$1(0, t6);
  41638. else
  41639. positionalArgs = true;
  41640. }
  41641. if (positionalArgs || t2.get$length(t2) === 0) {
  41642. if (colonArgs)
  41643. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  41644. else if (stdin) {
  41645. if (J.get$length$asx(t2._collection$_source) > 1)
  41646. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  41647. else if (A._asBool(t1.$index(0, "update")))
  41648. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  41649. else if (A._asBool(t1.$index(0, "watch")))
  41650. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  41651. t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
  41652. t2 = type$.dynamic;
  41653. t3 = type$.nullable_String;
  41654. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  41655. } else {
  41656. t3 = t2._collection$_source;
  41657. t4 = J.getInterceptor$asx(t3);
  41658. if (t4.get$length(t3) > 2)
  41659. A.ExecutableOptions__fail("Only two positional args may be passed.");
  41660. else if ($directories._collection$_length !== 0) {
  41661. message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
  41662. target = t2.get$last(t2);
  41663. A.ExecutableOptions__fail(J.$eq$($directories.get$first($directories), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first($directories)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first($directories)) + ":" + target + "`.") : message);
  41664. } else {
  41665. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  41666. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  41667. if (destination == null)
  41668. if (A._asBool(t1.$index(0, "update")))
  41669. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  41670. else if (A._asBool(t1.$index(0, "watch")))
  41671. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  41672. t1 = A.PathMap__create(_null, type$.nullable_String);
  41673. t1.$indexSet(0, source, destination);
  41674. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  41675. }
  41676. }
  41677. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  41678. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty5;
  41679. return;
  41680. }
  41681. if (stdin)
  41682. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  41683. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  41684. t1 = A.PathMap__create(_null, t3);
  41685. t4 = type$.PathMap_String;
  41686. t3 = A.PathMap__create(_null, t3);
  41687. for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  41688. t6 = t2.__internal$_current;
  41689. if (t6 == null)
  41690. t6 = t5._as(t6);
  41691. if ($directories.contains$1(0, t6)) {
  41692. if (!seen.add$1(0, t6))
  41693. A.ExecutableOptions__fail(_s18_ + t6 + '".');
  41694. t3.$indexSet(0, t6, t6);
  41695. t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
  41696. continue;
  41697. }
  41698. sourceAndDestination = _this._splitSourceAndDestination$1(t6);
  41699. source = sourceAndDestination.item1;
  41700. destination = sourceAndDestination.item2;
  41701. if (!seen.add$1(0, source))
  41702. A.ExecutableOptions__fail(_s18_ + source + '".');
  41703. if (source === "-")
  41704. t1.$indexSet(0, _null, destination);
  41705. else if (A.dirExists(source)) {
  41706. t3.$indexSet(0, source, destination);
  41707. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  41708. } else
  41709. t1.$indexSet(0, source, destination);
  41710. }
  41711. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  41712. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  41713. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
  41714. },
  41715. _splitSourceAndDestination$1(argument) {
  41716. var t1, i, t2, t3, nextColon;
  41717. for (t1 = argument.length, i = 0; i < t1; ++i) {
  41718. if (i === 1) {
  41719. t2 = i - 1;
  41720. if (t1 > t2 + 2) {
  41721. t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
  41722. if (!(t3 >= 97 && t3 <= 122))
  41723. t3 = t3 >= 65 && t3 <= 90;
  41724. else
  41725. t3 = true;
  41726. t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
  41727. } else
  41728. t2 = false;
  41729. } else
  41730. t2 = false;
  41731. if (t2)
  41732. continue;
  41733. if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
  41734. t2 = i + 1;
  41735. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  41736. if (nextColon === i + 2)
  41737. if (t1 > t2 + 2) {
  41738. t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
  41739. if (!(t1 >= 97 && t1 <= 122))
  41740. t1 = t1 >= 65 && t1 <= 90;
  41741. else
  41742. t1 = true;
  41743. t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
  41744. } else
  41745. t1 = false;
  41746. else
  41747. t1 = false;
  41748. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  41749. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  41750. return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
  41751. }
  41752. }
  41753. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  41754. },
  41755. _listSourceDirectory$2(source, destination) {
  41756. var t2, t3, t4, t5,
  41757. t1 = type$.String;
  41758. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  41759. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  41760. t4 = t2.get$current(t2);
  41761. if (this._isEntrypoint$1(t4))
  41762. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  41763. else
  41764. t5 = false;
  41765. if (t5) {
  41766. t5 = $.$get$context();
  41767. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  41768. }
  41769. }
  41770. return t1;
  41771. },
  41772. _isEntrypoint$1(path) {
  41773. var extension,
  41774. t1 = $.$get$context().style;
  41775. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  41776. return false;
  41777. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  41778. return extension === ".scss" || extension === ".sass" || extension === ".css";
  41779. },
  41780. get$_writeToStdout() {
  41781. var t1, _this = this;
  41782. _this._ensureSources$0();
  41783. t1 = _this._sourcesToDestinations;
  41784. if (t1.get$length(t1) === 1) {
  41785. _this._ensureSources$0();
  41786. t1 = _this._sourcesToDestinations;
  41787. t1 = t1.get$values(t1);
  41788. t1 = t1.get$single(t1) == null;
  41789. } else
  41790. t1 = false;
  41791. return t1;
  41792. },
  41793. get$emitSourceMap() {
  41794. var _this = this,
  41795. _s10_ = "source-map",
  41796. _s15_ = "source-map-urls",
  41797. _s13_ = "embed-sources",
  41798. _s16_ = "embed-source-map",
  41799. t1 = _this._options;
  41800. if (!A._asBool(t1.$index(0, _s10_)))
  41801. if (t1.wasParsed$1(_s15_))
  41802. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  41803. else if (t1.wasParsed$1(_s13_))
  41804. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  41805. else if (t1.wasParsed$1(_s16_))
  41806. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  41807. if (!_this.get$_writeToStdout())
  41808. return A._asBool(t1.$index(0, _s10_));
  41809. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  41810. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  41811. if (A._asBool(t1.$index(0, _s16_)))
  41812. return A._asBool(t1.$index(0, _s10_));
  41813. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  41814. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  41815. else if (t1.wasParsed$1(_s15_))
  41816. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  41817. else if (A._asBool(t1.$index(0, _s13_)))
  41818. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  41819. else
  41820. return false;
  41821. },
  41822. sourceMapUrl$2(_, url, destination) {
  41823. var t1, path, t2, _null = null;
  41824. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  41825. return url;
  41826. t1 = $.$get$context();
  41827. path = t1.style.pathFromUri$1(A._parseUri(url));
  41828. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  41829. destination.toString;
  41830. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  41831. } else
  41832. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  41833. return t1.toUri$1(t2);
  41834. },
  41835. get$fatalDeprecations() {
  41836. var t1 = this._fatalDeprecations;
  41837. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  41838. },
  41839. get$futureDeprecations() {
  41840. var t2, t3, t4,
  41841. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  41842. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  41843. t3 = t2.get$current(t2);
  41844. t4 = A.Deprecation_fromId(t3);
  41845. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  41846. }
  41847. return t1;
  41848. },
  41849. _ifParsed$1($name) {
  41850. var t1 = this._options;
  41851. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  41852. }
  41853. };
  41854. A.ExecutableOptions__parser_closure.prototype = {
  41855. call$0() {
  41856. var _i, deprecation, $self, t4, _null = null,
  41857. t1 = type$.String,
  41858. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  41859. t3 = [],
  41860. 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);
  41861. parser.addOption$2$hide("precision", true);
  41862. parser.addFlag$2$hide("async", true);
  41863. t3.push(A.ExecutableOptions__separator("Input and Output"));
  41864. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  41865. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  41866. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  41867. t2 = type$.JSArray_String;
  41868. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  41869. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  41870. 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.");
  41871. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  41872. t3.push(A.ExecutableOptions__separator("Source Maps"));
  41873. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  41874. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  41875. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  41876. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  41877. t3.push(A.ExecutableOptions__separator("Warnings"));
  41878. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  41879. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  41880. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  41881. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  41882. for (_i = 0; _i < 13; ++_i) {
  41883. deprecation = B.List_4mn[_i];
  41884. $self = deprecation._deprecatedIn;
  41885. if ($self == null)
  41886. t4 = _null;
  41887. else
  41888. t4 = A.Version___parse_tearOff($self);
  41889. if (t4 != null && deprecation.description != null) {
  41890. t4 = deprecation.description;
  41891. t4.toString;
  41892. t2.$indexSet(0, deprecation.id, t4);
  41893. }
  41894. }
  41895. parser.addMultiOption$3$allowedHelp$help("fatal-deprecation", t2, "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.");
  41896. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  41897. for (_i = 0; _i < 13; ++_i) {
  41898. deprecation = B.List_4mn[_i];
  41899. $self = deprecation._deprecatedIn;
  41900. if ($self == null)
  41901. t2 = _null;
  41902. else
  41903. t2 = A.Version___parse_tearOff($self);
  41904. if (t2 == null && deprecation.description != null) {
  41905. t2 = deprecation.description;
  41906. t2.toString;
  41907. t1.$indexSet(0, deprecation.id, t2);
  41908. }
  41909. }
  41910. parser.addMultiOption$3$allowedHelp$help("future-deprecation", t1, "Opt in to a deprecation early.");
  41911. t3.push(A.ExecutableOptions__separator("Other"));
  41912. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  41913. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  41914. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  41915. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  41916. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  41917. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  41918. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  41919. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  41920. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  41921. return parser;
  41922. },
  41923. $signature: 302
  41924. };
  41925. A.ExecutableOptions_interactive_closure.prototype = {
  41926. call$0() {
  41927. var invalidOptions, _i, option,
  41928. t1 = this.$this._options;
  41929. if (!A._asBool(t1.$index(0, "interactive")))
  41930. return false;
  41931. invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
  41932. for (_i = 0; _i < 9; ++_i) {
  41933. option = invalidOptions[_i];
  41934. if (!t1._parser.options._map.containsKey$1(option))
  41935. A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
  41936. if (t1._parsed.containsKey$1(option))
  41937. throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
  41938. }
  41939. return true;
  41940. },
  41941. $signature: 29
  41942. };
  41943. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  41944. call$1(destination) {
  41945. return destination != null;
  41946. },
  41947. $signature: 139
  41948. };
  41949. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  41950. call$0() {
  41951. var id, argVersion, sassVersion, t1, t2, deprecation, exception,
  41952. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  41953. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  41954. id = t1.get$current(t1);
  41955. deprecation = A.Deprecation_fromId(id);
  41956. if (deprecation != null)
  41957. J.add$1$ax(deprecations, deprecation);
  41958. else
  41959. try {
  41960. argVersion = A.Version_Version$parse(id);
  41961. sassVersion = A.Version_Version$parse("1.62.1");
  41962. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  41963. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  41964. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  41965. } catch (exception) {
  41966. if (t2._is(A.unwrapException(exception)))
  41967. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  41968. else
  41969. throw exception;
  41970. }
  41971. }
  41972. return deprecations;
  41973. },
  41974. $signature: 343
  41975. };
  41976. A.UsageException.prototype = {$isException: 1,
  41977. get$message(receiver) {
  41978. return this.message;
  41979. }
  41980. };
  41981. A.watch_closure.prototype = {
  41982. call$1(dir) {
  41983. for (; !A.dirExists(dir);)
  41984. dir = $.$get$context().dirname$1(dir);
  41985. return this.dirWatcher.watch$1(0, dir);
  41986. },
  41987. $signature: 344
  41988. };
  41989. A._Watcher.prototype = {
  41990. compile$3$ifModified(_, source, destination, ifModified) {
  41991. return this.compile$body$_Watcher(0, source, destination, ifModified);
  41992. },
  41993. compile$2($receiver, source, destination) {
  41994. return this.compile$3$ifModified($receiver, source, destination, false);
  41995. },
  41996. compile$body$_Watcher(_, source, destination, ifModified) {
  41997. var $async$goto = 0,
  41998. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41999. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
  42000. var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42001. if ($async$errorCode === 1) {
  42002. $async$currentError = $async$result;
  42003. $async$goto = $async$handler;
  42004. }
  42005. while (true)
  42006. switch ($async$goto) {
  42007. case 0:
  42008. // Function start
  42009. $async$handler = 4;
  42010. $async$goto = 7;
  42011. return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
  42012. case 7:
  42013. // returning from await.
  42014. $async$returnValue = true;
  42015. // goto return
  42016. $async$goto = 1;
  42017. break;
  42018. $async$handler = 2;
  42019. // goto after finally
  42020. $async$goto = 6;
  42021. break;
  42022. case 4:
  42023. // catch
  42024. $async$handler = 3;
  42025. $async$exception = $async$currentError;
  42026. t1 = A.unwrapException($async$exception);
  42027. if (t1 instanceof A.SassException) {
  42028. error = t1;
  42029. stackTrace = A.getTraceFromException($async$exception);
  42030. t1 = $async$self._watch$_options;
  42031. if (!t1.get$emitErrorCss())
  42032. $async$self._delete$1(destination);
  42033. t1 = J.toString$1$color$(error, t1.get$color());
  42034. t2 = A.getTrace(error);
  42035. $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
  42036. J.set$exitCode$x(self.process, 65);
  42037. $async$returnValue = false;
  42038. // goto return
  42039. $async$goto = 1;
  42040. break;
  42041. } else if (t1 instanceof A.FileSystemException) {
  42042. error0 = t1;
  42043. stackTrace0 = A.getTraceFromException($async$exception);
  42044. path = error0.path;
  42045. t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  42046. t2 = A.getTrace(error0);
  42047. $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
  42048. J.set$exitCode$x(self.process, 66);
  42049. $async$returnValue = false;
  42050. // goto return
  42051. $async$goto = 1;
  42052. break;
  42053. } else
  42054. throw $async$exception;
  42055. // goto after finally
  42056. $async$goto = 6;
  42057. break;
  42058. case 3:
  42059. // uncaught
  42060. // goto rethrow
  42061. $async$goto = 2;
  42062. break;
  42063. case 6:
  42064. // after finally
  42065. case 1:
  42066. // return
  42067. return A._asyncReturn($async$returnValue, $async$completer);
  42068. case 2:
  42069. // rethrow
  42070. return A._asyncRethrow($async$currentError, $async$completer);
  42071. }
  42072. });
  42073. return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
  42074. },
  42075. _delete$1(path) {
  42076. var buffer, t1, exception;
  42077. try {
  42078. A.deleteFile(path);
  42079. buffer = new A.StringBuffer("");
  42080. t1 = this._watch$_options;
  42081. if (t1.get$color())
  42082. buffer._contents += "\x1b[33m";
  42083. buffer._contents += "Deleted " + path + ".";
  42084. if (t1.get$color())
  42085. buffer._contents += "\x1b[0m";
  42086. A.print(buffer);
  42087. } catch (exception) {
  42088. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  42089. throw exception;
  42090. }
  42091. },
  42092. _printError$2(message, stackTrace) {
  42093. var t2,
  42094. t1 = $.$get$stderr();
  42095. t1.writeln$1(message);
  42096. t2 = this._watch$_options._options;
  42097. if (A._asBool(t2.$index(0, "trace"))) {
  42098. t1.writeln$0();
  42099. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  42100. }
  42101. if (!A._asBool(t2.$index(0, "stop-on-error")))
  42102. t1.writeln$0();
  42103. },
  42104. watch$1(_, watcher) {
  42105. return this.watch$body$_Watcher(0, watcher);
  42106. },
  42107. watch$body$_Watcher(_, watcher) {
  42108. var $async$goto = 0,
  42109. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  42110. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  42111. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42112. if ($async$errorCode === 1) {
  42113. $async$currentError = $async$result;
  42114. $async$goto = $async$handler;
  42115. }
  42116. while (true)
  42117. switch ($async$goto) {
  42118. case 0:
  42119. // Function start
  42120. t1 = watcher._group.__StreamGroup__controller_A;
  42121. t1 === $ && A.throwUnnamedLateFieldNI();
  42122. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  42123. $async$handler = 3;
  42124. t2 = $async$self._watch$_options._options;
  42125. case 6:
  42126. // for condition
  42127. $async$goto = 8;
  42128. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  42129. case 8:
  42130. // returning from await.
  42131. if (!$async$result) {
  42132. // goto after for
  42133. $async$goto = 7;
  42134. break;
  42135. }
  42136. $event = t1.get$current(t1);
  42137. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  42138. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  42139. // goto for condition
  42140. $async$goto = 6;
  42141. break;
  42142. }
  42143. case 9:
  42144. // switch
  42145. switch ($event.type) {
  42146. case B.ChangeType_modify:
  42147. // goto case
  42148. $async$goto = 11;
  42149. break;
  42150. case B.ChangeType_add:
  42151. // goto case
  42152. $async$goto = 12;
  42153. break;
  42154. case B.ChangeType_remove:
  42155. // goto case
  42156. $async$goto = 13;
  42157. break;
  42158. default:
  42159. // goto after switch
  42160. $async$goto = 10;
  42161. break;
  42162. }
  42163. break;
  42164. case 11:
  42165. // case
  42166. $async$goto = 14;
  42167. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  42168. case 14:
  42169. // returning from await.
  42170. success = $async$result;
  42171. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  42172. $async$next = [1];
  42173. // goto finally
  42174. $async$goto = 4;
  42175. break;
  42176. }
  42177. // goto after switch
  42178. $async$goto = 10;
  42179. break;
  42180. case 12:
  42181. // case
  42182. $async$goto = 15;
  42183. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  42184. case 15:
  42185. // returning from await.
  42186. success0 = $async$result;
  42187. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  42188. $async$next = [1];
  42189. // goto finally
  42190. $async$goto = 4;
  42191. break;
  42192. }
  42193. // goto after switch
  42194. $async$goto = 10;
  42195. break;
  42196. case 13:
  42197. // case
  42198. $async$goto = 16;
  42199. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  42200. case 16:
  42201. // returning from await.
  42202. success1 = $async$result;
  42203. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  42204. $async$next = [1];
  42205. // goto finally
  42206. $async$goto = 4;
  42207. break;
  42208. }
  42209. // goto after switch
  42210. $async$goto = 10;
  42211. break;
  42212. case 10:
  42213. // after switch
  42214. // goto for condition
  42215. $async$goto = 6;
  42216. break;
  42217. case 7:
  42218. // after for
  42219. $async$next.push(5);
  42220. // goto finally
  42221. $async$goto = 4;
  42222. break;
  42223. case 3:
  42224. // uncaught
  42225. $async$next = [2];
  42226. case 4:
  42227. // finally
  42228. $async$handler = 2;
  42229. $async$goto = 17;
  42230. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  42231. case 17:
  42232. // returning from await.
  42233. // goto the next finally handler
  42234. $async$goto = $async$next.pop();
  42235. break;
  42236. case 5:
  42237. // after finally
  42238. case 1:
  42239. // return
  42240. return A._asyncReturn($async$returnValue, $async$completer);
  42241. case 2:
  42242. // rethrow
  42243. return A._asyncRethrow($async$currentError, $async$completer);
  42244. }
  42245. });
  42246. return A._asyncStartSync($async$watch$1, $async$completer);
  42247. },
  42248. _handleModify$1(path) {
  42249. return this._handleModify$body$_Watcher(path);
  42250. },
  42251. _handleModify$body$_Watcher(path) {
  42252. var $async$goto = 0,
  42253. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42254. $async$returnValue, $async$self = this, t1, t2, t0, url, node;
  42255. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42256. if ($async$errorCode === 1)
  42257. return A._asyncRethrow($async$result, $async$completer);
  42258. while (true)
  42259. switch ($async$goto) {
  42260. case 0:
  42261. // Function start
  42262. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  42263. t1 = $.$get$context();
  42264. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42265. t0 = t2;
  42266. t2 = t1;
  42267. t1 = t0;
  42268. } else {
  42269. t1 = $.$get$context();
  42270. t2 = t1.canonicalize$1(0, path);
  42271. t0 = t2;
  42272. t2 = t1;
  42273. t1 = t0;
  42274. }
  42275. url = t2.toUri$1(t1);
  42276. t1 = $async$self._graph;
  42277. node = t1._nodes.$index(0, url);
  42278. if (node == null) {
  42279. $async$returnValue = $async$self._handleAdd$1(path);
  42280. // goto return
  42281. $async$goto = 1;
  42282. break;
  42283. }
  42284. t1.reload$1(url);
  42285. $async$goto = 3;
  42286. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  42287. case 3:
  42288. // returning from await.
  42289. $async$returnValue = $async$result;
  42290. // goto return
  42291. $async$goto = 1;
  42292. break;
  42293. case 1:
  42294. // return
  42295. return A._asyncReturn($async$returnValue, $async$completer);
  42296. }
  42297. });
  42298. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  42299. },
  42300. _handleAdd$1(path) {
  42301. return this._handleAdd$body$_Watcher(path);
  42302. },
  42303. _handleAdd$body$_Watcher(path) {
  42304. var $async$goto = 0,
  42305. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42306. $async$returnValue, $async$self = this, t2, t3, t0, destination, success, t1, $async$temp1;
  42307. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42308. if ($async$errorCode === 1)
  42309. return A._asyncRethrow($async$result, $async$completer);
  42310. while (true)
  42311. switch ($async$goto) {
  42312. case 0:
  42313. // Function start
  42314. destination = $async$self._destinationFor$1(path);
  42315. $async$temp1 = destination == null;
  42316. if ($async$temp1)
  42317. $async$result = $async$temp1;
  42318. else {
  42319. // goto then
  42320. $async$goto = 3;
  42321. break;
  42322. }
  42323. // goto join
  42324. $async$goto = 4;
  42325. break;
  42326. case 3:
  42327. // then
  42328. $async$goto = 5;
  42329. return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
  42330. case 5:
  42331. // returning from await.
  42332. case 4:
  42333. // join
  42334. success = $async$result;
  42335. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  42336. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  42337. t2 = $.$get$context();
  42338. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42339. t0 = t3;
  42340. t3 = t2;
  42341. t2 = t0;
  42342. } else {
  42343. t2 = $.$get$context();
  42344. t3 = t2.canonicalize$1(0, path);
  42345. t0 = t3;
  42346. t3 = t2;
  42347. t2 = t0;
  42348. }
  42349. $async$goto = 6;
  42350. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t1), t3.toUri$1(t2), t3.toUri$1(path))), $async$_handleAdd$1);
  42351. case 6:
  42352. // returning from await.
  42353. $async$returnValue = $async$result && success;
  42354. // goto return
  42355. $async$goto = 1;
  42356. break;
  42357. case 1:
  42358. // return
  42359. return A._asyncReturn($async$returnValue, $async$completer);
  42360. }
  42361. });
  42362. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  42363. },
  42364. _handleRemove$1(path) {
  42365. return this._handleRemove$body$_Watcher(path);
  42366. },
  42367. _handleRemove$body$_Watcher(path) {
  42368. var $async$goto = 0,
  42369. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42370. $async$returnValue, $async$self = this, t1, t2, t0, url, destination, t3, node, toRecompile;
  42371. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42372. if ($async$errorCode === 1)
  42373. return A._asyncRethrow($async$result, $async$completer);
  42374. while (true)
  42375. switch ($async$goto) {
  42376. case 0:
  42377. // Function start
  42378. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  42379. t1 = $.$get$context();
  42380. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  42381. t0 = t2;
  42382. t2 = t1;
  42383. t1 = t0;
  42384. } else {
  42385. t1 = $.$get$context();
  42386. t2 = t1.canonicalize$1(0, path);
  42387. t0 = t2;
  42388. t2 = t1;
  42389. t1 = t0;
  42390. }
  42391. url = t2.toUri$1(t1);
  42392. t1 = $async$self._graph;
  42393. t2 = t1._nodes;
  42394. if (t2.containsKey$1(url)) {
  42395. destination = $async$self._destinationFor$1(path);
  42396. if (destination != null)
  42397. $async$self._delete$1(destination);
  42398. }
  42399. t3 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  42400. node = t2.remove$1(0, url);
  42401. t2 = node != null;
  42402. if (t2) {
  42403. t1._transitiveModificationTimes.clear$0(0);
  42404. t1.importCache.clearImport$1(url);
  42405. node._stylesheet_graph$_remove$0();
  42406. }
  42407. toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t3), url);
  42408. if (t2)
  42409. toRecompile.addAll$1(0, node._downstream);
  42410. $async$goto = 3;
  42411. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  42412. case 3:
  42413. // returning from await.
  42414. $async$returnValue = $async$result;
  42415. // goto return
  42416. $async$goto = 1;
  42417. break;
  42418. case 1:
  42419. // return
  42420. return A._asyncReturn($async$returnValue, $async$completer);
  42421. }
  42422. });
  42423. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  42424. },
  42425. _debounceEvents$1(events) {
  42426. var t1 = type$.WatchEvent;
  42427. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  42428. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  42429. },
  42430. _recompileDownstream$1(nodes) {
  42431. return this._recompileDownstream$body$_Watcher(nodes);
  42432. },
  42433. _recompileDownstream$body$_Watcher(nodes) {
  42434. var $async$goto = 0,
  42435. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42436. $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
  42437. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42438. if ($async$errorCode === 1)
  42439. return A._asyncRethrow($async$result, $async$completer);
  42440. while (true)
  42441. switch ($async$goto) {
  42442. case 0:
  42443. // Function start
  42444. t1 = type$.StylesheetNode;
  42445. seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  42446. toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
  42447. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
  42448. case 3:
  42449. // for condition
  42450. if (!!toRecompile.get$isEmpty(toRecompile)) {
  42451. // goto after for
  42452. $async$goto = 4;
  42453. break;
  42454. }
  42455. node = toRecompile.removeFirst$0();
  42456. if (!seen.add$1(0, node)) {
  42457. // goto for condition
  42458. $async$goto = 3;
  42459. break;
  42460. }
  42461. $async$goto = 5;
  42462. return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
  42463. case 5:
  42464. // returning from await.
  42465. success = $async$result;
  42466. allSucceeded = allSucceeded && success;
  42467. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  42468. $async$returnValue = false;
  42469. // goto return
  42470. $async$goto = 1;
  42471. break;
  42472. }
  42473. toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
  42474. // goto for condition
  42475. $async$goto = 3;
  42476. break;
  42477. case 4:
  42478. // after for
  42479. $async$returnValue = allSucceeded;
  42480. // goto return
  42481. $async$goto = 1;
  42482. break;
  42483. case 1:
  42484. // return
  42485. return A._asyncReturn($async$returnValue, $async$completer);
  42486. }
  42487. });
  42488. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  42489. },
  42490. _compileIfEntrypoint$1(url) {
  42491. return this._compileIfEntrypoint$body$_Watcher(url);
  42492. },
  42493. _compileIfEntrypoint$body$_Watcher(url) {
  42494. var $async$goto = 0,
  42495. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  42496. $async$returnValue, $async$self = this, source, destination;
  42497. var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  42498. if ($async$errorCode === 1)
  42499. return A._asyncRethrow($async$result, $async$completer);
  42500. while (true)
  42501. switch ($async$goto) {
  42502. case 0:
  42503. // Function start
  42504. if (url.get$scheme() !== "file") {
  42505. $async$returnValue = true;
  42506. // goto return
  42507. $async$goto = 1;
  42508. break;
  42509. }
  42510. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  42511. destination = $async$self._destinationFor$1(source);
  42512. if (destination == null) {
  42513. $async$returnValue = true;
  42514. // goto return
  42515. $async$goto = 1;
  42516. break;
  42517. }
  42518. $async$goto = 3;
  42519. return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
  42520. case 3:
  42521. // returning from await.
  42522. $async$returnValue = $async$result;
  42523. // goto return
  42524. $async$goto = 1;
  42525. break;
  42526. case 1:
  42527. // return
  42528. return A._asyncReturn($async$returnValue, $async$completer);
  42529. }
  42530. });
  42531. return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
  42532. },
  42533. _destinationFor$1(source) {
  42534. var t2, destination, t3, t4,
  42535. t1 = this._watch$_options;
  42536. t1._ensureSources$0();
  42537. t2 = type$.String;
  42538. destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  42539. if (destination != null)
  42540. return destination;
  42541. t3 = $.$get$context();
  42542. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  42543. return null;
  42544. t1._ensureSources$0();
  42545. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  42546. t1 === $ && A.throwUnnamedLateFieldNI();
  42547. t2 = t1.cast$2$0(0, t2, t2);
  42548. t2 = t2.get$entries(t2);
  42549. t2 = t2.get$iterator(t2);
  42550. for (; t2.moveNext$0();) {
  42551. t1 = t2.get$current(t2);
  42552. t4 = t1.key;
  42553. if (t3._isWithinOrEquals$2(t4, source) !== B._PathRelation_within)
  42554. continue;
  42555. destination = A.join(t1.value, t3.withoutExtension$1(t3.relative$2$from(source, t4)) + ".css", null);
  42556. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  42557. return destination;
  42558. }
  42559. return null;
  42560. }
  42561. };
  42562. A._Watcher__debounceEvents_closure.prototype = {
  42563. call$1(buffer) {
  42564. var t2, t3, t4, oldType,
  42565. t1 = A.PathMap__create(null, type$.ChangeType);
  42566. for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
  42567. t3 = t2.get$current(t2);
  42568. t4 = t3.path;
  42569. oldType = t1.$index(0, t4);
  42570. if (oldType == null)
  42571. t1.$indexSet(0, t4, t3.type);
  42572. else if (t3.type === B.ChangeType_remove)
  42573. t1.$indexSet(0, t4, B.ChangeType_remove);
  42574. else if (oldType !== B.ChangeType_add)
  42575. t1.$indexSet(0, t4, B.ChangeType_modify);
  42576. }
  42577. t2 = A._setArrayType([], type$.JSArray_WatchEvent);
  42578. for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  42579. t3 = t1.get$current(t1);
  42580. t4 = t3.value;
  42581. t3 = t3.key;
  42582. t3.toString;
  42583. t2.push(new A.WatchEvent(t4, t3));
  42584. }
  42585. return t2;
  42586. },
  42587. $signature: 345
  42588. };
  42589. A.EmptyExtensionStore.prototype = {
  42590. get$_extensions() {
  42591. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  42592. },
  42593. get$_sourceSpecificity() {
  42594. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  42595. },
  42596. get$isEmpty(_) {
  42597. return true;
  42598. },
  42599. get$simpleSelectors() {
  42600. return B.C_EmptyUnmodifiableSet;
  42601. },
  42602. extensionsWhereTarget$1(callback) {
  42603. return B.List_empty5;
  42604. },
  42605. addSelector$2(selector, mediaContext) {
  42606. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  42607. },
  42608. addExtension$4(extender, target, extend, mediaContext) {
  42609. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  42610. },
  42611. addExtensions$1(extenders) {
  42612. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  42613. },
  42614. clone$0() {
  42615. return B.Tuple2_EmptyExtensionStore_Map_empty;
  42616. },
  42617. $isExtensionStore: 1
  42618. };
  42619. A.Extension.prototype = {
  42620. toString$0(_) {
  42621. var t1 = this.extender.toString$0(0),
  42622. t2 = this.target.toString$0(0),
  42623. t3 = this.isOptional ? " !optional" : "";
  42624. return t1 + " {@extend " + t2 + t3 + "}";
  42625. }
  42626. };
  42627. A.Extender.prototype = {
  42628. assertCompatibleMediaContext$1(mediaContext) {
  42629. var expectedMediaContext,
  42630. extension = this._extension;
  42631. if (extension == null)
  42632. return;
  42633. expectedMediaContext = extension.mediaContext;
  42634. if (expectedMediaContext == null)
  42635. return;
  42636. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  42637. return;
  42638. throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
  42639. },
  42640. toString$0(_) {
  42641. return A.serializeSelector(this.selector, true);
  42642. }
  42643. };
  42644. A.ExtensionStore.prototype = {
  42645. get$isEmpty(_) {
  42646. return this._extensions.__js_helper$_length === 0;
  42647. },
  42648. get$simpleSelectors() {
  42649. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  42650. },
  42651. extensionsWhereTarget$1($async$callback) {
  42652. var $async$self = this;
  42653. return A._makeSyncStarIterable(function() {
  42654. var callback = $async$callback;
  42655. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  42656. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  42657. if ($async$errorCode === 1) {
  42658. $async$currentError = $async$result;
  42659. $async$goto = $async$handler;
  42660. }
  42661. while (true)
  42662. switch ($async$goto) {
  42663. case 0:
  42664. // Function start
  42665. t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  42666. case 2:
  42667. // for condition
  42668. if (!t1.moveNext$0()) {
  42669. // goto after for
  42670. $async$goto = 3;
  42671. break;
  42672. }
  42673. t2 = t1.get$current(t1);
  42674. if (!callback.call$1(t2.key)) {
  42675. // goto for condition
  42676. $async$goto = 2;
  42677. break;
  42678. }
  42679. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  42680. case 4:
  42681. // for condition
  42682. if (!t2.moveNext$0()) {
  42683. // goto after for
  42684. $async$goto = 5;
  42685. break;
  42686. }
  42687. t3 = t2.get$current(t2);
  42688. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  42689. break;
  42690. case 6:
  42691. // then
  42692. t3 = t3.unmerge$0();
  42693. $async$goto = 9;
  42694. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  42695. case 9:
  42696. // after yield
  42697. // goto join
  42698. $async$goto = 7;
  42699. break;
  42700. case 8:
  42701. // else
  42702. $async$goto = !t3.isOptional ? 10 : 11;
  42703. break;
  42704. case 10:
  42705. // then
  42706. $async$goto = 12;
  42707. return t3;
  42708. case 12:
  42709. // after yield
  42710. case 11:
  42711. // join
  42712. case 7:
  42713. // join
  42714. // goto for condition
  42715. $async$goto = 4;
  42716. break;
  42717. case 5:
  42718. // after for
  42719. // goto for condition
  42720. $async$goto = 2;
  42721. break;
  42722. case 3:
  42723. // after for
  42724. // implicit return
  42725. return A._IterationMarker_endOfIteration();
  42726. case 1:
  42727. // rethrow
  42728. return A._IterationMarker_uncaughtError($async$currentError);
  42729. }
  42730. };
  42731. }, type$.Extension);
  42732. },
  42733. addSelector$2(selector, mediaContext) {
  42734. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  42735. selector = selector;
  42736. originalSelector = selector;
  42737. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  42738. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
  42739. t3.add$1(0, t1[_i]);
  42740. t1 = _this._extensions;
  42741. if (t1.__js_helper$_length !== 0)
  42742. try {
  42743. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  42744. } catch (exception) {
  42745. t1 = A.unwrapException(exception);
  42746. if (t1 instanceof A.SassException) {
  42747. error = t1;
  42748. stackTrace = A.getTraceFromException(exception);
  42749. t1 = error;
  42750. t2 = J.getInterceptor$z(t1);
  42751. t3 = error;
  42752. t4 = J.getInterceptor$z(t3);
  42753. A.throwWithTrace(new A.SassException("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  42754. } else
  42755. throw exception;
  42756. }
  42757. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  42758. if (mediaContext != null)
  42759. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  42760. _this._registerSelector$2(selector, modifiableSelector);
  42761. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  42762. },
  42763. _registerSelector$2(list, selector) {
  42764. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  42765. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
  42766. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  42767. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  42768. simple = t6[_i1];
  42769. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  42770. if (!(simple instanceof A.PseudoSelector))
  42771. continue;
  42772. selectorInPseudo = simple.selector;
  42773. if (selectorInPseudo != null)
  42774. this._registerSelector$2(selectorInPseudo, selector);
  42775. }
  42776. },
  42777. addExtension$4(extender, target, extend, mediaContext) {
  42778. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  42779. selectors = _this._selectors.$index(0, target),
  42780. t1 = _this._extensionsByExtender,
  42781. existingExtensions = t1.$index(0, target),
  42782. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  42783. 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) {
  42784. complex = t2[_i];
  42785. if (complex.accept$1(B.C__IsUselessVisitor))
  42786. continue;
  42787. complex.get$specificity();
  42788. t11 = new A.Extender(complex, false);
  42789. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  42790. existingExtension = sources.$index(0, complex);
  42791. if (existingExtension != null) {
  42792. sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
  42793. continue;
  42794. }
  42795. sources.$indexSet(0, complex, extension);
  42796. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  42797. t12 = t11.get$current(t11);
  42798. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  42799. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  42800. }
  42801. if (!t4 || t8) {
  42802. if (newExtensions == null)
  42803. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  42804. newExtensions.$indexSet(0, complex, extension);
  42805. }
  42806. }
  42807. if (newExtensions == null)
  42808. return;
  42809. t1 = type$.SimpleSelector;
  42810. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  42811. if (t8) {
  42812. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  42813. if (additionalExtensions != null)
  42814. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  42815. }
  42816. if (!t4)
  42817. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  42818. },
  42819. _simpleSelectors$1(complex) {
  42820. return this._simpleSelectors$body$ExtensionStore(complex);
  42821. },
  42822. _simpleSelectors$body$ExtensionStore($async$complex) {
  42823. var $async$self = this;
  42824. return A._makeSyncStarIterable(function() {
  42825. var complex = $async$complex;
  42826. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  42827. return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
  42828. if ($async$errorCode === 1) {
  42829. $async$currentError = $async$result;
  42830. $async$goto = $async$handler;
  42831. }
  42832. while (true)
  42833. switch ($async$goto) {
  42834. case 0:
  42835. // Function start
  42836. t1 = complex.components, t2 = t1.length, _i = 0;
  42837. case 2:
  42838. // for condition
  42839. if (!(_i < t2)) {
  42840. // goto after for
  42841. $async$goto = 4;
  42842. break;
  42843. }
  42844. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  42845. case 5:
  42846. // for condition
  42847. if (!(_i0 < t4)) {
  42848. // goto after for
  42849. $async$goto = 7;
  42850. break;
  42851. }
  42852. simple = t3[_i0];
  42853. $async$goto = 8;
  42854. return simple;
  42855. case 8:
  42856. // after yield
  42857. if (!(simple instanceof A.PseudoSelector)) {
  42858. // goto for update
  42859. $async$goto = 6;
  42860. break;
  42861. }
  42862. selector = simple.selector;
  42863. if (selector == null) {
  42864. // goto for update
  42865. $async$goto = 6;
  42866. break;
  42867. }
  42868. t5 = selector.components, t6 = t5.length, _i1 = 0;
  42869. case 9:
  42870. // for condition
  42871. if (!(_i1 < t6)) {
  42872. // goto after for
  42873. $async$goto = 11;
  42874. break;
  42875. }
  42876. $async$goto = 12;
  42877. return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
  42878. case 12:
  42879. // after yield
  42880. case 10:
  42881. // for update
  42882. ++_i1;
  42883. // goto for condition
  42884. $async$goto = 9;
  42885. break;
  42886. case 11:
  42887. // after for
  42888. case 6:
  42889. // for update
  42890. ++_i0;
  42891. // goto for condition
  42892. $async$goto = 5;
  42893. break;
  42894. case 7:
  42895. // after for
  42896. case 3:
  42897. // for update
  42898. ++_i;
  42899. // goto for condition
  42900. $async$goto = 2;
  42901. break;
  42902. case 4:
  42903. // after for
  42904. // implicit return
  42905. return A._IterationMarker_endOfIteration();
  42906. case 1:
  42907. // rethrow
  42908. return A._IterationMarker_uncaughtError($async$currentError);
  42909. }
  42910. };
  42911. }, type$.SimpleSelector);
  42912. },
  42913. _extendExistingExtensions$2(extensions, newExtensions) {
  42914. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, _i2;
  42915. 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) {
  42916. extension = t1[_i];
  42917. t7 = t6.$index(0, extension.target);
  42918. t7.toString;
  42919. selectors = null;
  42920. try {
  42921. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  42922. if (selectors == null)
  42923. continue;
  42924. } catch (exception) {
  42925. t8 = A.unwrapException(exception);
  42926. if (t8 instanceof A.SassException) {
  42927. error = t8;
  42928. stackTrace = A.getTraceFromException(exception);
  42929. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), stackTrace);
  42930. } else
  42931. throw exception;
  42932. }
  42933. t8 = J.get$first$ax(selectors);
  42934. t9 = extension.extender.selector;
  42935. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  42936. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  42937. complex = t8[_i0];
  42938. if (containsExtension && first) {
  42939. first = false;
  42940. continue;
  42941. }
  42942. t10 = extension;
  42943. t11 = t10.target;
  42944. t12 = t10.span;
  42945. t13 = t10.mediaContext;
  42946. t10 = t10.isOptional;
  42947. complex.get$specificity();
  42948. t14 = new A.Extender(complex, false);
  42949. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  42950. existingExtension = t7.$index(0, complex);
  42951. if (existingExtension != null)
  42952. t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
  42953. else {
  42954. t7.$indexSet(0, complex, withExtender);
  42955. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  42956. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  42957. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  42958. if (newExtensions.containsKey$1(extension.target)) {
  42959. if (additionalExtensions == null)
  42960. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  42961. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
  42962. }
  42963. }
  42964. }
  42965. if (!containsExtension)
  42966. t7.remove$1(0, extension.extender);
  42967. }
  42968. return additionalExtensions;
  42969. },
  42970. _extendExistingSelectors$2(selectors, newExtensions) {
  42971. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  42972. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  42973. selector = t1.get$current(t1);
  42974. oldValue = selector.value;
  42975. try {
  42976. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  42977. } catch (exception) {
  42978. t3 = A.unwrapException(exception);
  42979. if (t3 instanceof A.SassException) {
  42980. error = t3;
  42981. stackTrace = A.getTraceFromException(exception);
  42982. t3 = error;
  42983. t4 = J.getInterceptor$z(t3);
  42984. A.throwWithTrace(new A.SassException("From " + selector.value.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  42985. } else
  42986. throw exception;
  42987. }
  42988. if (oldValue === selector.value)
  42989. continue;
  42990. this._registerSelector$2(selector.value, selector);
  42991. }
  42992. },
  42993. addExtensions$1(extensionStores) {
  42994. var t1, t2, t3, _box_0 = {};
  42995. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  42996. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
  42997. t3 = t1.get$current(t1);
  42998. if (t3.get$isEmpty(t3))
  42999. continue;
  43000. t2.addAll$1(0, t3.get$_sourceSpecificity());
  43001. t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
  43002. }
  43003. A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
  43004. },
  43005. _extendList$3(list, extensions, mediaQueryContext) {
  43006. var t1, t2, t3, extended, i, complex, result, t4;
  43007. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  43008. complex = t1[i];
  43009. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  43010. if (result == null) {
  43011. if (extended != null)
  43012. extended.push(complex);
  43013. } else {
  43014. if (extended == null)
  43015. if (i === 0)
  43016. extended = A._setArrayType([], t3);
  43017. else {
  43018. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  43019. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  43020. }
  43021. B.JSArray_methods.addAll$1(extended, result);
  43022. }
  43023. }
  43024. if (extended == null)
  43025. return list;
  43026. t1 = this._originals;
  43027. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  43028. },
  43029. _extendList$2(list, extensions) {
  43030. return this._extendList$3(list, extensions, null);
  43031. },
  43032. _extendComplex$3(complex, extensions, mediaQueryContext) {
  43033. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  43034. t1 = complex.leadingCombinators,
  43035. t2 = t1.length;
  43036. if (t2 > 1)
  43037. return null;
  43038. isOriginal = this._originals.contains$1(0, complex);
  43039. 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) {
  43040. component = t3[i];
  43041. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  43042. if (extended == null) {
  43043. if (extendedNotExpanded != null)
  43044. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([component], t10), t8, t6)], t9));
  43045. } else if (extendedNotExpanded != null)
  43046. extendedNotExpanded.push(extended);
  43047. else if (i !== 0) {
  43048. t11 = A._arrayInstanceType(t3);
  43049. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  43050. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  43051. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  43052. } else if (t2)
  43053. extendedNotExpanded = A._setArrayType([extended], t5);
  43054. else {
  43055. t11 = A._setArrayType([], t9);
  43056. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  43057. t13 = t12.get$current(t12);
  43058. t14 = t13.leadingCombinators;
  43059. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  43060. t14 = t13.components;
  43061. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  43062. }
  43063. }
  43064. extendedNotExpanded = A._setArrayType([t11], t5);
  43065. }
  43066. }
  43067. if (extendedNotExpanded == null)
  43068. return null;
  43069. _box_0.first = true;
  43070. t1 = type$.ComplexSelector;
  43071. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  43072. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  43073. },
  43074. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  43075. 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,
  43076. t1 = _this._mode,
  43077. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  43078. t2 = component.selector,
  43079. simples = t2.components;
  43080. 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) {
  43081. simple = simples[i];
  43082. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  43083. if (extended == null) {
  43084. if (options != null)
  43085. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  43086. } else {
  43087. if (options == null) {
  43088. options = A._setArrayType([], t4);
  43089. if (i !== 0) {
  43090. t12 = new A.SubListIterable(simples, 0, i, t8);
  43091. t12.SubListIterable$3(simples, 0, i, t9);
  43092. result = A.List_List$from(t12, false, t11);
  43093. result.fixed$length = Array;
  43094. result.immutable$list = Array;
  43095. t12 = result;
  43096. compound = new A.CompoundSelector(t12, t10);
  43097. if (t12.length === 0)
  43098. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  43099. result = A.List_List$from(B.List_empty1, false, t6);
  43100. result.fixed$length = Array;
  43101. result.immutable$list = Array;
  43102. t12 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  43103. _this._sourceSpecificityFor$1(compound);
  43104. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  43105. }
  43106. }
  43107. B.JSArray_methods.addAll$1(options, extended);
  43108. }
  43109. }
  43110. if (options == null)
  43111. return _null;
  43112. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  43113. return _null;
  43114. if (options.length === 1) {
  43115. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  43116. t4 = t1.get$current(t1);
  43117. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  43118. complex = t4.selector.withAdditionalCombinators$1(t2);
  43119. if (complex.accept$1(B.C__IsUselessVisitor))
  43120. continue;
  43121. if (result == null)
  43122. result = A._setArrayType([], t3);
  43123. result.push(complex);
  43124. }
  43125. return result;
  43126. }
  43127. extenderPaths = A.paths(options, type$.Extender);
  43128. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  43129. t1 = t1 === B.ExtendMode_replace_replace;
  43130. t4 = !t1;
  43131. if (t4)
  43132. 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));
  43133. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  43134. t2 = t2.get$iterator(t2);
  43135. t5 = component.combinators;
  43136. for (; t2.moveNext$0();) {
  43137. extended = _this._unifyExtenders$3(t2.get$current(t2), mediaQueryContext, t10);
  43138. if (extended == null)
  43139. continue;
  43140. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  43141. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  43142. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  43143. t3.push(withCombinators);
  43144. }
  43145. }
  43146. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  43147. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  43148. },
  43149. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  43150. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  43151. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  43152. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  43153. t4 = t2.get$current(t2);
  43154. if (t4.isOriginal) {
  43155. if (originals == null)
  43156. originals = A._setArrayType([], t3);
  43157. t4 = t4.selector;
  43158. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  43159. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  43160. } else {
  43161. t4 = t4.selector;
  43162. if (t4.accept$1(B.C__IsUselessVisitor))
  43163. return _null;
  43164. else
  43165. toUnify._queue_list$_add$1(t4);
  43166. }
  43167. }
  43168. if (originals != null)
  43169. 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));
  43170. complexes = A.unifyComplex(toUnify, span);
  43171. if (complexes == null)
  43172. return _null;
  43173. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  43174. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  43175. return complexes;
  43176. },
  43177. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  43178. var extended,
  43179. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  43180. if (simple instanceof A.PseudoSelector && simple.selector != null) {
  43181. extended = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  43182. if (extended != null)
  43183. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
  43184. }
  43185. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  43186. },
  43187. _extenderForSimple$1(simple) {
  43188. var t1 = simple.span;
  43189. 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);
  43190. this._sourceSpecificity.$index(0, simple);
  43191. return new A.Extender(t1, true);
  43192. },
  43193. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  43194. var extended, complexes, t1, result,
  43195. selector = pseudo.selector;
  43196. if (selector == null)
  43197. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  43198. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  43199. if (extended === selector)
  43200. return null;
  43201. complexes = extended.components;
  43202. t1 = pseudo.normalizedName === "not";
  43203. 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()))
  43204. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  43205. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  43206. if (t1 && selector.components.length === 1) {
  43207. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  43208. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  43209. return result.length === 0 ? null : result;
  43210. } else
  43211. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  43212. },
  43213. _trim$2(selectors, isOriginal) {
  43214. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  43215. if (selectors.length > 100)
  43216. return selectors;
  43217. result = A.QueueList$(null, type$.ComplexSelector);
  43218. $label0$0:
  43219. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  43220. _box_0 = {};
  43221. complex1 = selectors[i];
  43222. if (isOriginal.call$1(complex1)) {
  43223. for (j = 0; j < numOriginals; ++j)
  43224. if (J.$eq$(result.$index(0, j), complex1)) {
  43225. A.rotateSlice(result, 0, j + 1);
  43226. continue $label0$0;
  43227. }
  43228. ++numOriginals;
  43229. result.addFirst$1(complex1);
  43230. continue $label0$0;
  43231. }
  43232. _box_0.maxSpecificity = 0;
  43233. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  43234. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  43235. _box_0.maxSpecificity = maxSpecificity;
  43236. }
  43237. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  43238. continue $label0$0;
  43239. t3 = new A.SubListIterable(selectors, 0, i, t1);
  43240. t3.SubListIterable$3(selectors, 0, i, t2);
  43241. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  43242. continue $label0$0;
  43243. result.addFirst$1(complex1);
  43244. }
  43245. return result;
  43246. },
  43247. _sourceSpecificityFor$1(compound) {
  43248. var t1, t2, t3, specificity, _i, t4;
  43249. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  43250. t4 = t3.$index(0, t1[_i]);
  43251. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  43252. }
  43253. return specificity;
  43254. },
  43255. clone$0() {
  43256. var t2, t3, t4, _this = this,
  43257. t1 = type$.SimpleSelector,
  43258. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  43259. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  43260. oldToNewSelectors = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList);
  43261. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  43262. t2 = type$.Extension;
  43263. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  43264. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  43265. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
  43266. t1.addAll$1(0, _this._sourceSpecificity);
  43267. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  43268. t4.addAll$1(0, _this._originals);
  43269. return new A.Tuple2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList);
  43270. },
  43271. get$_extensions() {
  43272. return this._extensions;
  43273. },
  43274. get$_sourceSpecificity() {
  43275. return this._sourceSpecificity;
  43276. }
  43277. };
  43278. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  43279. call$1(extension) {
  43280. return !extension.isOptional;
  43281. },
  43282. $signature: 347
  43283. };
  43284. A.ExtensionStore__registerSelector_closure.prototype = {
  43285. call$0() {
  43286. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  43287. },
  43288. $signature: 350
  43289. };
  43290. A.ExtensionStore_addExtension_closure.prototype = {
  43291. call$0() {
  43292. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43293. },
  43294. $signature: 115
  43295. };
  43296. A.ExtensionStore_addExtension_closure0.prototype = {
  43297. call$0() {
  43298. return A._setArrayType([], type$.JSArray_Extension);
  43299. },
  43300. $signature: 205
  43301. };
  43302. A.ExtensionStore_addExtension_closure1.prototype = {
  43303. call$0() {
  43304. return this.complex.get$specificity();
  43305. },
  43306. $signature: 12
  43307. };
  43308. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  43309. call$0() {
  43310. return A._setArrayType([], type$.JSArray_Extension);
  43311. },
  43312. $signature: 205
  43313. };
  43314. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  43315. call$0() {
  43316. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43317. },
  43318. $signature: 115
  43319. };
  43320. A.ExtensionStore_addExtensions_closure.prototype = {
  43321. call$2(target, newSources) {
  43322. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  43323. if (target instanceof A.PlaceholderSelector) {
  43324. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  43325. t1 = first === 45 || first === 95;
  43326. } else
  43327. t1 = false;
  43328. if (t1)
  43329. return;
  43330. t1 = _this.$this;
  43331. extensionsForTarget = t1._extensionsByExtender.$index(0, target);
  43332. t2 = extensionsForTarget == null;
  43333. if (!t2) {
  43334. t3 = _this._box_0;
  43335. t4 = t3.extensionsToExtend;
  43336. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
  43337. }
  43338. selectorsForTarget = t1._selectors.$index(0, target);
  43339. t3 = selectorsForTarget != null;
  43340. if (t3) {
  43341. t4 = _this._box_0;
  43342. t5 = t4.selectorsToExtend;
  43343. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList) : t5).addAll$1(0, selectorsForTarget);
  43344. }
  43345. t1 = t1._extensions;
  43346. existingSources = t1.$index(0, target);
  43347. if (existingSources == null) {
  43348. t4 = type$.ComplexSelector;
  43349. t5 = type$.Extension;
  43350. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  43351. if (!t2 || t3) {
  43352. t1 = _this._box_0;
  43353. t2 = t1.newExtensions;
  43354. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  43355. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  43356. }
  43357. } else
  43358. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  43359. },
  43360. $signature: 363
  43361. };
  43362. A.ExtensionStore_addExtensions__closure1.prototype = {
  43363. call$2(extender, extension) {
  43364. var t2, _this = this,
  43365. t1 = _this.existingSources;
  43366. if (t1.containsKey$1(extender)) {
  43367. t2 = t1.$index(0, extender);
  43368. extension = A.MergedExtension_merge(t2, extension);
  43369. t1.$indexSet(0, extender, extension);
  43370. } else
  43371. t1.$indexSet(0, extender, extension);
  43372. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  43373. t1 = _this._box_0;
  43374. t2 = t1.newExtensions;
  43375. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  43376. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
  43377. }
  43378. },
  43379. $signature: 364
  43380. };
  43381. A.ExtensionStore_addExtensions___closure.prototype = {
  43382. call$0() {
  43383. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  43384. },
  43385. $signature: 115
  43386. };
  43387. A.ExtensionStore_addExtensions_closure0.prototype = {
  43388. call$1(newExtensions) {
  43389. var t1 = this._box_0,
  43390. t2 = this.$this;
  43391. A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
  43392. A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
  43393. },
  43394. $signature: 365
  43395. };
  43396. A.ExtensionStore_addExtensions__closure.prototype = {
  43397. call$1(extensionsToExtend) {
  43398. return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  43399. },
  43400. $signature: 366
  43401. };
  43402. A.ExtensionStore_addExtensions__closure0.prototype = {
  43403. call$1(selectorsToExtend) {
  43404. return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  43405. },
  43406. $signature: 367
  43407. };
  43408. A.ExtensionStore__extendComplex_closure.prototype = {
  43409. call$1(path) {
  43410. var t1 = this.complex;
  43411. 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);
  43412. },
  43413. $signature: 368
  43414. };
  43415. A.ExtensionStore__extendComplex__closure.prototype = {
  43416. call$1(outputComplex) {
  43417. var _this = this,
  43418. t1 = _this._box_0;
  43419. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  43420. _this.$this._originals.add$1(0, outputComplex);
  43421. t1.first = false;
  43422. return outputComplex;
  43423. },
  43424. $signature: 57
  43425. };
  43426. A.ExtensionStore__extendCompound_closure.prototype = {
  43427. call$1(extender) {
  43428. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  43429. },
  43430. $signature: 369
  43431. };
  43432. A.ExtensionStore__extendCompound_closure0.prototype = {
  43433. call$1(_) {
  43434. return false;
  43435. },
  43436. $signature: 15
  43437. };
  43438. A.ExtensionStore__extendCompound_closure1.prototype = {
  43439. call$1(complex) {
  43440. return complex.$eq(0, this.original);
  43441. },
  43442. $signature: 15
  43443. };
  43444. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  43445. call$1(simple) {
  43446. var t1, t2,
  43447. extensionsForSimple = this.extensions.$index(0, simple);
  43448. if (extensionsForSimple == null)
  43449. return null;
  43450. t1 = this.targetsUsed;
  43451. if (t1 != null)
  43452. t1.add$1(0, simple);
  43453. t1 = A._setArrayType([], type$.JSArray_Extender);
  43454. t2 = this.$this;
  43455. if (t2._mode !== B.ExtendMode_replace_replace)
  43456. t1.push(t2._extenderForSimple$1(simple));
  43457. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  43458. t1.push(t2.get$current(t2).extender);
  43459. return t1;
  43460. },
  43461. $signature: 373
  43462. };
  43463. A.ExtensionStore__extendSimple_closure.prototype = {
  43464. call$1(pseudo) {
  43465. var t1 = this.withoutPseudo.call$1(pseudo);
  43466. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  43467. },
  43468. $signature: 375
  43469. };
  43470. A.ExtensionStore__extendSimple_closure0.prototype = {
  43471. call$1(result) {
  43472. return A._setArrayType([result], type$.JSArray_List_Extender);
  43473. },
  43474. $signature: 378
  43475. };
  43476. A.ExtensionStore__extendPseudo_closure.prototype = {
  43477. call$1(complex) {
  43478. return complex.components.length > 1;
  43479. },
  43480. $signature: 15
  43481. };
  43482. A.ExtensionStore__extendPseudo_closure0.prototype = {
  43483. call$1(complex) {
  43484. return complex.components.length === 1;
  43485. },
  43486. $signature: 15
  43487. };
  43488. A.ExtensionStore__extendPseudo_closure1.prototype = {
  43489. call$1(complex) {
  43490. return complex.components.length <= 1;
  43491. },
  43492. $signature: 15
  43493. };
  43494. A.ExtensionStore__extendPseudo_closure2.prototype = {
  43495. call$1(complex) {
  43496. var innerPseudo, innerSelector,
  43497. t1 = complex.get$singleCompound();
  43498. if (t1 == null)
  43499. innerPseudo = null;
  43500. else {
  43501. t1 = t1.components;
  43502. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  43503. }
  43504. if (!(innerPseudo instanceof A.PseudoSelector))
  43505. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  43506. innerSelector = innerPseudo.selector;
  43507. if (innerSelector == null)
  43508. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  43509. t1 = this.pseudo;
  43510. switch (t1.normalizedName) {
  43511. case "not":
  43512. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  43513. return A._setArrayType([], type$.JSArray_ComplexSelector);
  43514. return innerSelector.components;
  43515. case "is":
  43516. case "matches":
  43517. case "where":
  43518. case "any":
  43519. case "current":
  43520. case "nth-child":
  43521. case "nth-last-child":
  43522. if (innerPseudo.name !== t1.name)
  43523. return A._setArrayType([], type$.JSArray_ComplexSelector);
  43524. if (innerPseudo.argument != t1.argument)
  43525. return A._setArrayType([], type$.JSArray_ComplexSelector);
  43526. return innerSelector.components;
  43527. case "has":
  43528. case "host":
  43529. case "host-context":
  43530. case "slotted":
  43531. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  43532. default:
  43533. return A._setArrayType([], type$.JSArray_ComplexSelector);
  43534. }
  43535. },
  43536. $signature: 379
  43537. };
  43538. A.ExtensionStore__extendPseudo_closure3.prototype = {
  43539. call$1(complex) {
  43540. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  43541. },
  43542. $signature: 384
  43543. };
  43544. A.ExtensionStore__trim_closure.prototype = {
  43545. call$1(complex2) {
  43546. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  43547. },
  43548. $signature: 15
  43549. };
  43550. A.ExtensionStore__trim_closure0.prototype = {
  43551. call$1(complex2) {
  43552. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  43553. },
  43554. $signature: 15
  43555. };
  43556. A.ExtensionStore_clone_closure.prototype = {
  43557. call$2(simple, selectors) {
  43558. var t2, t3, t4, t5, t6, t7, newSelector, mediaContext, _this = this,
  43559. t1 = type$.ModifiableBox_SelectorList,
  43560. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  43561. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  43562. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  43563. t7 = t2.get$current(t2);
  43564. newSelector = new A.ModifiableBox(t7.value, t1);
  43565. newSelectorSet.add$1(0, newSelector);
  43566. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  43567. mediaContext = t5.$index(0, t7);
  43568. if (mediaContext != null)
  43569. t6.$indexSet(0, newSelector, mediaContext);
  43570. }
  43571. },
  43572. $signature: 391
  43573. };
  43574. A.unifyComplex_closure.prototype = {
  43575. call$1(complex) {
  43576. return complex.lineBreak;
  43577. },
  43578. $signature: 15
  43579. };
  43580. A._weaveParents_closure.prototype = {
  43581. call$2(group1, group2) {
  43582. var t1, unified;
  43583. if (B.C_ListEquality.equals$2(0, group1, group2))
  43584. return group1;
  43585. if (A._complexIsParentSuperselector(group1, group2))
  43586. return group2;
  43587. if (A._complexIsParentSuperselector(group2, group1))
  43588. return group1;
  43589. if (!A._mustUnify(group1, group2))
  43590. return null;
  43591. t1 = this.span;
  43592. 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);
  43593. if (unified == null)
  43594. return null;
  43595. t1 = J.getInterceptor$asx(unified);
  43596. if (t1.get$length(unified) > 1)
  43597. return null;
  43598. return t1.get$first(unified).components;
  43599. },
  43600. $signature: 400
  43601. };
  43602. A._weaveParents_closure0.prototype = {
  43603. call$1(sequence) {
  43604. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  43605. },
  43606. $signature: 402
  43607. };
  43608. A._weaveParents_closure1.prototype = {
  43609. call$1(sequence) {
  43610. return sequence.get$length(sequence) === 0;
  43611. },
  43612. $signature: 218
  43613. };
  43614. A._weaveParents_closure2.prototype = {
  43615. call$1(choice) {
  43616. return J.get$isNotEmpty$asx(choice);
  43617. },
  43618. $signature: 410
  43619. };
  43620. A._mustUnify_closure.prototype = {
  43621. call$1(component) {
  43622. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  43623. },
  43624. $signature: 47
  43625. };
  43626. A._mustUnify__closure.prototype = {
  43627. call$1(simple) {
  43628. var t1;
  43629. if (!(simple instanceof A.IDSelector))
  43630. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  43631. else
  43632. t1 = true;
  43633. return t1 && this.uniqueSelectors.contains$1(0, simple);
  43634. },
  43635. $signature: 13
  43636. };
  43637. A.paths_closure.prototype = {
  43638. call$2(paths, choice) {
  43639. var t1 = this.T;
  43640. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  43641. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  43642. },
  43643. $signature() {
  43644. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  43645. }
  43646. };
  43647. A.paths__closure.prototype = {
  43648. call$1(option) {
  43649. var t1 = this.T;
  43650. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  43651. },
  43652. $signature() {
  43653. return this.T._eval$1("Iterable<List<0>>(0)");
  43654. }
  43655. };
  43656. A.paths___closure.prototype = {
  43657. call$1(path) {
  43658. var t1 = A.List_List$of(path, true, this.T);
  43659. t1.push(this.option);
  43660. return t1;
  43661. },
  43662. $signature() {
  43663. return this.T._eval$1("List<0>(List<0>)");
  43664. }
  43665. };
  43666. A.listIsSuperselector_closure.prototype = {
  43667. call$1(complex1) {
  43668. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  43669. },
  43670. $signature: 15
  43671. };
  43672. A.listIsSuperselector__closure.prototype = {
  43673. call$1(complex2) {
  43674. return complex2.isSuperselector$1(this.complex1);
  43675. },
  43676. $signature: 15
  43677. };
  43678. A.complexIsSuperselector_closure.prototype = {
  43679. call$1($parent) {
  43680. return $parent.combinators.length > 1;
  43681. },
  43682. $signature: 47
  43683. };
  43684. A.complexIsSuperselector_closure0.prototype = {
  43685. call$1(component) {
  43686. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  43687. },
  43688. $signature: 47
  43689. };
  43690. A._compatibleWithPreviousCombinator_closure.prototype = {
  43691. call$1(component) {
  43692. var t1 = component.combinators,
  43693. t2 = A.IterableExtension_get_firstOrNull(t1);
  43694. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt)) {
  43695. t1 = A.IterableExtension_get_firstOrNull(t1);
  43696. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF);
  43697. } else
  43698. t1 = true;
  43699. return t1;
  43700. },
  43701. $signature: 47
  43702. };
  43703. A._selectorPseudoIsSuperselector_closure.prototype = {
  43704. call$1(selector2) {
  43705. return A.listIsSuperselector(this.selector1.components, selector2.components);
  43706. },
  43707. $signature: 67
  43708. };
  43709. A._selectorPseudoIsSuperselector_closure0.prototype = {
  43710. call$1(complex1) {
  43711. var t1, t2, t3;
  43712. if (complex1.leadingCombinators.length === 0) {
  43713. t1 = complex1.components;
  43714. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  43715. t3 = this.parents;
  43716. if (t3 != null)
  43717. B.JSArray_methods.addAll$1(t2, t3);
  43718. t3 = this.compound2;
  43719. t2.push(new A.ComplexSelectorComponent(t3, A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t3.span));
  43720. t2 = A.complexIsSuperselector(t1, t2);
  43721. t1 = t2;
  43722. } else
  43723. t1 = false;
  43724. return t1;
  43725. },
  43726. $signature: 15
  43727. };
  43728. A._selectorPseudoIsSuperselector_closure1.prototype = {
  43729. call$1(selector2) {
  43730. return A.listIsSuperselector(this.selector1.components, selector2.components);
  43731. },
  43732. $signature: 67
  43733. };
  43734. A._selectorPseudoIsSuperselector_closure2.prototype = {
  43735. call$1(selector2) {
  43736. return A.listIsSuperselector(this.selector1.components, selector2.components);
  43737. },
  43738. $signature: 67
  43739. };
  43740. A._selectorPseudoIsSuperselector_closure3.prototype = {
  43741. call$1(complex) {
  43742. if (complex.accept$1(B._IsBogusVisitor_true))
  43743. return false;
  43744. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  43745. },
  43746. $signature: 15
  43747. };
  43748. A._selectorPseudoIsSuperselector__closure.prototype = {
  43749. call$1(simple2) {
  43750. var selector2, _this = this;
  43751. if (simple2 instanceof A.TypeSelector)
  43752. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  43753. else if (simple2 instanceof A.IDSelector)
  43754. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  43755. else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
  43756. selector2 = simple2.selector;
  43757. if (selector2 == null)
  43758. return false;
  43759. return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  43760. } else
  43761. return false;
  43762. },
  43763. $signature: 13
  43764. };
  43765. A._selectorPseudoIsSuperselector___closure.prototype = {
  43766. call$1(simple1) {
  43767. var t1;
  43768. if (simple1 instanceof A.TypeSelector) {
  43769. t1 = this.simple2.name.$eq(0, simple1.name);
  43770. t1 = !t1;
  43771. } else
  43772. t1 = false;
  43773. return t1;
  43774. },
  43775. $signature: 13
  43776. };
  43777. A._selectorPseudoIsSuperselector___closure0.prototype = {
  43778. call$1(simple1) {
  43779. var t1;
  43780. if (simple1 instanceof A.IDSelector) {
  43781. t1 = simple1.name;
  43782. t1 = this.simple2.name !== t1;
  43783. } else
  43784. t1 = false;
  43785. return t1;
  43786. },
  43787. $signature: 13
  43788. };
  43789. A._selectorPseudoIsSuperselector_closure4.prototype = {
  43790. call$1(selector2) {
  43791. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  43792. return t1;
  43793. },
  43794. $signature: 67
  43795. };
  43796. A._selectorPseudoIsSuperselector_closure5.prototype = {
  43797. call$1(pseudo2) {
  43798. var t1, selector2;
  43799. if (!(pseudo2 instanceof A.PseudoSelector))
  43800. return false;
  43801. t1 = this.pseudo1;
  43802. if (pseudo2.name !== t1.name)
  43803. return false;
  43804. if (pseudo2.argument != t1.argument)
  43805. return false;
  43806. selector2 = pseudo2.selector;
  43807. if (selector2 == null)
  43808. return false;
  43809. return A.listIsSuperselector(this.selector1.components, selector2.components);
  43810. },
  43811. $signature: 13
  43812. };
  43813. A._selectorPseudoArgs_closure.prototype = {
  43814. call$1(pseudo) {
  43815. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  43816. },
  43817. $signature: 419
  43818. };
  43819. A._selectorPseudoArgs_closure0.prototype = {
  43820. call$1(pseudo) {
  43821. return pseudo.selector;
  43822. },
  43823. $signature: 427
  43824. };
  43825. A.MergedExtension.prototype = {
  43826. unmerge$0() {
  43827. var $async$self = this;
  43828. return A._makeSyncStarIterable(function() {
  43829. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  43830. return function $async$unmerge$0($async$errorCode, $async$result) {
  43831. if ($async$errorCode === 1) {
  43832. $async$currentError = $async$result;
  43833. $async$goto = $async$handler;
  43834. }
  43835. while (true)
  43836. switch ($async$goto) {
  43837. case 0:
  43838. // Function start
  43839. left = $async$self.left;
  43840. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  43841. break;
  43842. case 2:
  43843. // then
  43844. $async$goto = 5;
  43845. return A._IterationMarker_yieldStar(left.unmerge$0());
  43846. case 5:
  43847. // after yield
  43848. // goto join
  43849. $async$goto = 3;
  43850. break;
  43851. case 4:
  43852. // else
  43853. $async$goto = 6;
  43854. return left;
  43855. case 6:
  43856. // after yield
  43857. case 3:
  43858. // join
  43859. right = $async$self.right;
  43860. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  43861. break;
  43862. case 7:
  43863. // then
  43864. $async$goto = 10;
  43865. return A._IterationMarker_yieldStar(right.unmerge$0());
  43866. case 10:
  43867. // after yield
  43868. // goto join
  43869. $async$goto = 8;
  43870. break;
  43871. case 9:
  43872. // else
  43873. $async$goto = 11;
  43874. return right;
  43875. case 11:
  43876. // after yield
  43877. case 8:
  43878. // join
  43879. // implicit return
  43880. return A._IterationMarker_endOfIteration();
  43881. case 1:
  43882. // rethrow
  43883. return A._IterationMarker_uncaughtError($async$currentError);
  43884. }
  43885. };
  43886. }, type$.Extension);
  43887. }
  43888. };
  43889. A.ExtendMode.prototype = {
  43890. _enumToString$0() {
  43891. return "ExtendMode." + this._name;
  43892. },
  43893. toString$0(_) {
  43894. return this.name;
  43895. }
  43896. };
  43897. A.globalFunctions_closure.prototype = {
  43898. call$1($arguments) {
  43899. var t1 = J.getInterceptor$asx($arguments);
  43900. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  43901. },
  43902. $signature: 4
  43903. };
  43904. A.global_closure.prototype = {
  43905. call$1($arguments) {
  43906. return A._rgb("rgb", $arguments);
  43907. },
  43908. $signature: 4
  43909. };
  43910. A.global_closure0.prototype = {
  43911. call$1($arguments) {
  43912. return A._rgb("rgb", $arguments);
  43913. },
  43914. $signature: 4
  43915. };
  43916. A.global_closure1.prototype = {
  43917. call$1($arguments) {
  43918. return A._rgbTwoArg("rgb", $arguments);
  43919. },
  43920. $signature: 4
  43921. };
  43922. A.global_closure2.prototype = {
  43923. call$1($arguments) {
  43924. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  43925. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  43926. },
  43927. $signature: 4
  43928. };
  43929. A.global_closure3.prototype = {
  43930. call$1($arguments) {
  43931. return A._rgb("rgba", $arguments);
  43932. },
  43933. $signature: 4
  43934. };
  43935. A.global_closure4.prototype = {
  43936. call$1($arguments) {
  43937. return A._rgb("rgba", $arguments);
  43938. },
  43939. $signature: 4
  43940. };
  43941. A.global_closure5.prototype = {
  43942. call$1($arguments) {
  43943. return A._rgbTwoArg("rgba", $arguments);
  43944. },
  43945. $signature: 4
  43946. };
  43947. A.global_closure6.prototype = {
  43948. call$1($arguments) {
  43949. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  43950. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  43951. },
  43952. $signature: 4
  43953. };
  43954. A.global_closure7.prototype = {
  43955. call$1($arguments) {
  43956. var color, t2,
  43957. t1 = J.getInterceptor$asx($arguments),
  43958. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  43959. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  43960. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  43961. throw A.wrapException(string$.Only_oa);
  43962. return A._functionString("invert", t1.take$1($arguments, 1));
  43963. }
  43964. color = t1.$index($arguments, 0).assertColor$1("color");
  43965. t1 = color.get$red(color);
  43966. t2 = color.get$green(color);
  43967. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  43968. },
  43969. $signature: 4
  43970. };
  43971. A.global_closure8.prototype = {
  43972. call$1($arguments) {
  43973. return A._hsl("hsl", $arguments);
  43974. },
  43975. $signature: 4
  43976. };
  43977. A.global_closure9.prototype = {
  43978. call$1($arguments) {
  43979. return A._hsl("hsl", $arguments);
  43980. },
  43981. $signature: 4
  43982. };
  43983. A.global_closure10.prototype = {
  43984. call$1($arguments) {
  43985. var t1 = J.getInterceptor$asx($arguments);
  43986. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  43987. return A._functionString("hsl", $arguments);
  43988. else
  43989. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  43990. },
  43991. $signature: 16
  43992. };
  43993. A.global_closure11.prototype = {
  43994. call$1($arguments) {
  43995. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  43996. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  43997. },
  43998. $signature: 4
  43999. };
  44000. A.global_closure12.prototype = {
  44001. call$1($arguments) {
  44002. return A._hsl("hsla", $arguments);
  44003. },
  44004. $signature: 4
  44005. };
  44006. A.global_closure13.prototype = {
  44007. call$1($arguments) {
  44008. return A._hsl("hsla", $arguments);
  44009. },
  44010. $signature: 4
  44011. };
  44012. A.global_closure14.prototype = {
  44013. call$1($arguments) {
  44014. var t1 = J.getInterceptor$asx($arguments);
  44015. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  44016. return A._functionString("hsla", $arguments);
  44017. else
  44018. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  44019. },
  44020. $signature: 16
  44021. };
  44022. A.global_closure15.prototype = {
  44023. call$1($arguments) {
  44024. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  44025. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  44026. },
  44027. $signature: 4
  44028. };
  44029. A.global_closure16.prototype = {
  44030. call$1($arguments) {
  44031. var t1 = J.getInterceptor$asx($arguments);
  44032. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44033. return A._functionString("grayscale", $arguments);
  44034. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  44035. },
  44036. $signature: 4
  44037. };
  44038. A.global_closure17.prototype = {
  44039. call$1($arguments) {
  44040. var t1 = J.getInterceptor$asx($arguments),
  44041. color = t1.$index($arguments, 0).assertColor$1("color"),
  44042. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  44043. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  44044. },
  44045. $signature: 26
  44046. };
  44047. A.global_closure18.prototype = {
  44048. call$1($arguments) {
  44049. var t1 = J.getInterceptor$asx($arguments),
  44050. color = t1.$index($arguments, 0).assertColor$1("color"),
  44051. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44052. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44053. },
  44054. $signature: 26
  44055. };
  44056. A.global_closure19.prototype = {
  44057. call$1($arguments) {
  44058. var t1 = J.getInterceptor$asx($arguments),
  44059. color = t1.$index($arguments, 0).assertColor$1("color"),
  44060. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44061. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44062. },
  44063. $signature: 26
  44064. };
  44065. A.global_closure20.prototype = {
  44066. call$1($arguments) {
  44067. var t1 = J.getInterceptor$asx($arguments);
  44068. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44069. return A._functionString("saturate", $arguments);
  44070. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  44071. },
  44072. $signature: 16
  44073. };
  44074. A.global_closure21.prototype = {
  44075. call$1($arguments) {
  44076. var t1 = J.getInterceptor$asx($arguments),
  44077. color = t1.$index($arguments, 0).assertColor$1("color"),
  44078. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44079. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44080. },
  44081. $signature: 26
  44082. };
  44083. A.global_closure22.prototype = {
  44084. call$1($arguments) {
  44085. var t1 = J.getInterceptor$asx($arguments),
  44086. color = t1.$index($arguments, 0).assertColor$1("color"),
  44087. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  44088. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  44089. },
  44090. $signature: 26
  44091. };
  44092. A.global_closure23.prototype = {
  44093. call$1($arguments) {
  44094. var argument = J.$index$asx($arguments, 0);
  44095. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  44096. return A._functionString("alpha", $arguments);
  44097. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  44098. },
  44099. $signature: 4
  44100. };
  44101. A.global_closure24.prototype = {
  44102. call$1($arguments) {
  44103. var t1,
  44104. argList = J.$index$asx($arguments, 0).get$asList();
  44105. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  44106. return A._functionString("alpha", $arguments);
  44107. t1 = argList.length;
  44108. if (t1 === 0)
  44109. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  44110. else
  44111. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  44112. },
  44113. $signature: 16
  44114. };
  44115. A.global__closure.prototype = {
  44116. call$1(argument) {
  44117. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  44118. },
  44119. $signature: 73
  44120. };
  44121. A.global_closure25.prototype = {
  44122. call$1($arguments) {
  44123. var t1 = J.getInterceptor$asx($arguments);
  44124. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  44125. return A._functionString("opacity", $arguments);
  44126. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  44127. },
  44128. $signature: 4
  44129. };
  44130. A.module_closure0.prototype = {
  44131. call$1($arguments) {
  44132. var result, t2, color,
  44133. t1 = J.getInterceptor$asx($arguments),
  44134. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  44135. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44136. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  44137. throw A.wrapException(string$.Only_oa);
  44138. result = A._functionString("invert", t1.take$1($arguments, 1));
  44139. t1 = A.S(t1.$index($arguments, 0));
  44140. t2 = result.toString$0(0);
  44141. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_s4m);
  44142. return result;
  44143. }
  44144. color = t1.$index($arguments, 0).assertColor$1("color");
  44145. t1 = color.get$red(color);
  44146. t2 = color.get$green(color);
  44147. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  44148. },
  44149. $signature: 4
  44150. };
  44151. A.module_closure1.prototype = {
  44152. call$1($arguments) {
  44153. var result, t2,
  44154. t1 = J.getInterceptor$asx($arguments);
  44155. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44156. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  44157. t1 = A.S(t1.$index($arguments, 0));
  44158. t2 = result.toString$0(0);
  44159. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_s4m);
  44160. return result;
  44161. }
  44162. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  44163. },
  44164. $signature: 4
  44165. };
  44166. A.module_closure2.prototype = {
  44167. call$1($arguments) {
  44168. return A._hwb($arguments);
  44169. },
  44170. $signature: 4
  44171. };
  44172. A.module_closure3.prototype = {
  44173. call$1($arguments) {
  44174. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  44175. if (parsed instanceof A.SassString)
  44176. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  44177. else
  44178. return A._hwb(type$.List_Value._as(parsed));
  44179. },
  44180. $signature: 4
  44181. };
  44182. A.module_closure4.prototype = {
  44183. call$1($arguments) {
  44184. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44185. return A.SassNumber_SassNumber(t1.get$whiteness(t1), "%");
  44186. },
  44187. $signature: 11
  44188. };
  44189. A.module_closure5.prototype = {
  44190. call$1($arguments) {
  44191. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44192. return A.SassNumber_SassNumber(t1.get$blackness(t1), "%");
  44193. },
  44194. $signature: 11
  44195. };
  44196. A.module_closure6.prototype = {
  44197. call$1($arguments) {
  44198. var result, t1,
  44199. argument = J.$index$asx($arguments, 0);
  44200. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  44201. result = A._functionString("alpha", $arguments);
  44202. t1 = result.toString$0(0);
  44203. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  44204. return result;
  44205. }
  44206. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  44207. },
  44208. $signature: 4
  44209. };
  44210. A.module_closure7.prototype = {
  44211. call$1($arguments) {
  44212. var result,
  44213. t1 = J.getInterceptor$asx($arguments);
  44214. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  44215. result = A._functionString("alpha", $arguments);
  44216. t1 = result.toString$0(0);
  44217. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  44218. return result;
  44219. }
  44220. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  44221. },
  44222. $signature: 16
  44223. };
  44224. A.module__closure1.prototype = {
  44225. call$1(argument) {
  44226. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  44227. },
  44228. $signature: 73
  44229. };
  44230. A.module_closure8.prototype = {
  44231. call$1($arguments) {
  44232. var result, t2,
  44233. t1 = J.getInterceptor$asx($arguments);
  44234. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  44235. result = A._functionString("opacity", $arguments);
  44236. t1 = A.S(t1.$index($arguments, 0));
  44237. t2 = result.toString$0(0);
  44238. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_s4m);
  44239. return result;
  44240. }
  44241. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  44242. },
  44243. $signature: 4
  44244. };
  44245. A._red_closure.prototype = {
  44246. call$1($arguments) {
  44247. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44248. return A.SassNumber_SassNumber(t1.get$red(t1), null);
  44249. },
  44250. $signature: 11
  44251. };
  44252. A._green_closure.prototype = {
  44253. call$1($arguments) {
  44254. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44255. return A.SassNumber_SassNumber(t1.get$green(t1), null);
  44256. },
  44257. $signature: 11
  44258. };
  44259. A._blue_closure.prototype = {
  44260. call$1($arguments) {
  44261. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44262. return A.SassNumber_SassNumber(t1.get$blue(t1), null);
  44263. },
  44264. $signature: 11
  44265. };
  44266. A._mix_closure.prototype = {
  44267. call$1($arguments) {
  44268. var t1 = J.getInterceptor$asx($arguments);
  44269. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  44270. },
  44271. $signature: 26
  44272. };
  44273. A._hue_closure.prototype = {
  44274. call$1($arguments) {
  44275. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44276. return A.SassNumber_SassNumber(t1.get$hue(t1), "deg");
  44277. },
  44278. $signature: 11
  44279. };
  44280. A._saturation_closure.prototype = {
  44281. call$1($arguments) {
  44282. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44283. return A.SassNumber_SassNumber(t1.get$saturation(t1), "%");
  44284. },
  44285. $signature: 11
  44286. };
  44287. A._lightness_closure.prototype = {
  44288. call$1($arguments) {
  44289. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  44290. return A.SassNumber_SassNumber(t1.get$lightness(t1), "%");
  44291. },
  44292. $signature: 11
  44293. };
  44294. A._complement_closure.prototype = {
  44295. call$1($arguments) {
  44296. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  44297. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  44298. },
  44299. $signature: 26
  44300. };
  44301. A._adjust_closure.prototype = {
  44302. call$1($arguments) {
  44303. return A._updateComponents($arguments, true, false, false);
  44304. },
  44305. $signature: 26
  44306. };
  44307. A._scale_closure.prototype = {
  44308. call$1($arguments) {
  44309. return A._updateComponents($arguments, false, false, true);
  44310. },
  44311. $signature: 26
  44312. };
  44313. A._change_closure.prototype = {
  44314. call$1($arguments) {
  44315. return A._updateComponents($arguments, false, true, false);
  44316. },
  44317. $signature: 26
  44318. };
  44319. A._ieHexStr_closure.prototype = {
  44320. call$1($arguments) {
  44321. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  44322. t1 = new A._ieHexStr_closure_hexString();
  44323. return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
  44324. },
  44325. $signature: 16
  44326. };
  44327. A._ieHexStr_closure_hexString.prototype = {
  44328. call$1(component) {
  44329. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  44330. },
  44331. $signature: 248
  44332. };
  44333. A._updateComponents_getParam.prototype = {
  44334. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  44335. var t2, t3, t4, _this = this,
  44336. t1 = _this.keywords.remove$1(0, $name),
  44337. number = t1 == null ? null : t1.assertNumber$1($name);
  44338. if (number == null)
  44339. return null;
  44340. t1 = _this.scale;
  44341. t2 = !t1;
  44342. if (t2 && checkUnitless)
  44343. if (number.get$hasUnits()) {
  44344. t3 = number.get$unitString();
  44345. t4 = number.unitSuggestion$1($name);
  44346. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_8WR);
  44347. }
  44348. if (t2 && checkPercent)
  44349. A._checkPercent(number, $name);
  44350. if (!t2 || assertPercent)
  44351. number.assertUnit$2("%", $name);
  44352. if (t1)
  44353. max = 100;
  44354. if (!t2 || assertPercent)
  44355. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  44356. else {
  44357. t1 = _this.change ? 0 : -max;
  44358. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  44359. }
  44360. return t1;
  44361. },
  44362. call$2($name, max) {
  44363. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  44364. },
  44365. call$3$checkUnitless($name, max, checkUnitless) {
  44366. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  44367. },
  44368. call$3$checkPercent($name, max, checkPercent) {
  44369. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  44370. },
  44371. call$3$assertPercent($name, max, assertPercent) {
  44372. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  44373. },
  44374. $signature: 249
  44375. };
  44376. A._updateComponents_closure.prototype = {
  44377. call$1(hue) {
  44378. return A._angleValue(hue, "hue");
  44379. },
  44380. $signature: 93
  44381. };
  44382. A._updateComponents_closure0.prototype = {
  44383. call$1($name) {
  44384. return "$" + $name;
  44385. },
  44386. $signature: 5
  44387. };
  44388. A._updateComponents_updateValue.prototype = {
  44389. call$3(current, param, max) {
  44390. var t1;
  44391. if (param == null)
  44392. return current;
  44393. if (this.change)
  44394. return param;
  44395. if (this.adjust)
  44396. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  44397. t1 = param > 0 ? max - current : current;
  44398. return current + t1 * (param / 100);
  44399. },
  44400. $signature: 176
  44401. };
  44402. A._updateComponents_updateRgb.prototype = {
  44403. call$2(current, param) {
  44404. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  44405. },
  44406. $signature: 185
  44407. };
  44408. A._functionString_closure.prototype = {
  44409. call$1(argument) {
  44410. return A.serializeValue(argument, false, true);
  44411. },
  44412. $signature: 512
  44413. };
  44414. A._removedColorFunction_closure.prototype = {
  44415. call$1($arguments) {
  44416. var t1 = this.name,
  44417. t2 = J.getInterceptor$asx($arguments),
  44418. t3 = A.S(t2.$index($arguments, 0)),
  44419. t4 = this.negative ? "-" : "";
  44420. 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));
  44421. },
  44422. $signature: 313
  44423. };
  44424. A._rgb_closure.prototype = {
  44425. call$1(alpha) {
  44426. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44427. },
  44428. $signature: 93
  44429. };
  44430. A._hsl_closure.prototype = {
  44431. call$1(alpha) {
  44432. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44433. },
  44434. $signature: 93
  44435. };
  44436. A._hwb_closure.prototype = {
  44437. call$1(alpha) {
  44438. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  44439. },
  44440. $signature: 93
  44441. };
  44442. A._parseChannels_closure.prototype = {
  44443. call$1(value) {
  44444. return value.get$isVar();
  44445. },
  44446. $signature: 73
  44447. };
  44448. A._length_closure0.prototype = {
  44449. call$1($arguments) {
  44450. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  44451. },
  44452. $signature: 11
  44453. };
  44454. A._nth_closure.prototype = {
  44455. call$1($arguments) {
  44456. var t1 = J.getInterceptor$asx($arguments),
  44457. list = t1.$index($arguments, 0),
  44458. index = t1.$index($arguments, 1);
  44459. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  44460. },
  44461. $signature: 4
  44462. };
  44463. A._setNth_closure.prototype = {
  44464. call$1($arguments) {
  44465. var t1 = J.getInterceptor$asx($arguments),
  44466. list = t1.$index($arguments, 0),
  44467. index = t1.$index($arguments, 1),
  44468. value = t1.$index($arguments, 2),
  44469. t2 = list.get$asList(),
  44470. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  44471. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  44472. return t1.$index($arguments, 0).withListContents$1(newList);
  44473. },
  44474. $signature: 22
  44475. };
  44476. A._join_closure.prototype = {
  44477. call$1($arguments) {
  44478. var separator, bracketed,
  44479. t1 = J.getInterceptor$asx($arguments),
  44480. list1 = t1.$index($arguments, 0),
  44481. list2 = t1.$index($arguments, 1),
  44482. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  44483. bracketedParam = t1.$index($arguments, 3);
  44484. t1 = separatorParam._string$_text;
  44485. if (t1 === "auto")
  44486. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided)
  44487. separator = list1.get$separator(list1);
  44488. else
  44489. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided ? list2.get$separator(list2) : B.ListSeparator_EVt;
  44490. else if (t1 === "space")
  44491. separator = B.ListSeparator_EVt;
  44492. else if (t1 === "comma")
  44493. separator = B.ListSeparator_rXA;
  44494. else {
  44495. if (t1 !== "slash")
  44496. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  44497. separator = B.ListSeparator_zg9;
  44498. }
  44499. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  44500. t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
  44501. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  44502. return A.SassList$(t1, separator, bracketed);
  44503. },
  44504. $signature: 22
  44505. };
  44506. A._append_closure0.prototype = {
  44507. call$1($arguments) {
  44508. var separator,
  44509. t1 = J.getInterceptor$asx($arguments),
  44510. list = t1.$index($arguments, 0),
  44511. value = t1.$index($arguments, 1);
  44512. t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  44513. if (t1 === "auto")
  44514. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  44515. else if (t1 === "space")
  44516. separator = B.ListSeparator_EVt;
  44517. else if (t1 === "comma")
  44518. separator = B.ListSeparator_rXA;
  44519. else {
  44520. if (t1 !== "slash")
  44521. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  44522. separator = B.ListSeparator_zg9;
  44523. }
  44524. t1 = A.List_List$of(list.get$asList(), true, type$.Value);
  44525. t1.push(value);
  44526. return list.withListContents$2$separator(t1, separator);
  44527. },
  44528. $signature: 22
  44529. };
  44530. A._zip_closure.prototype = {
  44531. call$1($arguments) {
  44532. var results, result, _box_0 = {},
  44533. t1 = J.$index$asx($arguments, 0).get$asList(),
  44534. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  44535. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  44536. if (lists.length === 0)
  44537. return B.SassList_Sof;
  44538. _box_0.i = 0;
  44539. results = A._setArrayType([], type$.JSArray_SassList);
  44540. 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));) {
  44541. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  44542. result.fixed$length = Array;
  44543. result.immutable$list = Array;
  44544. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  44545. ++_box_0.i;
  44546. }
  44547. return A.SassList$(results, B.ListSeparator_rXA, false);
  44548. },
  44549. $signature: 22
  44550. };
  44551. A._zip__closure.prototype = {
  44552. call$1(list) {
  44553. return list.get$asList();
  44554. },
  44555. $signature: 395
  44556. };
  44557. A._zip__closure0.prototype = {
  44558. call$1(list) {
  44559. return this._box_0.i !== J.get$length$asx(list);
  44560. },
  44561. $signature: 439
  44562. };
  44563. A._zip__closure1.prototype = {
  44564. call$1(list) {
  44565. return J.$index$asx(list, this._box_0.i);
  44566. },
  44567. $signature: 4
  44568. };
  44569. A._index_closure0.prototype = {
  44570. call$1($arguments) {
  44571. var t1 = J.getInterceptor$asx($arguments),
  44572. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  44573. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  44574. },
  44575. $signature: 4
  44576. };
  44577. A._separator_closure.prototype = {
  44578. call$1($arguments) {
  44579. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  44580. case B.ListSeparator_rXA:
  44581. return new A.SassString("comma", false);
  44582. case B.ListSeparator_zg9:
  44583. return new A.SassString("slash", false);
  44584. default:
  44585. return new A.SassString("space", false);
  44586. }
  44587. },
  44588. $signature: 16
  44589. };
  44590. A._isBracketed_closure.prototype = {
  44591. call$1($arguments) {
  44592. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  44593. },
  44594. $signature: 19
  44595. };
  44596. A._slash_closure.prototype = {
  44597. call$1($arguments) {
  44598. var list = J.$index$asx($arguments, 0).get$asList();
  44599. if (list.length < 2)
  44600. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  44601. return A.SassList$(list, B.ListSeparator_zg9, false);
  44602. },
  44603. $signature: 22
  44604. };
  44605. A._get_closure.prototype = {
  44606. call$1($arguments) {
  44607. var value,
  44608. t1 = J.getInterceptor$asx($arguments),
  44609. map = t1.$index($arguments, 0).assertMap$1("map"),
  44610. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  44611. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  44612. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  44613. value = map._map$_contents.$index(0, t1.get$current(t1));
  44614. if (!(value instanceof A.SassMap))
  44615. return B.C__SassNull;
  44616. }
  44617. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  44618. return t1 == null ? B.C__SassNull : t1;
  44619. },
  44620. $signature: 4
  44621. };
  44622. A._set_closure.prototype = {
  44623. call$1($arguments) {
  44624. var t1 = J.getInterceptor$asx($arguments);
  44625. 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);
  44626. },
  44627. $signature: 4
  44628. };
  44629. A._set__closure0.prototype = {
  44630. call$1(_) {
  44631. return J.$index$asx(this.$arguments, 2);
  44632. },
  44633. $signature: 36
  44634. };
  44635. A._set_closure0.prototype = {
  44636. call$1($arguments) {
  44637. var t1 = J.getInterceptor$asx($arguments),
  44638. map = t1.$index($arguments, 0).assertMap$1("map"),
  44639. args = t1.$index($arguments, 1).get$asList();
  44640. t1 = args.length;
  44641. if (t1 === 0)
  44642. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  44643. else if (t1 === 1)
  44644. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  44645. return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
  44646. },
  44647. $signature: 4
  44648. };
  44649. A._set__closure.prototype = {
  44650. call$1(_) {
  44651. return B.JSArray_methods.get$last(this.args);
  44652. },
  44653. $signature: 36
  44654. };
  44655. A._merge_closure.prototype = {
  44656. call$1($arguments) {
  44657. var t2,
  44658. t1 = J.getInterceptor$asx($arguments),
  44659. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  44660. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  44661. t1 = type$.Value;
  44662. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  44663. t2.addAll$1(0, map2._map$_contents);
  44664. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  44665. },
  44666. $signature: 37
  44667. };
  44668. A._merge_closure0.prototype = {
  44669. call$1($arguments) {
  44670. var map2,
  44671. t1 = J.getInterceptor$asx($arguments),
  44672. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  44673. args = t1.$index($arguments, 1).get$asList();
  44674. t1 = args.length;
  44675. if (t1 === 0)
  44676. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  44677. else if (t1 === 1)
  44678. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", null));
  44679. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  44680. return A._modify(map1, A.IterableExtension_get_exceptLast(args), new A._merge__closure(map2), true);
  44681. },
  44682. $signature: 4
  44683. };
  44684. A._merge__closure.prototype = {
  44685. call$1(oldValue) {
  44686. var t1, t2,
  44687. nestedMap = oldValue.tryMap$0();
  44688. if (nestedMap == null)
  44689. return this.map2;
  44690. t1 = type$.Value;
  44691. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  44692. t2.addAll$1(0, this.map2._map$_contents);
  44693. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  44694. },
  44695. $signature: 519
  44696. };
  44697. A._deepMerge_closure.prototype = {
  44698. call$1($arguments) {
  44699. var t1 = J.getInterceptor$asx($arguments);
  44700. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  44701. },
  44702. $signature: 37
  44703. };
  44704. A._deepRemove_closure.prototype = {
  44705. call$1($arguments) {
  44706. var t1 = J.getInterceptor$asx($arguments),
  44707. map = t1.$index($arguments, 0).assertMap$1("map"),
  44708. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  44709. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  44710. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  44711. },
  44712. $signature: 4
  44713. };
  44714. A._deepRemove__closure.prototype = {
  44715. call$1(value) {
  44716. var t1, t2,
  44717. nestedMap = value.tryMap$0();
  44718. if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  44719. t1 = type$.Value;
  44720. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  44721. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  44722. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  44723. }
  44724. return value;
  44725. },
  44726. $signature: 36
  44727. };
  44728. A._remove_closure.prototype = {
  44729. call$1($arguments) {
  44730. return J.$index$asx($arguments, 0).assertMap$1("map");
  44731. },
  44732. $signature: 37
  44733. };
  44734. A._remove_closure0.prototype = {
  44735. call$1($arguments) {
  44736. var mutableMap, t3, _i,
  44737. t1 = J.getInterceptor$asx($arguments),
  44738. map = t1.$index($arguments, 0).assertMap$1("map"),
  44739. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  44740. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  44741. t1 = type$.Value;
  44742. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  44743. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  44744. mutableMap.remove$1(0, t2[_i]);
  44745. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  44746. },
  44747. $signature: 37
  44748. };
  44749. A._keys_closure.prototype = {
  44750. call$1($arguments) {
  44751. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  44752. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  44753. },
  44754. $signature: 22
  44755. };
  44756. A._values_closure.prototype = {
  44757. call$1($arguments) {
  44758. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  44759. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  44760. },
  44761. $signature: 22
  44762. };
  44763. A._hasKey_closure.prototype = {
  44764. call$1($arguments) {
  44765. var value,
  44766. t1 = J.getInterceptor$asx($arguments),
  44767. map = t1.$index($arguments, 0).assertMap$1("map"),
  44768. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  44769. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  44770. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  44771. value = map._map$_contents.$index(0, t1.get$current(t1));
  44772. if (!(value instanceof A.SassMap))
  44773. return B.SassBoolean_false;
  44774. }
  44775. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  44776. },
  44777. $signature: 19
  44778. };
  44779. A._modify_modifyNestedMap.prototype = {
  44780. call$1(map) {
  44781. var nestedMap, _this = this,
  44782. t1 = type$.Value,
  44783. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  44784. t2 = _this.keyIterator,
  44785. key = t2.get$current(t2);
  44786. if (!t2.moveNext$0()) {
  44787. t2 = mutableMap.$index(0, key);
  44788. if (t2 == null)
  44789. t2 = B.C__SassNull;
  44790. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  44791. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  44792. }
  44793. t2 = mutableMap.$index(0, key);
  44794. nestedMap = t2 == null ? null : t2.tryMap$0();
  44795. t2 = nestedMap == null;
  44796. if (t2 && !_this.addNesting)
  44797. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  44798. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  44799. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  44800. },
  44801. $signature: 550
  44802. };
  44803. A._deepMergeImpl_closure.prototype = {
  44804. call$2(key, value) {
  44805. var valueMap, merged,
  44806. t1 = this.result,
  44807. t2 = t1.$index(0, key),
  44808. resultMap = t2 == null ? null : t2.tryMap$0();
  44809. if (resultMap == null)
  44810. t1.$indexSet(0, key, value);
  44811. else {
  44812. valueMap = value.tryMap$0();
  44813. if (valueMap != null) {
  44814. merged = A._deepMergeImpl(resultMap, valueMap);
  44815. if (merged === resultMap)
  44816. return;
  44817. t1.$indexSet(0, key, merged);
  44818. } else
  44819. t1.$indexSet(0, key, value);
  44820. }
  44821. },
  44822. $signature: 53
  44823. };
  44824. A._ceil_closure.prototype = {
  44825. call$1(value) {
  44826. return B.JSNumber_methods.ceil$0(value);
  44827. },
  44828. $signature: 33
  44829. };
  44830. A._clamp_closure.prototype = {
  44831. call$1($arguments) {
  44832. var t1 = J.getInterceptor$asx($arguments),
  44833. min = t1.$index($arguments, 0).assertNumber$1("min"),
  44834. number = t1.$index($arguments, 1).assertNumber$1("number"),
  44835. max = t1.$index($arguments, 2).assertNumber$1("max");
  44836. number.convertValueToMatch$3(min, "number", "min");
  44837. max.convertValueToMatch$3(min, "max", "min");
  44838. if (min.greaterThanOrEquals$1(max).value)
  44839. return min;
  44840. if (min.greaterThanOrEquals$1(number).value)
  44841. return min;
  44842. if (number.greaterThanOrEquals$1(max).value)
  44843. return max;
  44844. return number;
  44845. },
  44846. $signature: 11
  44847. };
  44848. A._floor_closure.prototype = {
  44849. call$1(value) {
  44850. return B.JSNumber_methods.floor$0(value);
  44851. },
  44852. $signature: 33
  44853. };
  44854. A._max_closure.prototype = {
  44855. call$1($arguments) {
  44856. var t1, t2, max, _i, number;
  44857. 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) {
  44858. number = t1[_i].assertNumber$0();
  44859. if (max == null || max.lessThan$1(number).value)
  44860. max = number;
  44861. }
  44862. if (max != null)
  44863. return max;
  44864. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  44865. },
  44866. $signature: 11
  44867. };
  44868. A._min_closure.prototype = {
  44869. call$1($arguments) {
  44870. var t1, t2, min, _i, number;
  44871. 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) {
  44872. number = t1[_i].assertNumber$0();
  44873. if (min == null || min.greaterThan$1(number).value)
  44874. min = number;
  44875. }
  44876. if (min != null)
  44877. return min;
  44878. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  44879. },
  44880. $signature: 11
  44881. };
  44882. A._round_closure.prototype = {
  44883. call$1(number) {
  44884. return B.JSNumber_methods.round$0(number);
  44885. },
  44886. $signature: 33
  44887. };
  44888. A._abs_closure.prototype = {
  44889. call$1(value) {
  44890. return Math.abs(value);
  44891. },
  44892. $signature: 33
  44893. };
  44894. A._hypot_closure.prototype = {
  44895. call$1($arguments) {
  44896. var subtotal, i, i0, t3, t4,
  44897. t1 = J.$index$asx($arguments, 0).get$asList(),
  44898. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  44899. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  44900. t1 = numbers.length;
  44901. if (t1 === 0)
  44902. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  44903. for (subtotal = 0, i = 0; i < t1; i = i0) {
  44904. i0 = i + 1;
  44905. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  44906. }
  44907. t1 = Math.sqrt(subtotal);
  44908. t2 = numbers[0];
  44909. t3 = J.getInterceptor$x(t2);
  44910. t4 = t3.get$numeratorUnits(t2);
  44911. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  44912. },
  44913. $signature: 11
  44914. };
  44915. A._hypot__closure.prototype = {
  44916. call$1(argument) {
  44917. return argument.assertNumber$0();
  44918. },
  44919. $signature: 268
  44920. };
  44921. A._log_closure.prototype = {
  44922. call$1($arguments) {
  44923. var base,
  44924. _s18_ = " to have no units.",
  44925. _null = null,
  44926. t1 = J.getInterceptor$asx($arguments),
  44927. number = t1.$index($arguments, 0).assertNumber$1("number");
  44928. if (number.get$hasUnits())
  44929. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  44930. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  44931. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  44932. base = t1.$index($arguments, 1).assertNumber$1("base");
  44933. if (base.get$hasUnits())
  44934. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  44935. else
  44936. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  44937. },
  44938. $signature: 11
  44939. };
  44940. A._pow_closure.prototype = {
  44941. call$1($arguments) {
  44942. var _s18_ = " to have no units.",
  44943. t1 = J.getInterceptor$asx($arguments),
  44944. base = t1.$index($arguments, 0).assertNumber$1("base"),
  44945. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  44946. if (base.get$hasUnits())
  44947. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, null));
  44948. else if (exponent.get$hasUnits())
  44949. throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  44950. else
  44951. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  44952. },
  44953. $signature: 11
  44954. };
  44955. A._sqrt_closure.prototype = {
  44956. call$1($arguments) {
  44957. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44958. if (number.get$hasUnits())
  44959. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44960. else
  44961. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  44962. },
  44963. $signature: 11
  44964. };
  44965. A._acos_closure.prototype = {
  44966. call$1($arguments) {
  44967. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44968. if (number.get$hasUnits())
  44969. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44970. else
  44971. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44972. },
  44973. $signature: 11
  44974. };
  44975. A._asin_closure.prototype = {
  44976. call$1($arguments) {
  44977. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44978. if (number.get$hasUnits())
  44979. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44980. else
  44981. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44982. },
  44983. $signature: 11
  44984. };
  44985. A._atan_closure.prototype = {
  44986. call$1($arguments) {
  44987. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44988. if (number.get$hasUnits())
  44989. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44990. else
  44991. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44992. },
  44993. $signature: 11
  44994. };
  44995. A._atan2_closure.prototype = {
  44996. call$1($arguments) {
  44997. var t1 = J.getInterceptor$asx($arguments),
  44998. y = t1.$index($arguments, 0).assertNumber$1("y");
  44999. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  45000. },
  45001. $signature: 11
  45002. };
  45003. A._cos_closure.prototype = {
  45004. call$1($arguments) {
  45005. return A.SassNumber_SassNumber(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45006. },
  45007. $signature: 11
  45008. };
  45009. A._sin_closure.prototype = {
  45010. call$1($arguments) {
  45011. return A.SassNumber_SassNumber(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45012. },
  45013. $signature: 11
  45014. };
  45015. A._tan_closure.prototype = {
  45016. call$1($arguments) {
  45017. return A.SassNumber_SassNumber(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  45018. },
  45019. $signature: 11
  45020. };
  45021. A._compatible_closure.prototype = {
  45022. call$1($arguments) {
  45023. var t1 = J.getInterceptor$asx($arguments);
  45024. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  45025. },
  45026. $signature: 19
  45027. };
  45028. A._isUnitless_closure.prototype = {
  45029. call$1($arguments) {
  45030. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  45031. },
  45032. $signature: 19
  45033. };
  45034. A._unit_closure.prototype = {
  45035. call$1($arguments) {
  45036. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  45037. },
  45038. $signature: 16
  45039. };
  45040. A._percentage_closure.prototype = {
  45041. call$1($arguments) {
  45042. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  45043. number.assertNoUnits$1("number");
  45044. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  45045. },
  45046. $signature: 11
  45047. };
  45048. A._randomFunction_closure.prototype = {
  45049. call$1($arguments) {
  45050. var limit, t2, t3, t4, limitScalar,
  45051. t1 = J.getInterceptor$asx($arguments);
  45052. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  45053. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  45054. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  45055. if (limit.get$hasUnits()) {
  45056. t1 = limit.toString$0(0);
  45057. t2 = limit.get$unitString();
  45058. t3 = limit.get$unitString();
  45059. t4 = limit.get$unitString();
  45060. A.EvaluationContext_current().warn$2(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, B.Deprecation_8WR);
  45061. }
  45062. limitScalar = limit.assertInt$1("limit");
  45063. if (limitScalar < 1)
  45064. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  45065. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  45066. },
  45067. $signature: 11
  45068. };
  45069. A._div_closure.prototype = {
  45070. call$1($arguments) {
  45071. var t1 = J.getInterceptor$asx($arguments),
  45072. number1 = t1.$index($arguments, 0),
  45073. number2 = t1.$index($arguments, 1);
  45074. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber)) {
  45075. t1 = A.EvaluationContext_current();
  45076. t1.warn$2(0, string$.math_d, null);
  45077. }
  45078. return number1.dividedBy$1(number2);
  45079. },
  45080. $signature: 4
  45081. };
  45082. A._numberFunction_closure.prototype = {
  45083. call$1($arguments) {
  45084. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  45085. t1 = this.transform.call$1(number._number$_value),
  45086. t2 = number.get$numeratorUnits(number);
  45087. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  45088. },
  45089. $signature: 11
  45090. };
  45091. A.global_closure26.prototype = {
  45092. call$1($arguments) {
  45093. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  45094. },
  45095. $signature: 19
  45096. };
  45097. A.global_closure27.prototype = {
  45098. call$1($arguments) {
  45099. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  45100. },
  45101. $signature: 16
  45102. };
  45103. A.global_closure28.prototype = {
  45104. call$1($arguments) {
  45105. var value = J.$index$asx($arguments, 0);
  45106. if (value instanceof A.SassArgumentList)
  45107. return new A.SassString("arglist", false);
  45108. if (value instanceof A.SassBoolean)
  45109. return new A.SassString("bool", false);
  45110. if (value instanceof A.SassColor)
  45111. return new A.SassString("color", false);
  45112. if (value instanceof A.SassList)
  45113. return new A.SassString("list", false);
  45114. if (value instanceof A.SassMap)
  45115. return new A.SassString("map", false);
  45116. if (value.$eq(0, B.C__SassNull))
  45117. return new A.SassString("null", false);
  45118. if (value instanceof A.SassNumber)
  45119. return new A.SassString("number", false);
  45120. if (value instanceof A.SassFunction)
  45121. return new A.SassString("function", false);
  45122. if (value instanceof A.SassCalculation)
  45123. return new A.SassString("calculation", false);
  45124. return new A.SassString("string", false);
  45125. },
  45126. $signature: 16
  45127. };
  45128. A.global_closure29.prototype = {
  45129. call$1($arguments) {
  45130. var t1, t2, t3, t4,
  45131. argumentList = J.$index$asx($arguments, 0);
  45132. if (argumentList instanceof A.SassArgumentList) {
  45133. t1 = type$.Value;
  45134. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  45135. for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  45136. t4 = t3.get$current(t3);
  45137. t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
  45138. }
  45139. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  45140. } else
  45141. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  45142. },
  45143. $signature: 37
  45144. };
  45145. A.local_closure.prototype = {
  45146. call$1($arguments) {
  45147. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  45148. },
  45149. $signature: 16
  45150. };
  45151. A.local_closure0.prototype = {
  45152. call$1($arguments) {
  45153. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  45154. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  45155. },
  45156. $signature: 22
  45157. };
  45158. A.local__closure.prototype = {
  45159. call$1(argument) {
  45160. if (argument instanceof A.Value)
  45161. return argument;
  45162. return new A.SassString(J.toString$0$(argument), false);
  45163. },
  45164. $signature: 291
  45165. };
  45166. A._nest_closure.prototype = {
  45167. call$1($arguments) {
  45168. var t1 = {},
  45169. selectors = J.$index$asx($arguments, 0).get$asList();
  45170. if (selectors.length === 0)
  45171. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  45172. t1.first = true;
  45173. 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();
  45174. },
  45175. $signature: 22
  45176. };
  45177. A._nest__closure.prototype = {
  45178. call$1(selector) {
  45179. var t1 = this._box_0,
  45180. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  45181. t1.first = false;
  45182. return result;
  45183. },
  45184. $signature: 140
  45185. };
  45186. A._nest__closure0.prototype = {
  45187. call$2($parent, child) {
  45188. return child.resolveParentSelectors$1($parent);
  45189. },
  45190. $signature: 141
  45191. };
  45192. A._append_closure.prototype = {
  45193. call$1($arguments) {
  45194. var selectors = J.$index$asx($arguments, 0).get$asList();
  45195. if (selectors.length === 0)
  45196. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  45197. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0(A.EvaluationContext_current().get$currentCallableSpan())).get$asSassList();
  45198. },
  45199. $signature: 22
  45200. };
  45201. A._append__closure.prototype = {
  45202. call$1(selector) {
  45203. return A.SassApiValue_assertSelector(selector, false, null);
  45204. },
  45205. $signature: 140
  45206. };
  45207. A._append__closure0.prototype = {
  45208. call$2($parent, child) {
  45209. var t1 = child.components,
  45210. t2 = this.span;
  45211. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), t2).resolveParentSelectors$1($parent);
  45212. },
  45213. $signature: 141
  45214. };
  45215. A._append___closure.prototype = {
  45216. call$1(complex) {
  45217. var t1, component, newCompound, t2, t3;
  45218. if (complex.leadingCombinators.length !== 0)
  45219. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  45220. t1 = complex.components;
  45221. component = B.JSArray_methods.get$first(t1);
  45222. newCompound = A._prependParent(component.selector);
  45223. if (newCompound == null)
  45224. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  45225. t2 = this.span;
  45226. t3 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t2)], type$.JSArray_ComplexSelectorComponent);
  45227. B.JSArray_methods.addAll$1(t3, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  45228. return A.ComplexSelector$(B.List_empty1, t3, t2, false);
  45229. },
  45230. $signature: 57
  45231. };
  45232. A._extend_closure.prototype = {
  45233. call$1($arguments) {
  45234. var target, source,
  45235. _s8_ = "selector",
  45236. _s8_0 = "extendee",
  45237. _s8_1 = "extender",
  45238. t1 = J.getInterceptor$asx($arguments),
  45239. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  45240. selector.assertNotBogus$1$name(_s8_);
  45241. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  45242. target.assertNotBogus$1$name(_s8_0);
  45243. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  45244. source.assertNotBogus$1$name(_s8_1);
  45245. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  45246. },
  45247. $signature: 22
  45248. };
  45249. A._replace_closure.prototype = {
  45250. call$1($arguments) {
  45251. var target, source,
  45252. _s8_ = "selector",
  45253. _s8_0 = "original",
  45254. _s11_ = "replacement",
  45255. t1 = J.getInterceptor$asx($arguments),
  45256. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  45257. selector.assertNotBogus$1$name(_s8_);
  45258. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  45259. target.assertNotBogus$1$name(_s8_0);
  45260. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  45261. source.assertNotBogus$1$name(_s11_);
  45262. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  45263. },
  45264. $signature: 22
  45265. };
  45266. A._unify_closure.prototype = {
  45267. call$1($arguments) {
  45268. var selector2, result,
  45269. _s9_ = "selector1",
  45270. _s9_0 = "selector2",
  45271. t1 = J.getInterceptor$asx($arguments),
  45272. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  45273. selector1.assertNotBogus$1$name(_s9_);
  45274. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  45275. selector2.assertNotBogus$1$name(_s9_0);
  45276. result = selector1.unify$1(selector2);
  45277. return result == null ? B.C__SassNull : result.get$asSassList();
  45278. },
  45279. $signature: 4
  45280. };
  45281. A._isSuperselector_closure.prototype = {
  45282. call$1($arguments) {
  45283. var selector2,
  45284. t1 = J.getInterceptor$asx($arguments),
  45285. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  45286. selector1.assertNotBogus$1$name("super");
  45287. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  45288. selector2.assertNotBogus$1$name("sub");
  45289. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  45290. },
  45291. $signature: 19
  45292. };
  45293. A._simpleSelectors_closure.prototype = {
  45294. call$1($arguments) {
  45295. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  45296. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  45297. },
  45298. $signature: 22
  45299. };
  45300. A._simpleSelectors__closure.prototype = {
  45301. call$1(simple) {
  45302. return new A.SassString(A.serializeSelector(simple, true), false);
  45303. },
  45304. $signature: 370
  45305. };
  45306. A._parse_closure.prototype = {
  45307. call$1($arguments) {
  45308. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  45309. },
  45310. $signature: 22
  45311. };
  45312. A.module_closure.prototype = {
  45313. call$1($arguments) {
  45314. var limit, t2, chunks, i, lastEnd, match, t3,
  45315. t1 = J.getInterceptor$asx($arguments),
  45316. string = t1.$index($arguments, 0).assertString$1("string"),
  45317. separator = t1.$index($arguments, 1).assertString$1("separator");
  45318. t1 = t1.$index($arguments, 2).get$realNull();
  45319. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  45320. if (limit != null && limit < 1)
  45321. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  45322. t1 = string._string$_text;
  45323. if (t1.length === 0)
  45324. return B.SassList_Sof0;
  45325. else {
  45326. t2 = separator._string$_text;
  45327. if (t2.length === 0)
  45328. 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_rXA, true);
  45329. }
  45330. chunks = A._setArrayType([], type$.JSArray_String);
  45331. 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();) {
  45332. match = t2.__js_helper$_current;
  45333. t3 = match.start;
  45334. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  45335. lastEnd = t3 + match.pattern.length;
  45336. ++i;
  45337. if (i === limit)
  45338. break;
  45339. }
  45340. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  45341. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_rXA, true);
  45342. },
  45343. $signature: 22
  45344. };
  45345. A.module__closure.prototype = {
  45346. call$1(rune) {
  45347. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  45348. },
  45349. $signature: 380
  45350. };
  45351. A.module__closure0.prototype = {
  45352. call$1(chunk) {
  45353. return new A.SassString(chunk, this.string._hasQuotes);
  45354. },
  45355. $signature: 381
  45356. };
  45357. A._unquote_closure.prototype = {
  45358. call$1($arguments) {
  45359. var string = J.$index$asx($arguments, 0).assertString$1("string");
  45360. if (!string._hasQuotes)
  45361. return string;
  45362. return new A.SassString(string._string$_text, false);
  45363. },
  45364. $signature: 16
  45365. };
  45366. A._quote_closure.prototype = {
  45367. call$1($arguments) {
  45368. var string = J.$index$asx($arguments, 0).assertString$1("string");
  45369. if (string._hasQuotes)
  45370. return string;
  45371. return new A.SassString(string._string$_text, true);
  45372. },
  45373. $signature: 16
  45374. };
  45375. A._length_closure.prototype = {
  45376. call$1($arguments) {
  45377. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  45378. },
  45379. $signature: 11
  45380. };
  45381. A._insert_closure.prototype = {
  45382. call$1($arguments) {
  45383. var indexInt, codeUnitIndex, _s5_ = "index",
  45384. t1 = J.getInterceptor$asx($arguments),
  45385. string = t1.$index($arguments, 0).assertString$1("string"),
  45386. insert = t1.$index($arguments, 1).assertString$1("insert"),
  45387. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  45388. index.assertNoUnits$1(_s5_);
  45389. indexInt = index.assertInt$1(_s5_);
  45390. if (indexInt < 0)
  45391. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  45392. t1 = string._string$_text;
  45393. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  45394. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  45395. },
  45396. $signature: 16
  45397. };
  45398. A._index_closure.prototype = {
  45399. call$1($arguments) {
  45400. var t1 = J.getInterceptor$asx($arguments),
  45401. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  45402. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  45403. if (codeUnitIndex === -1)
  45404. return B.C__SassNull;
  45405. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  45406. },
  45407. $signature: 4
  45408. };
  45409. A._slice_closure.prototype = {
  45410. call$1($arguments) {
  45411. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  45412. _s8_ = "start-at",
  45413. t1 = J.getInterceptor$asx($arguments),
  45414. string = t1.$index($arguments, 0).assertString$1("string"),
  45415. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  45416. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  45417. start.assertNoUnits$1(_s8_);
  45418. end.assertNoUnits$1("end-at");
  45419. lengthInCodepoints = string.get$_sassLength();
  45420. endInt = end.assertInt$0();
  45421. if (endInt === 0)
  45422. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  45423. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  45424. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  45425. if (endCodepoint === lengthInCodepoints)
  45426. --endCodepoint;
  45427. if (endCodepoint < startCodepoint)
  45428. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  45429. t1 = string._string$_text;
  45430. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  45431. },
  45432. $signature: 16
  45433. };
  45434. A._toUpperCase_closure.prototype = {
  45435. call$1($arguments) {
  45436. var t1, t2, i, t3, t4,
  45437. string = J.$index$asx($arguments, 0).assertString$1("string");
  45438. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  45439. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  45440. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  45441. }
  45442. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  45443. },
  45444. $signature: 16
  45445. };
  45446. A._toLowerCase_closure.prototype = {
  45447. call$1($arguments) {
  45448. var t1, t2, i, t3, t4,
  45449. string = J.$index$asx($arguments, 0).assertString$1("string");
  45450. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  45451. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  45452. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  45453. }
  45454. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  45455. },
  45456. $signature: 16
  45457. };
  45458. A._uniqueId_closure.prototype = {
  45459. call$1($arguments) {
  45460. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  45461. $._previousUniqueId = t1;
  45462. if (t1 > Math.pow(36, 6))
  45463. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  45464. return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
  45465. },
  45466. $signature: 16
  45467. };
  45468. A.ImportCache.prototype = {
  45469. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  45470. var relativeResult, _this = this;
  45471. if (baseImporter != null) {
  45472. relativeResult = _this._relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri), new A.ImportCache_canonicalize_closure(_this, baseUrl, url, baseImporter, forImport));
  45473. if (relativeResult != null)
  45474. return relativeResult;
  45475. }
  45476. return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
  45477. },
  45478. canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
  45479. return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
  45480. },
  45481. _canonicalize$3(importer, url, forImport) {
  45482. var t1, result;
  45483. if (forImport) {
  45484. t1 = type$.nullable_Object;
  45485. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  45486. } else
  45487. result = importer.canonicalize$1(0, url);
  45488. if ((result == null ? null : result.get$scheme()) === "")
  45489. A.WarnForDeprecation_warnForDeprecation(this._logger, B.Deprecation_mFp, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, null, null);
  45490. return result;
  45491. },
  45492. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  45493. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  45494. },
  45495. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  45496. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  45497. },
  45498. importCanonical$2(importer, canonicalUrl) {
  45499. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  45500. },
  45501. humanize$1(canonicalUrl) {
  45502. var t2, url,
  45503. t1 = this._canonicalizeCache;
  45504. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
  45505. t2 = t1.$ti;
  45506. url = 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());
  45507. if (url == null)
  45508. return canonicalUrl;
  45509. t1 = $.$get$url();
  45510. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  45511. },
  45512. sourceMapUrl$1(_, canonicalUrl) {
  45513. var t1 = this._resultsCache.$index(0, canonicalUrl);
  45514. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  45515. return t1 == null ? canonicalUrl : t1;
  45516. },
  45517. clearCanonicalize$1(url) {
  45518. var t3, t4, _i,
  45519. t1 = this._canonicalizeCache,
  45520. t2 = type$.Tuple2_Uri_bool;
  45521. t1.remove$1(0, new A.Tuple2(url, false, t2));
  45522. t1.remove$1(0, new A.Tuple2(url, true, t2));
  45523. t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
  45524. for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
  45525. t4 = t3.__js_helper$_current;
  45526. if (t4.item1.$eq(0, url))
  45527. t2.push(t4);
  45528. }
  45529. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  45530. t1.remove$1(0, t2[_i]);
  45531. },
  45532. clearImport$1(canonicalUrl) {
  45533. this._resultsCache.remove$1(0, canonicalUrl);
  45534. this._importCache.remove$1(0, canonicalUrl);
  45535. }
  45536. };
  45537. A.ImportCache_canonicalize_closure.prototype = {
  45538. call$0() {
  45539. var canonicalUrl, _this = this,
  45540. t1 = _this.baseUrl,
  45541. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  45542. if (resolvedUrl == null)
  45543. resolvedUrl = _this.url;
  45544. t1 = _this.baseImporter;
  45545. canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
  45546. if (canonicalUrl == null)
  45547. return null;
  45548. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
  45549. },
  45550. $signature: 98
  45551. };
  45552. A.ImportCache_canonicalize_closure0.prototype = {
  45553. call$0() {
  45554. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  45555. for (t1 = this.$this, t2 = t1._importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  45556. importer = t2[_i];
  45557. canonicalUrl = t1._canonicalize$3(importer, t4, t5);
  45558. if (canonicalUrl != null)
  45559. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
  45560. }
  45561. return null;
  45562. },
  45563. $signature: 98
  45564. };
  45565. A.ImportCache__canonicalize_closure.prototype = {
  45566. call$0() {
  45567. return this.importer.canonicalize$1(0, this.url);
  45568. },
  45569. $signature: 142
  45570. };
  45571. A.ImportCache_importCanonical_closure.prototype = {
  45572. call$0() {
  45573. var t3, _this = this,
  45574. t1 = _this.canonicalUrl,
  45575. result = _this.importer.load$1(0, t1),
  45576. t2 = _this.$this;
  45577. t2._resultsCache.$indexSet(0, t1, result);
  45578. t3 = _this.originalUrl;
  45579. t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
  45580. t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
  45581. return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
  45582. },
  45583. $signature: 85
  45584. };
  45585. A.ImportCache_humanize_closure.prototype = {
  45586. call$1(tuple) {
  45587. return tuple.item2.$eq(0, this.canonicalUrl);
  45588. },
  45589. $signature: 412
  45590. };
  45591. A.ImportCache_humanize_closure0.prototype = {
  45592. call$1(tuple) {
  45593. return tuple.item3;
  45594. },
  45595. $signature: 415
  45596. };
  45597. A.ImportCache_humanize_closure1.prototype = {
  45598. call$1(url) {
  45599. return url.get$path(url).length;
  45600. },
  45601. $signature: 94
  45602. };
  45603. A.Importer.prototype = {
  45604. modificationTime$1(url) {
  45605. return new A.DateTime(Date.now(), false);
  45606. },
  45607. couldCanonicalize$2(url, canonicalUrl) {
  45608. return true;
  45609. }
  45610. };
  45611. A.AsyncImporter.prototype = {};
  45612. A.FilesystemImporter.prototype = {
  45613. canonicalize$1(_, url) {
  45614. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  45615. return null;
  45616. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  45617. },
  45618. load$1(_, url) {
  45619. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  45620. t1 = A.readFile(path),
  45621. t2 = A.Syntax_forPath(path),
  45622. t3 = url.get$scheme();
  45623. if (t3 === "")
  45624. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  45625. return new A.ImporterResult(t1, url, t2);
  45626. },
  45627. modificationTime$1(url) {
  45628. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  45629. },
  45630. couldCanonicalize$2(url, canonicalUrl) {
  45631. var t1, t2, t3, basename, canonicalBasename;
  45632. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  45633. return false;
  45634. if (canonicalUrl.get$scheme() !== "file")
  45635. return false;
  45636. t1 = $.$get$url();
  45637. t2 = url.get$path(url);
  45638. t3 = t1.style;
  45639. basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
  45640. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
  45641. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  45642. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  45643. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  45644. },
  45645. toString$0(_) {
  45646. return this._loadPath;
  45647. }
  45648. };
  45649. A.FilesystemImporter_canonicalize_closure.prototype = {
  45650. call$1(resolved) {
  45651. var t1, t2, t0, _null = null;
  45652. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  45653. t1 = $.$get$context();
  45654. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  45655. t0 = t2;
  45656. t2 = t1;
  45657. t1 = t0;
  45658. } else {
  45659. t1 = $.$get$context();
  45660. t2 = t1.canonicalize$1(0, resolved);
  45661. t0 = t2;
  45662. t2 = t1;
  45663. t1 = t0;
  45664. }
  45665. return t2.toUri$1(t1);
  45666. },
  45667. $signature: 143
  45668. };
  45669. A.ImporterResult.prototype = {
  45670. get$sourceMapUrl(_) {
  45671. return this._sourceMapUrl;
  45672. }
  45673. };
  45674. A.resolveImportPath_closure.prototype = {
  45675. call$0() {
  45676. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  45677. },
  45678. $signature: 43
  45679. };
  45680. A.resolveImportPath_closure0.prototype = {
  45681. call$0() {
  45682. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  45683. },
  45684. $signature: 43
  45685. };
  45686. A._tryPathAsDirectory_closure.prototype = {
  45687. call$0() {
  45688. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  45689. },
  45690. $signature: 43
  45691. };
  45692. A._exactlyOne_closure.prototype = {
  45693. call$1(path) {
  45694. var t1 = $.$get$context();
  45695. return " " + t1.prettyUri$1(t1.toUri$1(path));
  45696. },
  45697. $signature: 5
  45698. };
  45699. A.InterpolationBuffer.prototype = {
  45700. writeCharCode$1(character) {
  45701. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  45702. return null;
  45703. },
  45704. addInterpolation$1(interpolation) {
  45705. var first, t1, _this = this,
  45706. toAdd = interpolation.contents;
  45707. if (toAdd.length === 0)
  45708. return;
  45709. first = B.JSArray_methods.get$first(toAdd);
  45710. if (typeof first == "string") {
  45711. _this._interpolation_buffer$_text._contents += first;
  45712. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  45713. }
  45714. _this._flushText$0();
  45715. t1 = _this._interpolation_buffer$_contents;
  45716. B.JSArray_methods.addAll$1(t1, toAdd);
  45717. if (typeof B.JSArray_methods.get$last(t1) == "string")
  45718. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  45719. },
  45720. _flushText$0() {
  45721. var t1 = this._interpolation_buffer$_text,
  45722. t2 = t1._contents;
  45723. if (t2.length === 0)
  45724. return;
  45725. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  45726. t1._contents = "";
  45727. },
  45728. interpolation$1(span) {
  45729. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  45730. t2 = this._interpolation_buffer$_text._contents;
  45731. if (t2.length !== 0)
  45732. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  45733. return A.Interpolation$(t1, span);
  45734. },
  45735. toString$0(_) {
  45736. var t1, t2, _i, t3, element;
  45737. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  45738. element = t1[_i];
  45739. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  45740. }
  45741. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  45742. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45743. }
  45744. };
  45745. A.InterpolationMap.prototype = {
  45746. mapException$1(error) {
  45747. var t3, t4, _this = this,
  45748. target = error.get$span(error),
  45749. source = _this.mapSpan$1(target),
  45750. startIndex = _this._indexInContents$1(target.get$start(target)),
  45751. endIndex = _this._indexInContents$1(target.get$end(target)),
  45752. t1 = _this._interpolation.contents,
  45753. t2 = error._span_exception$_message;
  45754. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  45755. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  45756. else {
  45757. t1 = type$.SourceSpan;
  45758. t3 = type$.String;
  45759. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  45760. error.get$source();
  45761. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  45762. }
  45763. },
  45764. mapSpan$1(target) {
  45765. var t2, t3, _this = this,
  45766. start = _this._mapLocation$1(target.get$start(target)),
  45767. end = _this._mapLocation$1(target.get$end(target)),
  45768. t1 = type$.FileSpan;
  45769. if (t1._is(start)) {
  45770. if (t1._is(end))
  45771. return start.expand$1(0, end);
  45772. t1 = _this._interpolation.span;
  45773. return t1.get$file(t1).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), type$.FileLocation._as(end).offset);
  45774. } else {
  45775. t2 = type$.FileLocation;
  45776. t3 = _this._interpolation.span;
  45777. if (t1._is(end))
  45778. return t3.get$file(t3).span$2(0, t2._as(start).offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  45779. else
  45780. return t3.get$file(t3).span$2(0, t2._as(start).offset, t2._as(end).offset);
  45781. }
  45782. },
  45783. _mapLocation$1(target) {
  45784. var t4, previousLocation, _this = this,
  45785. index = _this._indexInContents$1(target),
  45786. t1 = _this._interpolation,
  45787. t2 = t1.contents,
  45788. chunk = t2[index],
  45789. t3 = type$.Expression;
  45790. if (t3._is(chunk))
  45791. return chunk.get$span(chunk);
  45792. t4 = index === 0;
  45793. t1 = t1.span;
  45794. if (t4)
  45795. previousLocation = t1.get$start(t1);
  45796. else {
  45797. t1 = t1.get$file(t1);
  45798. t2 = t3._as(t2[index - 1]);
  45799. t2 = t2.get$span(t2);
  45800. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  45801. }
  45802. t1 = t4 ? 0 : _this._targetLocations[index - 1].get$offset();
  45803. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  45804. },
  45805. _indexInContents$1(target) {
  45806. var t1, t2, t3, i;
  45807. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  45808. if (t3 < t1[i].get$offset())
  45809. return i;
  45810. return this._interpolation.contents.length - 1;
  45811. },
  45812. _expandInterpolationSpanLeft$1(start) {
  45813. var i0, prev, char,
  45814. source = start.file._decodedChars,
  45815. i = start.offset - 1;
  45816. for (; i >= 0;) {
  45817. i0 = i - 1;
  45818. prev = source[i];
  45819. if (prev === 123) {
  45820. if (source[i0] === 35) {
  45821. i = i0;
  45822. break;
  45823. }
  45824. i = i0;
  45825. } else if (prev === 47) {
  45826. i = i0 - 1;
  45827. if (source[i0] === 42)
  45828. for (; true;) {
  45829. i0 = i - 1;
  45830. if (source[i] !== 42) {
  45831. i = i0;
  45832. continue;
  45833. }
  45834. i = i0;
  45835. do {
  45836. i0 = i - 1;
  45837. char = source[i];
  45838. if (char === 42) {
  45839. i = i0;
  45840. continue;
  45841. } else
  45842. break;
  45843. } while (true);
  45844. if (char === 47) {
  45845. i = i0;
  45846. break;
  45847. }
  45848. i = i0;
  45849. }
  45850. } else
  45851. i = i0;
  45852. }
  45853. return i;
  45854. },
  45855. _expandInterpolationSpanRight$1(end) {
  45856. var t1, i0, next, second, t2, char,
  45857. source = end.file._decodedChars,
  45858. i = end.offset;
  45859. for (t1 = source.length; i < t1;) {
  45860. i0 = i + 1;
  45861. next = source[i];
  45862. if (next === 125) {
  45863. i = i0;
  45864. break;
  45865. }
  45866. if (next === 47) {
  45867. i = i0 + 1;
  45868. second = source[i0];
  45869. if (second === 47) {
  45870. while (true) {
  45871. i0 = i + 1;
  45872. t2 = source[i];
  45873. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  45874. break;
  45875. i = i0;
  45876. }
  45877. i = i0;
  45878. } else if (second === 42)
  45879. for (; true;) {
  45880. i0 = i + 1;
  45881. if (source[i] !== 42) {
  45882. i = i0;
  45883. continue;
  45884. }
  45885. i = i0;
  45886. do {
  45887. i0 = i + 1;
  45888. char = source[i];
  45889. if (char === 42) {
  45890. i = i0;
  45891. continue;
  45892. } else
  45893. break;
  45894. } while (true);
  45895. if (char === 47) {
  45896. i = i0;
  45897. break;
  45898. }
  45899. i = i0;
  45900. }
  45901. } else
  45902. i = i0;
  45903. }
  45904. return i;
  45905. }
  45906. };
  45907. A.InterpolationMap_mapException_closure.prototype = {
  45908. call$1($content) {
  45909. return type$.Expression._is($content);
  45910. },
  45911. $signature: 66
  45912. };
  45913. A._realCasePath_helper.prototype = {
  45914. call$1(path) {
  45915. var dirname = $.$get$context().dirname$1(path);
  45916. if (dirname === path)
  45917. return path;
  45918. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  45919. },
  45920. $signature: 5
  45921. };
  45922. A._realCasePath_helper_closure.prototype = {
  45923. call$0() {
  45924. var matches, t2, exception,
  45925. realDirname = this.helper.call$1(this.dirname),
  45926. t1 = this.path,
  45927. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  45928. try {
  45929. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  45930. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  45931. return t2;
  45932. } catch (exception) {
  45933. if (A.unwrapException(exception) instanceof A.FileSystemException)
  45934. return t1;
  45935. else
  45936. throw exception;
  45937. }
  45938. },
  45939. $signature: 32
  45940. };
  45941. A._realCasePath_helper__closure.prototype = {
  45942. call$1(realPath) {
  45943. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  45944. },
  45945. $signature: 8
  45946. };
  45947. A.FileSystemException.prototype = {
  45948. toString$0(_) {
  45949. var t1 = $.$get$context();
  45950. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  45951. },
  45952. get$message(receiver) {
  45953. return this.message;
  45954. }
  45955. };
  45956. A.Stderr.prototype = {
  45957. writeln$1(object) {
  45958. J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
  45959. },
  45960. writeln$0() {
  45961. return this.writeln$1(null);
  45962. }
  45963. };
  45964. A._readFile_closure.prototype = {
  45965. call$0() {
  45966. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  45967. },
  45968. $signature: 87
  45969. };
  45970. A.writeFile_closure.prototype = {
  45971. call$0() {
  45972. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  45973. },
  45974. $signature: 0
  45975. };
  45976. A.deleteFile_closure.prototype = {
  45977. call$0() {
  45978. return J.unlinkSync$1$x(A.fs(), this.path);
  45979. },
  45980. $signature: 0
  45981. };
  45982. A.readStdin_closure.prototype = {
  45983. call$1(result) {
  45984. this._box_0.contents = result;
  45985. this.completer.complete$1(result);
  45986. },
  45987. $signature: 113
  45988. };
  45989. A.readStdin_closure0.prototype = {
  45990. call$1(chunk) {
  45991. this.sink.add$1(0, type$.List_int._as(chunk));
  45992. },
  45993. call$0() {
  45994. return this.call$1(null);
  45995. },
  45996. "call*": "call$1",
  45997. $requiredArgCount: 0,
  45998. $defaultValues() {
  45999. return [null];
  46000. },
  46001. $signature: 83
  46002. };
  46003. A.readStdin_closure1.prototype = {
  46004. call$1(_) {
  46005. this.sink.close$0(0);
  46006. },
  46007. call$0() {
  46008. return this.call$1(null);
  46009. },
  46010. "call*": "call$1",
  46011. $requiredArgCount: 0,
  46012. $defaultValues() {
  46013. return [null];
  46014. },
  46015. $signature: 83
  46016. };
  46017. A.readStdin_closure2.prototype = {
  46018. call$1(e) {
  46019. var t1 = $.$get$stderr();
  46020. t1.writeln$1("Failed to read from stdin");
  46021. t1.writeln$1(e);
  46022. e.toString;
  46023. this.completer.completeError$1(e);
  46024. },
  46025. call$0() {
  46026. return this.call$1(null);
  46027. },
  46028. "call*": "call$1",
  46029. $requiredArgCount: 0,
  46030. $defaultValues() {
  46031. return [null];
  46032. },
  46033. $signature: 83
  46034. };
  46035. A.fileExists_closure.prototype = {
  46036. call$0() {
  46037. var error, systemError, exception,
  46038. t1 = this.path;
  46039. if (!J.existsSync$1$x(A.fs(), t1))
  46040. return false;
  46041. try {
  46042. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  46043. return t1;
  46044. } catch (exception) {
  46045. error = A.unwrapException(exception);
  46046. systemError = type$.JsSystemError._as(error);
  46047. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46048. return false;
  46049. throw exception;
  46050. }
  46051. },
  46052. $signature: 29
  46053. };
  46054. A.dirExists_closure.prototype = {
  46055. call$0() {
  46056. var error, systemError, exception,
  46057. t1 = this.path;
  46058. if (!J.existsSync$1$x(A.fs(), t1))
  46059. return false;
  46060. try {
  46061. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  46062. return t1;
  46063. } catch (exception) {
  46064. error = A.unwrapException(exception);
  46065. systemError = type$.JsSystemError._as(error);
  46066. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46067. return false;
  46068. throw exception;
  46069. }
  46070. },
  46071. $signature: 29
  46072. };
  46073. A.ensureDir_closure.prototype = {
  46074. call$0() {
  46075. var error, systemError, exception, t1;
  46076. try {
  46077. J.mkdirSync$1$x(A.fs(), this.path);
  46078. } catch (exception) {
  46079. error = A.unwrapException(exception);
  46080. systemError = type$.JsSystemError._as(error);
  46081. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  46082. return;
  46083. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  46084. throw exception;
  46085. t1 = this.path;
  46086. A.ensureDir($.$get$context().dirname$1(t1));
  46087. J.mkdirSync$1$x(A.fs(), t1);
  46088. }
  46089. },
  46090. $signature: 0
  46091. };
  46092. A.listDir_closure.prototype = {
  46093. call$0() {
  46094. var t1 = this.path;
  46095. if (!this.recursive)
  46096. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).where$1(0, new A.listDir__closure0());
  46097. else
  46098. return new A.listDir_closure_list().call$1(t1);
  46099. },
  46100. $signature: 145
  46101. };
  46102. A.listDir__closure.prototype = {
  46103. call$1(child) {
  46104. return A.join(this.path, A._asString(child), null);
  46105. },
  46106. $signature: 76
  46107. };
  46108. A.listDir__closure0.prototype = {
  46109. call$1(child) {
  46110. return !A.dirExists(child);
  46111. },
  46112. $signature: 8
  46113. };
  46114. A.listDir_closure_list.prototype = {
  46115. call$1($parent) {
  46116. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  46117. },
  46118. $signature: 146
  46119. };
  46120. A.listDir__list_closure.prototype = {
  46121. call$1(child) {
  46122. var path = A.join(this.parent, A._asString(child), null);
  46123. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  46124. },
  46125. $signature: 147
  46126. };
  46127. A.modificationTime_closure.prototype = {
  46128. call$0() {
  46129. var t2,
  46130. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  46131. if (Math.abs(t1) <= 864e13)
  46132. t2 = false;
  46133. else
  46134. t2 = true;
  46135. if (t2)
  46136. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  46137. A.checkNotNullable(false, "isUtc", type$.bool);
  46138. return new A.DateTime(t1, false);
  46139. },
  46140. $signature: 148
  46141. };
  46142. A.watchDir_closure.prototype = {
  46143. call$2(path, _) {
  46144. var t1 = this._box_0.controller;
  46145. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  46146. },
  46147. call$1(path) {
  46148. return this.call$2(path, null);
  46149. },
  46150. "call*": "call$2",
  46151. $requiredArgCount: 1,
  46152. $defaultValues() {
  46153. return [null];
  46154. },
  46155. $signature: 149
  46156. };
  46157. A.watchDir_closure0.prototype = {
  46158. call$2(path, _) {
  46159. var t1 = this._box_0.controller;
  46160. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  46161. },
  46162. call$1(path) {
  46163. return this.call$2(path, null);
  46164. },
  46165. "call*": "call$2",
  46166. $requiredArgCount: 1,
  46167. $defaultValues() {
  46168. return [null];
  46169. },
  46170. $signature: 149
  46171. };
  46172. A.watchDir_closure1.prototype = {
  46173. call$1(path) {
  46174. var t1 = this._box_0.controller;
  46175. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  46176. },
  46177. $signature: 113
  46178. };
  46179. A.watchDir_closure2.prototype = {
  46180. call$1(error) {
  46181. var t1 = this._box_0.controller;
  46182. return t1 == null ? null : t1.addError$1(error);
  46183. },
  46184. $signature: 111
  46185. };
  46186. A.watchDir_closure3.prototype = {
  46187. call$0() {
  46188. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  46189. this._box_0.controller = controller;
  46190. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  46191. },
  46192. $signature: 1
  46193. };
  46194. A.watchDir__closure.prototype = {
  46195. call$0() {
  46196. J.close$0$x(this.watcher);
  46197. },
  46198. $signature: 1
  46199. };
  46200. A._QuietLogger.prototype = {
  46201. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46202. },
  46203. warn$1($receiver, message) {
  46204. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  46205. },
  46206. warn$2$span($receiver, message, span) {
  46207. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46208. },
  46209. debug$2(_, message, span) {
  46210. }
  46211. };
  46212. A.DeprecationHandlingLogger.prototype = {
  46213. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46214. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  46215. },
  46216. warn$3$span$trace($receiver, message, span, trace) {
  46217. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46218. },
  46219. warn$2$span($receiver, message, span) {
  46220. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46221. },
  46222. warn$2$trace($receiver, message, trace) {
  46223. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46224. },
  46225. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  46226. var t1, t2, count, _this = this;
  46227. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  46228. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  46229. t1 = span == null;
  46230. if (!t1 && trace != null)
  46231. throw A.wrapException(A.SassRuntimeException$(message, span, trace));
  46232. if (t1)
  46233. throw A.wrapException(A.SassScriptException$(message, null));
  46234. throw A.wrapException(A.SassException$(message, span));
  46235. }
  46236. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  46237. return;
  46238. if (_this.limitRepetition) {
  46239. t1 = _this._warningCounts;
  46240. t2 = t1.$index(0, deprecation);
  46241. count = (t2 == null ? 0 : t2) + 1;
  46242. t1.$indexSet(0, deprecation, count);
  46243. if (count > 5)
  46244. return;
  46245. }
  46246. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  46247. },
  46248. debug$2(_, message, span) {
  46249. return this._inner.debug$2(0, message, span);
  46250. },
  46251. summarize$1$node(node) {
  46252. var t2, total,
  46253. t1 = this._warningCounts;
  46254. t1 = t1.get$values(t1);
  46255. t2 = A._instanceType(t1);
  46256. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationHandlingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationHandlingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  46257. if (total > 0) {
  46258. t1 = node ? "" : string$.x0aRun_i;
  46259. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  46260. }
  46261. }
  46262. };
  46263. A.DeprecationHandlingLogger_summarize_closure.prototype = {
  46264. call$1(count) {
  46265. return count > 5;
  46266. },
  46267. $signature: 51
  46268. };
  46269. A.DeprecationHandlingLogger_summarize_closure0.prototype = {
  46270. call$1(count) {
  46271. return count - 5;
  46272. },
  46273. $signature: 150
  46274. };
  46275. A.StderrLogger.prototype = {
  46276. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46277. var t2, t3, t4,
  46278. t1 = this.color;
  46279. if (t1) {
  46280. t2 = $.$get$stderr();
  46281. t3 = t2._stderr;
  46282. t4 = J.getInterceptor$x(t3);
  46283. t4.write$1(t3, "\x1b[33m\x1b[1m");
  46284. if (deprecation)
  46285. t4.write$1(t3, "Deprecation ");
  46286. t4.write$1(t3, "Warning\x1b[0m");
  46287. } else {
  46288. if (deprecation)
  46289. J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
  46290. t2 = $.$get$stderr();
  46291. J.write$1$x(t2._stderr, "WARNING");
  46292. }
  46293. if (span == null)
  46294. t2.writeln$1(": " + message);
  46295. else if (trace != null)
  46296. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  46297. else
  46298. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  46299. if (trace != null)
  46300. t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  46301. t2.writeln$0();
  46302. },
  46303. warn$1($receiver, message) {
  46304. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  46305. },
  46306. warn$3$span$trace($receiver, message, span, trace) {
  46307. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46308. },
  46309. warn$2$span($receiver, message, span) {
  46310. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46311. },
  46312. warn$2$trace($receiver, message, trace) {
  46313. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46314. },
  46315. debug$2(_, message, span) {
  46316. var url, t3, t4,
  46317. t1 = span.file,
  46318. t2 = span._file$_start;
  46319. if (A.FileLocation$_(t1, t2).file.url == null)
  46320. url = "-";
  46321. else {
  46322. t3 = A.FileLocation$_(t1, t2);
  46323. url = $.$get$context().prettyUri$1(t3.file.url);
  46324. }
  46325. t3 = $.$get$stderr();
  46326. t2 = A.FileLocation$_(t1, t2);
  46327. t2 = t2.file.getLine$1(t2.offset);
  46328. t1 = t3._stderr;
  46329. t4 = J.getInterceptor$x(t1);
  46330. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  46331. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  46332. t3.writeln$1(": " + message);
  46333. }
  46334. };
  46335. A.TrackingLogger.prototype = {
  46336. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  46337. this._emittedWarning = true;
  46338. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  46339. },
  46340. warn$3$span$trace($receiver, message, span, trace) {
  46341. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  46342. },
  46343. warn$2$span($receiver, message, span) {
  46344. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  46345. },
  46346. warn$2$trace($receiver, message, trace) {
  46347. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  46348. },
  46349. debug$2(_, message, span) {
  46350. this._emittedDebug = true;
  46351. this._tracking$_logger.debug$2(0, message, span);
  46352. }
  46353. };
  46354. A.BuiltInModule.prototype = {
  46355. get$upstream() {
  46356. return B.List_empty7;
  46357. },
  46358. get$variableNodes() {
  46359. return B.Map_empty1;
  46360. },
  46361. get$extensionStore() {
  46362. return B.C_EmptyExtensionStore;
  46363. },
  46364. get$css(_) {
  46365. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  46366. },
  46367. get$transitivelyContainsCss() {
  46368. return false;
  46369. },
  46370. get$transitivelyContainsExtensions() {
  46371. return false;
  46372. },
  46373. setVariable$3($name, value, nodeWithSpan) {
  46374. if (!this.variables.containsKey$1($name))
  46375. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  46376. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  46377. },
  46378. variableIdentity$1($name) {
  46379. return this;
  46380. },
  46381. cloneCss$0() {
  46382. return this;
  46383. },
  46384. $isModule: 1,
  46385. get$url(receiver) {
  46386. return this.url;
  46387. },
  46388. get$functions(receiver) {
  46389. return this.functions;
  46390. },
  46391. get$mixins() {
  46392. return this.mixins;
  46393. },
  46394. get$variables() {
  46395. return this.variables;
  46396. }
  46397. };
  46398. A.ForwardedModuleView.prototype = {
  46399. get$url(_) {
  46400. var t1 = this._forwarded_view$_inner;
  46401. return t1.get$url(t1);
  46402. },
  46403. get$upstream() {
  46404. return this._forwarded_view$_inner.get$upstream();
  46405. },
  46406. get$extensionStore() {
  46407. return this._forwarded_view$_inner.get$extensionStore();
  46408. },
  46409. get$css(_) {
  46410. var t1 = this._forwarded_view$_inner;
  46411. return t1.get$css(t1);
  46412. },
  46413. get$transitivelyContainsCss() {
  46414. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  46415. },
  46416. get$transitivelyContainsExtensions() {
  46417. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  46418. },
  46419. setVariable$3($name, value, nodeWithSpan) {
  46420. var prefix,
  46421. _s19_ = "Undefined variable.",
  46422. t1 = this._rule,
  46423. shownVariables = t1.shownVariables,
  46424. hiddenVariables = t1.hiddenVariables;
  46425. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  46426. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46427. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  46428. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46429. prefix = t1.prefix;
  46430. if (prefix != null) {
  46431. if (!B.JSString_methods.startsWith$1($name, prefix))
  46432. throw A.wrapException(A.SassScriptException$(_s19_, null));
  46433. $name = B.JSString_methods.substring$1($name, prefix.length);
  46434. }
  46435. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  46436. },
  46437. variableIdentity$1($name) {
  46438. var prefix = this._rule.prefix;
  46439. if (prefix != null)
  46440. $name = B.JSString_methods.substring$1($name, prefix.length);
  46441. return this._forwarded_view$_inner.variableIdentity$1($name);
  46442. },
  46443. $eq(_, other) {
  46444. if (other == null)
  46445. return false;
  46446. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  46447. },
  46448. get$hashCode(_) {
  46449. var t1 = this._forwarded_view$_inner;
  46450. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  46451. },
  46452. cloneCss$0() {
  46453. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  46454. },
  46455. toString$0(_) {
  46456. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  46457. },
  46458. $isModule: 1,
  46459. get$variables() {
  46460. return this.variables;
  46461. },
  46462. get$variableNodes() {
  46463. return this.variableNodes;
  46464. },
  46465. get$functions(receiver) {
  46466. return this.functions;
  46467. },
  46468. get$mixins() {
  46469. return this.mixins;
  46470. }
  46471. };
  46472. A.ShadowedModuleView.prototype = {
  46473. get$url(_) {
  46474. var t1 = this._shadowed_view$_inner;
  46475. return t1.get$url(t1);
  46476. },
  46477. get$upstream() {
  46478. return this._shadowed_view$_inner.get$upstream();
  46479. },
  46480. get$extensionStore() {
  46481. return this._shadowed_view$_inner.get$extensionStore();
  46482. },
  46483. get$css(_) {
  46484. var t1 = this._shadowed_view$_inner;
  46485. return t1.get$css(t1);
  46486. },
  46487. get$transitivelyContainsCss() {
  46488. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  46489. },
  46490. get$transitivelyContainsExtensions() {
  46491. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  46492. },
  46493. setVariable$3($name, value, nodeWithSpan) {
  46494. if (!this.variables.containsKey$1($name))
  46495. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  46496. else
  46497. return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  46498. },
  46499. variableIdentity$1($name) {
  46500. return this._shadowed_view$_inner.variableIdentity$1($name);
  46501. },
  46502. $eq(_, other) {
  46503. var t1, t2, _this = this;
  46504. if (other == null)
  46505. return false;
  46506. if (other instanceof A.ShadowedModuleView)
  46507. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  46508. t1 = _this.variables;
  46509. t1 = t1.get$keys(t1);
  46510. t2 = other.variables;
  46511. if (B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2))) {
  46512. t1 = _this.functions;
  46513. t1 = t1.get$keys(t1);
  46514. t2 = other.functions;
  46515. if (B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2))) {
  46516. t1 = _this.mixins;
  46517. t1 = t1.get$keys(t1);
  46518. t2 = other.mixins;
  46519. t2 = B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2));
  46520. t1 = t2;
  46521. } else
  46522. t1 = false;
  46523. } else
  46524. t1 = false;
  46525. } else
  46526. t1 = false;
  46527. else
  46528. t1 = false;
  46529. return t1;
  46530. },
  46531. get$hashCode(_) {
  46532. var t1 = this._shadowed_view$_inner;
  46533. return t1.get$hashCode(t1);
  46534. },
  46535. cloneCss$0() {
  46536. var _this = this;
  46537. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  46538. },
  46539. toString$0(_) {
  46540. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  46541. },
  46542. $isModule: 1,
  46543. get$variables() {
  46544. return this.variables;
  46545. },
  46546. get$variableNodes() {
  46547. return this.variableNodes;
  46548. },
  46549. get$functions(receiver) {
  46550. return this.functions;
  46551. },
  46552. get$mixins() {
  46553. return this.mixins;
  46554. }
  46555. };
  46556. A.JSArray0.prototype = {};
  46557. A.Chokidar.prototype = {};
  46558. A.ChokidarOptions.prototype = {};
  46559. A.ChokidarWatcher.prototype = {};
  46560. A.JSFunction.prototype = {};
  46561. A.NodeImporterResult.prototype = {};
  46562. A.RenderContext.prototype = {};
  46563. A.RenderContextOptions.prototype = {};
  46564. A.RenderContextResult.prototype = {};
  46565. A.RenderContextResultStats.prototype = {};
  46566. A.JSClass.prototype = {};
  46567. A.JSUrl.prototype = {};
  46568. A._PropertyDescriptor.prototype = {};
  46569. A.AtRootQueryParser.prototype = {
  46570. parse$0() {
  46571. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  46572. }
  46573. };
  46574. A.AtRootQueryParser_parse_closure.prototype = {
  46575. call$0() {
  46576. var include, atRules,
  46577. t1 = this.$this,
  46578. t2 = t1.scanner;
  46579. t2.expectChar$1(40);
  46580. t1.whitespace$0();
  46581. include = t1.scanIdentifier$1("with");
  46582. if (!include)
  46583. t1.expectIdentifier$2$name("without", '"with" or "without"');
  46584. t1.whitespace$0();
  46585. t2.expectChar$1(58);
  46586. t1.whitespace$0();
  46587. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  46588. do {
  46589. atRules.add$1(0, t1.identifier$0().toLowerCase());
  46590. t1.whitespace$0();
  46591. } while (t1.lookingAtIdentifier$0());
  46592. t2.expectChar$1(41);
  46593. t2.expectDone$0();
  46594. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  46595. },
  46596. $signature: 254
  46597. };
  46598. A._disallowedFunctionNames_closure.prototype = {
  46599. call$1($function) {
  46600. return $function.name;
  46601. },
  46602. $signature: 256
  46603. };
  46604. A.CssParser.prototype = {
  46605. get$plainCss() {
  46606. return true;
  46607. },
  46608. silentComment$0() {
  46609. var t1 = this.scanner,
  46610. t2 = t1._string_scanner$_position;
  46611. this.super$Parser$silentComment();
  46612. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  46613. },
  46614. atRule$2$root(child, root) {
  46615. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  46616. t1 = _this.scanner,
  46617. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46618. t1.expectChar$1(64);
  46619. $name = _this.interpolatedIdentifier$0();
  46620. _this.whitespace$0();
  46621. switch ($name.get$asPlain()) {
  46622. case "at-root":
  46623. case "content":
  46624. case "debug":
  46625. case "each":
  46626. case "error":
  46627. case "extend":
  46628. case "for":
  46629. case "function":
  46630. case "if":
  46631. case "include":
  46632. case "mixin":
  46633. case "return":
  46634. case "warn":
  46635. case "while":
  46636. _this.almostAnyValue$0();
  46637. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  46638. break;
  46639. case "import":
  46640. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46641. next = t1.peekChar$0();
  46642. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  46643. urlSpan = t1.spanFrom$1(urlStart);
  46644. _this.whitespace$0();
  46645. modifiers = _this.tryImportModifiers$0();
  46646. _this.expectStatementSeparator$1("@import rule");
  46647. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  46648. t1 = t1.spanFrom$1(start);
  46649. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  46650. case "media":
  46651. return _this.mediaRule$1(start);
  46652. case "-moz-document":
  46653. return _this.mozDocumentRule$2(start, $name);
  46654. case "supports":
  46655. return _this.supportsRule$1(start);
  46656. default:
  46657. return _this.unknownAtRule$2(start, $name);
  46658. }
  46659. },
  46660. identifierLike$0() {
  46661. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  46662. t1 = _this.scanner,
  46663. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  46664. identifier = _this.interpolatedIdentifier$0(),
  46665. plain = identifier.get$asPlain(),
  46666. lower = plain.toLowerCase(),
  46667. specialFunction = _this.trySpecialFunction$2(lower, start);
  46668. if (specialFunction != null)
  46669. return specialFunction;
  46670. t2 = t1._string_scanner$_position;
  46671. if (!t1.scanChar$1(40))
  46672. return new A.StringExpression(identifier, false);
  46673. allowEmptySecondArg = lower === "var";
  46674. $arguments = A._setArrayType([], type$.JSArray_Expression);
  46675. if (!t1.scanChar$1(41)) {
  46676. do {
  46677. _this.whitespace$0();
  46678. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  46679. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  46680. t4 = t3.offset;
  46681. t4 = A._FileSpan$(t3.file, t4, t4);
  46682. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  46683. break;
  46684. }
  46685. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  46686. _this.whitespace$0();
  46687. } while (t1.scanChar$1(44));
  46688. t1.expectChar$1(41);
  46689. }
  46690. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  46691. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  46692. t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
  46693. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  46694. t4 = type$.Expression;
  46695. return new A.InterpolatedFunctionExpression(t3, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty3, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
  46696. },
  46697. namespacedExpression$2(namespace, start) {
  46698. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  46699. this.error$2(0, string$.Modulen, expression.get$span(expression));
  46700. }
  46701. };
  46702. A.KeyframeSelectorParser.prototype = {
  46703. parse$0() {
  46704. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  46705. },
  46706. _percentage$0() {
  46707. var t3, next,
  46708. t1 = this.scanner,
  46709. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  46710. second = t1.peekChar$0();
  46711. if (!A.isDigit(second) && second !== 46)
  46712. t1.error$1(0, "Expected number.");
  46713. while (true) {
  46714. t3 = t1.peekChar$0();
  46715. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  46716. break;
  46717. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46718. }
  46719. if (t1.peekChar$0() === 46) {
  46720. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46721. while (true) {
  46722. t3 = t1.peekChar$0();
  46723. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  46724. break;
  46725. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46726. }
  46727. }
  46728. if (this.scanIdentChar$1(101)) {
  46729. t2 += A.Primitives_stringFromCharCode(101);
  46730. next = t1.peekChar$0();
  46731. if (next === 43 || next === 45)
  46732. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46733. if (!A.isDigit(t1.peekChar$0()))
  46734. t1.error$1(0, "Expected digit.");
  46735. while (true) {
  46736. t3 = t1.peekChar$0();
  46737. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  46738. break;
  46739. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46740. }
  46741. }
  46742. t1.expectChar$1(37);
  46743. t2 += A.Primitives_stringFromCharCode(37);
  46744. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46745. }
  46746. };
  46747. A.KeyframeSelectorParser_parse_closure.prototype = {
  46748. call$0() {
  46749. var selectors = A._setArrayType([], type$.JSArray_String),
  46750. t1 = this.$this,
  46751. t2 = t1.scanner;
  46752. do {
  46753. t1.whitespace$0();
  46754. if (t1.lookingAtIdentifier$0())
  46755. if (t1.scanIdentifier$1("from"))
  46756. selectors.push("from");
  46757. else {
  46758. t1.expectIdentifier$2$name("to", '"to" or "from"');
  46759. selectors.push("to");
  46760. }
  46761. else
  46762. selectors.push(t1._percentage$0());
  46763. t1.whitespace$0();
  46764. } while (t2.scanChar$1(44));
  46765. t2.expectDone$0();
  46766. return selectors;
  46767. },
  46768. $signature: 130
  46769. };
  46770. A.MediaQueryParser.prototype = {
  46771. parse$0() {
  46772. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  46773. },
  46774. _mediaQuery$0() {
  46775. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  46776. if (_this.scanner.peekChar$0() === 40) {
  46777. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  46778. _this.whitespace$0();
  46779. if (_this.scanIdentifier$1(_s3_)) {
  46780. _this.expectWhitespace$0();
  46781. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  46782. conjunction = true;
  46783. } else if (_this.scanIdentifier$1("or")) {
  46784. _this.expectWhitespace$0();
  46785. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  46786. conjunction = false;
  46787. } else
  46788. conjunction = true;
  46789. return A.CssMediaQuery$condition(conditions, conjunction);
  46790. }
  46791. identifier1 = _this.identifier$0();
  46792. if (A.equalsIgnoreCase(identifier1, "not")) {
  46793. _this.expectWhitespace$0();
  46794. if (!_this.lookingAtIdentifier$0())
  46795. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  46796. }
  46797. _this.whitespace$0();
  46798. if (!_this.lookingAtIdentifier$0())
  46799. return A.CssMediaQuery$type(identifier1, _null, _null);
  46800. identifier2 = _this.identifier$0();
  46801. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  46802. _this.expectWhitespace$0();
  46803. type = identifier1;
  46804. modifier = _null;
  46805. } else {
  46806. _this.whitespace$0();
  46807. if (_this.scanIdentifier$1(_s3_))
  46808. _this.expectWhitespace$0();
  46809. else
  46810. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  46811. type = identifier2;
  46812. modifier = identifier1;
  46813. }
  46814. if (_this.scanIdentifier$1("not")) {
  46815. _this.expectWhitespace$0();
  46816. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  46817. }
  46818. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  46819. },
  46820. _mediaLogicSequence$1(operator) {
  46821. var t1, t2, _this = this,
  46822. result = A._setArrayType([], type$.JSArray_String);
  46823. for (t1 = _this.scanner; true;) {
  46824. t1.expectChar$2$name(40, "media condition in parentheses");
  46825. t2 = _this.declarationValue$0();
  46826. t1.expectChar$1(41);
  46827. result.push("(" + t2 + ")");
  46828. _this.whitespace$0();
  46829. if (!_this.scanIdentifier$1(operator))
  46830. return result;
  46831. _this.expectWhitespace$0();
  46832. }
  46833. },
  46834. _mediaInParens$0() {
  46835. var t2,
  46836. t1 = this.scanner;
  46837. t1.expectChar$2$name(40, "media condition in parentheses");
  46838. t2 = this.declarationValue$0();
  46839. t1.expectChar$1(41);
  46840. return "(" + t2 + ")";
  46841. }
  46842. };
  46843. A.MediaQueryParser_parse_closure.prototype = {
  46844. call$0() {
  46845. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  46846. t1 = this.$this,
  46847. t2 = t1.scanner;
  46848. do {
  46849. t1.whitespace$0();
  46850. queries.push(t1._mediaQuery$0());
  46851. t1.whitespace$0();
  46852. } while (t2.scanChar$1(44));
  46853. t2.expectDone$0();
  46854. return queries;
  46855. },
  46856. $signature: 260
  46857. };
  46858. A.Parser.prototype = {
  46859. _parseIdentifier$0() {
  46860. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  46861. },
  46862. _isVariableDeclarationLike$0() {
  46863. var _this = this,
  46864. t1 = _this.scanner;
  46865. if (!t1.scanChar$1(36))
  46866. return false;
  46867. if (!_this.lookingAtIdentifier$0())
  46868. return false;
  46869. _this.identifier$0();
  46870. _this.whitespace$0();
  46871. return t1.scanChar$1(58);
  46872. },
  46873. whitespace$0() {
  46874. do
  46875. this.whitespaceWithoutComments$0();
  46876. while (this.scanComment$0());
  46877. },
  46878. whitespaceWithoutComments$0() {
  46879. var t3,
  46880. t1 = this.scanner,
  46881. t2 = t1.string.length;
  46882. while (true) {
  46883. if (t1._string_scanner$_position !== t2) {
  46884. t3 = t1.peekChar$0();
  46885. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  46886. } else
  46887. t3 = false;
  46888. if (!t3)
  46889. break;
  46890. t1.readChar$0();
  46891. }
  46892. },
  46893. spaces$0() {
  46894. var t3,
  46895. t1 = this.scanner,
  46896. t2 = t1.string.length;
  46897. while (true) {
  46898. if (t1._string_scanner$_position !== t2) {
  46899. t3 = t1.peekChar$0();
  46900. t3 = t3 === 32 || t3 === 9;
  46901. } else
  46902. t3 = false;
  46903. if (!t3)
  46904. break;
  46905. t1.readChar$0();
  46906. }
  46907. },
  46908. scanComment$0() {
  46909. var next,
  46910. t1 = this.scanner;
  46911. if (t1.peekChar$0() !== 47)
  46912. return false;
  46913. next = t1.peekChar$1(1);
  46914. if (next === 47) {
  46915. this.silentComment$0();
  46916. return true;
  46917. } else if (next === 42) {
  46918. this.loudComment$0();
  46919. return true;
  46920. } else
  46921. return false;
  46922. },
  46923. expectWhitespace$0() {
  46924. var t2, t3,
  46925. t1 = this.scanner;
  46926. if (t1._string_scanner$_position !== t1.string.length) {
  46927. t2 = t1.peekChar$0();
  46928. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  46929. t2 = t3;
  46930. } else
  46931. t2 = true;
  46932. if (t2)
  46933. t1.error$1(0, "Expected whitespace.");
  46934. this.whitespace$0();
  46935. },
  46936. silentComment$0() {
  46937. var t2, t3,
  46938. t1 = this.scanner;
  46939. t1.expect$1("//");
  46940. t2 = t1.string.length;
  46941. while (true) {
  46942. if (t1._string_scanner$_position !== t2) {
  46943. t3 = t1.peekChar$0();
  46944. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  46945. } else
  46946. t3 = false;
  46947. if (!t3)
  46948. break;
  46949. t1.readChar$0();
  46950. }
  46951. },
  46952. loudComment$0() {
  46953. var next,
  46954. t1 = this.scanner;
  46955. t1.expect$1("/*");
  46956. for (; true;) {
  46957. if (t1.readChar$0() !== 42)
  46958. continue;
  46959. do
  46960. next = t1.readChar$0();
  46961. while (next === 42);
  46962. if (next === 47)
  46963. break;
  46964. }
  46965. },
  46966. identifier$2$normalize$unit(normalize, unit) {
  46967. var t2, first, _this = this,
  46968. _s20_ = "Expected identifier.",
  46969. text = new A.StringBuffer(""),
  46970. t1 = _this.scanner;
  46971. if (t1.scanChar$1(45)) {
  46972. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  46973. if (t1.scanChar$1(45)) {
  46974. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  46975. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  46976. t1 = text._contents;
  46977. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46978. }
  46979. } else
  46980. t2 = "";
  46981. first = t1.peekChar$0();
  46982. if (first == null)
  46983. t1.error$1(0, _s20_);
  46984. else if (normalize && first === 95) {
  46985. t1.readChar$0();
  46986. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  46987. } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  46988. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  46989. else if (first === 92)
  46990. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  46991. else
  46992. t1.error$1(0, _s20_);
  46993. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  46994. t1 = text._contents;
  46995. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46996. },
  46997. identifier$0() {
  46998. return this.identifier$2$normalize$unit(false, false);
  46999. },
  47000. identifier$1$normalize(normalize) {
  47001. return this.identifier$2$normalize$unit(normalize, false);
  47002. },
  47003. identifier$1$unit(unit) {
  47004. return this.identifier$2$normalize$unit(false, unit);
  47005. },
  47006. _identifierBody$3$normalize$unit(text, normalize, unit) {
  47007. var t1, next, second, t2;
  47008. for (t1 = this.scanner; true;) {
  47009. next = t1.peekChar$0();
  47010. if (next == null)
  47011. break;
  47012. else if (unit && next === 45) {
  47013. second = t1.peekChar$1(1);
  47014. if (second != null)
  47015. if (second !== 46)
  47016. t2 = second >= 48 && second <= 57;
  47017. else
  47018. t2 = true;
  47019. else
  47020. t2 = false;
  47021. if (t2)
  47022. break;
  47023. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47024. } else if (normalize && next === 95) {
  47025. t1.readChar$0();
  47026. text._contents += A.Primitives_stringFromCharCode(45);
  47027. } else {
  47028. if (next !== 95) {
  47029. if (!(next >= 97 && next <= 122))
  47030. t2 = next >= 65 && next <= 90;
  47031. else
  47032. t2 = true;
  47033. t2 = t2 || next >= 128;
  47034. } else
  47035. t2 = true;
  47036. if (!t2)
  47037. t2 = next >= 48 && next <= 57 || next === 45;
  47038. else
  47039. t2 = true;
  47040. if (t2)
  47041. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47042. else if (next === 92)
  47043. text._contents += A.S(this.escape$0());
  47044. else
  47045. break;
  47046. }
  47047. }
  47048. },
  47049. _identifierBody$1(text) {
  47050. return this._identifierBody$3$normalize$unit(text, false, false);
  47051. },
  47052. string$0() {
  47053. var buffer, next, t2,
  47054. t1 = this.scanner,
  47055. quote = t1.readChar$0();
  47056. if (quote !== 39 && quote !== 34)
  47057. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  47058. buffer = new A.StringBuffer("");
  47059. for (; true;) {
  47060. next = t1.peekChar$0();
  47061. if (next === quote) {
  47062. t1.readChar$0();
  47063. break;
  47064. } else if (next == null || next === 10 || next === 13 || next === 12)
  47065. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  47066. else if (next === 92) {
  47067. t2 = t1.peekChar$1(1);
  47068. if (t2 === 10 || t2 === 13 || t2 === 12) {
  47069. t1.readChar$0();
  47070. t1.readChar$0();
  47071. } else
  47072. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  47073. } else
  47074. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47075. }
  47076. t1 = buffer._contents;
  47077. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47078. },
  47079. declarationValue$1$allowEmpty(allowEmpty) {
  47080. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  47081. buffer = new A.StringBuffer(""),
  47082. brackets = A._setArrayType([], type$.JSArray_int);
  47083. $label0$1:
  47084. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  47085. next = t1.peekChar$0();
  47086. switch (next) {
  47087. case 92:
  47088. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  47089. wroteNewline = false;
  47090. break;
  47091. case 34:
  47092. case 39:
  47093. start = t1._string_scanner$_position;
  47094. t2.call$0();
  47095. end = t1._string_scanner$_position;
  47096. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  47097. wroteNewline = false;
  47098. break;
  47099. case 47:
  47100. if (t1.peekChar$1(1) === 42) {
  47101. t3 = _this.get$loudComment();
  47102. start = t1._string_scanner$_position;
  47103. t3.call$0();
  47104. end = t1._string_scanner$_position;
  47105. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  47106. } else
  47107. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47108. wroteNewline = false;
  47109. break;
  47110. case 32:
  47111. case 9:
  47112. if (!wroteNewline) {
  47113. t3 = t1.peekChar$1(1);
  47114. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  47115. } else
  47116. t3 = true;
  47117. if (t3)
  47118. buffer._contents += A.Primitives_stringFromCharCode(32);
  47119. t1.readChar$0();
  47120. break;
  47121. case 10:
  47122. case 13:
  47123. case 12:
  47124. t3 = t1.peekChar$1(-1);
  47125. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  47126. buffer._contents += "\n";
  47127. t1.readChar$0();
  47128. wroteNewline = true;
  47129. break;
  47130. case 40:
  47131. case 123:
  47132. case 91:
  47133. next.toString;
  47134. buffer._contents += A.Primitives_stringFromCharCode(next);
  47135. brackets.push(A.opposite(t1.readChar$0()));
  47136. wroteNewline = false;
  47137. break;
  47138. case 41:
  47139. case 125:
  47140. case 93:
  47141. if (brackets.length === 0)
  47142. break $label0$1;
  47143. next.toString;
  47144. buffer._contents += A.Primitives_stringFromCharCode(next);
  47145. t1.expectChar$1(brackets.pop());
  47146. wroteNewline = false;
  47147. break;
  47148. case 59:
  47149. if (brackets.length === 0)
  47150. break $label0$1;
  47151. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47152. break;
  47153. case 117:
  47154. case 85:
  47155. url = _this.tryUrl$0();
  47156. if (url != null)
  47157. buffer._contents += url;
  47158. else
  47159. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47160. wroteNewline = false;
  47161. break;
  47162. default:
  47163. if (next == null)
  47164. break $label0$1;
  47165. if (_this.lookingAtIdentifier$0())
  47166. buffer._contents += _this.identifier$0();
  47167. else
  47168. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47169. wroteNewline = false;
  47170. break;
  47171. }
  47172. }
  47173. if (brackets.length !== 0)
  47174. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  47175. if (!allowEmpty && buffer._contents.length === 0)
  47176. t1.error$1(0, "Expected token.");
  47177. t1 = buffer._contents;
  47178. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47179. },
  47180. declarationValue$0() {
  47181. return this.declarationValue$1$allowEmpty(false);
  47182. },
  47183. tryUrl$0() {
  47184. var buffer, next, t2, _this = this,
  47185. t1 = _this.scanner,
  47186. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47187. if (!_this.scanIdentifier$1("url"))
  47188. return null;
  47189. if (!t1.scanChar$1(40)) {
  47190. t1.set$state(start);
  47191. return null;
  47192. }
  47193. _this.whitespace$0();
  47194. buffer = new A.StringBuffer("");
  47195. buffer._contents = "" + "url(";
  47196. for (; true;) {
  47197. next = t1.peekChar$0();
  47198. if (next == null)
  47199. break;
  47200. else if (next === 92)
  47201. buffer._contents += A.S(_this.escape$0());
  47202. else {
  47203. if (next !== 37)
  47204. if (next !== 38)
  47205. if (next !== 35)
  47206. t2 = next >= 42 && next <= 126 || next >= 128;
  47207. else
  47208. t2 = true;
  47209. else
  47210. t2 = true;
  47211. else
  47212. t2 = true;
  47213. if (t2)
  47214. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47215. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  47216. _this.whitespace$0();
  47217. if (t1.peekChar$0() !== 41)
  47218. break;
  47219. } else if (next === 41) {
  47220. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47221. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47222. } else
  47223. break;
  47224. }
  47225. }
  47226. t1.set$state(start);
  47227. return null;
  47228. },
  47229. variableName$0() {
  47230. this.scanner.expectChar$1(36);
  47231. return this.identifier$1$normalize(true);
  47232. },
  47233. escape$1$identifierStart(identifierStart) {
  47234. var value, first, i, next, t2, exception,
  47235. _s25_ = "Expected escape sequence.",
  47236. t1 = this.scanner,
  47237. start = t1._string_scanner$_position;
  47238. t1.expectChar$1(92);
  47239. value = 0;
  47240. first = t1.peekChar$0();
  47241. if (first == null)
  47242. t1.error$1(0, _s25_);
  47243. else if (first === 10 || first === 13 || first === 12)
  47244. t1.error$1(0, _s25_);
  47245. else if (A.isHex(first)) {
  47246. for (i = 0; i < 6; ++i) {
  47247. next = t1.peekChar$0();
  47248. if (next == null || !A.isHex(next))
  47249. break;
  47250. value *= 16;
  47251. value += A.asHex(t1.readChar$0());
  47252. }
  47253. this.scanCharIf$1(A.character__isWhitespace$closure());
  47254. } else
  47255. value = t1.readChar$0();
  47256. if (identifierStart) {
  47257. t2 = value;
  47258. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
  47259. } else {
  47260. t2 = value;
  47261. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
  47262. }
  47263. if (t2)
  47264. try {
  47265. t2 = A.Primitives_stringFromCharCode(value);
  47266. return t2;
  47267. } catch (exception) {
  47268. if (type$.RangeError._is(A.unwrapException(exception)))
  47269. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  47270. else
  47271. throw exception;
  47272. }
  47273. else {
  47274. if (!(value <= 31))
  47275. if (!J.$eq$(value, 127))
  47276. t1 = identifierStart && A.isDigit(value);
  47277. else
  47278. t1 = true;
  47279. else
  47280. t1 = true;
  47281. if (t1) {
  47282. t1 = "" + A.Primitives_stringFromCharCode(92);
  47283. if (value > 15)
  47284. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  47285. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  47286. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47287. } else
  47288. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  47289. }
  47290. },
  47291. escape$0() {
  47292. return this.escape$1$identifierStart(false);
  47293. },
  47294. scanCharIf$1(condition) {
  47295. var t1 = this.scanner;
  47296. if (!condition.call$1(t1.peekChar$0()))
  47297. return false;
  47298. t1.readChar$0();
  47299. return true;
  47300. },
  47301. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  47302. var t3,
  47303. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  47304. t2 = this.scanner,
  47305. next = t2.peekChar$0();
  47306. if (next != null && t1.call$1(next)) {
  47307. t2.readChar$0();
  47308. return true;
  47309. } else if (next === 92) {
  47310. t3 = t2._string_scanner$_position;
  47311. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  47312. return true;
  47313. t2.set$state(new A._SpanScannerState(t2, t3));
  47314. }
  47315. return false;
  47316. },
  47317. scanIdentChar$1(char) {
  47318. return this.scanIdentChar$2$caseSensitive(char, false);
  47319. },
  47320. expectIdentChar$1(letter) {
  47321. var t1;
  47322. if (this.scanIdentChar$2$caseSensitive(letter, false))
  47323. return;
  47324. t1 = this.scanner;
  47325. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  47326. },
  47327. lookingAtIdentifier$1($forward) {
  47328. var t1, first, second;
  47329. if ($forward == null)
  47330. $forward = 0;
  47331. t1 = this.scanner;
  47332. first = t1.peekChar$1($forward);
  47333. if (first == null)
  47334. return false;
  47335. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  47336. return true;
  47337. if (first !== 45)
  47338. return false;
  47339. second = t1.peekChar$1($forward + 1);
  47340. if (second == null)
  47341. return false;
  47342. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  47343. },
  47344. lookingAtIdentifier$0() {
  47345. return this.lookingAtIdentifier$1(null);
  47346. },
  47347. lookingAtIdentifierBody$0() {
  47348. var t1,
  47349. next = this.scanner.peekChar$0();
  47350. if (next != null)
  47351. t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
  47352. else
  47353. t1 = false;
  47354. return t1;
  47355. },
  47356. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  47357. var t1, t2, _this = this;
  47358. if (!_this.lookingAtIdentifier$0())
  47359. return false;
  47360. t1 = _this.scanner;
  47361. t2 = t1._string_scanner$_position;
  47362. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  47363. return true;
  47364. else {
  47365. t1.set$state(new A._SpanScannerState(t1, t2));
  47366. return false;
  47367. }
  47368. },
  47369. scanIdentifier$1(text) {
  47370. return this.scanIdentifier$2$caseSensitive(text, false);
  47371. },
  47372. _consumeIdentifier$2(text, caseSensitive) {
  47373. var t1, t2, t3;
  47374. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  47375. t3 = t1.__internal$_current;
  47376. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  47377. return false;
  47378. }
  47379. return true;
  47380. },
  47381. expectIdentifier$2$name(text, $name) {
  47382. var t1, start, t2, t3, t4, t5, t6;
  47383. if ($name == null)
  47384. $name = '"' + text + '"';
  47385. t1 = this.scanner;
  47386. start = t1._string_scanner$_position;
  47387. for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  47388. t6 = t2.__internal$_current;
  47389. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  47390. continue;
  47391. t1.error$2$position(0, t4, start);
  47392. }
  47393. if (!this.lookingAtIdentifierBody$0())
  47394. return;
  47395. t1.error$2$position(0, t3, start);
  47396. },
  47397. expectIdentifier$1(text) {
  47398. return this.expectIdentifier$2$name(text, null);
  47399. },
  47400. rawText$1(consumer) {
  47401. var t1 = this.scanner,
  47402. start = t1._string_scanner$_position;
  47403. consumer.call$0();
  47404. return t1.substring$1(0, start);
  47405. },
  47406. spanFrom$1(state) {
  47407. var span = this.scanner.spanFrom$1(state);
  47408. if (this._interpolationMap != null)
  47409. return new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  47410. return span;
  47411. },
  47412. error$3(_, message, span, trace) {
  47413. var exception = new A.StringScannerException(this.scanner.string, message, span);
  47414. if (trace == null)
  47415. throw A.wrapException(exception);
  47416. else
  47417. A.throwWithTrace(exception, trace);
  47418. },
  47419. error$2($receiver, message, span) {
  47420. return this.error$3($receiver, message, span, null);
  47421. },
  47422. withErrorMessage$1$2(message, callback) {
  47423. var error, stackTrace, t1, exception;
  47424. try {
  47425. t1 = callback.call$0();
  47426. return t1;
  47427. } catch (exception) {
  47428. t1 = A.unwrapException(exception);
  47429. if (type$.SourceSpanFormatException._is(t1)) {
  47430. error = t1;
  47431. stackTrace = A.getTraceFromException(exception);
  47432. t1 = J.get$span$z(error);
  47433. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  47434. } else
  47435. throw exception;
  47436. }
  47437. },
  47438. withErrorMessage$2(message, callback) {
  47439. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  47440. },
  47441. wrapSpanFormatException$1$1(callback) {
  47442. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, entry, t2, exception, t3, t4, _this = this,
  47443. _s8_ = "expected";
  47444. try {
  47445. try {
  47446. t2 = callback.call$0();
  47447. return t2;
  47448. } catch (exception) {
  47449. t2 = A.unwrapException(exception);
  47450. if (type$.SourceSpanFormatException._is(t2)) {
  47451. error = t2;
  47452. stackTrace = A.getTraceFromException(exception);
  47453. map = _this._interpolationMap;
  47454. if (map == null)
  47455. throw exception;
  47456. A.throwWithTrace(map.mapException$1(error), stackTrace);
  47457. } else
  47458. throw exception;
  47459. }
  47460. } catch (exception) {
  47461. t2 = A.unwrapException(exception);
  47462. if (type$.SourceSpanFormatException._is(t2)) {
  47463. error0 = t2;
  47464. stackTrace0 = A.getTraceFromException(exception);
  47465. span = J.get$span$z(error0);
  47466. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  47467. span = _this._adjustExceptionSpan$1(span);
  47468. A.throwWithTrace(new A.SassFormatException(error0._span_exception$_message, span), stackTrace0);
  47469. } else if (type$.MultiSourceSpanFormatException._is(t2)) {
  47470. error1 = t2;
  47471. stackTrace1 = A.getTraceFromException(exception);
  47472. span0 = J.get$span$z(error1);
  47473. t2 = type$.FileSpan;
  47474. t3 = type$.String;
  47475. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t2, t3);
  47476. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  47477. span0 = _this._adjustExceptionSpan$1(span0);
  47478. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  47479. for (t4 = J.get$entries$z(secondarySpans), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  47480. entry = t4.get$current(t4);
  47481. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(entry.key), entry.value);
  47482. }
  47483. secondarySpans = t1;
  47484. }
  47485. t1 = error1._span_exception$_message;
  47486. t4 = span0;
  47487. A.throwWithTrace(new A.MultiSpanSassFormatException(error1.get$primaryLabel(), A.ConstantMap_ConstantMap$from(secondarySpans, t2, t3), t1, t4), stackTrace1);
  47488. } else
  47489. throw exception;
  47490. }
  47491. },
  47492. wrapSpanFormatException$1(callback) {
  47493. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  47494. },
  47495. _adjustExceptionSpan$1(span) {
  47496. var start, t1;
  47497. if (span.get$length(span) > 0)
  47498. return span;
  47499. start = this._firstNewlineBefore$1(span.get$start(span));
  47500. if (start.$eq(0, span.get$start(span)))
  47501. t1 = span;
  47502. else {
  47503. t1 = start.offset;
  47504. t1 = A._FileSpan$(start.file, t1, t1);
  47505. }
  47506. return t1;
  47507. },
  47508. _firstNewlineBefore$1($location) {
  47509. var lastNewline, codeUnit,
  47510. t1 = $location.file,
  47511. t2 = $location.offset,
  47512. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  47513. index = t2 - 1;
  47514. for (lastNewline = null; index >= 0;) {
  47515. codeUnit = B.JSString_methods.codeUnitAt$1(text, index);
  47516. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  47517. if (lastNewline == null)
  47518. t1 = $location;
  47519. else {
  47520. t2 = new A.FileLocation(t1, lastNewline);
  47521. t2.FileLocation$_$2(t1, lastNewline);
  47522. t1 = t2;
  47523. }
  47524. return t1;
  47525. }
  47526. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  47527. lastNewline = index;
  47528. --index;
  47529. }
  47530. return $location;
  47531. }
  47532. };
  47533. A.Parser__parseIdentifier_closure.prototype = {
  47534. call$0() {
  47535. var t1 = this.$this,
  47536. result = t1.identifier$0();
  47537. t1.scanner.expectDone$0();
  47538. return result;
  47539. },
  47540. $signature: 32
  47541. };
  47542. A.Parser_scanIdentChar_matches.prototype = {
  47543. call$1(actual) {
  47544. var t1 = this.char;
  47545. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  47546. },
  47547. $signature: 51
  47548. };
  47549. A.Parser_spanFrom_closure.prototype = {
  47550. call$0() {
  47551. return this.$this._interpolationMap.mapSpan$1(this.span);
  47552. },
  47553. $signature: 24
  47554. };
  47555. A.SassParser.prototype = {
  47556. get$currentIndentation() {
  47557. return this._currentIndentation;
  47558. },
  47559. get$indented() {
  47560. return true;
  47561. },
  47562. styleRuleSelector$0() {
  47563. var t4,
  47564. t1 = this.scanner,
  47565. t2 = t1._string_scanner$_position,
  47566. t3 = new A.StringBuffer(""),
  47567. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  47568. do {
  47569. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  47570. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  47571. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
  47572. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  47573. },
  47574. expectStatementSeparator$1($name) {
  47575. var t1, _this = this;
  47576. if (!_this.atEndOfStatement$0())
  47577. _this._expectNewline$0();
  47578. if (_this._peekIndentation$0() <= _this._currentIndentation)
  47579. return;
  47580. t1 = $name == null ? "here" : "beneath a " + $name;
  47581. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  47582. },
  47583. expectStatementSeparator$0() {
  47584. return this.expectStatementSeparator$1(null);
  47585. },
  47586. atEndOfStatement$0() {
  47587. var next = this.scanner.peekChar$0();
  47588. return next == null || next === 10 || next === 13 || next === 12;
  47589. },
  47590. lookingAtChildren$0() {
  47591. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  47592. },
  47593. importArgument$0() {
  47594. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  47595. t1 = _this.scanner;
  47596. switch (t1.peekChar$0()) {
  47597. case 117:
  47598. case 85:
  47599. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47600. if (_this.scanIdentifier$1("url"))
  47601. if (t1.scanChar$1(40)) {
  47602. t1.set$state(start);
  47603. return _this.super$StylesheetParser$importArgument();
  47604. } else
  47605. t1.set$state(start);
  47606. break;
  47607. case 39:
  47608. case 34:
  47609. return _this.super$StylesheetParser$importArgument();
  47610. }
  47611. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47612. next = t1.peekChar$0();
  47613. while (true) {
  47614. if (next != null)
  47615. if (next !== 44)
  47616. if (next !== 59)
  47617. t2 = !(next === 10 || next === 13 || next === 12);
  47618. else
  47619. t2 = false;
  47620. else
  47621. t2 = false;
  47622. else
  47623. t2 = false;
  47624. if (!t2)
  47625. break;
  47626. t1.readChar$0();
  47627. next = t1.peekChar$0();
  47628. }
  47629. url = t1.substring$1(0, start.position);
  47630. span = t1.spanFrom$1(start);
  47631. if (_this.isPlainImportUrl$1(url))
  47632. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  47633. else
  47634. try {
  47635. t1 = _this.parseImportUrl$1(url);
  47636. return new A.DynamicImport(t1, span);
  47637. } catch (exception) {
  47638. t1 = A.unwrapException(exception);
  47639. if (type$.FormatException._is(t1)) {
  47640. innerError = t1;
  47641. stackTrace = A.getTraceFromException(exception);
  47642. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  47643. } else
  47644. throw exception;
  47645. }
  47646. },
  47647. scanElse$1(ifIndentation) {
  47648. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  47649. if (_this._peekIndentation$0() !== ifIndentation)
  47650. return false;
  47651. t1 = _this.scanner;
  47652. t2 = t1._string_scanner$_position;
  47653. startIndentation = _this._currentIndentation;
  47654. startNextIndentation = _this._nextIndentation;
  47655. startNextIndentationEnd = _this._nextIndentationEnd;
  47656. _this._readIndentation$0();
  47657. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  47658. return true;
  47659. t1.set$state(new A._SpanScannerState(t1, t2));
  47660. _this._currentIndentation = startIndentation;
  47661. _this._nextIndentation = startNextIndentation;
  47662. _this._nextIndentationEnd = startNextIndentationEnd;
  47663. return false;
  47664. },
  47665. children$1(_, child) {
  47666. var children = A._setArrayType([], type$.JSArray_Statement);
  47667. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  47668. return children;
  47669. },
  47670. statements$1(statement) {
  47671. var statements, t2, child,
  47672. t1 = this.scanner,
  47673. first = t1.peekChar$0();
  47674. if (first === 9 || first === 32)
  47675. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  47676. statements = A._setArrayType([], type$.JSArray_Statement);
  47677. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  47678. child = this._child$1(statement);
  47679. if (child != null)
  47680. statements.push(child);
  47681. this._readIndentation$0();
  47682. }
  47683. return statements;
  47684. },
  47685. _child$1(child) {
  47686. var _this = this,
  47687. t1 = _this.scanner;
  47688. switch (t1.peekChar$0()) {
  47689. case 13:
  47690. case 10:
  47691. case 12:
  47692. return null;
  47693. case 36:
  47694. return _this.variableDeclarationWithoutNamespace$0();
  47695. case 47:
  47696. switch (t1.peekChar$1(1)) {
  47697. case 47:
  47698. return _this._silentComment$0();
  47699. case 42:
  47700. return _this._loudComment$0();
  47701. default:
  47702. return child.call$0();
  47703. }
  47704. default:
  47705. return child.call$0();
  47706. }
  47707. },
  47708. _silentComment$0() {
  47709. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  47710. t1 = _this.scanner,
  47711. t2 = t1._string_scanner$_position;
  47712. t1.expect$1("//");
  47713. buffer = new A.StringBuffer("");
  47714. parentIndentation = _this._currentIndentation;
  47715. t3 = t1.string.length;
  47716. t4 = 1 + parentIndentation;
  47717. t5 = 2 + parentIndentation;
  47718. $label0$0:
  47719. do {
  47720. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  47721. for (i = commentPrefix.length; true;) {
  47722. t6 = buffer._contents += commentPrefix;
  47723. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  47724. t6 += A.Primitives_stringFromCharCode(32);
  47725. buffer._contents = t6;
  47726. }
  47727. while (true) {
  47728. if (t1._string_scanner$_position !== t3) {
  47729. t7 = t1.peekChar$0();
  47730. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  47731. } else
  47732. t7 = false;
  47733. if (!t7)
  47734. break;
  47735. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47736. buffer._contents = t6;
  47737. }
  47738. buffer._contents = t6 + "\n";
  47739. if (_this._peekIndentation$0() < parentIndentation)
  47740. break $label0$0;
  47741. if (_this._peekIndentation$0() === parentIndentation) {
  47742. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  47743. _this._readIndentation$0();
  47744. break;
  47745. }
  47746. _this._readIndentation$0();
  47747. }
  47748. } while (t1.scan$1("//"));
  47749. t3 = buffer._contents;
  47750. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  47751. },
  47752. _loudComment$0() {
  47753. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  47754. t1 = _this.scanner,
  47755. t2 = t1._string_scanner$_position;
  47756. t1.expect$1("/*");
  47757. t3 = new A.StringBuffer("");
  47758. t4 = A._setArrayType([], type$.JSArray_Object);
  47759. buffer = new A.InterpolationBuffer(t3, t4);
  47760. t3._contents = "" + "/*";
  47761. parentIndentation = _this._currentIndentation;
  47762. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  47763. if (first) {
  47764. beginningOfComment = t1._string_scanner$_position;
  47765. _this.spaces$0();
  47766. t7 = t1.peekChar$0();
  47767. if (t7 === 10 || t7 === 13 || t7 === 12) {
  47768. _this._readIndentation$0();
  47769. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  47770. } else {
  47771. end = t1._string_scanner$_position;
  47772. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  47773. }
  47774. } else {
  47775. t7 = t3._contents += "\n";
  47776. t7 += " * ";
  47777. t3._contents = t7;
  47778. }
  47779. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  47780. t7 += A.Primitives_stringFromCharCode(32);
  47781. t3._contents = t7;
  47782. }
  47783. $label0$1:
  47784. for (; t1._string_scanner$_position !== t6;)
  47785. switch (t1.peekChar$0()) {
  47786. case 10:
  47787. case 13:
  47788. case 12:
  47789. break $label0$1;
  47790. case 35:
  47791. if (t1.peekChar$1(1) === 123) {
  47792. t7 = _this.singleInterpolation$0();
  47793. buffer._flushText$0();
  47794. t4.push(t7);
  47795. } else
  47796. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47797. break;
  47798. default:
  47799. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  47800. break;
  47801. }
  47802. if (_this._peekIndentation$0() <= parentIndentation)
  47803. break;
  47804. for (; _this._lookingAtDoubleNewline$0();) {
  47805. _this._expectNewline$0();
  47806. t7 = t3._contents += "\n";
  47807. t3._contents = t7 + " *";
  47808. }
  47809. _this._readIndentation$0();
  47810. }
  47811. t4 = t3._contents;
  47812. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  47813. t3._contents += " */";
  47814. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  47815. },
  47816. whitespaceWithoutComments$0() {
  47817. var t1, t2, next;
  47818. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  47819. next = t1.peekChar$0();
  47820. if (next !== 9 && next !== 32)
  47821. break;
  47822. t1.readChar$0();
  47823. }
  47824. },
  47825. loudComment$0() {
  47826. var next,
  47827. t1 = this.scanner;
  47828. t1.expect$1("/*");
  47829. for (; true;) {
  47830. next = t1.readChar$0();
  47831. if (next === 10 || next === 13 || next === 12)
  47832. t1.error$1(0, "expected */.");
  47833. if (next !== 42)
  47834. continue;
  47835. do
  47836. next = t1.readChar$0();
  47837. while (next === 42);
  47838. if (next === 47)
  47839. break;
  47840. }
  47841. },
  47842. _expectNewline$0() {
  47843. var t1 = this.scanner;
  47844. switch (t1.peekChar$0()) {
  47845. case 59:
  47846. t1.error$1(0, string$.semico);
  47847. break;
  47848. case 13:
  47849. t1.readChar$0();
  47850. if (t1.peekChar$0() === 10)
  47851. t1.readChar$0();
  47852. return;
  47853. case 10:
  47854. case 12:
  47855. t1.readChar$0();
  47856. return;
  47857. default:
  47858. t1.error$1(0, "expected newline.");
  47859. }
  47860. },
  47861. _lookingAtDoubleNewline$0() {
  47862. var nextChar,
  47863. t1 = this.scanner;
  47864. switch (t1.peekChar$0()) {
  47865. case 13:
  47866. nextChar = t1.peekChar$1(1);
  47867. if (nextChar === 10) {
  47868. t1 = t1.peekChar$1(2);
  47869. return t1 === 10 || t1 === 13 || t1 === 12;
  47870. }
  47871. return nextChar === 13 || nextChar === 12;
  47872. case 10:
  47873. case 12:
  47874. t1 = t1.peekChar$1(1);
  47875. return t1 === 10 || t1 === 13 || t1 === 12;
  47876. default:
  47877. return false;
  47878. }
  47879. },
  47880. _whileIndentedLower$1(body) {
  47881. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  47882. parentIndentation = _this._currentIndentation;
  47883. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  47884. indentation = _this._readIndentation$0();
  47885. if (childIndentation == null)
  47886. childIndentation = indentation;
  47887. if (childIndentation !== indentation) {
  47888. t3 = t1._string_scanner$_position;
  47889. t4 = t2.getColumn$1(t3);
  47890. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  47891. }
  47892. body.call$0();
  47893. }
  47894. },
  47895. _readIndentation$0() {
  47896. var t1, _this = this,
  47897. currentIndentation = _this._nextIndentation;
  47898. if (currentIndentation == null)
  47899. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  47900. _this._currentIndentation = currentIndentation;
  47901. t1 = _this._nextIndentationEnd;
  47902. t1.toString;
  47903. _this.scanner.set$state(t1);
  47904. _this._nextIndentationEnd = _this._nextIndentation = null;
  47905. return currentIndentation;
  47906. },
  47907. _peekIndentation$0() {
  47908. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  47909. cached = _this._nextIndentation;
  47910. if (cached != null)
  47911. return cached;
  47912. t1 = _this.scanner;
  47913. t2 = t1._string_scanner$_position;
  47914. t3 = t1.string.length;
  47915. if (t2 === t3) {
  47916. _this._nextIndentation = 0;
  47917. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  47918. return 0;
  47919. }
  47920. start = new A._SpanScannerState(t1, t2);
  47921. if (!_this.scanCharIf$1(A.character__isNewline$closure()))
  47922. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  47923. containsTab = A._Cell$();
  47924. containsSpace = A._Cell$();
  47925. nextIndentation = A._Cell$();
  47926. t2 = nextIndentation.__late_helper$_name;
  47927. do {
  47928. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  47929. nextIndentation.__late_helper$_value = 0;
  47930. for (; true;) {
  47931. next = t1.peekChar$0();
  47932. if (next === 32)
  47933. containsSpace.__late_helper$_value = true;
  47934. else if (next === 9)
  47935. containsTab.__late_helper$_value = true;
  47936. else
  47937. break;
  47938. t4 = nextIndentation.__late_helper$_value;
  47939. if (t4 === nextIndentation)
  47940. A.throwExpression(A.LateError$localNI(t2));
  47941. nextIndentation.__late_helper$_value = t4 + 1;
  47942. t1.readChar$0();
  47943. }
  47944. t4 = t1._string_scanner$_position;
  47945. if (t4 === t3) {
  47946. _this._nextIndentation = 0;
  47947. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  47948. t1.set$state(start);
  47949. return 0;
  47950. }
  47951. } while (_this.scanCharIf$1(A.character__isNewline$closure()));
  47952. t2 = containsTab._readLocal$0();
  47953. t3 = containsSpace._readLocal$0();
  47954. if (t2) {
  47955. if (t3) {
  47956. t2 = t1._string_scanner$_position;
  47957. t3 = t1._sourceFile;
  47958. t4 = t3.getColumn$1(t2);
  47959. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  47960. } else if (_this._spaces === true) {
  47961. t2 = t1._string_scanner$_position;
  47962. t3 = t1._sourceFile;
  47963. t4 = t3.getColumn$1(t2);
  47964. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  47965. }
  47966. } else if (t3 && _this._spaces === false) {
  47967. t2 = t1._string_scanner$_position;
  47968. t3 = t1._sourceFile;
  47969. t4 = t3.getColumn$1(t2);
  47970. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  47971. }
  47972. _this._nextIndentation = nextIndentation._readLocal$0();
  47973. if (nextIndentation._readLocal$0() > 0)
  47974. if (_this._spaces == null)
  47975. _this._spaces = containsSpace._readLocal$0();
  47976. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47977. t1.set$state(start);
  47978. return nextIndentation._readLocal$0();
  47979. }
  47980. };
  47981. A.SassParser_children_closure.prototype = {
  47982. call$0() {
  47983. var parsedChild = this.$this._child$1(this.child);
  47984. if (parsedChild != null)
  47985. this.children.push(parsedChild);
  47986. },
  47987. $signature: 0
  47988. };
  47989. A.ScssParser.prototype = {
  47990. get$indented() {
  47991. return false;
  47992. },
  47993. get$currentIndentation() {
  47994. return 0;
  47995. },
  47996. styleRuleSelector$0() {
  47997. return this.almostAnyValue$0();
  47998. },
  47999. expectStatementSeparator$1($name) {
  48000. var t1, next;
  48001. this.whitespaceWithoutComments$0();
  48002. t1 = this.scanner;
  48003. if (t1._string_scanner$_position === t1.string.length)
  48004. return;
  48005. next = t1.peekChar$0();
  48006. if (next === 59 || next === 125)
  48007. return;
  48008. t1.expectChar$1(59);
  48009. },
  48010. expectStatementSeparator$0() {
  48011. return this.expectStatementSeparator$1(null);
  48012. },
  48013. atEndOfStatement$0() {
  48014. var next = this.scanner.peekChar$0();
  48015. return next == null || next === 59 || next === 125 || next === 123;
  48016. },
  48017. lookingAtChildren$0() {
  48018. return this.scanner.peekChar$0() === 123;
  48019. },
  48020. scanElse$1(ifIndentation) {
  48021. var t3, _this = this,
  48022. t1 = _this.scanner,
  48023. t2 = t1._string_scanner$_position;
  48024. _this.whitespace$0();
  48025. t3 = t1._string_scanner$_position;
  48026. if (t1.scanChar$1(64)) {
  48027. if (_this.scanIdentifier$2$caseSensitive("else", true))
  48028. return true;
  48029. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  48030. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_JAZ, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  48031. t1.set$position(t1._string_scanner$_position - 2);
  48032. return true;
  48033. }
  48034. }
  48035. t1.set$state(new A._SpanScannerState(t1, t2));
  48036. return false;
  48037. },
  48038. children$1(_, child) {
  48039. var children, _this = this,
  48040. t1 = _this.scanner;
  48041. t1.expectChar$1(123);
  48042. _this.whitespaceWithoutComments$0();
  48043. children = A._setArrayType([], type$.JSArray_Statement);
  48044. for (; true;)
  48045. switch (t1.peekChar$0()) {
  48046. case 36:
  48047. children.push(_this.variableDeclarationWithoutNamespace$0());
  48048. break;
  48049. case 47:
  48050. switch (t1.peekChar$1(1)) {
  48051. case 47:
  48052. children.push(_this._scss$_silentComment$0());
  48053. _this.whitespaceWithoutComments$0();
  48054. break;
  48055. case 42:
  48056. children.push(_this._scss$_loudComment$0());
  48057. _this.whitespaceWithoutComments$0();
  48058. break;
  48059. default:
  48060. children.push(child.call$0());
  48061. break;
  48062. }
  48063. break;
  48064. case 59:
  48065. t1.readChar$0();
  48066. _this.whitespaceWithoutComments$0();
  48067. break;
  48068. case 125:
  48069. t1.expectChar$1(125);
  48070. return children;
  48071. default:
  48072. children.push(child.call$0());
  48073. break;
  48074. }
  48075. },
  48076. statements$1(statement) {
  48077. var t1, t2, child, _this = this,
  48078. statements = A._setArrayType([], type$.JSArray_Statement);
  48079. _this.whitespaceWithoutComments$0();
  48080. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  48081. switch (t1.peekChar$0()) {
  48082. case 36:
  48083. statements.push(_this.variableDeclarationWithoutNamespace$0());
  48084. break;
  48085. case 47:
  48086. switch (t1.peekChar$1(1)) {
  48087. case 47:
  48088. statements.push(_this._scss$_silentComment$0());
  48089. _this.whitespaceWithoutComments$0();
  48090. break;
  48091. case 42:
  48092. statements.push(_this._scss$_loudComment$0());
  48093. _this.whitespaceWithoutComments$0();
  48094. break;
  48095. default:
  48096. child = statement.call$0();
  48097. if (child != null)
  48098. statements.push(child);
  48099. break;
  48100. }
  48101. break;
  48102. case 59:
  48103. t1.readChar$0();
  48104. _this.whitespaceWithoutComments$0();
  48105. break;
  48106. default:
  48107. child = statement.call$0();
  48108. if (child != null)
  48109. statements.push(child);
  48110. break;
  48111. }
  48112. return statements;
  48113. },
  48114. _scss$_silentComment$0() {
  48115. var t2, t3, _this = this,
  48116. t1 = _this.scanner,
  48117. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48118. t1.expect$1("//");
  48119. t2 = t1.string.length;
  48120. do {
  48121. while (true) {
  48122. if (t1._string_scanner$_position !== t2) {
  48123. t3 = t1.readChar$0();
  48124. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  48125. } else
  48126. t3 = false;
  48127. if (!t3)
  48128. break;
  48129. }
  48130. if (t1._string_scanner$_position === t2)
  48131. break;
  48132. _this.spaces$0();
  48133. } while (t1.scan$1("//"));
  48134. if (_this.get$plainCss())
  48135. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  48136. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  48137. },
  48138. _scss$_loudComment$0() {
  48139. var t3, t4, buffer, t5, endPosition, t6, result,
  48140. t1 = this.scanner,
  48141. t2 = t1._string_scanner$_position;
  48142. t1.expect$1("/*");
  48143. t3 = new A.StringBuffer("");
  48144. t4 = A._setArrayType([], type$.JSArray_Object);
  48145. buffer = new A.InterpolationBuffer(t3, t4);
  48146. t3._contents = "" + "/*";
  48147. for (; true;)
  48148. switch (t1.peekChar$0()) {
  48149. case 35:
  48150. if (t1.peekChar$1(1) === 123) {
  48151. t5 = this.singleInterpolation$0();
  48152. buffer._flushText$0();
  48153. t4.push(t5);
  48154. } else
  48155. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48156. break;
  48157. case 42:
  48158. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48159. if (t1.peekChar$0() !== 47)
  48160. break;
  48161. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48162. endPosition = t1._string_scanner$_position;
  48163. t5 = t1._sourceFile;
  48164. t6 = new A._SpanScannerState(t1, t2).position;
  48165. t1 = new A._FileSpan(t5, t6, endPosition);
  48166. t1._FileSpan$3(t5, t6, endPosition);
  48167. t6 = type$.Object;
  48168. t5 = A.List_List$of(t4, true, t6);
  48169. t2 = t3._contents;
  48170. if (t2.length !== 0)
  48171. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  48172. result = A.List_List$from(t5, false, t6);
  48173. result.fixed$length = Array;
  48174. result.immutable$list = Array;
  48175. t2 = new A.Interpolation(result, t1);
  48176. t2.Interpolation$2(t5, t1);
  48177. return new A.LoudComment(t2);
  48178. case 13:
  48179. t1.readChar$0();
  48180. if (t1.peekChar$0() !== 10)
  48181. t3._contents += A.Primitives_stringFromCharCode(10);
  48182. break;
  48183. case 12:
  48184. t1.readChar$0();
  48185. t3._contents += A.Primitives_stringFromCharCode(10);
  48186. break;
  48187. default:
  48188. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  48189. break;
  48190. }
  48191. }
  48192. };
  48193. A.SelectorParser.prototype = {
  48194. parse$0() {
  48195. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  48196. },
  48197. parseCompoundSelector$0() {
  48198. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  48199. },
  48200. _selectorList$0() {
  48201. var t4, t5, lineBreak, _this = this,
  48202. t1 = _this.scanner,
  48203. t2 = t1._string_scanner$_position,
  48204. t3 = t1._sourceFile,
  48205. previousLine = t3.getLine$1(t2),
  48206. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  48207. _this.whitespace$0();
  48208. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  48209. _this.whitespace$0();
  48210. if (t1.peekChar$0() === 44)
  48211. continue;
  48212. t5 = t1._string_scanner$_position;
  48213. if (t5 === t4)
  48214. break;
  48215. lineBreak = t3.getLine$1(t5) !== previousLine;
  48216. if (lineBreak)
  48217. previousLine = t3.getLine$1(t1._string_scanner$_position);
  48218. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  48219. }
  48220. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48221. },
  48222. _complexSelector$1$lineBreak(lineBreak) {
  48223. var t4, t5, lastCompound, initialCombinators, next, t6, result, _this = this,
  48224. t1 = _this.scanner,
  48225. t2 = t1._string_scanner$_position,
  48226. componentStart = new A._SpanScannerState(t1, t2),
  48227. t3 = type$.JSArray_CssValue_Combinator,
  48228. combinators = A._setArrayType([], t3),
  48229. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  48230. $label0$1:
  48231. for (t4 = B.Set_2Vk2._map, t5 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  48232. _this.whitespace$0();
  48233. next = t1.peekChar$0();
  48234. switch (next) {
  48235. case 43:
  48236. t6 = t1._string_scanner$_position;
  48237. t1.readChar$0();
  48238. combinators.push(new A.CssValue(B.Combinator_4QF, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48239. break;
  48240. case 62:
  48241. t6 = t1._string_scanner$_position;
  48242. t1.readChar$0();
  48243. combinators.push(new A.CssValue(B.Combinator_Cht, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48244. break;
  48245. case 126:
  48246. t6 = t1._string_scanner$_position;
  48247. t1.readChar$0();
  48248. combinators.push(new A.CssValue(B.Combinator_Htt, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  48249. break;
  48250. default:
  48251. if (next != null)
  48252. t6 = !t4.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  48253. else
  48254. t6 = true;
  48255. if (t6)
  48256. break $label0$1;
  48257. if (lastCompound != null) {
  48258. t6 = _this.spanFrom$1(componentStart);
  48259. result = A.List_List$from(combinators, false, t5);
  48260. result.fixed$length = Array;
  48261. result.immutable$list = Array;
  48262. components.push(new A.ComplexSelectorComponent(lastCompound, result, t6));
  48263. } else if (combinators.length !== 0) {
  48264. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48265. initialCombinators = combinators;
  48266. }
  48267. lastCompound = _this._compoundSelector$0();
  48268. combinators = A._setArrayType([], t3);
  48269. if (t1.peekChar$0() === 38)
  48270. t1.error$1(0, string$.x22x26__ma);
  48271. break;
  48272. }
  48273. }
  48274. if (lastCompound != null) {
  48275. t3 = _this.spanFrom$1(componentStart);
  48276. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t5), t3));
  48277. } else if (combinators.length !== 0)
  48278. initialCombinators = combinators;
  48279. else
  48280. t1.error$1(0, "expected selector.");
  48281. t3 = initialCombinators == null ? B.List_empty1 : initialCombinators;
  48282. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  48283. },
  48284. _complexSelector$0() {
  48285. return this._complexSelector$1$lineBreak(false);
  48286. },
  48287. _compoundSelector$0() {
  48288. var t3, _this = this,
  48289. t1 = _this.scanner,
  48290. t2 = t1._string_scanner$_position,
  48291. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  48292. while (true) {
  48293. t3 = t1.peekChar$0();
  48294. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  48295. break;
  48296. components.push(_this._simpleSelector$1$allowParent(false));
  48297. }
  48298. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48299. },
  48300. _simpleSelector$1$allowParent(allowParent) {
  48301. var t2, $name, text, t3, suffix, _this = this,
  48302. t1 = _this.scanner,
  48303. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48304. if (allowParent == null)
  48305. allowParent = _this._allowParent;
  48306. switch (t1.peekChar$0()) {
  48307. case 91:
  48308. return _this._attributeSelector$0();
  48309. case 46:
  48310. t2 = t1._string_scanner$_position;
  48311. t1.expectChar$1(46);
  48312. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48313. case 35:
  48314. t2 = t1._string_scanner$_position;
  48315. t1.expectChar$1(35);
  48316. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48317. case 37:
  48318. t2 = t1._string_scanner$_position;
  48319. t1.expectChar$1(37);
  48320. $name = _this.identifier$0();
  48321. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  48322. if (!_this._allowPlaceholder)
  48323. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  48324. return new A.PlaceholderSelector($name, t2);
  48325. case 58:
  48326. return _this._pseudoSelector$0();
  48327. case 38:
  48328. t2 = t1._string_scanner$_position;
  48329. t1.expectChar$1(38);
  48330. if (_this.lookingAtIdentifierBody$0()) {
  48331. text = new A.StringBuffer("");
  48332. _this._identifierBody$1(text);
  48333. if (text._contents.length === 0)
  48334. t1.error$1(0, "Expected identifier body.");
  48335. t3 = text._contents;
  48336. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  48337. } else
  48338. suffix = null;
  48339. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  48340. if (!allowParent)
  48341. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  48342. return new A.ParentSelector(suffix, t2);
  48343. default:
  48344. return _this._typeOrUniversalSelector$0();
  48345. }
  48346. },
  48347. _simpleSelector$0() {
  48348. return this._simpleSelector$1$allowParent(null);
  48349. },
  48350. _attributeSelector$0() {
  48351. var $name, operator, next, value, modifier, _this = this, _null = null,
  48352. t1 = _this.scanner,
  48353. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48354. t1.expectChar$1(91);
  48355. _this.whitespace$0();
  48356. $name = _this._attributeName$0();
  48357. _this.whitespace$0();
  48358. if (t1.scanChar$1(93))
  48359. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  48360. operator = _this._attributeOperator$0();
  48361. _this.whitespace$0();
  48362. next = t1.peekChar$0();
  48363. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  48364. _this.whitespace$0();
  48365. next = t1.peekChar$0();
  48366. modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  48367. t1.expectChar$1(93);
  48368. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  48369. },
  48370. _attributeName$0() {
  48371. var nameOrNamespace, _this = this,
  48372. t1 = _this.scanner;
  48373. if (t1.scanChar$1(42)) {
  48374. t1.expectChar$1(124);
  48375. return new A.QualifiedName(_this.identifier$0(), "*");
  48376. }
  48377. if (t1.scanChar$1(124))
  48378. return new A.QualifiedName(_this.identifier$0(), "");
  48379. nameOrNamespace = _this.identifier$0();
  48380. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  48381. return new A.QualifiedName(nameOrNamespace, null);
  48382. t1.readChar$0();
  48383. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  48384. },
  48385. _attributeOperator$0() {
  48386. var t1 = this.scanner,
  48387. t2 = t1._string_scanner$_position;
  48388. switch (t1.readChar$0()) {
  48389. case 61:
  48390. return B.AttributeOperator_ES6;
  48391. case 126:
  48392. t1.expectChar$1(61);
  48393. return B.AttributeOperator_r60;
  48394. case 124:
  48395. t1.expectChar$1(61);
  48396. return B.AttributeOperator_ivT;
  48397. case 94:
  48398. t1.expectChar$1(61);
  48399. return B.AttributeOperator_eot;
  48400. case 36:
  48401. t1.expectChar$1(61);
  48402. return B.AttributeOperator_BGd;
  48403. case 42:
  48404. t1.expectChar$1(61);
  48405. return B.AttributeOperator_8aB;
  48406. default:
  48407. t1.error$2$position(0, 'Expected "]".', t2);
  48408. }
  48409. },
  48410. _pseudoSelector$0() {
  48411. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  48412. t1 = _this.scanner,
  48413. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48414. t1.expectChar$1(58);
  48415. element = t1.scanChar$1(58);
  48416. $name = _this.identifier$0();
  48417. if (!t1.scanChar$1(40))
  48418. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  48419. _this.whitespace$0();
  48420. unvendored = A.unvendor($name);
  48421. if (element)
  48422. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  48423. selector = _this._selectorList$0();
  48424. argument = _null;
  48425. } else {
  48426. argument = _this.declarationValue$1$allowEmpty(true);
  48427. selector = _null;
  48428. }
  48429. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  48430. selector = _this._selectorList$0();
  48431. argument = _null;
  48432. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  48433. argument = _this._aNPlusB$0();
  48434. _this.whitespace$0();
  48435. t2 = t1.peekChar$1(-1);
  48436. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  48437. _this.expectIdentifier$1("of");
  48438. argument += " of";
  48439. _this.whitespace$0();
  48440. selector = _this._selectorList$0();
  48441. } else
  48442. selector = _null;
  48443. } else {
  48444. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  48445. selector = _null;
  48446. }
  48447. t1.expectChar$1(41);
  48448. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  48449. },
  48450. _aNPlusB$0() {
  48451. var t2, first, t3, next, last, _this = this,
  48452. t1 = _this.scanner;
  48453. switch (t1.peekChar$0()) {
  48454. case 101:
  48455. case 69:
  48456. _this.expectIdentifier$1("even");
  48457. return "even";
  48458. case 111:
  48459. case 79:
  48460. _this.expectIdentifier$1("odd");
  48461. return "odd";
  48462. case 43:
  48463. case 45:
  48464. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  48465. break;
  48466. default:
  48467. t2 = "";
  48468. }
  48469. first = t1.peekChar$0();
  48470. if (first != null && A.isDigit(first)) {
  48471. while (true) {
  48472. t3 = t1.peekChar$0();
  48473. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  48474. break;
  48475. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48476. }
  48477. _this.whitespace$0();
  48478. if (!_this.scanIdentChar$1(110))
  48479. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48480. } else
  48481. _this.expectIdentChar$1(110);
  48482. t2 += A.Primitives_stringFromCharCode(110);
  48483. _this.whitespace$0();
  48484. next = t1.peekChar$0();
  48485. if (next !== 43 && next !== 45)
  48486. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48487. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48488. _this.whitespace$0();
  48489. last = t1.peekChar$0();
  48490. if (last == null || !A.isDigit(last))
  48491. t1.error$1(0, "Expected a number.");
  48492. while (true) {
  48493. t3 = t1.peekChar$0();
  48494. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  48495. break;
  48496. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  48497. }
  48498. return t2.charCodeAt(0) == 0 ? t2 : t2;
  48499. },
  48500. _typeOrUniversalSelector$0() {
  48501. var nameOrNamespace, _this = this,
  48502. t1 = _this.scanner,
  48503. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  48504. first = t1.peekChar$0();
  48505. if (first === 42) {
  48506. t1.readChar$0();
  48507. if (!t1.scanChar$1(124))
  48508. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  48509. if (t1.scanChar$1(42))
  48510. return new A.UniversalSelector("*", _this.spanFrom$1(start));
  48511. else
  48512. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  48513. } else if (first === 124) {
  48514. t1.readChar$0();
  48515. if (t1.scanChar$1(42))
  48516. return new A.UniversalSelector("", _this.spanFrom$1(start));
  48517. else
  48518. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""), _this.spanFrom$1(start));
  48519. }
  48520. nameOrNamespace = _this.identifier$0();
  48521. if (!t1.scanChar$1(124))
  48522. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  48523. else if (t1.scanChar$1(42))
  48524. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  48525. else
  48526. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  48527. }
  48528. };
  48529. A.SelectorParser_parse_closure.prototype = {
  48530. call$0() {
  48531. var t1 = this.$this,
  48532. selector = t1._selectorList$0();
  48533. t1 = t1.scanner;
  48534. if (t1._string_scanner$_position !== t1.string.length)
  48535. t1.error$1(0, "expected selector.");
  48536. return selector;
  48537. },
  48538. $signature: 270
  48539. };
  48540. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  48541. call$0() {
  48542. var t1 = this.$this,
  48543. compound = t1._compoundSelector$0();
  48544. t1 = t1.scanner;
  48545. if (t1._string_scanner$_position !== t1.string.length)
  48546. t1.error$1(0, "expected selector.");
  48547. return compound;
  48548. },
  48549. $signature: 274
  48550. };
  48551. A.StylesheetParser.prototype = {
  48552. parse$0() {
  48553. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  48554. },
  48555. parseArgumentDeclaration$0() {
  48556. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  48557. },
  48558. parseVariableDeclaration$0() {
  48559. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  48560. },
  48561. parseUseRule$0() {
  48562. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  48563. },
  48564. _parseSingleProduction$1$1(production, $T) {
  48565. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  48566. },
  48567. _statement$1$root(root) {
  48568. var t2, _this = this,
  48569. t1 = _this.scanner;
  48570. switch (t1.peekChar$0()) {
  48571. case 64:
  48572. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  48573. case 43:
  48574. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  48575. return _this._styleRule$0();
  48576. _this._isUseAllowed = false;
  48577. t2 = t1._string_scanner$_position;
  48578. t1.readChar$0();
  48579. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  48580. case 61:
  48581. if (!_this.get$indented())
  48582. return _this._styleRule$0();
  48583. _this._isUseAllowed = false;
  48584. t2 = t1._string_scanner$_position;
  48585. t1.readChar$0();
  48586. _this.whitespace$0();
  48587. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  48588. case 125:
  48589. t1.error$2$length(0, 'unmatched "}".', 1);
  48590. break;
  48591. default:
  48592. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  48593. }
  48594. },
  48595. _statement$0() {
  48596. return this._statement$1$root(false);
  48597. },
  48598. _variableDeclarationWithNamespace$0() {
  48599. var t1 = this.scanner,
  48600. t2 = t1._string_scanner$_position,
  48601. namespace = this.identifier$0();
  48602. t1.expectChar$1(46);
  48603. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  48604. },
  48605. variableDeclarationWithoutNamespace$2(namespace, start_) {
  48606. var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
  48607. _s97_ = string$.x21defau,
  48608. _s96_ = string$.x21globas,
  48609. precedingComment = _this.lastSilentComment;
  48610. _this.lastSilentComment = null;
  48611. if (start_ == null) {
  48612. t1 = _this.scanner;
  48613. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48614. } else
  48615. start = start_;
  48616. $name = _this.variableName$0();
  48617. t1 = namespace != null;
  48618. if (t1)
  48619. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  48620. if (_this.get$plainCss())
  48621. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  48622. _this.whitespace$0();
  48623. t2 = _this.scanner;
  48624. t2.expectChar$1(58);
  48625. _this.whitespace$0();
  48626. value = _this._expression$0();
  48627. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48628. for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  48629. flag = _this.identifier$0();
  48630. if (flag === "default") {
  48631. if (guarded) {
  48632. endPosition = t2._string_scanner$_position;
  48633. t4 = t2._sourceFile;
  48634. t5 = flagStart.position;
  48635. t6 = new A._FileSpan(t4, t5, endPosition);
  48636. t6._FileSpan$3(t4, t5, endPosition);
  48637. if ($self instanceof A.DeprecationHandlingLogger)
  48638. $self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s97_, t6, _null);
  48639. else
  48640. $self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
  48641. }
  48642. guarded = true;
  48643. } else if (flag === "global") {
  48644. if (t1) {
  48645. endPosition = t2._string_scanner$_position;
  48646. t4 = t2._sourceFile;
  48647. t5 = flagStart.position;
  48648. t6 = new A._FileSpan(t4, t5, endPosition);
  48649. t6._FileSpan$3(t4, t5, endPosition);
  48650. A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
  48651. } else if (global) {
  48652. endPosition = t2._string_scanner$_position;
  48653. t4 = t2._sourceFile;
  48654. t5 = flagStart.position;
  48655. t6 = new A._FileSpan(t4, t5, endPosition);
  48656. t6._FileSpan$3(t4, t5, endPosition);
  48657. if ($self instanceof A.DeprecationHandlingLogger)
  48658. $self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s96_, t6, _null);
  48659. else
  48660. $self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
  48661. }
  48662. global = true;
  48663. } else {
  48664. endPosition = t2._string_scanner$_position;
  48665. t4 = t2._sourceFile;
  48666. t5 = flagStart.position;
  48667. t6 = new A._FileSpan(t4, t5, endPosition);
  48668. t6._FileSpan$3(t4, t5, endPosition);
  48669. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  48670. }
  48671. _this.whitespace$0();
  48672. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48673. }
  48674. _this.expectStatementSeparator$1("variable declaration");
  48675. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  48676. if (global)
  48677. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  48678. return declaration;
  48679. },
  48680. variableDeclarationWithoutNamespace$0() {
  48681. return this.variableDeclarationWithoutNamespace$2(null, null);
  48682. },
  48683. _variableDeclarationOrStyleRule$0() {
  48684. var t1, t2, variableOrInterpolation, t3, _this = this;
  48685. if (_this.get$plainCss())
  48686. return _this._styleRule$0();
  48687. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  48688. return _this._styleRule$0();
  48689. if (!_this.lookingAtIdentifier$0())
  48690. return _this._styleRule$0();
  48691. t1 = _this.scanner;
  48692. t2 = t1._string_scanner$_position;
  48693. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  48694. if (variableOrInterpolation instanceof A.VariableDeclaration)
  48695. return variableOrInterpolation;
  48696. else {
  48697. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  48698. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  48699. return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  48700. }
  48701. },
  48702. _declarationOrStyleRule$0() {
  48703. var t1, t2, declarationOrBuffer, _this = this;
  48704. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  48705. return _this._propertyOrVariableDeclaration$0();
  48706. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  48707. return _this._styleRule$0();
  48708. t1 = _this.scanner;
  48709. t2 = t1._string_scanner$_position;
  48710. declarationOrBuffer = _this._declarationOrBuffer$0();
  48711. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  48712. },
  48713. _declarationOrBuffer$0() {
  48714. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  48715. t2 = _this.scanner,
  48716. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  48717. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  48718. first = t2.peekChar$0();
  48719. if (first !== 58)
  48720. if (first !== 42)
  48721. if (first !== 46)
  48722. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  48723. else
  48724. t3 = true;
  48725. else
  48726. t3 = true;
  48727. else
  48728. t3 = true;
  48729. if (t3) {
  48730. t3 = t2.readChar$0();
  48731. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  48732. t3 = _this.rawText$1(_this.get$whitespace());
  48733. nameBuffer._interpolation_buffer$_text._contents += t3;
  48734. startsWithPunctuation = true;
  48735. } else
  48736. startsWithPunctuation = false;
  48737. if (!_this._lookingAtInterpolatedIdentifier$0())
  48738. return nameBuffer;
  48739. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  48740. if (variableOrInterpolation instanceof A.VariableDeclaration)
  48741. return variableOrInterpolation;
  48742. else
  48743. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  48744. _this._isUseAllowed = false;
  48745. if (t2.matches$1("/*")) {
  48746. t3 = _this.rawText$1(_this.get$loudComment());
  48747. nameBuffer._interpolation_buffer$_text._contents += t3;
  48748. }
  48749. midBuffer = new A.StringBuffer("");
  48750. t3 = _this.get$whitespace();
  48751. midBuffer._contents += _this.rawText$1(t3);
  48752. t4 = t2._string_scanner$_position;
  48753. if (!t2.scanChar$1(58)) {
  48754. if (midBuffer._contents.length !== 0)
  48755. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  48756. return nameBuffer;
  48757. }
  48758. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  48759. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  48760. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  48761. t1 = _this._interpolatedDeclarationValue$0();
  48762. _this.expectStatementSeparator$1("custom property");
  48763. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  48764. }
  48765. if (t2.scanChar$1(58)) {
  48766. t1 = nameBuffer;
  48767. t2 = t1._interpolation_buffer$_text;
  48768. t3 = t2._contents += A.S(midBuffer);
  48769. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  48770. return t1;
  48771. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  48772. t1 = nameBuffer;
  48773. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  48774. return t1;
  48775. }
  48776. postColonWhitespace = _this.rawText$1(t3);
  48777. if (_this.lookingAtChildren$0())
  48778. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  48779. midBuffer._contents += postColonWhitespace;
  48780. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  48781. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48782. t3 = t1.value = null;
  48783. try {
  48784. t3 = t1.value = _this._expression$0();
  48785. if (_this.lookingAtChildren$0()) {
  48786. if (couldBeSelector)
  48787. _this.expectStatementSeparator$0();
  48788. } else if (!_this.atEndOfStatement$0())
  48789. _this.expectStatementSeparator$0();
  48790. } catch (exception) {
  48791. if (type$.FormatException._is(A.unwrapException(exception))) {
  48792. if (!couldBeSelector)
  48793. throw exception;
  48794. t2.set$state(beforeDeclaration);
  48795. additional = _this.almostAnyValue$0();
  48796. if (!_this.get$indented() && t2.peekChar$0() === 59)
  48797. throw exception;
  48798. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  48799. nameBuffer.addInterpolation$1(additional);
  48800. return nameBuffer;
  48801. } else
  48802. throw exception;
  48803. }
  48804. if (_this.lookingAtChildren$0())
  48805. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  48806. else {
  48807. _this.expectStatementSeparator$0();
  48808. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  48809. }
  48810. },
  48811. _variableDeclarationOrInterpolation$0() {
  48812. var t1, start, identifier, t2, buffer, _this = this;
  48813. if (!_this.lookingAtIdentifier$0())
  48814. return _this.interpolatedIdentifier$0();
  48815. t1 = _this.scanner;
  48816. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48817. identifier = _this.identifier$0();
  48818. if (t1.matches$1(".$")) {
  48819. t1.readChar$0();
  48820. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  48821. } else {
  48822. t2 = new A.StringBuffer("");
  48823. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  48824. t2._contents = "" + identifier;
  48825. if (_this._lookingAtInterpolatedIdentifierBody$0())
  48826. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  48827. return buffer.interpolation$1(t1.spanFrom$1(start));
  48828. }
  48829. },
  48830. _styleRule$2(buffer, start_) {
  48831. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  48832. _this._isUseAllowed = false;
  48833. if (start_ == null) {
  48834. t2 = _this.scanner;
  48835. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48836. } else
  48837. start = start_;
  48838. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  48839. if (buffer != null) {
  48840. buffer.addInterpolation$1(interpolation);
  48841. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  48842. } else
  48843. t2 = interpolation;
  48844. if (t2.contents.length === 0)
  48845. _this.scanner.error$1(0, 'expected "}".');
  48846. wasInStyleRule = _this._inStyleRule;
  48847. _this._inStyleRule = true;
  48848. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  48849. },
  48850. _styleRule$0() {
  48851. return this._styleRule$2(null, null);
  48852. },
  48853. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  48854. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  48855. _s48_ = string$.Nested,
  48856. t1 = {},
  48857. t2 = _this.scanner,
  48858. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48859. t1.name = null;
  48860. first = t2.peekChar$0();
  48861. if (first !== 58)
  48862. if (first !== 42)
  48863. if (first !== 46)
  48864. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  48865. else
  48866. t3 = true;
  48867. else
  48868. t3 = true;
  48869. else
  48870. t3 = true;
  48871. if (t3) {
  48872. t3 = new A.StringBuffer("");
  48873. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  48874. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  48875. t3._contents += _this.rawText$1(_this.get$whitespace());
  48876. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  48877. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  48878. } else if (!_this.get$plainCss()) {
  48879. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  48880. if (variableOrInterpolation instanceof A.VariableDeclaration)
  48881. return variableOrInterpolation;
  48882. else {
  48883. type$.Interpolation._as(variableOrInterpolation);
  48884. t1.name = variableOrInterpolation;
  48885. }
  48886. t3 = variableOrInterpolation;
  48887. } else {
  48888. $name = _this.interpolatedIdentifier$0();
  48889. t1.name = $name;
  48890. t3 = $name;
  48891. }
  48892. _this.whitespace$0();
  48893. t2.expectChar$1(58);
  48894. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  48895. t1 = _this._interpolatedDeclarationValue$0();
  48896. _this.expectStatementSeparator$1("custom property");
  48897. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  48898. }
  48899. _this.whitespace$0();
  48900. if (_this.lookingAtChildren$0()) {
  48901. if (_this.get$plainCss())
  48902. t2.error$1(0, _s48_);
  48903. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  48904. }
  48905. value = _this._expression$0();
  48906. if (_this.lookingAtChildren$0()) {
  48907. if (_this.get$plainCss())
  48908. t2.error$1(0, _s48_);
  48909. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  48910. } else {
  48911. _this.expectStatementSeparator$0();
  48912. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  48913. }
  48914. },
  48915. _propertyOrVariableDeclaration$0() {
  48916. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  48917. },
  48918. _declarationChild$0() {
  48919. if (this.scanner.peekChar$0() === 64)
  48920. return this._declarationAtRule$0();
  48921. return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  48922. },
  48923. atRule$2$root(child, root) {
  48924. var $name, wasUseAllowed, value, optional, _this = this,
  48925. t1 = _this.scanner,
  48926. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48927. t1.expectChar$2$name(64, "@-rule");
  48928. $name = _this.interpolatedIdentifier$0();
  48929. _this.whitespace$0();
  48930. wasUseAllowed = _this._isUseAllowed;
  48931. _this._isUseAllowed = false;
  48932. switch ($name.get$asPlain()) {
  48933. case "at-root":
  48934. return _this._atRootRule$1(start);
  48935. case "content":
  48936. return _this._contentRule$1(start);
  48937. case "debug":
  48938. return _this._debugRule$1(start);
  48939. case "each":
  48940. return _this._eachRule$2(start, child);
  48941. case "else":
  48942. return _this._disallowedAtRule$1(start);
  48943. case "error":
  48944. return _this._errorRule$1(start);
  48945. case "extend":
  48946. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  48947. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  48948. value = _this.almostAnyValue$0();
  48949. optional = t1.scanChar$1(33);
  48950. if (optional)
  48951. _this.expectIdentifier$1("optional");
  48952. _this.expectStatementSeparator$1("@extend rule");
  48953. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  48954. case "for":
  48955. return _this._forRule$2(start, child);
  48956. case "forward":
  48957. _this._isUseAllowed = wasUseAllowed;
  48958. if (!root)
  48959. _this._disallowedAtRule$1(start);
  48960. return _this._forwardRule$1(start);
  48961. case "function":
  48962. return _this._functionRule$1(start);
  48963. case "if":
  48964. return _this._ifRule$2(start, child);
  48965. case "import":
  48966. return _this._importRule$1(start);
  48967. case "include":
  48968. return _this._includeRule$1(start);
  48969. case "media":
  48970. return _this.mediaRule$1(start);
  48971. case "mixin":
  48972. return _this._mixinRule$1(start);
  48973. case "-moz-document":
  48974. return _this.mozDocumentRule$2(start, $name);
  48975. case "return":
  48976. return _this._disallowedAtRule$1(start);
  48977. case "supports":
  48978. return _this.supportsRule$1(start);
  48979. case "use":
  48980. _this._isUseAllowed = wasUseAllowed;
  48981. if (!root)
  48982. _this._disallowedAtRule$1(start);
  48983. return _this._useRule$1(start);
  48984. case "warn":
  48985. return _this._warnRule$1(start);
  48986. case "while":
  48987. return _this._whileRule$2(start, child);
  48988. default:
  48989. return _this.unknownAtRule$2(start, $name);
  48990. }
  48991. },
  48992. _declarationAtRule$0() {
  48993. var _this = this,
  48994. t1 = _this.scanner,
  48995. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48996. switch (_this._plainAtRuleName$0()) {
  48997. case "content":
  48998. return _this._contentRule$1(start);
  48999. case "debug":
  49000. return _this._debugRule$1(start);
  49001. case "each":
  49002. return _this._eachRule$2(start, _this.get$_declarationChild());
  49003. case "else":
  49004. return _this._disallowedAtRule$1(start);
  49005. case "error":
  49006. return _this._errorRule$1(start);
  49007. case "for":
  49008. return _this._forRule$2(start, _this.get$_declarationChild());
  49009. case "if":
  49010. return _this._ifRule$2(start, _this.get$_declarationChild());
  49011. case "include":
  49012. return _this._includeRule$1(start);
  49013. case "warn":
  49014. return _this._warnRule$1(start);
  49015. case "while":
  49016. return _this._whileRule$2(start, _this.get$_declarationChild());
  49017. default:
  49018. return _this._disallowedAtRule$1(start);
  49019. }
  49020. },
  49021. _functionChild$0() {
  49022. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
  49023. t1 = _this.scanner;
  49024. if (t1.peekChar$0() !== 64) {
  49025. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49026. try {
  49027. t2 = _this._variableDeclarationWithNamespace$0();
  49028. return t2;
  49029. } catch (exception) {
  49030. t2 = A.unwrapException(exception);
  49031. t3 = type$.SourceSpanFormatException;
  49032. if (t3._is(t2)) {
  49033. variableDeclarationError = t2;
  49034. stackTrace = A.getTraceFromException(exception);
  49035. t1.set$state(state);
  49036. statement = null;
  49037. try {
  49038. statement = _this._declarationOrStyleRule$0();
  49039. } catch (exception) {
  49040. if (t3._is(A.unwrapException(exception)))
  49041. throw A.wrapException(variableDeclarationError);
  49042. else
  49043. throw exception;
  49044. }
  49045. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  49046. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  49047. } else
  49048. throw exception;
  49049. }
  49050. }
  49051. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49052. switch (_this._plainAtRuleName$0()) {
  49053. case "debug":
  49054. return _this._debugRule$1(start);
  49055. case "each":
  49056. return _this._eachRule$2(start, _this.get$_functionChild());
  49057. case "else":
  49058. return _this._disallowedAtRule$1(start);
  49059. case "error":
  49060. return _this._errorRule$1(start);
  49061. case "for":
  49062. return _this._forRule$2(start, _this.get$_functionChild());
  49063. case "if":
  49064. return _this._ifRule$2(start, _this.get$_functionChild());
  49065. case "return":
  49066. value = _this._expression$0();
  49067. _this.expectStatementSeparator$1("@return rule");
  49068. return new A.ReturnRule(value, t1.spanFrom$1(start));
  49069. case "warn":
  49070. return _this._warnRule$1(start);
  49071. case "while":
  49072. return _this._whileRule$2(start, _this.get$_functionChild());
  49073. default:
  49074. return _this._disallowedAtRule$1(start);
  49075. }
  49076. },
  49077. _plainAtRuleName$0() {
  49078. this.scanner.expectChar$2$name(64, "@-rule");
  49079. var $name = this.identifier$0();
  49080. this.whitespace$0();
  49081. return $name;
  49082. },
  49083. _atRootRule$1(start) {
  49084. var t2, t3, t4, buffer, t5, query, _this = this,
  49085. t1 = _this.scanner;
  49086. if (t1.peekChar$0() === 40) {
  49087. t2 = t1._string_scanner$_position;
  49088. t3 = new A.StringBuffer("");
  49089. t4 = A._setArrayType([], type$.JSArray_Object);
  49090. buffer = new A.InterpolationBuffer(t3, t4);
  49091. t1.expectChar$1(40);
  49092. t3._contents += A.Primitives_stringFromCharCode(40);
  49093. _this.whitespace$0();
  49094. t5 = _this._expression$0();
  49095. buffer._flushText$0();
  49096. t4.push(t5);
  49097. if (t1.scanChar$1(58)) {
  49098. _this.whitespace$0();
  49099. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  49100. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  49101. t5 = _this._expression$0();
  49102. buffer._flushText$0();
  49103. t4.push(t5);
  49104. }
  49105. t1.expectChar$1(41);
  49106. _this.whitespace$0();
  49107. t3._contents += A.Primitives_stringFromCharCode(41);
  49108. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49109. _this.whitespace$0();
  49110. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  49111. } else if (_this.lookingAtChildren$0())
  49112. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  49113. else
  49114. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  49115. },
  49116. _contentRule$1(start) {
  49117. var t1, $arguments, t2, t3, _this = this;
  49118. if (!_this._stylesheet$_inMixin)
  49119. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  49120. _this.whitespace$0();
  49121. t1 = _this.scanner;
  49122. if (t1.peekChar$0() === 40)
  49123. $arguments = _this._argumentInvocation$1$mixin(true);
  49124. else {
  49125. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49126. t3 = t2.offset;
  49127. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  49128. }
  49129. _this.expectStatementSeparator$1("@content rule");
  49130. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  49131. },
  49132. _debugRule$1(start) {
  49133. var value = this._expression$0();
  49134. this.expectStatementSeparator$1("@debug rule");
  49135. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  49136. },
  49137. _eachRule$2(start, child) {
  49138. var variables, t1, _this = this,
  49139. wasInControlDirective = _this._inControlDirective;
  49140. _this._inControlDirective = true;
  49141. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  49142. _this.whitespace$0();
  49143. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  49144. _this.whitespace$0();
  49145. t1.expectChar$1(36);
  49146. variables.push(_this.identifier$1$normalize(true));
  49147. _this.whitespace$0();
  49148. }
  49149. _this.expectIdentifier$1("in");
  49150. _this.whitespace$0();
  49151. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  49152. },
  49153. _errorRule$1(start) {
  49154. var value = this._expression$0();
  49155. this.expectStatementSeparator$1("@error rule");
  49156. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  49157. },
  49158. _functionRule$1(start) {
  49159. var $name, $arguments, _this = this,
  49160. precedingComment = _this.lastSilentComment;
  49161. _this.lastSilentComment = null;
  49162. $name = _this.identifier$1$normalize(true);
  49163. _this.whitespace$0();
  49164. $arguments = _this._argumentDeclaration$0();
  49165. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  49166. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  49167. else if (_this._inControlDirective)
  49168. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  49169. switch (A.unvendor($name)) {
  49170. case "calc":
  49171. case "element":
  49172. case "expression":
  49173. case "url":
  49174. case "and":
  49175. case "or":
  49176. case "not":
  49177. case "clamp":
  49178. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  49179. break;
  49180. }
  49181. _this.whitespace$0();
  49182. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  49183. },
  49184. _forRule$2(start, child) {
  49185. var variable, from, _this = this, t1 = {},
  49186. wasInControlDirective = _this._inControlDirective;
  49187. _this._inControlDirective = true;
  49188. variable = _this.variableName$0();
  49189. _this.whitespace$0();
  49190. _this.expectIdentifier$1("from");
  49191. _this.whitespace$0();
  49192. t1.exclusive = null;
  49193. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  49194. if (t1.exclusive == null)
  49195. _this.scanner.error$1(0, 'Expected "to" or "through".');
  49196. _this.whitespace$0();
  49197. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  49198. },
  49199. _forwardRule$1(start) {
  49200. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  49201. url = _this._urlString$0();
  49202. _this.whitespace$0();
  49203. if (_this.scanIdentifier$1("as")) {
  49204. _this.whitespace$0();
  49205. prefix = _this.identifier$1$normalize(true);
  49206. _this.scanner.expectChar$1(42);
  49207. _this.whitespace$0();
  49208. } else
  49209. prefix = _null;
  49210. if (_this.scanIdentifier$1("show")) {
  49211. members = _this._memberList$0();
  49212. shownMixinsAndFunctions = members.item1;
  49213. shownVariables = members.item2;
  49214. hiddenVariables = _null;
  49215. hiddenMixinsAndFunctions = hiddenVariables;
  49216. } else {
  49217. if (_this.scanIdentifier$1("hide")) {
  49218. members = _this._memberList$0();
  49219. hiddenMixinsAndFunctions = members.item1;
  49220. hiddenVariables = members.item2;
  49221. } else {
  49222. hiddenVariables = _null;
  49223. hiddenMixinsAndFunctions = hiddenVariables;
  49224. }
  49225. shownVariables = _null;
  49226. shownMixinsAndFunctions = shownVariables;
  49227. }
  49228. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  49229. _this.expectStatementSeparator$1("@forward rule");
  49230. span = _this.scanner.spanFrom$1(start);
  49231. if (!_this._isUseAllowed)
  49232. _this.error$2(0, string$.x40forwa, span);
  49233. if (shownMixinsAndFunctions != null) {
  49234. shownVariables.toString;
  49235. t1 = type$.String;
  49236. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  49237. t3 = type$.UnmodifiableSetView_String;
  49238. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  49239. t4 = configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  49240. return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  49241. } else if (hiddenMixinsAndFunctions != null) {
  49242. hiddenVariables.toString;
  49243. t1 = type$.String;
  49244. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  49245. t3 = type$.UnmodifiableSetView_String;
  49246. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  49247. t4 = configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  49248. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  49249. } else
  49250. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  49251. },
  49252. _memberList$0() {
  49253. var _this = this,
  49254. t1 = type$.String,
  49255. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  49256. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49257. t1 = _this.scanner;
  49258. do {
  49259. _this.whitespace$0();
  49260. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  49261. _this.whitespace$0();
  49262. } while (t1.scanChar$1(44));
  49263. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  49264. },
  49265. _ifRule$2(start, child) {
  49266. var condition, children, clauses, lastClause, span, _this = this,
  49267. ifIndentation = _this.get$currentIndentation(),
  49268. wasInControlDirective = _this._inControlDirective;
  49269. _this._inControlDirective = true;
  49270. condition = _this._expression$0();
  49271. children = _this.children$1(0, child);
  49272. _this.whitespaceWithoutComments$0();
  49273. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  49274. while (true) {
  49275. if (!_this.scanElse$1(ifIndentation)) {
  49276. lastClause = null;
  49277. break;
  49278. }
  49279. _this.whitespace$0();
  49280. if (_this.scanIdentifier$1("if")) {
  49281. _this.whitespace$0();
  49282. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  49283. } else {
  49284. lastClause = A.ElseClause$(_this.children$1(0, child));
  49285. break;
  49286. }
  49287. }
  49288. _this._inControlDirective = wasInControlDirective;
  49289. span = _this.scanner.spanFrom$1(start);
  49290. _this.whitespaceWithoutComments$0();
  49291. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  49292. },
  49293. _importRule$1(start) {
  49294. var argument, t3, _this = this,
  49295. imports = A._setArrayType([], type$.JSArray_Import),
  49296. t1 = _this.scanner,
  49297. t2 = _this.logger;
  49298. do {
  49299. _this.whitespace$0();
  49300. argument = _this.importArgument$0();
  49301. t3 = argument instanceof A.DynamicImport;
  49302. if (t3)
  49303. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_B8J, string$.Sass__, argument.span, null);
  49304. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  49305. _this._disallowedAtRule$1(start);
  49306. imports.push(argument);
  49307. _this.whitespace$0();
  49308. } while (t1.scanChar$1(44));
  49309. _this.expectStatementSeparator$1("@import rule");
  49310. t1 = t1.spanFrom$1(start);
  49311. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  49312. },
  49313. importArgument$0() {
  49314. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  49315. t1 = _this.scanner,
  49316. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49317. next = t1.peekChar$0();
  49318. if (next === 117 || next === 85) {
  49319. url = _this.dynamicUrl$0();
  49320. _this.whitespace$0();
  49321. modifiers = _this.tryImportModifiers$0();
  49322. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  49323. }
  49324. url = _this.string$0();
  49325. urlSpan = t1.spanFrom$1(start);
  49326. _this.whitespace$0();
  49327. modifiers = _this.tryImportModifiers$0();
  49328. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  49329. t2 = urlSpan;
  49330. 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));
  49331. } else
  49332. try {
  49333. t1 = _this.parseImportUrl$1(url);
  49334. return new A.DynamicImport(t1, urlSpan);
  49335. } catch (exception) {
  49336. t1 = A.unwrapException(exception);
  49337. if (type$.FormatException._is(t1)) {
  49338. innerError = t1;
  49339. stackTrace = A.getTraceFromException(exception);
  49340. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  49341. } else
  49342. throw exception;
  49343. }
  49344. },
  49345. parseImportUrl$1(url) {
  49346. var t1 = $.$get$windows();
  49347. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  49348. return t1.toUri$1(url).toString$0(0);
  49349. A.Uri_parse(url);
  49350. return url;
  49351. },
  49352. isPlainImportUrl$1(url) {
  49353. var first;
  49354. if (url.length < 5)
  49355. return false;
  49356. if (B.JSString_methods.endsWith$1(url, ".css"))
  49357. return true;
  49358. first = B.JSString_methods._codeUnitAt$1(url, 0);
  49359. if (first === 47)
  49360. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  49361. if (first !== 104)
  49362. return false;
  49363. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  49364. },
  49365. tryImportModifiers$0() {
  49366. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  49367. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  49368. return null;
  49369. t1 = _this.scanner;
  49370. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49371. t2 = new A.StringBuffer("");
  49372. t3 = A._setArrayType([], type$.JSArray_Object);
  49373. buffer = new A.InterpolationBuffer(t2, t3);
  49374. for (; true;)
  49375. if (_this._lookingAtInterpolatedIdentifier$0()) {
  49376. if (!(t3.length === 0 && t2._contents.length === 0))
  49377. t2._contents += A.Primitives_stringFromCharCode(32);
  49378. identifier = _this.interpolatedIdentifier$0();
  49379. buffer.addInterpolation$1(identifier);
  49380. t4 = identifier.get$asPlain();
  49381. $name = t4 == null ? null : t4.toLowerCase();
  49382. if ($name !== "and" && t1.scanChar$1(40)) {
  49383. if ($name === "supports") {
  49384. query = _this._importSupportsQuery$0();
  49385. t4 = !(query instanceof A.SupportsDeclaration);
  49386. if (t4)
  49387. t2._contents += A.Primitives_stringFromCharCode(40);
  49388. buffer._flushText$0();
  49389. t3.push(new A.SupportsExpression(query));
  49390. if (t4)
  49391. t2._contents += A.Primitives_stringFromCharCode(41);
  49392. } else {
  49393. t2._contents += A.Primitives_stringFromCharCode(40);
  49394. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  49395. t2._contents += A.Primitives_stringFromCharCode(41);
  49396. }
  49397. t1.expectChar$1(41);
  49398. _this.whitespace$0();
  49399. } else {
  49400. _this.whitespace$0();
  49401. if (t1.scanChar$1(44)) {
  49402. t2._contents += ", ";
  49403. buffer.addInterpolation$1(_this._mediaQueryList$0());
  49404. endPosition = t1._string_scanner$_position;
  49405. t4 = t1._sourceFile;
  49406. t5 = start.position;
  49407. t1 = new A._FileSpan(t4, t5, endPosition);
  49408. t1._FileSpan$3(t4, t5, endPosition);
  49409. t5 = type$.Object;
  49410. t4 = A.List_List$of(t3, true, t5);
  49411. t3 = t2._contents;
  49412. if (t3.length !== 0)
  49413. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  49414. result = A.List_List$from(t4, false, t5);
  49415. result.fixed$length = Array;
  49416. result.immutable$list = Array;
  49417. t2 = new A.Interpolation(result, t1);
  49418. t2.Interpolation$2(t4, t1);
  49419. return t2;
  49420. }
  49421. }
  49422. } else if (t1.peekChar$0() === 40) {
  49423. if (!(t3.length === 0 && t2._contents.length === 0))
  49424. t2._contents += A.Primitives_stringFromCharCode(32);
  49425. buffer.addInterpolation$1(_this._mediaQueryList$0());
  49426. endPosition = t1._string_scanner$_position;
  49427. t1 = t1._sourceFile;
  49428. t4 = start.position;
  49429. t5 = new A._FileSpan(t1, t4, endPosition);
  49430. t5._FileSpan$3(t1, t4, endPosition);
  49431. t4 = type$.Object;
  49432. t3 = A.List_List$of(t3, true, t4);
  49433. t1 = t2._contents;
  49434. if (t1.length !== 0)
  49435. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  49436. result = A.List_List$from(t3, false, t4);
  49437. result.fixed$length = Array;
  49438. result.immutable$list = Array;
  49439. t1 = new A.Interpolation(result, t5);
  49440. t1.Interpolation$2(t3, t5);
  49441. return t1;
  49442. } else {
  49443. endPosition = t1._string_scanner$_position;
  49444. t1 = t1._sourceFile;
  49445. t4 = start.position;
  49446. t5 = new A._FileSpan(t1, t4, endPosition);
  49447. t5._FileSpan$3(t1, t4, endPosition);
  49448. t4 = type$.Object;
  49449. t3 = A.List_List$of(t3, true, t4);
  49450. t1 = t2._contents;
  49451. if (t1.length !== 0)
  49452. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  49453. result = A.List_List$from(t3, false, t4);
  49454. result.fixed$length = Array;
  49455. result.immutable$list = Array;
  49456. t1 = new A.Interpolation(result, t5);
  49457. t1.Interpolation$2(t3, t5);
  49458. return t1;
  49459. }
  49460. },
  49461. _importSupportsQuery$0() {
  49462. var t1, t2, $function, $name, _this = this;
  49463. if (_this.scanIdentifier$1("not")) {
  49464. _this.whitespace$0();
  49465. t1 = _this.scanner;
  49466. t2 = t1._string_scanner$_position;
  49467. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49468. } else {
  49469. t1 = _this.scanner;
  49470. if (t1.peekChar$0() === 40)
  49471. return _this._supportsCondition$0();
  49472. else {
  49473. $function = _this._tryImportSupportsFunction$0();
  49474. if ($function != null)
  49475. return $function;
  49476. t2 = t1._string_scanner$_position;
  49477. $name = _this._expression$0();
  49478. t1.expectChar$1(58);
  49479. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  49480. }
  49481. }
  49482. },
  49483. _tryImportSupportsFunction$0() {
  49484. var t1, start, $name, value, _this = this;
  49485. if (!_this._lookingAtInterpolatedIdentifier$0())
  49486. return null;
  49487. t1 = _this.scanner;
  49488. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49489. $name = _this.interpolatedIdentifier$0();
  49490. if (!t1.scanChar$1(40)) {
  49491. t1.set$state(start);
  49492. return null;
  49493. }
  49494. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  49495. t1.expectChar$1(41);
  49496. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  49497. },
  49498. _includeRule$1(start) {
  49499. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  49500. $name = _this.identifier$0(),
  49501. t1 = _this.scanner;
  49502. if (t1.scanChar$1(46)) {
  49503. name0 = _this._publicIdentifier$0();
  49504. namespace = $name;
  49505. $name = name0;
  49506. } else {
  49507. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  49508. namespace = _null;
  49509. }
  49510. _this.whitespace$0();
  49511. if (t1.peekChar$0() === 40)
  49512. $arguments = _this._argumentInvocation$1$mixin(true);
  49513. else {
  49514. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49515. t3 = t2.offset;
  49516. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  49517. }
  49518. _this.whitespace$0();
  49519. if (_this.scanIdentifier$1("using")) {
  49520. _this.whitespace$0();
  49521. contentArguments = _this._argumentDeclaration$0();
  49522. _this.whitespace$0();
  49523. } else
  49524. contentArguments = _null;
  49525. t2 = contentArguments == null;
  49526. if (!t2 || _this.lookingAtChildren$0()) {
  49527. if (t2) {
  49528. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49529. t3 = t2.offset;
  49530. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  49531. } else
  49532. contentArguments_ = contentArguments;
  49533. wasInContentBlock = _this._inContentBlock;
  49534. _this._inContentBlock = true;
  49535. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  49536. _this._inContentBlock = wasInContentBlock;
  49537. } else {
  49538. _this.expectStatementSeparator$0();
  49539. $content = _null;
  49540. }
  49541. t1 = t1.spanFrom$2(start, start);
  49542. t2 = $content == null ? $arguments : $content;
  49543. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  49544. },
  49545. mediaRule$1(start) {
  49546. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  49547. },
  49548. _mixinRule$1(start) {
  49549. var $name, t1, $arguments, t2, t3, _this = this,
  49550. precedingComment = _this.lastSilentComment;
  49551. _this.lastSilentComment = null;
  49552. $name = _this.identifier$1$normalize(true);
  49553. _this.whitespace$0();
  49554. t1 = _this.scanner;
  49555. if (t1.peekChar$0() === 40)
  49556. $arguments = _this._argumentDeclaration$0();
  49557. else {
  49558. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  49559. t3 = t2.offset;
  49560. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  49561. }
  49562. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  49563. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  49564. else if (_this._inControlDirective)
  49565. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  49566. _this.whitespace$0();
  49567. _this._stylesheet$_inMixin = true;
  49568. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  49569. },
  49570. mozDocumentRule$2(start, $name) {
  49571. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  49572. t1 = _this.scanner,
  49573. t2 = t1._string_scanner$_position,
  49574. t3 = new A.StringBuffer(""),
  49575. t4 = A._setArrayType([], type$.JSArray_Object),
  49576. buffer = new A.InterpolationBuffer(t3, t4);
  49577. _box_0.needsDeprecationWarning = false;
  49578. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  49579. if (t1.peekChar$0() === 35) {
  49580. t7 = _this.singleInterpolation$0();
  49581. buffer._flushText$0();
  49582. t4.push(t7);
  49583. _box_0.needsDeprecationWarning = true;
  49584. } else {
  49585. t7 = t1._string_scanner$_position;
  49586. identifier = _this.identifier$0();
  49587. switch (identifier) {
  49588. case "url":
  49589. case "url-prefix":
  49590. case "domain":
  49591. contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  49592. if (contents != null)
  49593. buffer.addInterpolation$1(contents);
  49594. else {
  49595. t1.expectChar$1(40);
  49596. _this.whitespace$0();
  49597. argument = _this.interpolatedString$0();
  49598. t1.expectChar$1(41);
  49599. t7 = t3._contents += identifier;
  49600. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  49601. buffer.addInterpolation$1(argument.asInterpolation$0());
  49602. t3._contents += A.Primitives_stringFromCharCode(41);
  49603. }
  49604. t7 = t3._contents;
  49605. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  49606. 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("")'))
  49607. _box_0.needsDeprecationWarning = true;
  49608. break;
  49609. case "regexp":
  49610. t3._contents += "regexp(";
  49611. t1.expectChar$1(40);
  49612. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  49613. t1.expectChar$1(41);
  49614. t3._contents += A.Primitives_stringFromCharCode(41);
  49615. _box_0.needsDeprecationWarning = true;
  49616. break;
  49617. default:
  49618. endPosition = t1._string_scanner$_position;
  49619. t8 = t1._sourceFile;
  49620. t9 = new A._FileSpan(t8, t7, endPosition);
  49621. t9._FileSpan$3(t8, t7, endPosition);
  49622. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  49623. }
  49624. }
  49625. _this.whitespace$0();
  49626. if (!t1.scanChar$1(44))
  49627. break;
  49628. t3._contents += A.Primitives_stringFromCharCode(44);
  49629. start0 = t1._string_scanner$_position;
  49630. t5.call$0();
  49631. end = t1._string_scanner$_position;
  49632. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  49633. }
  49634. 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)))));
  49635. },
  49636. supportsRule$1(start) {
  49637. var _this = this,
  49638. condition = _this._supportsCondition$0();
  49639. _this.whitespace$0();
  49640. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  49641. },
  49642. _useRule$1(start) {
  49643. var namespace, configuration, span, t1, _this = this,
  49644. _s9_ = "@use rule",
  49645. url = _this._urlString$0();
  49646. _this.whitespace$0();
  49647. namespace = _this._useNamespace$2(url, start);
  49648. _this.whitespace$0();
  49649. configuration = _this._stylesheet$_configuration$0();
  49650. _this.expectStatementSeparator$1(_s9_);
  49651. span = _this.scanner.spanFrom$1(start);
  49652. if (!_this._isUseAllowed)
  49653. _this.error$2(0, string$.x40use_r, span);
  49654. _this.expectStatementSeparator$1(_s9_);
  49655. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty9 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  49656. t1.UseRule$4$configuration(url, namespace, span, configuration);
  49657. return t1;
  49658. },
  49659. _useNamespace$2(url, start) {
  49660. var namespace, basename, dot, t1, exception, _this = this;
  49661. if (_this.scanIdentifier$1("as")) {
  49662. _this.whitespace$0();
  49663. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  49664. }
  49665. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  49666. dot = B.JSString_methods.indexOf$1(basename, ".");
  49667. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  49668. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  49669. try {
  49670. t1 = A.SpanScanner$(namespace, null);
  49671. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  49672. return t1;
  49673. } catch (exception) {
  49674. if (type$.SassFormatException._is(A.unwrapException(exception)))
  49675. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  49676. else
  49677. throw exception;
  49678. }
  49679. },
  49680. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  49681. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  49682. if (!_this.scanIdentifier$1("with"))
  49683. return null;
  49684. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  49685. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  49686. _this.whitespace$0();
  49687. t1 = _this.scanner;
  49688. t1.expectChar$1(40);
  49689. for (t2 = t1.string; true;) {
  49690. _this.whitespace$0();
  49691. t3 = t1._string_scanner$_position;
  49692. t1.expectChar$1(36);
  49693. $name = _this.identifier$1$normalize(true);
  49694. _this.whitespace$0();
  49695. t1.expectChar$1(58);
  49696. _this.whitespace$0();
  49697. expression = _this.expressionUntilComma$0();
  49698. t4 = t1._string_scanner$_position;
  49699. if (allowGuarded && t1.scanChar$1(33))
  49700. if (_this.identifier$0() === "default") {
  49701. _this.whitespace$0();
  49702. guarded = true;
  49703. } else {
  49704. endPosition = t1._string_scanner$_position;
  49705. t5 = t1._sourceFile;
  49706. t6 = new A._FileSpan(t5, t4, endPosition);
  49707. t6._FileSpan$3(t5, t4, endPosition);
  49708. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  49709. guarded = false;
  49710. }
  49711. else
  49712. guarded = false;
  49713. endPosition = t1._string_scanner$_position;
  49714. t4 = t1._sourceFile;
  49715. span = new A._FileSpan(t4, t3, endPosition);
  49716. span._FileSpan$3(t4, t3, endPosition);
  49717. if (variableNames.contains$1(0, $name))
  49718. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  49719. variableNames.add$1(0, $name);
  49720. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  49721. if (!t1.scanChar$1(44))
  49722. break;
  49723. _this.whitespace$0();
  49724. if (!_this._lookingAtExpression$0())
  49725. break;
  49726. }
  49727. t1.expectChar$1(41);
  49728. return configuration;
  49729. },
  49730. _stylesheet$_configuration$0() {
  49731. return this._stylesheet$_configuration$1$allowGuarded(false);
  49732. },
  49733. _warnRule$1(start) {
  49734. var value = this._expression$0();
  49735. this.expectStatementSeparator$1("@warn rule");
  49736. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  49737. },
  49738. _whileRule$2(start, child) {
  49739. var _this = this,
  49740. wasInControlDirective = _this._inControlDirective;
  49741. _this._inControlDirective = true;
  49742. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  49743. },
  49744. unknownAtRule$2(start, $name) {
  49745. var t2, t3, rule, _this = this, t1 = {},
  49746. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  49747. _this._stylesheet$_inUnknownAtRule = true;
  49748. t1.value = null;
  49749. t2 = _this.scanner;
  49750. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  49751. if (_this.lookingAtChildren$0())
  49752. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  49753. else {
  49754. _this.expectStatementSeparator$0();
  49755. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  49756. }
  49757. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  49758. return rule;
  49759. },
  49760. _disallowedAtRule$1(start) {
  49761. this.almostAnyValue$0();
  49762. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  49763. },
  49764. _argumentDeclaration$0() {
  49765. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  49766. t1 = _this.scanner,
  49767. t2 = t1._string_scanner$_position;
  49768. t1.expectChar$1(40);
  49769. _this.whitespace$0();
  49770. $arguments = A._setArrayType([], type$.JSArray_Argument);
  49771. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  49772. t3 = t1.string;
  49773. while (true) {
  49774. if (!(t1.peekChar$0() === 36)) {
  49775. restArgument = null;
  49776. break;
  49777. }
  49778. t4 = t1._string_scanner$_position;
  49779. t1.expectChar$1(36);
  49780. $name = _this.identifier$1$normalize(true);
  49781. _this.whitespace$0();
  49782. if (t1.scanChar$1(58)) {
  49783. _this.whitespace$0();
  49784. defaultValue = _this.expressionUntilComma$0();
  49785. } else {
  49786. if (t1.scanChar$1(46)) {
  49787. t1.expectChar$1(46);
  49788. t1.expectChar$1(46);
  49789. _this.whitespace$0();
  49790. restArgument = $name;
  49791. break;
  49792. }
  49793. defaultValue = null;
  49794. }
  49795. endPosition = t1._string_scanner$_position;
  49796. t5 = t1._sourceFile;
  49797. t6 = new A._FileSpan(t5, t4, endPosition);
  49798. t6._FileSpan$3(t5, t4, endPosition);
  49799. $arguments.push(new A.Argument($name, defaultValue, t6));
  49800. if (!named.add$1(0, $name))
  49801. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  49802. if (!t1.scanChar$1(44)) {
  49803. restArgument = null;
  49804. break;
  49805. }
  49806. _this.whitespace$0();
  49807. }
  49808. t1.expectChar$1(41);
  49809. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  49810. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  49811. },
  49812. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  49813. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  49814. t1 = _this.scanner,
  49815. t2 = t1._string_scanner$_position;
  49816. t1.expectChar$1(40);
  49817. _this.whitespace$0();
  49818. positional = A._setArrayType([], type$.JSArray_Expression);
  49819. t3 = type$.String;
  49820. t4 = type$.Expression;
  49821. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  49822. t5 = !mixin;
  49823. t6 = t1.string;
  49824. rest = _null;
  49825. while (true) {
  49826. if (!_this._lookingAtExpression$0()) {
  49827. keywordRest = _null;
  49828. break;
  49829. }
  49830. expression = _this.expressionUntilComma$1$singleEquals(t5);
  49831. _this.whitespace$0();
  49832. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  49833. _this.whitespace$0();
  49834. t7 = expression.name;
  49835. if (named.containsKey$1(t7))
  49836. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  49837. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  49838. } else if (t1.scanChar$1(46)) {
  49839. t1.expectChar$1(46);
  49840. t1.expectChar$1(46);
  49841. if (rest != null) {
  49842. _this.whitespace$0();
  49843. keywordRest = expression;
  49844. break;
  49845. }
  49846. rest = expression;
  49847. } else if (named.__js_helper$_length !== 0)
  49848. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  49849. else
  49850. positional.push(expression);
  49851. _this.whitespace$0();
  49852. if (!t1.scanChar$1(44)) {
  49853. keywordRest = _null;
  49854. break;
  49855. }
  49856. _this.whitespace$0();
  49857. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  49858. t5 = t1._sourceFile;
  49859. t6 = t1._string_scanner$_position;
  49860. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  49861. t7 = new A._FileSpan(t5, t6, t6);
  49862. t7._FileSpan$3(t5, t6, t6);
  49863. t6 = A._setArrayType([""], type$.JSArray_Object);
  49864. result = A.List_List$from(t6, false, type$.Object);
  49865. result.fixed$length = Array;
  49866. result.immutable$list = Array;
  49867. t5 = new A.Interpolation(result, t7);
  49868. t5.Interpolation$2(t6, t7);
  49869. positional.push(new A.StringExpression(t5, false));
  49870. keywordRest = _null;
  49871. break;
  49872. }
  49873. }
  49874. t1.expectChar$1(41);
  49875. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  49876. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  49877. },
  49878. _argumentInvocation$0() {
  49879. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  49880. },
  49881. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  49882. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  49883. },
  49884. _argumentInvocation$1$mixin(mixin) {
  49885. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  49886. },
  49887. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  49888. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  49889. _s20_ = "Expected expression.",
  49890. _box_0 = {},
  49891. t1 = until != null;
  49892. if (t1 && until.call$0())
  49893. _this.scanner.error$1(0, _s20_);
  49894. if (bracketList) {
  49895. t2 = _this.scanner;
  49896. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49897. t2.expectChar$1(91);
  49898. _this.whitespace$0();
  49899. if (t2.scanChar$1(93)) {
  49900. t1 = A._setArrayType([], type$.JSArray_Expression);
  49901. t2 = t2.spanFrom$1(beforeBracket);
  49902. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  49903. }
  49904. } else
  49905. beforeBracket = null;
  49906. t2 = _this.scanner;
  49907. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  49908. wasInParentheses = _this._inParentheses;
  49909. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  49910. _box_0.allowSlash = true;
  49911. _box_0.singleExpression_ = _this._singleExpression$0();
  49912. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  49913. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  49914. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  49915. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  49916. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  49917. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  49918. $label0$0:
  49919. for (t3 = type$.JSArray_Expression; true;) {
  49920. _this.whitespace$0();
  49921. if (t1 && until.call$0())
  49922. break $label0$0;
  49923. first = t2.peekChar$0();
  49924. switch (first) {
  49925. case 40:
  49926. addSingleExpression.call$1(_this._parentheses$0());
  49927. break;
  49928. case 91:
  49929. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  49930. break;
  49931. case 36:
  49932. addSingleExpression.call$1(_this._variable$0());
  49933. break;
  49934. case 38:
  49935. addSingleExpression.call$1(_this._selector$0());
  49936. break;
  49937. case 39:
  49938. case 34:
  49939. addSingleExpression.call$1(_this.interpolatedString$0());
  49940. break;
  49941. case 35:
  49942. addSingleExpression.call$1(_this._hashExpression$0());
  49943. break;
  49944. case 61:
  49945. t2.readChar$0();
  49946. if (singleEquals && t2.peekChar$0() !== 61)
  49947. addOperator.call$1(B.BinaryOperator_2jN);
  49948. else {
  49949. t2.expectChar$1(61);
  49950. addOperator.call$1(B.BinaryOperator_ql5);
  49951. }
  49952. break;
  49953. case 33:
  49954. next = t2.peekChar$1(1);
  49955. if (next === 61) {
  49956. t2.readChar$0();
  49957. t2.readChar$0();
  49958. addOperator.call$1(B.BinaryOperator_ViB);
  49959. } else {
  49960. if (next != null)
  49961. if ((next | 32) >>> 0 !== 105)
  49962. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  49963. else
  49964. t4 = true;
  49965. else
  49966. t4 = true;
  49967. if (t4)
  49968. addSingleExpression.call$1(_this._importantExpression$0());
  49969. else
  49970. break $label0$0;
  49971. }
  49972. break;
  49973. case 60:
  49974. t2.readChar$0();
  49975. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg : B.BinaryOperator_U8c);
  49976. break;
  49977. case 62:
  49978. t2.readChar$0();
  49979. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg : B.BinaryOperator_cIH);
  49980. break;
  49981. case 42:
  49982. t2.readChar$0();
  49983. addOperator.call$1(B.BinaryOperator_qN2);
  49984. break;
  49985. case 43:
  49986. if (_box_0.singleExpression_ == null)
  49987. addSingleExpression.call$1(_this._unaryOperation$0());
  49988. else {
  49989. t2.readChar$0();
  49990. addOperator.call$1(B.BinaryOperator_anB);
  49991. }
  49992. break;
  49993. case 45:
  49994. next = t2.peekChar$1(1);
  49995. if (next != null && next >= 48 && next <= 57 || next === 46)
  49996. if (_box_0.singleExpression_ != null) {
  49997. t4 = t2.peekChar$1(-1);
  49998. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  49999. } else
  50000. t4 = true;
  50001. else
  50002. t4 = false;
  50003. if (t4)
  50004. addSingleExpression.call$1(_this._number$0());
  50005. else if (_this._lookingAtInterpolatedIdentifier$0())
  50006. addSingleExpression.call$1(_this.identifierLike$0());
  50007. else if (_box_0.singleExpression_ == null)
  50008. addSingleExpression.call$1(_this._unaryOperation$0());
  50009. else {
  50010. t2.readChar$0();
  50011. addOperator.call$1(B.BinaryOperator_olz);
  50012. }
  50013. break;
  50014. case 47:
  50015. if (_box_0.singleExpression_ == null)
  50016. addSingleExpression.call$1(_this._unaryOperation$0());
  50017. else {
  50018. t2.readChar$0();
  50019. addOperator.call$1(B.BinaryOperator_t8B);
  50020. }
  50021. break;
  50022. case 37:
  50023. t2.readChar$0();
  50024. addOperator.call$1(B.BinaryOperator_OTG);
  50025. break;
  50026. case 48:
  50027. case 49:
  50028. case 50:
  50029. case 51:
  50030. case 52:
  50031. case 53:
  50032. case 54:
  50033. case 55:
  50034. case 56:
  50035. case 57:
  50036. addSingleExpression.call$1(_this._number$0());
  50037. break;
  50038. case 46:
  50039. if (t2.peekChar$1(1) === 46)
  50040. break $label0$0;
  50041. addSingleExpression.call$1(_this._number$0());
  50042. break;
  50043. case 97:
  50044. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  50045. addOperator.call$1(B.BinaryOperator_SNp);
  50046. else
  50047. addSingleExpression.call$1(_this.identifierLike$0());
  50048. break;
  50049. case 111:
  50050. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  50051. addOperator.call$1(B.BinaryOperator_M6L);
  50052. else
  50053. addSingleExpression.call$1(_this.identifierLike$0());
  50054. break;
  50055. case 117:
  50056. case 85:
  50057. if (t2.peekChar$1(1) === 43)
  50058. addSingleExpression.call$1(_this._unicodeRange$0());
  50059. else
  50060. addSingleExpression.call$1(_this.identifierLike$0());
  50061. break;
  50062. case 98:
  50063. case 99:
  50064. case 100:
  50065. case 101:
  50066. case 102:
  50067. case 103:
  50068. case 104:
  50069. case 105:
  50070. case 106:
  50071. case 107:
  50072. case 108:
  50073. case 109:
  50074. case 110:
  50075. case 112:
  50076. case 113:
  50077. case 114:
  50078. case 115:
  50079. case 116:
  50080. case 118:
  50081. case 119:
  50082. case 120:
  50083. case 121:
  50084. case 122:
  50085. case 65:
  50086. case 66:
  50087. case 67:
  50088. case 68:
  50089. case 69:
  50090. case 70:
  50091. case 71:
  50092. case 72:
  50093. case 73:
  50094. case 74:
  50095. case 75:
  50096. case 76:
  50097. case 77:
  50098. case 78:
  50099. case 79:
  50100. case 80:
  50101. case 81:
  50102. case 82:
  50103. case 83:
  50104. case 84:
  50105. case 86:
  50106. case 87:
  50107. case 88:
  50108. case 89:
  50109. case 90:
  50110. case 95:
  50111. case 92:
  50112. addSingleExpression.call$1(_this.identifierLike$0());
  50113. break;
  50114. case 44:
  50115. if (_this._inParentheses) {
  50116. _this._inParentheses = false;
  50117. if (_box_0.allowSlash) {
  50118. resetState.call$0();
  50119. break;
  50120. }
  50121. }
  50122. commaExpressions = _box_0.commaExpressions_;
  50123. if (commaExpressions == null)
  50124. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  50125. if (_box_0.singleExpression_ == null)
  50126. t2.error$1(0, _s20_);
  50127. resolveSpaceExpressions.call$0();
  50128. t4 = _box_0.singleExpression_;
  50129. t4.toString;
  50130. commaExpressions.push(t4);
  50131. t2.readChar$0();
  50132. _box_0.allowSlash = true;
  50133. _box_0.singleExpression_ = null;
  50134. break;
  50135. default:
  50136. if (first != null && first >= 128) {
  50137. addSingleExpression.call$1(_this.identifierLike$0());
  50138. break;
  50139. } else
  50140. break $label0$0;
  50141. }
  50142. }
  50143. if (bracketList)
  50144. t2.expectChar$1(93);
  50145. commaExpressions = _box_0.commaExpressions_;
  50146. spaceExpressions = _box_0.spaceExpressions_;
  50147. if (commaExpressions != null) {
  50148. resolveSpaceExpressions.call$0();
  50149. _this._inParentheses = wasInParentheses;
  50150. singleExpression = _box_0.singleExpression_;
  50151. if (singleExpression != null)
  50152. commaExpressions.push(singleExpression);
  50153. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  50154. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  50155. } else if (bracketList && spaceExpressions != null) {
  50156. resolveOperations.call$0();
  50157. t1 = _box_0.singleExpression_;
  50158. t1.toString;
  50159. spaceExpressions.push(t1);
  50160. beforeBracket.toString;
  50161. t2 = t2.spanFrom$1(beforeBracket);
  50162. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  50163. } else {
  50164. resolveSpaceExpressions.call$0();
  50165. if (bracketList) {
  50166. t1 = _box_0.singleExpression_;
  50167. t1.toString;
  50168. t3 = A._setArrayType([t1], t3);
  50169. beforeBracket.toString;
  50170. t2 = t2.spanFrom$1(beforeBracket);
  50171. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  50172. }
  50173. t1 = _box_0.singleExpression_;
  50174. t1.toString;
  50175. return t1;
  50176. }
  50177. },
  50178. _expression$0() {
  50179. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  50180. },
  50181. _expression$2$singleEquals$until(singleEquals, until) {
  50182. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  50183. },
  50184. _expression$1$bracketList(bracketList) {
  50185. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  50186. },
  50187. _expression$1$until(until) {
  50188. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  50189. },
  50190. expressionUntilComma$1$singleEquals(singleEquals) {
  50191. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  50192. },
  50193. expressionUntilComma$0() {
  50194. return this.expressionUntilComma$1$singleEquals(false);
  50195. },
  50196. _isSlashOperand$1(expression) {
  50197. var t1;
  50198. if (!(expression instanceof A.NumberExpression))
  50199. if (!(expression instanceof A.CalculationExpression))
  50200. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  50201. else
  50202. t1 = true;
  50203. else
  50204. t1 = true;
  50205. return t1;
  50206. },
  50207. _singleExpression$0() {
  50208. var next, _this = this,
  50209. t1 = _this.scanner,
  50210. first = t1.peekChar$0();
  50211. switch (first) {
  50212. case 40:
  50213. return _this._parentheses$0();
  50214. case 47:
  50215. return _this._unaryOperation$0();
  50216. case 46:
  50217. return _this._number$0();
  50218. case 91:
  50219. return _this._expression$1$bracketList(true);
  50220. case 36:
  50221. return _this._variable$0();
  50222. case 38:
  50223. return _this._selector$0();
  50224. case 39:
  50225. case 34:
  50226. return _this.interpolatedString$0();
  50227. case 35:
  50228. return _this._hashExpression$0();
  50229. case 43:
  50230. next = t1.peekChar$1(1);
  50231. return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  50232. case 45:
  50233. return _this._minusExpression$0();
  50234. case 33:
  50235. return _this._importantExpression$0();
  50236. case 117:
  50237. case 85:
  50238. if (t1.peekChar$1(1) === 43)
  50239. return _this._unicodeRange$0();
  50240. else
  50241. return _this.identifierLike$0();
  50242. case 48:
  50243. case 49:
  50244. case 50:
  50245. case 51:
  50246. case 52:
  50247. case 53:
  50248. case 54:
  50249. case 55:
  50250. case 56:
  50251. case 57:
  50252. return _this._number$0();
  50253. case 97:
  50254. case 98:
  50255. case 99:
  50256. case 100:
  50257. case 101:
  50258. case 102:
  50259. case 103:
  50260. case 104:
  50261. case 105:
  50262. case 106:
  50263. case 107:
  50264. case 108:
  50265. case 109:
  50266. case 110:
  50267. case 111:
  50268. case 112:
  50269. case 113:
  50270. case 114:
  50271. case 115:
  50272. case 116:
  50273. case 118:
  50274. case 119:
  50275. case 120:
  50276. case 121:
  50277. case 122:
  50278. case 65:
  50279. case 66:
  50280. case 67:
  50281. case 68:
  50282. case 69:
  50283. case 70:
  50284. case 71:
  50285. case 72:
  50286. case 73:
  50287. case 74:
  50288. case 75:
  50289. case 76:
  50290. case 77:
  50291. case 78:
  50292. case 79:
  50293. case 80:
  50294. case 81:
  50295. case 82:
  50296. case 83:
  50297. case 84:
  50298. case 86:
  50299. case 87:
  50300. case 88:
  50301. case 89:
  50302. case 90:
  50303. case 95:
  50304. case 92:
  50305. return _this.identifierLike$0();
  50306. default:
  50307. if (first != null && first >= 128)
  50308. return _this.identifierLike$0();
  50309. t1.error$1(0, "Expected expression.");
  50310. }
  50311. },
  50312. _parentheses$0() {
  50313. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  50314. if (_this.get$plainCss())
  50315. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  50316. wasInParentheses = _this._inParentheses;
  50317. _this._inParentheses = true;
  50318. try {
  50319. t1 = _this.scanner;
  50320. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50321. t1.expectChar$1(40);
  50322. _this.whitespace$0();
  50323. if (!_this._lookingAtExpression$0()) {
  50324. t1.expectChar$1(41);
  50325. t2 = A._setArrayType([], type$.JSArray_Expression);
  50326. t1 = t1.spanFrom$1(start);
  50327. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  50328. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  50329. }
  50330. first = _this.expressionUntilComma$0();
  50331. if (t1.scanChar$1(58)) {
  50332. _this.whitespace$0();
  50333. t1 = _this._stylesheet$_map$2(first, start);
  50334. return t1;
  50335. }
  50336. if (!t1.scanChar$1(44)) {
  50337. t1.expectChar$1(41);
  50338. t1 = t1.spanFrom$1(start);
  50339. return new A.ParenthesizedExpression(first, t1);
  50340. }
  50341. _this.whitespace$0();
  50342. expressions = A._setArrayType([first], type$.JSArray_Expression);
  50343. for (; true;) {
  50344. if (!_this._lookingAtExpression$0())
  50345. break;
  50346. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  50347. if (!t1.scanChar$1(44))
  50348. break;
  50349. _this.whitespace$0();
  50350. }
  50351. t1.expectChar$1(41);
  50352. t1 = t1.spanFrom$1(start);
  50353. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  50354. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  50355. } finally {
  50356. _this._inParentheses = wasInParentheses;
  50357. }
  50358. },
  50359. _stylesheet$_map$2(first, start) {
  50360. var t2, key, _this = this,
  50361. t1 = type$.Tuple2_Expression_Expression,
  50362. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
  50363. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  50364. _this.whitespace$0();
  50365. if (!_this._lookingAtExpression$0())
  50366. break;
  50367. key = _this.expressionUntilComma$0();
  50368. t2.expectChar$1(58);
  50369. _this.whitespace$0();
  50370. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  50371. }
  50372. t2.expectChar$1(41);
  50373. t2 = t2.spanFrom$1(start);
  50374. return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
  50375. },
  50376. _hashExpression$0() {
  50377. var start, first, t2, identifier, buffer, _this = this,
  50378. t1 = _this.scanner;
  50379. if (t1.peekChar$1(1) === 123)
  50380. return _this.identifierLike$0();
  50381. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50382. t1.expectChar$1(35);
  50383. first = t1.peekChar$0();
  50384. if (first != null && A.isDigit(first))
  50385. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  50386. t2 = t1._string_scanner$_position;
  50387. identifier = _this.interpolatedIdentifier$0();
  50388. if (_this._isHexColor$1(identifier)) {
  50389. t1.set$state(new A._SpanScannerState(t1, t2));
  50390. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  50391. }
  50392. t2 = new A.StringBuffer("");
  50393. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  50394. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  50395. buffer.addInterpolation$1(identifier);
  50396. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  50397. },
  50398. _hexColorContents$1(start) {
  50399. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  50400. digit1 = _this._hexDigit$0(),
  50401. digit2 = _this._hexDigit$0(),
  50402. digit3 = _this._hexDigit$0(),
  50403. t1 = _this.scanner;
  50404. if (!A.isHex(t1.peekChar$0())) {
  50405. red = (digit1 << 4 >>> 0) + digit1;
  50406. green = (digit2 << 4 >>> 0) + digit2;
  50407. blue = (digit3 << 4 >>> 0) + digit3;
  50408. alpha = null;
  50409. } else {
  50410. digit4 = _this._hexDigit$0();
  50411. t2 = digit1 << 4 >>> 0;
  50412. t3 = digit3 << 4 >>> 0;
  50413. if (!A.isHex(t1.peekChar$0())) {
  50414. red = t2 + digit1;
  50415. green = (digit2 << 4 >>> 0) + digit2;
  50416. blue = t3 + digit3;
  50417. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  50418. } else {
  50419. red = t2 + digit2;
  50420. green = t3 + digit4;
  50421. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  50422. alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  50423. }
  50424. }
  50425. return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  50426. },
  50427. _isHexColor$1(interpolation) {
  50428. var t1,
  50429. plain = interpolation.get$asPlain();
  50430. if (plain == null)
  50431. return false;
  50432. t1 = plain.length;
  50433. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  50434. return false;
  50435. t1 = new A.CodeUnits(plain);
  50436. return t1.every$1(t1, A.character__isHex$closure());
  50437. },
  50438. _hexDigit$0() {
  50439. var t1 = this.scanner,
  50440. char = t1.peekChar$0();
  50441. if (char == null || !A.isHex(char))
  50442. t1.error$1(0, "Expected hex digit.");
  50443. return A.asHex(t1.readChar$0());
  50444. },
  50445. _minusExpression$0() {
  50446. var _this = this,
  50447. next = _this.scanner.peekChar$1(1);
  50448. if (A.isDigit(next) || next === 46)
  50449. return _this._number$0();
  50450. if (_this._lookingAtInterpolatedIdentifier$0())
  50451. return _this.identifierLike$0();
  50452. return _this._unaryOperation$0();
  50453. },
  50454. _importantExpression$0() {
  50455. var t1 = this.scanner,
  50456. t2 = t1._string_scanner$_position;
  50457. t1.readChar$0();
  50458. this.whitespace$0();
  50459. this.expectIdentifier$1("important");
  50460. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  50461. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  50462. },
  50463. _unaryOperation$0() {
  50464. var _this = this,
  50465. t1 = _this.scanner,
  50466. t2 = t1._string_scanner$_position,
  50467. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  50468. if (operator == null)
  50469. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  50470. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  50471. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  50472. _this.whitespace$0();
  50473. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50474. },
  50475. _unaryOperatorFor$1(character) {
  50476. switch (character) {
  50477. case 43:
  50478. return B.UnaryOperator_gg4;
  50479. case 45:
  50480. return B.UnaryOperator_TLI;
  50481. case 47:
  50482. return B.UnaryOperator_Ix1;
  50483. default:
  50484. return null;
  50485. }
  50486. },
  50487. _number$0() {
  50488. var number, unit, _this = this,
  50489. t1 = _this.scanner,
  50490. t2 = t1._string_scanner$_position,
  50491. first = t1.peekChar$0(),
  50492. t3 = first !== 43;
  50493. if (!t3 || first === 45)
  50494. t1.readChar$0();
  50495. if (t1.peekChar$0() !== 46)
  50496. _this._consumeNaturalNumber$0();
  50497. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  50498. _this._tryExponent$0();
  50499. number = A.double_parse(t1.substring$1(0, t2));
  50500. if (t1.scanChar$1(37))
  50501. unit = "%";
  50502. else {
  50503. if (_this.lookingAtIdentifier$0())
  50504. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  50505. else
  50506. t3 = false;
  50507. unit = t3 ? _this.identifier$1$unit(true) : null;
  50508. }
  50509. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50510. },
  50511. _consumeNaturalNumber$0() {
  50512. var t2,
  50513. t1 = this.scanner;
  50514. if (!A.isDigit(t1.readChar$0()))
  50515. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  50516. while (true) {
  50517. t2 = t1.peekChar$0();
  50518. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  50519. break;
  50520. t1.readChar$0();
  50521. }
  50522. },
  50523. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  50524. var t2,
  50525. t1 = this.scanner;
  50526. if (t1.peekChar$0() !== 46)
  50527. return;
  50528. if (!A.isDigit(t1.peekChar$1(1))) {
  50529. if (allowTrailingDot)
  50530. return;
  50531. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  50532. }
  50533. t1.readChar$0();
  50534. while (true) {
  50535. t2 = t1.peekChar$0();
  50536. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  50537. break;
  50538. t1.readChar$0();
  50539. }
  50540. },
  50541. _tryExponent$0() {
  50542. var next, t2,
  50543. t1 = this.scanner,
  50544. first = t1.peekChar$0();
  50545. if (first !== 101 && first !== 69)
  50546. return;
  50547. next = t1.peekChar$1(1);
  50548. if (!A.isDigit(next) && next !== 45 && next !== 43)
  50549. return;
  50550. t1.readChar$0();
  50551. if (next === 43 || next === 45)
  50552. t1.readChar$0();
  50553. if (!A.isDigit(t1.peekChar$0()))
  50554. t1.error$1(0, "Expected digit.");
  50555. while (true) {
  50556. t2 = t1.peekChar$0();
  50557. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  50558. break;
  50559. t1.readChar$0();
  50560. }
  50561. },
  50562. _unicodeRange$0() {
  50563. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  50564. _s26_ = "Expected at most 6 digits.",
  50565. t1 = _this.scanner,
  50566. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50567. _this.expectIdentChar$1(117);
  50568. t1.expectChar$1(43);
  50569. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  50570. ++firstRangeLength;
  50571. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  50572. ++firstRangeLength;
  50573. if (firstRangeLength === 0)
  50574. t1.error$1(0, 'Expected hex digit or "?".');
  50575. else if (firstRangeLength > 6)
  50576. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  50577. else if (hasQuestionMark) {
  50578. t2 = t1.substring$1(0, start.position);
  50579. t1 = t1.spanFrom$1(start);
  50580. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  50581. }
  50582. if (t1.scanChar$1(45)) {
  50583. t2 = t1._string_scanner$_position;
  50584. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  50585. ++secondRangeLength;
  50586. if (secondRangeLength === 0)
  50587. t1.error$1(0, "Expected hex digit.");
  50588. else if (secondRangeLength > 6)
  50589. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50590. }
  50591. if (_this._lookingAtInterpolatedIdentifierBody$0())
  50592. t1.error$1(0, "Expected end of identifier.");
  50593. t2 = t1.substring$1(0, start.position);
  50594. t1 = t1.spanFrom$1(start);
  50595. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  50596. },
  50597. _variable$0() {
  50598. var _this = this,
  50599. t1 = _this.scanner,
  50600. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50601. $name = _this.variableName$0();
  50602. if (_this.get$plainCss())
  50603. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  50604. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  50605. },
  50606. _selector$0() {
  50607. var t1, start, _this = this;
  50608. if (_this.get$plainCss())
  50609. _this.scanner.error$2$length(0, string$.The_pa, 1);
  50610. t1 = _this.scanner;
  50611. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50612. t1.expectChar$1(38);
  50613. if (t1.scanChar$1(38)) {
  50614. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  50615. t1.set$position(t1._string_scanner$_position - 1);
  50616. }
  50617. return new A.SelectorExpression(t1.spanFrom$1(start));
  50618. },
  50619. interpolatedString$0() {
  50620. var t3, t4, buffer, next, second, t5,
  50621. t1 = this.scanner,
  50622. t2 = t1._string_scanner$_position,
  50623. quote = t1.readChar$0();
  50624. if (quote !== 39 && quote !== 34)
  50625. t1.error$2$position(0, "Expected string.", t2);
  50626. t3 = new A.StringBuffer("");
  50627. t4 = A._setArrayType([], type$.JSArray_Object);
  50628. buffer = new A.InterpolationBuffer(t3, t4);
  50629. for (; true;) {
  50630. next = t1.peekChar$0();
  50631. if (next === quote) {
  50632. t1.readChar$0();
  50633. break;
  50634. } else if (next == null || next === 10 || next === 13 || next === 12)
  50635. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  50636. else if (next === 92) {
  50637. second = t1.peekChar$1(1);
  50638. if (second === 10 || second === 13 || second === 12) {
  50639. t1.readChar$0();
  50640. t1.readChar$0();
  50641. if (second === 13)
  50642. t1.scanChar$1(10);
  50643. } else
  50644. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  50645. } else if (next === 35)
  50646. if (t1.peekChar$1(1) === 123) {
  50647. t5 = this.singleInterpolation$0();
  50648. buffer._flushText$0();
  50649. t4.push(t5);
  50650. } else
  50651. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50652. else
  50653. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50654. }
  50655. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  50656. },
  50657. identifierLike$0() {
  50658. var invocation, expression, color, specialFunction, _this = this,
  50659. t1 = _this.scanner,
  50660. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50661. identifier = _this.interpolatedIdentifier$0(),
  50662. plain = identifier.get$asPlain(),
  50663. lower = A._Cell$(),
  50664. t2 = plain == null,
  50665. t3 = !t2;
  50666. if (t3) {
  50667. if (plain === "if" && t1.peekChar$0() === 40) {
  50668. invocation = _this._argumentInvocation$0();
  50669. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  50670. } else if (plain === "not") {
  50671. _this.whitespace$0();
  50672. expression = _this._singleExpression$0();
  50673. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  50674. }
  50675. lower.__late_helper$_value = plain.toLowerCase();
  50676. if (t1.peekChar$0() !== 40) {
  50677. switch (plain) {
  50678. case "false":
  50679. return new A.BooleanExpression(false, identifier.span);
  50680. case "null":
  50681. return new A.NullExpression(identifier.span);
  50682. case "true":
  50683. return new A.BooleanExpression(true, identifier.span);
  50684. }
  50685. color = $.$get$colorsByName().$index(0, lower._readLocal$0());
  50686. if (color != null) {
  50687. t1 = identifier.span;
  50688. return new A.ColorExpression(A.SassColor$rgbInternal(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, new A.SpanColorFormat(t1)), t1);
  50689. }
  50690. }
  50691. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  50692. if (specialFunction != null)
  50693. return specialFunction;
  50694. }
  50695. switch (t1.peekChar$0()) {
  50696. case 46:
  50697. if (t1.peekChar$1(1) === 46)
  50698. return new A.StringExpression(identifier, false);
  50699. t1.readChar$0();
  50700. if (t3)
  50701. return _this.namespacedExpression$2(plain, start);
  50702. _this.error$2(0, string$.Interpn, identifier.span);
  50703. break;
  50704. case 40:
  50705. if (t2)
  50706. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  50707. else
  50708. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  50709. default:
  50710. return new A.StringExpression(identifier, false);
  50711. }
  50712. },
  50713. namespacedExpression$2(namespace, start) {
  50714. var $name, _this = this,
  50715. t1 = _this.scanner;
  50716. if (t1.peekChar$0() === 36) {
  50717. $name = _this.variableName$0();
  50718. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  50719. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  50720. }
  50721. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  50722. },
  50723. trySpecialFunction$2($name, start) {
  50724. var t2, buffer, t3, next, _this = this, _null = null,
  50725. t1 = _this.scanner,
  50726. calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
  50727. if (calculation != null)
  50728. return calculation;
  50729. switch (A.unvendor($name)) {
  50730. case "calc":
  50731. case "element":
  50732. case "expression":
  50733. if (!t1.scanChar$1(40))
  50734. return _null;
  50735. t2 = new A.StringBuffer("");
  50736. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  50737. t3 = "" + $name;
  50738. t2._contents = t3;
  50739. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  50740. break;
  50741. case "progid":
  50742. if (!t1.scanChar$1(58))
  50743. return _null;
  50744. t2 = new A.StringBuffer("");
  50745. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  50746. t3 = "" + $name;
  50747. t2._contents = t3;
  50748. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  50749. next = t1.peekChar$0();
  50750. while (true) {
  50751. if (next != null) {
  50752. if (!(next >= 97 && next <= 122))
  50753. t3 = next >= 65 && next <= 90;
  50754. else
  50755. t3 = true;
  50756. t3 = t3 || next === 46;
  50757. } else
  50758. t3 = false;
  50759. if (!t3)
  50760. break;
  50761. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50762. next = t1.peekChar$0();
  50763. }
  50764. t1.expectChar$1(40);
  50765. t2._contents += A.Primitives_stringFromCharCode(40);
  50766. break;
  50767. case "url":
  50768. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  50769. default:
  50770. return _null;
  50771. }
  50772. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  50773. t1.expectChar$1(41);
  50774. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  50775. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  50776. },
  50777. _tryCalculation$2($name, start) {
  50778. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  50779. switch ($name) {
  50780. case "calc":
  50781. $arguments = _this._calculationArguments$1(1);
  50782. t1 = _this.scanner.spanFrom$1(start);
  50783. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  50784. case "min":
  50785. case "max":
  50786. t1 = _this.scanner;
  50787. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50788. $arguments = null;
  50789. try {
  50790. $arguments = _this._calculationArguments$0();
  50791. } catch (exception) {
  50792. if (type$.FormatException._is(A.unwrapException(exception))) {
  50793. t1.set$state(beforeArguments);
  50794. return null;
  50795. } else
  50796. throw exception;
  50797. }
  50798. t2 = $arguments;
  50799. t1 = t1.spanFrom$1(start);
  50800. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
  50801. case "clamp":
  50802. $arguments = _this._calculationArguments$1(3);
  50803. t1 = _this.scanner.spanFrom$1(start);
  50804. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  50805. default:
  50806. return null;
  50807. }
  50808. },
  50809. _calculationArguments$1(maxArgs) {
  50810. var interpolation, $arguments, t2, _this = this,
  50811. t1 = _this.scanner;
  50812. t1.expectChar$1(40);
  50813. interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  50814. if (interpolation != null) {
  50815. t1.expectChar$1(41);
  50816. return A._setArrayType([interpolation], type$.JSArray_Expression);
  50817. }
  50818. _this.whitespace$0();
  50819. $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
  50820. t2 = maxArgs != null;
  50821. while (true) {
  50822. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  50823. break;
  50824. _this.whitespace$0();
  50825. $arguments.push(_this._calculationSum$0());
  50826. }
  50827. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  50828. return $arguments;
  50829. },
  50830. _calculationArguments$0() {
  50831. return this._calculationArguments$1(null);
  50832. },
  50833. _calculationSum$0() {
  50834. var t1, next, t2, t3, _this = this,
  50835. sum = _this._calculationProduct$0();
  50836. for (t1 = _this.scanner; true;) {
  50837. next = t1.peekChar$0();
  50838. t2 = next === 43;
  50839. if (t2 || next === 45) {
  50840. t3 = t1.peekChar$1(-1);
  50841. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  50842. t3 = t1.peekChar$1(1);
  50843. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  50844. } else
  50845. t3 = true;
  50846. if (t3)
  50847. t1.error$1(0, string$.x22x2b__an);
  50848. t1.readChar$0();
  50849. _this.whitespace$0();
  50850. t2 = t2 ? B.BinaryOperator_anB : B.BinaryOperator_olz;
  50851. sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
  50852. } else
  50853. return sum;
  50854. }
  50855. },
  50856. _calculationProduct$0() {
  50857. var t1, next, t2, _this = this,
  50858. product = _this._calculationValue$0();
  50859. for (t1 = _this.scanner; true;) {
  50860. _this.whitespace$0();
  50861. next = t1.peekChar$0();
  50862. t2 = next === 42;
  50863. if (t2 || next === 47) {
  50864. t1.readChar$0();
  50865. _this.whitespace$0();
  50866. t2 = t2 ? B.BinaryOperator_qN2 : B.BinaryOperator_t8B;
  50867. product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
  50868. } else
  50869. return product;
  50870. }
  50871. },
  50872. _calculationValue$0() {
  50873. var t2, value, start, ident, lowerCase, calculation, _this = this,
  50874. t1 = _this.scanner,
  50875. next = t1.peekChar$0();
  50876. if (next === 43 || next === 46 || A.isDigit(next))
  50877. return _this._number$0();
  50878. else if (next === 36)
  50879. return _this._variable$0();
  50880. else if (next === 40) {
  50881. t2 = t1._string_scanner$_position;
  50882. t1.readChar$0();
  50883. value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  50884. if (value == null) {
  50885. _this.whitespace$0();
  50886. value = _this._calculationSum$0();
  50887. }
  50888. _this.whitespace$0();
  50889. t1.expectChar$1(41);
  50890. return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50891. } else if (_this.lookingAtIdentifier$0()) {
  50892. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50893. ident = _this.identifier$0();
  50894. if (t1.scanChar$1(46))
  50895. return _this.namespacedExpression$2(ident, start);
  50896. if (t1.peekChar$0() !== 40)
  50897. return new A.StringExpression(A.Interpolation$(A._setArrayType([ident], type$.JSArray_Object), t1.spanFrom$1(start)), false);
  50898. lowerCase = ident.toLowerCase();
  50899. calculation = _this._tryCalculation$2(lowerCase, start);
  50900. if (calculation != null)
  50901. return calculation;
  50902. else if (lowerCase === "if")
  50903. return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
  50904. else
  50905. return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  50906. } else if (next === 45)
  50907. return _this._number$0();
  50908. else
  50909. t1.error$1(0, string$.Expectn);
  50910. },
  50911. _containsCalculationInterpolation$0() {
  50912. var t2, parens, next, target, t3, _null = null,
  50913. _s64_ = string$.The_gi,
  50914. _s17_ = "Invalid position ",
  50915. brackets = A._setArrayType([], type$.JSArray_int),
  50916. t1 = this.scanner,
  50917. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50918. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  50919. next = t1.peekChar$0();
  50920. switch (next) {
  50921. case 92:
  50922. target = 1;
  50923. break;
  50924. case 47:
  50925. target = 2;
  50926. break;
  50927. case 39:
  50928. case 34:
  50929. target = 3;
  50930. break;
  50931. case 35:
  50932. target = 4;
  50933. break;
  50934. case 40:
  50935. target = 5;
  50936. break;
  50937. case 123:
  50938. case 91:
  50939. target = 6;
  50940. break;
  50941. case 41:
  50942. target = 7;
  50943. break;
  50944. case 125:
  50945. case 93:
  50946. target = 8;
  50947. break;
  50948. default:
  50949. target = 9;
  50950. break;
  50951. }
  50952. c$0:
  50953. for (; true;)
  50954. switch (target) {
  50955. case 1:
  50956. t1.readChar$0();
  50957. t1.readChar$0();
  50958. break c$0;
  50959. case 2:
  50960. if (!this.scanComment$0())
  50961. t1.readChar$0();
  50962. break c$0;
  50963. case 3:
  50964. this.interpolatedString$0();
  50965. break c$0;
  50966. case 4:
  50967. if (parens === 0 && t1.peekChar$1(1) === 123) {
  50968. if (start._scanner !== t1)
  50969. A.throwExpression(A.ArgumentError$(_s64_, _null));
  50970. t3 = start.position;
  50971. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  50972. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  50973. t1._string_scanner$_position = t3;
  50974. t1._lastMatch = null;
  50975. return true;
  50976. }
  50977. t1.readChar$0();
  50978. break c$0;
  50979. case 5:
  50980. ++parens;
  50981. target = 6;
  50982. continue c$0;
  50983. case 6:
  50984. next.toString;
  50985. brackets.push(A.opposite(next));
  50986. t1.readChar$0();
  50987. break c$0;
  50988. case 7:
  50989. --parens;
  50990. target = 8;
  50991. continue c$0;
  50992. case 8:
  50993. if (brackets.length === 0 || brackets.pop() !== next) {
  50994. if (start._scanner !== t1)
  50995. A.throwExpression(A.ArgumentError$(_s64_, _null));
  50996. t3 = start.position;
  50997. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  50998. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  50999. t1._string_scanner$_position = t3;
  51000. t1._lastMatch = null;
  51001. return false;
  51002. }
  51003. t1.readChar$0();
  51004. break c$0;
  51005. case 9:
  51006. t1.readChar$0();
  51007. break c$0;
  51008. }
  51009. }
  51010. t1.set$state(start);
  51011. return false;
  51012. },
  51013. _tryUrlContents$2$name(start, $name) {
  51014. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  51015. t1 = _this.scanner,
  51016. t2 = t1._string_scanner$_position;
  51017. if (!t1.scanChar$1(40))
  51018. return null;
  51019. _this.whitespaceWithoutComments$0();
  51020. t3 = new A.StringBuffer("");
  51021. t4 = A._setArrayType([], type$.JSArray_Object);
  51022. buffer = new A.InterpolationBuffer(t3, t4);
  51023. t5 = "" + ($name == null ? "url" : $name);
  51024. t3._contents = t5;
  51025. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  51026. for (; true;) {
  51027. next = t1.peekChar$0();
  51028. if (next == null)
  51029. break;
  51030. else if (next === 92)
  51031. t3._contents += A.S(_this.escape$0());
  51032. else {
  51033. if (next !== 33)
  51034. if (next !== 37)
  51035. if (next !== 38)
  51036. t5 = next >= 42 && next <= 126 || next >= 128;
  51037. else
  51038. t5 = true;
  51039. else
  51040. t5 = true;
  51041. else
  51042. t5 = true;
  51043. if (t5)
  51044. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51045. else if (next === 35)
  51046. if (t1.peekChar$1(1) === 123) {
  51047. t5 = _this.singleInterpolation$0();
  51048. buffer._flushText$0();
  51049. t4.push(t5);
  51050. } else
  51051. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51052. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  51053. _this.whitespaceWithoutComments$0();
  51054. if (t1.peekChar$0() !== 41)
  51055. break;
  51056. } else if (next === 41) {
  51057. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51058. endPosition = t1._string_scanner$_position;
  51059. t2 = t1._sourceFile;
  51060. t5 = start.position;
  51061. t1 = new A._FileSpan(t2, t5, endPosition);
  51062. t1._FileSpan$3(t2, t5, endPosition);
  51063. t5 = type$.Object;
  51064. t2 = A.List_List$of(t4, true, t5);
  51065. t4 = t3._contents;
  51066. if (t4.length !== 0)
  51067. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  51068. result = A.List_List$from(t2, false, t5);
  51069. result.fixed$length = Array;
  51070. result.immutable$list = Array;
  51071. t3 = new A.Interpolation(result, t1);
  51072. t3.Interpolation$2(t2, t1);
  51073. return t3;
  51074. } else
  51075. break;
  51076. }
  51077. }
  51078. t1.set$state(new A._SpanScannerState(t1, t2));
  51079. return null;
  51080. },
  51081. _tryUrlContents$1(start) {
  51082. return this._tryUrlContents$2$name(start, null);
  51083. },
  51084. dynamicUrl$0() {
  51085. var contents, _this = this,
  51086. t1 = _this.scanner,
  51087. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51088. _this.expectIdentifier$1("url");
  51089. contents = _this._tryUrlContents$1(start);
  51090. if (contents != null)
  51091. return new A.StringExpression(contents, false);
  51092. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  51093. },
  51094. almostAnyValue$1$omitComments(omitComments) {
  51095. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  51096. t1 = _this.scanner,
  51097. t2 = t1._string_scanner$_position,
  51098. t3 = new A.StringBuffer(""),
  51099. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  51100. $label0$1:
  51101. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  51102. next = t1.peekChar$0();
  51103. switch (next) {
  51104. case 92:
  51105. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51106. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51107. break;
  51108. case 34:
  51109. case 39:
  51110. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  51111. break;
  51112. case 47:
  51113. commentStart = t1._string_scanner$_position;
  51114. if (_this.scanComment$0()) {
  51115. if (t6) {
  51116. end = t1._string_scanner$_position;
  51117. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  51118. }
  51119. } else
  51120. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51121. break;
  51122. case 35:
  51123. if (t1.peekChar$1(1) === 123)
  51124. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  51125. else
  51126. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51127. break;
  51128. case 13:
  51129. case 10:
  51130. case 12:
  51131. if (_this.get$indented())
  51132. break $label0$1;
  51133. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51134. break;
  51135. case 33:
  51136. case 59:
  51137. case 123:
  51138. case 125:
  51139. break $label0$1;
  51140. case 117:
  51141. case 85:
  51142. t7 = t1._string_scanner$_position;
  51143. if (!_this.scanIdentifier$1("url")) {
  51144. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51145. break;
  51146. }
  51147. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  51148. if (contents == null) {
  51149. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  51150. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  51151. t1._string_scanner$_position = t7;
  51152. t1._lastMatch = null;
  51153. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51154. } else
  51155. buffer.addInterpolation$1(contents);
  51156. break;
  51157. default:
  51158. if (next == null)
  51159. break $label0$1;
  51160. if (_this.lookingAtIdentifier$0())
  51161. t3._contents += _this.identifier$0();
  51162. else
  51163. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51164. break;
  51165. }
  51166. }
  51167. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51168. },
  51169. almostAnyValue$0() {
  51170. return this.almostAnyValue$1$omitComments(false);
  51171. },
  51172. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  51173. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  51174. t1 = _this.scanner,
  51175. t2 = t1._string_scanner$_position,
  51176. t3 = new A.StringBuffer(""),
  51177. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  51178. brackets = A._setArrayType([], type$.JSArray_int);
  51179. $label0$1:
  51180. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  51181. next = t1.peekChar$0();
  51182. switch (next) {
  51183. case 92:
  51184. t3._contents += A.S(_this.escape$1$identifierStart(true));
  51185. wroteNewline = false;
  51186. break;
  51187. case 34:
  51188. case 39:
  51189. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  51190. wroteNewline = false;
  51191. break;
  51192. case 47:
  51193. if (t1.peekChar$1(1) === 42) {
  51194. t8 = _this.get$loudComment();
  51195. start = t1._string_scanner$_position;
  51196. t8.call$0();
  51197. end = t1._string_scanner$_position;
  51198. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  51199. } else
  51200. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51201. wroteNewline = false;
  51202. break;
  51203. case 35:
  51204. if (t1.peekChar$1(1) === 123)
  51205. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  51206. else
  51207. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51208. wroteNewline = false;
  51209. break;
  51210. case 32:
  51211. case 9:
  51212. if (!wroteNewline) {
  51213. t8 = t1.peekChar$1(1);
  51214. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  51215. } else
  51216. t8 = true;
  51217. if (t8)
  51218. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51219. else
  51220. t1.readChar$0();
  51221. break;
  51222. case 10:
  51223. case 13:
  51224. case 12:
  51225. if (_this.get$indented())
  51226. break $label0$1;
  51227. t8 = t1.peekChar$1(-1);
  51228. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  51229. t3._contents += "\n";
  51230. t1.readChar$0();
  51231. wroteNewline = true;
  51232. break;
  51233. case 40:
  51234. case 123:
  51235. case 91:
  51236. next.toString;
  51237. t3._contents += A.Primitives_stringFromCharCode(next);
  51238. brackets.push(A.opposite(t1.readChar$0()));
  51239. wroteNewline = false;
  51240. break;
  51241. case 41:
  51242. case 125:
  51243. case 93:
  51244. if (brackets.length === 0)
  51245. break $label0$1;
  51246. next.toString;
  51247. t3._contents += A.Primitives_stringFromCharCode(next);
  51248. t1.expectChar$1(brackets.pop());
  51249. wroteNewline = false;
  51250. break;
  51251. case 59:
  51252. if (t7 && brackets.length === 0)
  51253. break $label0$1;
  51254. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51255. wroteNewline = false;
  51256. break;
  51257. case 58:
  51258. if (t6 && brackets.length === 0)
  51259. break $label0$1;
  51260. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51261. wroteNewline = false;
  51262. break;
  51263. case 117:
  51264. case 85:
  51265. t8 = t1._string_scanner$_position;
  51266. if (!_this.scanIdentifier$1("url")) {
  51267. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51268. wroteNewline = false;
  51269. break;
  51270. }
  51271. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  51272. if (contents == null) {
  51273. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  51274. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  51275. t1._string_scanner$_position = t8;
  51276. t1._lastMatch = null;
  51277. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51278. } else
  51279. buffer.addInterpolation$1(contents);
  51280. wroteNewline = false;
  51281. break;
  51282. default:
  51283. if (next == null)
  51284. break $label0$1;
  51285. if (_this.lookingAtIdentifier$0())
  51286. t3._contents += _this.identifier$0();
  51287. else
  51288. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51289. wroteNewline = false;
  51290. break;
  51291. }
  51292. }
  51293. if (brackets.length !== 0)
  51294. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  51295. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  51296. t1.error$1(0, "Expected token.");
  51297. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51298. },
  51299. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  51300. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  51301. },
  51302. _interpolatedDeclarationValue$0() {
  51303. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  51304. },
  51305. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  51306. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  51307. },
  51308. interpolatedIdentifier$0() {
  51309. var first, _this = this,
  51310. _s20_ = "Expected identifier.",
  51311. t1 = _this.scanner,
  51312. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  51313. t2 = new A.StringBuffer(""),
  51314. t3 = A._setArrayType([], type$.JSArray_Object),
  51315. buffer = new A.InterpolationBuffer(t2, t3);
  51316. if (t1.scanChar$1(45)) {
  51317. t2._contents += A.Primitives_stringFromCharCode(45);
  51318. if (t1.scanChar$1(45)) {
  51319. t2._contents += A.Primitives_stringFromCharCode(45);
  51320. _this._interpolatedIdentifierBody$1(buffer);
  51321. return buffer.interpolation$1(t1.spanFrom$1(start));
  51322. }
  51323. }
  51324. first = t1.peekChar$0();
  51325. if (first == null)
  51326. t1.error$1(0, _s20_);
  51327. else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  51328. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51329. else if (first === 92)
  51330. t2._contents += A.S(_this.escape$1$identifierStart(true));
  51331. else if (first === 35 && t1.peekChar$1(1) === 123) {
  51332. t2 = _this.singleInterpolation$0();
  51333. buffer._flushText$0();
  51334. t3.push(t2);
  51335. } else
  51336. t1.error$1(0, _s20_);
  51337. _this._interpolatedIdentifierBody$1(buffer);
  51338. return buffer.interpolation$1(t1.spanFrom$1(start));
  51339. },
  51340. _interpolatedIdentifierBody$1(buffer) {
  51341. var t1, t2, t3, next, t4;
  51342. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  51343. next = t2.peekChar$0();
  51344. if (next == null)
  51345. break;
  51346. else {
  51347. if (next !== 95)
  51348. if (next !== 45) {
  51349. if (!(next >= 97 && next <= 122))
  51350. t4 = next >= 65 && next <= 90;
  51351. else
  51352. t4 = true;
  51353. if (!t4)
  51354. t4 = next >= 48 && next <= 57;
  51355. else
  51356. t4 = true;
  51357. t4 = t4 || next >= 128;
  51358. } else
  51359. t4 = true;
  51360. else
  51361. t4 = true;
  51362. if (t4)
  51363. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  51364. else if (next === 92)
  51365. t3._contents += A.S(this.escape$0());
  51366. else if (next === 35 && t2.peekChar$1(1) === 123) {
  51367. t4 = this.singleInterpolation$0();
  51368. buffer._flushText$0();
  51369. t1.push(t4);
  51370. } else
  51371. break;
  51372. }
  51373. }
  51374. },
  51375. singleInterpolation$0() {
  51376. var contents, _this = this,
  51377. t1 = _this.scanner,
  51378. t2 = t1._string_scanner$_position;
  51379. t1.expect$1("#{");
  51380. _this.whitespace$0();
  51381. contents = _this._expression$0();
  51382. t1.expectChar$1(125);
  51383. if (_this.get$plainCss())
  51384. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51385. return contents;
  51386. },
  51387. _mediaQueryList$0() {
  51388. var t4, _this = this,
  51389. t1 = _this.scanner,
  51390. t2 = t1._string_scanner$_position,
  51391. t3 = new A.StringBuffer(""),
  51392. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  51393. for (; true;) {
  51394. _this.whitespace$0();
  51395. _this._stylesheet$_mediaQuery$1(buffer);
  51396. _this.whitespace$0();
  51397. if (!t1.scanChar$1(44))
  51398. break;
  51399. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  51400. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  51401. }
  51402. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51403. },
  51404. _stylesheet$_mediaQuery$1(buffer) {
  51405. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  51406. if (_this.scanner.peekChar$0() === 40) {
  51407. _this._stylesheet$_mediaInParens$1(buffer);
  51408. _this.whitespace$0();
  51409. if (_this.scanIdentifier$1(_s3_)) {
  51410. buffer._interpolation_buffer$_text._contents += " and ";
  51411. _this.expectWhitespace$0();
  51412. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  51413. } else if (_this.scanIdentifier$1("or")) {
  51414. buffer._interpolation_buffer$_text._contents += " or ";
  51415. _this.expectWhitespace$0();
  51416. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  51417. }
  51418. return;
  51419. }
  51420. identifier1 = _this.interpolatedIdentifier$0();
  51421. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  51422. _this.expectWhitespace$0();
  51423. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  51424. buffer._interpolation_buffer$_text._contents += "not ";
  51425. _this._mediaOrInterp$1(buffer);
  51426. return;
  51427. }
  51428. }
  51429. _this.whitespace$0();
  51430. buffer.addInterpolation$1(identifier1);
  51431. if (!_this._lookingAtInterpolatedIdentifier$0())
  51432. return;
  51433. t1 = buffer._interpolation_buffer$_text;
  51434. t1._contents += A.Primitives_stringFromCharCode(32);
  51435. identifier2 = _this.interpolatedIdentifier$0();
  51436. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  51437. _this.expectWhitespace$0();
  51438. t1._contents += " and ";
  51439. } else {
  51440. _this.whitespace$0();
  51441. buffer.addInterpolation$1(identifier2);
  51442. if (_this.scanIdentifier$1(_s3_)) {
  51443. _this.expectWhitespace$0();
  51444. t1._contents += " and ";
  51445. } else
  51446. return;
  51447. }
  51448. if (_this.scanIdentifier$1("not")) {
  51449. _this.expectWhitespace$0();
  51450. t1._contents += "not ";
  51451. _this._mediaOrInterp$1(buffer);
  51452. return;
  51453. }
  51454. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  51455. return;
  51456. },
  51457. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  51458. var t1, t2, _this = this;
  51459. for (t1 = buffer._interpolation_buffer$_text; true;) {
  51460. _this._mediaOrInterp$1(buffer);
  51461. _this.whitespace$0();
  51462. if (!_this.scanIdentifier$1(operator))
  51463. return;
  51464. _this.expectWhitespace$0();
  51465. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  51466. t2 += operator;
  51467. t1._contents = t2;
  51468. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  51469. }
  51470. },
  51471. _mediaOrInterp$1(buffer) {
  51472. var interpolation;
  51473. if (this.scanner.peekChar$0() === 35) {
  51474. interpolation = this.singleInterpolation$0();
  51475. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  51476. } else
  51477. this._stylesheet$_mediaInParens$1(buffer);
  51478. },
  51479. _stylesheet$_mediaInParens$1(buffer) {
  51480. var t2, t3, t4, next, t5, _this = this,
  51481. t1 = _this.scanner;
  51482. t1.expectChar$2$name(40, "media condition in parentheses");
  51483. t2 = buffer._interpolation_buffer$_text;
  51484. t2._contents += A.Primitives_stringFromCharCode(40);
  51485. _this.whitespace$0();
  51486. if (t1.peekChar$0() === 40) {
  51487. _this._stylesheet$_mediaInParens$1(buffer);
  51488. _this.whitespace$0();
  51489. if (_this.scanIdentifier$1("and")) {
  51490. t2._contents += " and ";
  51491. _this.expectWhitespace$0();
  51492. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  51493. } else if (_this.scanIdentifier$1("or")) {
  51494. t2._contents += " or ";
  51495. _this.expectWhitespace$0();
  51496. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  51497. }
  51498. } else if (_this.scanIdentifier$1("not")) {
  51499. t2._contents += "not ";
  51500. _this.expectWhitespace$0();
  51501. _this._mediaOrInterp$1(buffer);
  51502. } else {
  51503. t3 = _this._expressionUntilComparison$0();
  51504. buffer._flushText$0();
  51505. t4 = buffer._interpolation_buffer$_contents;
  51506. t4.push(t3);
  51507. if (t1.scanChar$1(58)) {
  51508. _this.whitespace$0();
  51509. t3 = t2._contents += A.Primitives_stringFromCharCode(58);
  51510. t2._contents = t3 + A.Primitives_stringFromCharCode(32);
  51511. t3 = _this._expression$0();
  51512. buffer._flushText$0();
  51513. t4.push(t3);
  51514. } else {
  51515. next = t1.peekChar$0();
  51516. t3 = next !== 60;
  51517. if (!t3 || next === 62 || next === 61) {
  51518. t2._contents += A.Primitives_stringFromCharCode(32);
  51519. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  51520. if ((!t3 || next === 62) && t1.scanChar$1(61))
  51521. t2._contents += A.Primitives_stringFromCharCode(61);
  51522. t2._contents += A.Primitives_stringFromCharCode(32);
  51523. _this.whitespace$0();
  51524. t5 = _this._expressionUntilComparison$0();
  51525. buffer._flushText$0();
  51526. t4.push(t5);
  51527. if (!t3 || next === 62) {
  51528. next.toString;
  51529. t3 = t1.scanChar$1(next);
  51530. } else
  51531. t3 = false;
  51532. if (t3) {
  51533. t3 = t2._contents += A.Primitives_stringFromCharCode(32);
  51534. t2._contents = t3 + A.Primitives_stringFromCharCode(next);
  51535. if (t1.scanChar$1(61))
  51536. t2._contents += A.Primitives_stringFromCharCode(61);
  51537. t2._contents += A.Primitives_stringFromCharCode(32);
  51538. _this.whitespace$0();
  51539. t3 = _this._expressionUntilComparison$0();
  51540. buffer._flushText$0();
  51541. t4.push(t3);
  51542. }
  51543. }
  51544. }
  51545. }
  51546. t1.expectChar$1(41);
  51547. _this.whitespace$0();
  51548. t2._contents += A.Primitives_stringFromCharCode(41);
  51549. },
  51550. _expressionUntilComparison$0() {
  51551. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  51552. },
  51553. _supportsCondition$0() {
  51554. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  51555. t1 = _this.scanner,
  51556. t2 = t1._string_scanner$_position;
  51557. if (_this.scanIdentifier$1("not")) {
  51558. _this.whitespace$0();
  51559. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  51560. }
  51561. condition = _this._supportsConditionInParens$0();
  51562. _this.whitespace$0();
  51563. for (operator = null; _this.lookingAtIdentifier$0();) {
  51564. if (operator != null)
  51565. _this.expectIdentifier$1(operator);
  51566. else if (_this.scanIdentifier$1("or"))
  51567. operator = "or";
  51568. else {
  51569. _this.expectIdentifier$1("and");
  51570. operator = "and";
  51571. }
  51572. _this.whitespace$0();
  51573. right = _this._supportsConditionInParens$0();
  51574. endPosition = t1._string_scanner$_position;
  51575. t3 = t1._sourceFile;
  51576. t4 = new A._FileSpan(t3, t2, endPosition);
  51577. t4._FileSpan$3(t3, t2, endPosition);
  51578. condition = new A.SupportsOperation(condition, right, operator, t4);
  51579. lowerOperator = operator.toLowerCase();
  51580. if (lowerOperator !== "and" && lowerOperator !== "or")
  51581. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  51582. _this.whitespace$0();
  51583. }
  51584. return condition;
  51585. },
  51586. _supportsConditionInParens$0() {
  51587. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  51588. t1 = _this.scanner,
  51589. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51590. if (_this._lookingAtInterpolatedIdentifier$0()) {
  51591. identifier0 = _this.interpolatedIdentifier$0();
  51592. t2 = identifier0.get$asPlain();
  51593. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  51594. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  51595. if (t1.scanChar$1(40)) {
  51596. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  51597. t1.expectChar$1(41);
  51598. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  51599. } else {
  51600. t2 = identifier0.contents;
  51601. if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
  51602. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  51603. else
  51604. return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  51605. }
  51606. }
  51607. t1.expectChar$1(40);
  51608. _this.whitespace$0();
  51609. if (_this.scanIdentifier$1("not")) {
  51610. _this.whitespace$0();
  51611. condition = _this._supportsConditionInParens$0();
  51612. t1.expectChar$1(41);
  51613. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  51614. } else if (t1.peekChar$0() === 40) {
  51615. condition = _this._supportsCondition$0();
  51616. t1.expectChar$1(41);
  51617. return condition;
  51618. }
  51619. $name = null;
  51620. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51621. wasInParentheses = _this._inParentheses;
  51622. try {
  51623. $name = _this._expression$0();
  51624. t1.expectChar$1(58);
  51625. } catch (exception) {
  51626. if (type$.FormatException._is(A.unwrapException(exception))) {
  51627. t1.set$state(nameStart);
  51628. _this._inParentheses = wasInParentheses;
  51629. identifier = _this.interpolatedIdentifier$0();
  51630. operation = _this._trySupportsOperation$2(identifier, nameStart);
  51631. if (operation != null) {
  51632. t1.expectChar$1(41);
  51633. return operation;
  51634. }
  51635. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  51636. t2.addInterpolation$1(identifier);
  51637. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  51638. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  51639. if (t1.peekChar$0() === 58)
  51640. throw exception;
  51641. t1.expectChar$1(41);
  51642. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  51643. } else
  51644. throw exception;
  51645. }
  51646. declaration = _this._supportsDeclarationValue$2($name, start);
  51647. t1.expectChar$1(41);
  51648. return declaration;
  51649. },
  51650. _supportsDeclarationValue$2($name, start) {
  51651. var value, _this = this;
  51652. if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  51653. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  51654. else {
  51655. _this.whitespace$0();
  51656. value = _this._expression$0();
  51657. }
  51658. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  51659. },
  51660. _trySupportsOperation$2(interpolation, start) {
  51661. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  51662. t1 = interpolation.contents;
  51663. if (t1.length !== 1)
  51664. return _null;
  51665. expression = B.JSArray_methods.get$first(t1);
  51666. if (!type$.Expression._is(expression))
  51667. return _null;
  51668. t1 = _this.scanner;
  51669. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  51670. _this.whitespace$0();
  51671. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  51672. if (operator != null)
  51673. _this.expectIdentifier$1(operator);
  51674. else if (_this.scanIdentifier$1("and"))
  51675. operator = "and";
  51676. else {
  51677. if (!_this.scanIdentifier$1("or")) {
  51678. if (beforeWhitespace._scanner !== t1)
  51679. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  51680. t2 = beforeWhitespace.position;
  51681. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  51682. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  51683. t1._string_scanner$_position = t2;
  51684. return t1._lastMatch = null;
  51685. }
  51686. operator = "or";
  51687. }
  51688. _this.whitespace$0();
  51689. right = _this._supportsConditionInParens$0();
  51690. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  51691. endPosition = t1._string_scanner$_position;
  51692. t5 = t1._sourceFile;
  51693. t6 = new A._FileSpan(t5, t2, endPosition);
  51694. t6._FileSpan$3(t5, t2, endPosition);
  51695. operation = new A.SupportsOperation(t4, right, operator, t6);
  51696. lowerOperator = operator.toLowerCase();
  51697. if (lowerOperator !== "and" && lowerOperator !== "or")
  51698. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  51699. _this.whitespace$0();
  51700. }
  51701. return operation;
  51702. },
  51703. _lookingAtInterpolatedIdentifier$0() {
  51704. var second,
  51705. t1 = this.scanner,
  51706. first = t1.peekChar$0();
  51707. if (first == null)
  51708. return false;
  51709. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  51710. return true;
  51711. if (first === 35)
  51712. return t1.peekChar$1(1) === 123;
  51713. if (first !== 45)
  51714. return false;
  51715. second = t1.peekChar$1(1);
  51716. if (second == null)
  51717. return false;
  51718. if (second === 35)
  51719. return t1.peekChar$1(2) === 123;
  51720. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  51721. },
  51722. _lookingAtInterpolatedIdentifierBody$0() {
  51723. var t1 = this.scanner,
  51724. first = t1.peekChar$0();
  51725. if (first == null)
  51726. return false;
  51727. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
  51728. return true;
  51729. return first === 35 && t1.peekChar$1(1) === 123;
  51730. },
  51731. _lookingAtExpression$0() {
  51732. var next,
  51733. t1 = this.scanner,
  51734. character = t1.peekChar$0();
  51735. if (character == null)
  51736. return false;
  51737. if (character === 46)
  51738. return t1.peekChar$1(1) !== 46;
  51739. if (character === 33) {
  51740. next = t1.peekChar$1(1);
  51741. if (next != null)
  51742. if ((next | 32) >>> 0 !== 105)
  51743. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  51744. else
  51745. t1 = true;
  51746. else
  51747. t1 = true;
  51748. return t1;
  51749. }
  51750. if (character !== 40)
  51751. if (character !== 47)
  51752. if (character !== 91)
  51753. if (character !== 39)
  51754. if (character !== 34)
  51755. if (character !== 35)
  51756. if (character !== 43)
  51757. if (character !== 45)
  51758. if (character !== 92)
  51759. if (character !== 36)
  51760. if (character !== 38)
  51761. t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
  51762. else
  51763. t1 = true;
  51764. else
  51765. t1 = true;
  51766. else
  51767. t1 = true;
  51768. else
  51769. t1 = true;
  51770. else
  51771. t1 = true;
  51772. else
  51773. t1 = true;
  51774. else
  51775. t1 = true;
  51776. else
  51777. t1 = true;
  51778. else
  51779. t1 = true;
  51780. else
  51781. t1 = true;
  51782. else
  51783. t1 = true;
  51784. return t1;
  51785. },
  51786. _withChildren$1$3(child, start, create) {
  51787. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  51788. this.whitespaceWithoutComments$0();
  51789. return result;
  51790. },
  51791. _withChildren$3(child, start, create) {
  51792. return this._withChildren$1$3(child, start, create, type$.dynamic);
  51793. },
  51794. _urlString$0() {
  51795. var innerError, stackTrace, t2, exception,
  51796. t1 = this.scanner,
  51797. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  51798. url = this.string$0();
  51799. try {
  51800. t2 = A.Uri_parse(url);
  51801. return t2;
  51802. } catch (exception) {
  51803. t2 = A.unwrapException(exception);
  51804. if (type$.FormatException._is(t2)) {
  51805. innerError = t2;
  51806. stackTrace = A.getTraceFromException(exception);
  51807. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  51808. } else
  51809. throw exception;
  51810. }
  51811. },
  51812. _publicIdentifier$0() {
  51813. var _this = this,
  51814. t1 = _this.scanner,
  51815. t2 = t1._string_scanner$_position,
  51816. result = _this.identifier$1$normalize(true);
  51817. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  51818. return result;
  51819. },
  51820. _assertPublic$2(identifier, span) {
  51821. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  51822. if (!(first === 45 || first === 95))
  51823. return;
  51824. this.error$2(0, string$.Privat, span.call$0());
  51825. },
  51826. get$plainCss() {
  51827. return false;
  51828. }
  51829. };
  51830. A.StylesheetParser_parse_closure.prototype = {
  51831. call$0() {
  51832. var statements, t4,
  51833. t1 = this.$this,
  51834. t2 = t1.scanner,
  51835. t3 = t2._string_scanner$_position;
  51836. t2.scanChar$1(65279);
  51837. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  51838. t2.expectDone$0();
  51839. t4 = t1._globalVariables;
  51840. t4 = t4.get$values(t4);
  51841. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  51842. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  51843. },
  51844. $signature: 295
  51845. };
  51846. A.StylesheetParser_parse__closure.prototype = {
  51847. call$0() {
  51848. var t1 = this.$this;
  51849. if (t1.scanner.scan$1("@charset")) {
  51850. t1.whitespace$0();
  51851. t1.string$0();
  51852. return null;
  51853. }
  51854. return t1._statement$1$root(true);
  51855. },
  51856. $signature: 299
  51857. };
  51858. A.StylesheetParser_parse__closure0.prototype = {
  51859. call$1(declaration) {
  51860. var t1 = declaration.name,
  51861. t2 = declaration.expression;
  51862. return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
  51863. },
  51864. $signature: 308
  51865. };
  51866. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  51867. call$0() {
  51868. var $arguments,
  51869. t1 = this.$this,
  51870. t2 = t1.scanner;
  51871. t2.expectChar$2$name(64, "@-rule");
  51872. t1.identifier$0();
  51873. t1.whitespace$0();
  51874. t1.identifier$0();
  51875. $arguments = t1._argumentDeclaration$0();
  51876. t1.whitespace$0();
  51877. t2.expectChar$1(123);
  51878. return $arguments;
  51879. },
  51880. $signature: 309
  51881. };
  51882. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  51883. call$0() {
  51884. var t1 = this.$this;
  51885. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  51886. },
  51887. $signature: 153
  51888. };
  51889. A.StylesheetParser_parseUseRule_closure.prototype = {
  51890. call$0() {
  51891. var t1 = this.$this,
  51892. t2 = t1.scanner,
  51893. t3 = t2._string_scanner$_position;
  51894. t2.expectChar$2$name(64, "@-rule");
  51895. t1.expectIdentifier$1("use");
  51896. t1.whitespace$0();
  51897. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  51898. },
  51899. $signature: 316
  51900. };
  51901. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  51902. call$0() {
  51903. var result = this.production.call$0();
  51904. this.$this.scanner.expectDone$0();
  51905. return result;
  51906. },
  51907. $signature() {
  51908. return this.T._eval$1("0()");
  51909. }
  51910. };
  51911. A.StylesheetParser__statement_closure.prototype = {
  51912. call$0() {
  51913. return this.$this._statement$0();
  51914. },
  51915. $signature: 110
  51916. };
  51917. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  51918. call$0() {
  51919. return this.$this.scanner.spanFrom$1(this.start);
  51920. },
  51921. $signature: 24
  51922. };
  51923. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  51924. call$0() {
  51925. return this.declaration;
  51926. },
  51927. $signature: 153
  51928. };
  51929. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  51930. call$2(children, span) {
  51931. return A.Declaration$nested(this.name, children, span, null);
  51932. },
  51933. $signature: 95
  51934. };
  51935. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  51936. call$2(children, span) {
  51937. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  51938. },
  51939. $signature: 95
  51940. };
  51941. A.StylesheetParser__styleRule_closure.prototype = {
  51942. call$2(children, span) {
  51943. var _this = this,
  51944. t1 = _this.$this;
  51945. if (t1.get$indented() && children.length === 0)
  51946. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  51947. t1._inStyleRule = _this.wasInStyleRule;
  51948. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  51949. },
  51950. $signature: 320
  51951. };
  51952. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  51953. call$2(children, span) {
  51954. return A.Declaration$nested(this._box_0.name, children, span, null);
  51955. },
  51956. $signature: 95
  51957. };
  51958. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  51959. call$2(children, span) {
  51960. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  51961. },
  51962. $signature: 95
  51963. };
  51964. A.StylesheetParser__atRootRule_closure.prototype = {
  51965. call$2(children, span) {
  51966. return A.AtRootRule$(children, span, this.query);
  51967. },
  51968. $signature: 154
  51969. };
  51970. A.StylesheetParser__atRootRule_closure0.prototype = {
  51971. call$2(children, span) {
  51972. return A.AtRootRule$(children, span, null);
  51973. },
  51974. $signature: 154
  51975. };
  51976. A.StylesheetParser__eachRule_closure.prototype = {
  51977. call$2(children, span) {
  51978. var _this = this;
  51979. _this.$this._inControlDirective = _this.wasInControlDirective;
  51980. return A.EachRule$(_this.variables, _this.list, children, span);
  51981. },
  51982. $signature: 323
  51983. };
  51984. A.StylesheetParser__functionRule_closure.prototype = {
  51985. call$2(children, span) {
  51986. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  51987. },
  51988. $signature: 328
  51989. };
  51990. A.StylesheetParser__forRule_closure.prototype = {
  51991. call$0() {
  51992. var t1 = this.$this;
  51993. if (!t1.lookingAtIdentifier$0())
  51994. return false;
  51995. if (t1.scanIdentifier$1("to"))
  51996. return this._box_0.exclusive = true;
  51997. else if (t1.scanIdentifier$1("through")) {
  51998. this._box_0.exclusive = false;
  51999. return true;
  52000. } else
  52001. return false;
  52002. },
  52003. $signature: 29
  52004. };
  52005. A.StylesheetParser__forRule_closure0.prototype = {
  52006. call$2(children, span) {
  52007. var t1, _this = this;
  52008. _this.$this._inControlDirective = _this.wasInControlDirective;
  52009. t1 = _this._box_0.exclusive;
  52010. t1.toString;
  52011. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  52012. },
  52013. $signature: 329
  52014. };
  52015. A.StylesheetParser__memberList_closure.prototype = {
  52016. call$0() {
  52017. var t1 = this.$this;
  52018. if (t1.scanner.peekChar$0() === 36)
  52019. this.variables.add$1(0, t1.variableName$0());
  52020. else
  52021. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  52022. },
  52023. $signature: 1
  52024. };
  52025. A.StylesheetParser__includeRule_closure.prototype = {
  52026. call$2(children, span) {
  52027. return A.ContentBlock$(this.contentArguments_, children, span);
  52028. },
  52029. $signature: 334
  52030. };
  52031. A.StylesheetParser_mediaRule_closure.prototype = {
  52032. call$2(children, span) {
  52033. return A.MediaRule$(this.query, children, span);
  52034. },
  52035. $signature: 337
  52036. };
  52037. A.StylesheetParser__mixinRule_closure.prototype = {
  52038. call$2(children, span) {
  52039. var _this = this;
  52040. _this.$this._stylesheet$_inMixin = false;
  52041. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  52042. },
  52043. $signature: 338
  52044. };
  52045. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  52046. call$2(children, span) {
  52047. var _this = this;
  52048. if (_this._box_0.needsDeprecationWarning)
  52049. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_gJ9, string$.x40_moz_, span, null);
  52050. return A.AtRule$(_this.name, span, children, _this.value);
  52051. },
  52052. $signature: 200
  52053. };
  52054. A.StylesheetParser_supportsRule_closure.prototype = {
  52055. call$2(children, span) {
  52056. return A.SupportsRule$(this.condition, children, span);
  52057. },
  52058. $signature: 340
  52059. };
  52060. A.StylesheetParser__whileRule_closure.prototype = {
  52061. call$2(children, span) {
  52062. this.$this._inControlDirective = this.wasInControlDirective;
  52063. return A.WhileRule$(this.condition, children, span);
  52064. },
  52065. $signature: 342
  52066. };
  52067. A.StylesheetParser_unknownAtRule_closure.prototype = {
  52068. call$2(children, span) {
  52069. return A.AtRule$(this.name, span, children, this._box_0.value);
  52070. },
  52071. $signature: 200
  52072. };
  52073. A.StylesheetParser__expression_resetState.prototype = {
  52074. call$0() {
  52075. var t2,
  52076. t1 = this._box_0;
  52077. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  52078. t2 = this.$this;
  52079. t2.scanner.set$state(this.start);
  52080. t1.allowSlash = true;
  52081. t1.singleExpression_ = t2._singleExpression$0();
  52082. },
  52083. $signature: 0
  52084. };
  52085. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  52086. call$0() {
  52087. var t2, t3, t4, t5, t6, t7, _this = this,
  52088. t1 = _this._box_0,
  52089. operator = t1.operators_.pop(),
  52090. left = t1.operands_.pop(),
  52091. right = t1.singleExpression_;
  52092. if (right == null) {
  52093. t2 = _this.$this.scanner;
  52094. t3 = operator.operator.length;
  52095. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  52096. }
  52097. if (t1.allowSlash) {
  52098. t2 = _this.$this;
  52099. t2 = !t2._inParentheses && operator === B.BinaryOperator_t8B && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  52100. } else
  52101. t2 = false;
  52102. if (t2)
  52103. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_t8B, left, right, true);
  52104. else {
  52105. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  52106. t2 = t1.allowSlash = false;
  52107. if (operator === B.BinaryOperator_anB || operator === B.BinaryOperator_olz) {
  52108. t3 = _this.$this;
  52109. t4 = t3.scanner.string;
  52110. t5 = right.get$span(right);
  52111. t5 = t5.get$start(t5);
  52112. t6 = right.get$span(right);
  52113. t7 = operator.operator;
  52114. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  52115. t2 = left.get$span(left);
  52116. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  52117. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  52118. }
  52119. if (t2) {
  52120. t2 = left.toString$0(0);
  52121. t4 = right.toString$0(0);
  52122. t5 = left.toString$0(0);
  52123. t6 = right.toString$0(0);
  52124. t1 = t1.singleExpression_;
  52125. A.WarnForDeprecation_warnForDeprecation(t3.logger, B.Deprecation_sIK, "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);
  52126. }
  52127. }
  52128. }
  52129. },
  52130. $signature: 0
  52131. };
  52132. A.StylesheetParser__expression_resolveOperations.prototype = {
  52133. call$0() {
  52134. var t1,
  52135. operators = this._box_0.operators_;
  52136. if (operators == null)
  52137. return;
  52138. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  52139. t1.call$0();
  52140. },
  52141. $signature: 0
  52142. };
  52143. A.StylesheetParser__expression_addSingleExpression.prototype = {
  52144. call$1(expression) {
  52145. var t2, spaceExpressions, _this = this,
  52146. t1 = _this._box_0;
  52147. if (t1.singleExpression_ != null) {
  52148. t2 = _this.$this;
  52149. if (t2._inParentheses) {
  52150. t2._inParentheses = false;
  52151. if (t1.allowSlash) {
  52152. _this.resetState.call$0();
  52153. return;
  52154. }
  52155. }
  52156. spaceExpressions = t1.spaceExpressions_;
  52157. if (spaceExpressions == null)
  52158. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  52159. _this.resolveOperations.call$0();
  52160. t2 = t1.singleExpression_;
  52161. t2.toString;
  52162. spaceExpressions.push(t2);
  52163. t1.allowSlash = true;
  52164. }
  52165. t1.singleExpression_ = expression;
  52166. },
  52167. $signature: 346
  52168. };
  52169. A.StylesheetParser__expression_addOperator.prototype = {
  52170. call$1(operator) {
  52171. var t2, t3, operators, operands, t4, singleExpression,
  52172. t1 = this.$this;
  52173. if (t1.get$plainCss() && operator !== B.BinaryOperator_t8B && operator !== B.BinaryOperator_2jN) {
  52174. t2 = t1.scanner;
  52175. t3 = operator.operator.length;
  52176. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  52177. }
  52178. t2 = this._box_0;
  52179. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B;
  52180. operators = t2.operators_;
  52181. if (operators == null)
  52182. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  52183. operands = t2.operands_;
  52184. if (operands == null)
  52185. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  52186. t3 = this.resolveOneOperation;
  52187. t4 = operator.precedence;
  52188. while (true) {
  52189. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  52190. break;
  52191. t3.call$0();
  52192. }
  52193. operators.push(operator);
  52194. singleExpression = t2.singleExpression_;
  52195. if (singleExpression == null) {
  52196. t3 = t1.scanner;
  52197. t4 = operator.operator.length;
  52198. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  52199. }
  52200. operands.push(singleExpression);
  52201. t1.whitespace$0();
  52202. t2.singleExpression_ = t1._singleExpression$0();
  52203. },
  52204. $signature: 352
  52205. };
  52206. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  52207. call$0() {
  52208. var t1, spaceExpressions, singleExpression, t2;
  52209. this.resolveOperations.call$0();
  52210. t1 = this._box_0;
  52211. spaceExpressions = t1.spaceExpressions_;
  52212. if (spaceExpressions != null) {
  52213. singleExpression = t1.singleExpression_;
  52214. if (singleExpression == null)
  52215. this.$this.scanner.error$1(0, "Expected expression.");
  52216. spaceExpressions.push(singleExpression);
  52217. t2 = B.JSArray_methods.get$first(spaceExpressions);
  52218. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  52219. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  52220. t1.spaceExpressions_ = null;
  52221. }
  52222. },
  52223. $signature: 0
  52224. };
  52225. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  52226. call$0() {
  52227. return this.$this.scanner.peekChar$0() === 44;
  52228. },
  52229. $signature: 29
  52230. };
  52231. A.StylesheetParser__unicodeRange_closure.prototype = {
  52232. call$1(char) {
  52233. return char != null && A.isHex(char);
  52234. },
  52235. $signature: 34
  52236. };
  52237. A.StylesheetParser__unicodeRange_closure0.prototype = {
  52238. call$1(char) {
  52239. return char != null && A.isHex(char);
  52240. },
  52241. $signature: 34
  52242. };
  52243. A.StylesheetParser_namespacedExpression_closure.prototype = {
  52244. call$0() {
  52245. return this.$this.scanner.spanFrom$1(this.start);
  52246. },
  52247. $signature: 24
  52248. };
  52249. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  52250. call$1(contents) {
  52251. return new A.StringExpression(contents, false);
  52252. },
  52253. $signature: 354
  52254. };
  52255. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  52256. call$0() {
  52257. var t1 = this.$this.scanner,
  52258. next = t1.peekChar$0();
  52259. if (next === 61)
  52260. return t1.peekChar$1(1) !== 61;
  52261. return next === 60 || next === 62;
  52262. },
  52263. $signature: 29
  52264. };
  52265. A.StylesheetParser__publicIdentifier_closure.prototype = {
  52266. call$0() {
  52267. return this.$this.scanner.spanFrom$1(this.start);
  52268. },
  52269. $signature: 24
  52270. };
  52271. A.StylesheetGraph.prototype = {
  52272. modifiedSince$3(url, since, baseImporter) {
  52273. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  52274. if (node == null)
  52275. return true;
  52276. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._value > since._value;
  52277. },
  52278. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  52279. var t1, t2, _this = this,
  52280. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  52281. if (tuple == null)
  52282. return null;
  52283. t1 = tuple.item1;
  52284. t2 = tuple.item2;
  52285. _this.addCanonical$3(t1, t2, tuple.item3);
  52286. return _this._nodes.$index(0, t2);
  52287. },
  52288. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  52289. var stylesheet, _this = this,
  52290. t1 = _this._nodes;
  52291. if (t1.$index(0, canonicalUrl) != null)
  52292. return B.Set_empty2;
  52293. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  52294. if (stylesheet == null)
  52295. return B.Set_empty2;
  52296. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  52297. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty2;
  52298. },
  52299. addCanonical$3(importer, canonicalUrl, originalUrl) {
  52300. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  52301. },
  52302. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  52303. var t6, t7, t8, t9, t10,
  52304. t1 = type$.Uri,
  52305. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  52306. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52307. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52308. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  52309. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  52310. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  52311. t6 = type$.UnmodifiableSetView_Uri;
  52312. t2 = new A.UnmodifiableSetView(t2, t6);
  52313. t3 = new A.UnmodifiableSetView(t3, t6);
  52314. t4 = new A.UnmodifiableSetView(t4, t6);
  52315. t7 = type$.nullable_StylesheetNode;
  52316. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  52317. 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();) {
  52318. t10 = t9.get$current(t9);
  52319. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  52320. }
  52321. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  52322. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView(t5, t6)).imports._base, t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  52323. t3 = t2.get$current(t2);
  52324. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  52325. }
  52326. return new A.Tuple2(t8, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
  52327. },
  52328. reload$1(canonicalUrl) {
  52329. var stylesheet, upstream, _this = this,
  52330. node = _this._nodes.$index(0, canonicalUrl);
  52331. if (node == null)
  52332. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  52333. _this._transitiveModificationTimes.clear$0(0);
  52334. _this.importCache.clearImport$1(canonicalUrl);
  52335. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  52336. if (stylesheet == null)
  52337. return false;
  52338. node._stylesheet = stylesheet;
  52339. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  52340. node._replaceUpstream$2(upstream.item1, upstream.item2);
  52341. return true;
  52342. },
  52343. _recanonicalizeImports$2(importer, canonicalUrl) {
  52344. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  52345. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52346. for (t1 = _this._nodes, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
  52347. t5 = t1.get$current(t1);
  52348. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  52349. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  52350. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  52351. changed.add$1(0, t5);
  52352. 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));
  52353. }
  52354. }
  52355. if (changed._collection$_length !== 0)
  52356. _this._transitiveModificationTimes.clear$0(0);
  52357. return changed;
  52358. },
  52359. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  52360. var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  52361. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
  52362. newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
  52363. map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
  52364. return newMap;
  52365. },
  52366. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  52367. var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
  52368. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  52369. if (tuple == null)
  52370. return null;
  52371. importer = tuple.item1;
  52372. canonicalUrl = tuple.item2;
  52373. resolvedUrl = tuple.item3;
  52374. t1 = _this._nodes;
  52375. if (t1.containsKey$1(canonicalUrl))
  52376. return t1.$index(0, canonicalUrl);
  52377. if (active.contains$1(0, canonicalUrl))
  52378. return null;
  52379. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
  52380. if (stylesheet == null)
  52381. return null;
  52382. active.add$1(0, canonicalUrl);
  52383. node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
  52384. active.remove$1(0, canonicalUrl);
  52385. t1.$indexSet(0, canonicalUrl, node);
  52386. return node;
  52387. },
  52388. _nodeFor$4(url, baseImporter, baseUrl, active) {
  52389. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  52390. },
  52391. _ignoreErrors$1$1(callback) {
  52392. var t1, exception;
  52393. try {
  52394. t1 = callback.call$0();
  52395. return t1;
  52396. } catch (exception) {
  52397. return null;
  52398. }
  52399. },
  52400. _ignoreErrors$1(callback) {
  52401. return this._ignoreErrors$1$1(callback, type$.dynamic);
  52402. }
  52403. };
  52404. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  52405. call$1(node) {
  52406. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  52407. },
  52408. $signature: 355
  52409. };
  52410. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  52411. call$0() {
  52412. var t2, t3, upstreamTime,
  52413. t1 = this.node,
  52414. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  52415. for (t2 = t1._upstream, t2 = t2.get$values(t2), t1 = t1._upstreamImports, t1 = t2.followedBy$1(0, t1.get$values(t1)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  52416. t3 = t1._currentIterator;
  52417. t3 = t3.get$current(t3);
  52418. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  52419. if (upstreamTime._value > latest._value)
  52420. latest = upstreamTime;
  52421. }
  52422. return latest;
  52423. },
  52424. $signature: 148
  52425. };
  52426. A.StylesheetGraph__add_closure.prototype = {
  52427. call$0() {
  52428. var _this = this;
  52429. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  52430. },
  52431. $signature: 98
  52432. };
  52433. A.StylesheetGraph_addCanonical_closure.prototype = {
  52434. call$0() {
  52435. var _this = this;
  52436. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  52437. },
  52438. $signature: 85
  52439. };
  52440. A.StylesheetGraph_reload_closure.prototype = {
  52441. call$0() {
  52442. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  52443. },
  52444. $signature: 85
  52445. };
  52446. A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
  52447. call$2(url, upstream) {
  52448. var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
  52449. if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
  52450. return;
  52451. t1 = _this.$this;
  52452. t2 = t1.importCache;
  52453. t2.clearCanonicalize$1(url);
  52454. result = null;
  52455. try {
  52456. t3 = _this.node;
  52457. result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
  52458. } catch (exception) {
  52459. }
  52460. t2 = result;
  52461. newCanonicalUrl = t2 == null ? null : t2.item2;
  52462. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  52463. return;
  52464. t1 = result == null ? null : t1._nodes.$index(0, result.item2);
  52465. _this.newMap.$indexSet(0, url, t1);
  52466. },
  52467. $signature: 356
  52468. };
  52469. A.StylesheetGraph__nodeFor_closure.prototype = {
  52470. call$0() {
  52471. var _this = this;
  52472. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  52473. },
  52474. $signature: 98
  52475. };
  52476. A.StylesheetGraph__nodeFor_closure0.prototype = {
  52477. call$0() {
  52478. var _this = this;
  52479. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
  52480. },
  52481. $signature: 85
  52482. };
  52483. A.StylesheetNode.prototype = {
  52484. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  52485. var t1, t2;
  52486. for (t1 = this._upstream, t1 = t1.get$values(t1), t2 = this._upstreamImports, t2 = t1.followedBy$1(0, t2.get$values(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  52487. t1 = t2._currentIterator;
  52488. t1 = t1.get$current(t1);
  52489. if (t1 != null)
  52490. t1._downstream.add$1(0, this);
  52491. }
  52492. },
  52493. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  52494. var t3, oldUpstream, newUpstreamSet, _this = this,
  52495. t1 = _this._upstream,
  52496. t2 = type$.nullable_StylesheetNode;
  52497. t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), t2);
  52498. t3 = _this._upstreamImports;
  52499. t1.addAll$1(0, t3.get$values(t3));
  52500. t3 = type$.StylesheetNode;
  52501. oldUpstream = A.SetExtension_removeNull(t1, t3);
  52502. t2 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(newUpstream), t2);
  52503. t2.addAll$1(0, newUpstreamImports.get$values(newUpstreamImports));
  52504. newUpstreamSet = A.SetExtension_removeNull(t2, t3);
  52505. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  52506. t1.get$current(t1)._downstream.remove$1(0, _this);
  52507. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  52508. t1.get$current(t1)._downstream.add$1(0, _this);
  52509. _this._upstream = newUpstream;
  52510. _this._upstreamImports = newUpstreamImports;
  52511. },
  52512. _stylesheet_graph$_remove$0() {
  52513. var t1, t2, t3, t4, _i, url, _this = this;
  52514. for (t1 = _this._upstream, t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), type$.nullable_StylesheetNode), t2 = _this._upstreamImports, t1.addAll$1(0, t2.get$values(t2)), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  52515. t3 = t1._collection$_current;
  52516. if (t3 == null)
  52517. t3 = t2._as(t3);
  52518. if (t3 == null)
  52519. continue;
  52520. t3._downstream.remove$1(0, _this);
  52521. }
  52522. for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  52523. t2 = t1.get$current(t1);
  52524. for (t3 = t2._upstream, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  52525. url = t3[_i];
  52526. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  52527. t2._upstream.$indexSet(0, url, null);
  52528. break;
  52529. }
  52530. }
  52531. for (t3 = t2._upstreamImports, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  52532. url = t3[_i];
  52533. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  52534. t2._upstreamImports.$indexSet(0, url, null);
  52535. break;
  52536. }
  52537. }
  52538. }
  52539. },
  52540. toString$0(_) {
  52541. var t1 = this._stylesheet.span;
  52542. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  52543. return t1 == null ? "<unknown>" : t1;
  52544. }
  52545. };
  52546. A.Syntax.prototype = {
  52547. _enumToString$0() {
  52548. return "Syntax." + this._name;
  52549. },
  52550. toString$0(_) {
  52551. return this._syntax$_name;
  52552. }
  52553. };
  52554. A.Box.prototype = {
  52555. $eq(_, other) {
  52556. if (other == null)
  52557. return false;
  52558. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  52559. },
  52560. get$hashCode(_) {
  52561. return A.Primitives_objectHashCode(this._box$_inner);
  52562. }
  52563. };
  52564. A.ModifiableBox.prototype = {};
  52565. A.LazyFileSpan.prototype = {
  52566. get$span(_) {
  52567. var t1 = this._lazy_file_span$_span;
  52568. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  52569. },
  52570. compareTo$1(_, other) {
  52571. return this.get$span(this).compareTo$1(0, other);
  52572. },
  52573. get$context(_) {
  52574. var t1 = this.get$span(this);
  52575. return t1.get$context(t1);
  52576. },
  52577. get$end(_) {
  52578. var t1 = this.get$span(this);
  52579. return t1.get$end(t1);
  52580. },
  52581. expand$1(_, other) {
  52582. return this.get$span(this).expand$1(0, other);
  52583. },
  52584. get$file(_) {
  52585. var t1 = this.get$span(this);
  52586. return t1.get$file(t1);
  52587. },
  52588. highlight$1$color(color) {
  52589. return this.get$span(this).highlight$1$color(color);
  52590. },
  52591. get$length(_) {
  52592. var t1 = this.get$span(this);
  52593. return t1.get$length(t1);
  52594. },
  52595. message$2$color(_, message, color) {
  52596. return this.get$span(this).message$2$color(0, message, color);
  52597. },
  52598. message$1($receiver, message) {
  52599. return this.message$2$color($receiver, message, null);
  52600. },
  52601. get$sourceUrl(_) {
  52602. var t1 = this.get$span(this);
  52603. return t1.get$sourceUrl(t1);
  52604. },
  52605. get$start(_) {
  52606. var t1 = this.get$span(this);
  52607. return t1.get$start(t1);
  52608. },
  52609. get$text() {
  52610. return this.get$span(this).get$text();
  52611. },
  52612. $isComparable: 1,
  52613. $isFileSpan: 1,
  52614. $isSourceSpan: 1,
  52615. $isSourceSpanWithContext: 1
  52616. };
  52617. A.LimitedMapView.prototype = {
  52618. get$keys(_) {
  52619. return this._limited_map_view$_keys;
  52620. },
  52621. get$length(_) {
  52622. return this._limited_map_view$_keys._collection$_length;
  52623. },
  52624. get$isEmpty(_) {
  52625. return this._limited_map_view$_keys._collection$_length === 0;
  52626. },
  52627. get$isNotEmpty(_) {
  52628. return this._limited_map_view$_keys._collection$_length !== 0;
  52629. },
  52630. $index(_, key) {
  52631. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  52632. },
  52633. containsKey$1(key) {
  52634. return this._limited_map_view$_keys.contains$1(0, key);
  52635. },
  52636. remove$1(_, key) {
  52637. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  52638. }
  52639. };
  52640. A.MergedMapView.prototype = {
  52641. get$keys(_) {
  52642. var t1 = this._mapsByKey;
  52643. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  52644. },
  52645. get$length(_) {
  52646. return this._mapsByKey.__js_helper$_length;
  52647. },
  52648. get$isEmpty(_) {
  52649. return this._mapsByKey.__js_helper$_length === 0;
  52650. },
  52651. get$isNotEmpty(_) {
  52652. return this._mapsByKey.__js_helper$_length !== 0;
  52653. },
  52654. MergedMapView$1(maps, $K, $V) {
  52655. var t1, t2, t3, _i, map, t4, t5, t6;
  52656. 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) {
  52657. map = maps[_i];
  52658. if (t3._is(map))
  52659. for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
  52660. t6 = t4.__internal$_current;
  52661. if (t6 == null)
  52662. t6 = t5._as(t6);
  52663. A.setAll(t2, t6.get$keys(t6), t6);
  52664. }
  52665. else
  52666. A.setAll(t2, map.get$keys(map), map);
  52667. }
  52668. },
  52669. $index(_, key) {
  52670. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  52671. return t1 == null ? null : t1.$index(0, key);
  52672. },
  52673. $indexSet(_, key, value) {
  52674. var child = this._mapsByKey.$index(0, key);
  52675. if (child == null)
  52676. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  52677. child.$indexSet(0, key, value);
  52678. },
  52679. remove$1(_, key) {
  52680. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  52681. },
  52682. containsKey$1(key) {
  52683. return this._mapsByKey.containsKey$1(key);
  52684. }
  52685. };
  52686. A.MultiDirWatcher.prototype = {
  52687. watch$1(_, directory) {
  52688. var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
  52689. for (t1 = this._watchers._map, t2 = t1.get$entries(t1).toList$0(0), t3 = t2.length, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  52690. entry = t2[_i];
  52691. t5 = entry.key;
  52692. t5.toString;
  52693. existingWatcher = entry.value;
  52694. if (!isParentOfExistingDir) {
  52695. t6 = $.$get$context();
  52696. t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
  52697. } else
  52698. t6 = false;
  52699. if (t6) {
  52700. t1 = new A._Future($.Zone__current, type$._Future_void);
  52701. t1._asyncComplete$1(null);
  52702. return t1;
  52703. }
  52704. if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
  52705. t1.remove$1(0, t5);
  52706. t4.remove$1(0, existingWatcher);
  52707. isParentOfExistingDir = true;
  52708. }
  52709. }
  52710. future = A.watchDir(directory, this._poll);
  52711. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  52712. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  52713. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  52714. t1.$indexSet(0, directory, t2);
  52715. t4.add$1(0, t2);
  52716. return future;
  52717. }
  52718. };
  52719. A.MultiSpan.prototype = {
  52720. get$start(_) {
  52721. var t1 = this._multi_span$_primary;
  52722. return t1.get$start(t1);
  52723. },
  52724. get$end(_) {
  52725. var t1 = this._multi_span$_primary;
  52726. return t1.get$end(t1);
  52727. },
  52728. get$text() {
  52729. return this._multi_span$_primary.get$text();
  52730. },
  52731. get$context(_) {
  52732. var t1 = this._multi_span$_primary;
  52733. return t1.get$context(t1);
  52734. },
  52735. get$file(_) {
  52736. var t1 = this._multi_span$_primary;
  52737. return t1.get$file(t1);
  52738. },
  52739. get$length(_) {
  52740. var t1 = this._multi_span$_primary;
  52741. return t1.get$length(t1);
  52742. },
  52743. get$sourceUrl(_) {
  52744. var t1 = this._multi_span$_primary;
  52745. return t1.get$sourceUrl(t1);
  52746. },
  52747. compareTo$1(_, other) {
  52748. return this._multi_span$_primary.compareTo$1(0, other);
  52749. },
  52750. toString$0(_) {
  52751. return this._multi_span$_primary.toString$0(0);
  52752. },
  52753. expand$1(_, other) {
  52754. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  52755. },
  52756. highlight$1$color(color) {
  52757. var t1 = color === true || false;
  52758. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  52759. },
  52760. message$2$color(_, message, color) {
  52761. var t1 = J.$eq$(color, true) || typeof color == "string",
  52762. t2 = typeof color == "string" ? color : null;
  52763. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  52764. },
  52765. message$1($receiver, message) {
  52766. return this.message$2$color($receiver, message, null);
  52767. },
  52768. $isComparable: 1,
  52769. $isFileSpan: 1,
  52770. $isSourceSpan: 1,
  52771. $isSourceSpanWithContext: 1
  52772. };
  52773. A.NoSourceMapBuffer.prototype = {
  52774. get$length(_) {
  52775. return this._no_source_map_buffer$_buffer._contents.length;
  52776. },
  52777. forSpan$1$2(span, callback) {
  52778. return callback.call$0();
  52779. },
  52780. forSpan$2(span, callback) {
  52781. return this.forSpan$1$2(span, callback, type$.dynamic);
  52782. },
  52783. write$1(_, object) {
  52784. this._no_source_map_buffer$_buffer._contents += A.S(object);
  52785. return null;
  52786. },
  52787. writeCharCode$1(charCode) {
  52788. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  52789. return null;
  52790. },
  52791. toString$0(_) {
  52792. var t1 = this._no_source_map_buffer$_buffer._contents;
  52793. return t1.charCodeAt(0) == 0 ? t1 : t1;
  52794. },
  52795. buildSourceMap$1$prefix(prefix) {
  52796. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  52797. }
  52798. };
  52799. A.PrefixedMapView.prototype = {
  52800. get$keys(_) {
  52801. return new A._PrefixedKeys(this);
  52802. },
  52803. get$length(_) {
  52804. var t1 = this._prefixed_map_view$_map;
  52805. return t1.get$length(t1);
  52806. },
  52807. get$isEmpty(_) {
  52808. var t1 = this._prefixed_map_view$_map;
  52809. return t1.get$isEmpty(t1);
  52810. },
  52811. get$isNotEmpty(_) {
  52812. var t1 = this._prefixed_map_view$_map;
  52813. return t1.get$isNotEmpty(t1);
  52814. },
  52815. $index(_, key) {
  52816. 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;
  52817. },
  52818. containsKey$1(key) {
  52819. 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));
  52820. }
  52821. };
  52822. A._PrefixedKeys.prototype = {
  52823. get$length(_) {
  52824. var t1 = this._view._prefixed_map_view$_map;
  52825. return t1.get$length(t1);
  52826. },
  52827. get$iterator(_) {
  52828. var t1 = this._view._prefixed_map_view$_map;
  52829. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  52830. return t1.get$iterator(t1);
  52831. },
  52832. contains$1(_, key) {
  52833. return this._view.containsKey$1(key);
  52834. }
  52835. };
  52836. A._PrefixedKeys_iterator_closure.prototype = {
  52837. call$1(key) {
  52838. return this.$this._view._prefix + key;
  52839. },
  52840. $signature: 5
  52841. };
  52842. A.PublicMemberMapView.prototype = {
  52843. get$keys(_) {
  52844. var t1 = this._public_member_map_view$_inner;
  52845. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  52846. },
  52847. containsKey$1(key) {
  52848. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  52849. },
  52850. $index(_, key) {
  52851. if (typeof key == "string" && A.isPublic(key))
  52852. return this._public_member_map_view$_inner.$index(0, key);
  52853. return null;
  52854. }
  52855. };
  52856. A.SourceMapBuffer.prototype = {
  52857. get$_targetLocation() {
  52858. var t1 = this._source_map_buffer$_buffer._contents,
  52859. t2 = this._line;
  52860. return A.SourceLocation$(t1.length, this._column, t2, null);
  52861. },
  52862. get$length(_) {
  52863. return this._source_map_buffer$_buffer._contents.length;
  52864. },
  52865. forSpan$1$2(span, callback) {
  52866. var t1, _this = this,
  52867. wasInSpan = _this._inSpan;
  52868. _this._inSpan = true;
  52869. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  52870. try {
  52871. t1 = callback.call$0();
  52872. return t1;
  52873. } finally {
  52874. _this._inSpan = wasInSpan;
  52875. }
  52876. },
  52877. forSpan$2(span, callback) {
  52878. return this.forSpan$1$2(span, callback, type$.dynamic);
  52879. },
  52880. _addEntry$2(source, target) {
  52881. var entry, t2,
  52882. t1 = this._entries;
  52883. if (t1.length !== 0) {
  52884. entry = B.JSArray_methods.get$last(t1);
  52885. t2 = entry.source;
  52886. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  52887. return;
  52888. if (entry.target.offset === target.offset)
  52889. return;
  52890. }
  52891. t1.push(new A.Entry(source, target, null));
  52892. },
  52893. write$1(_, object) {
  52894. var t1, i,
  52895. string = J.toString$0$(object);
  52896. this._source_map_buffer$_buffer._contents += string;
  52897. for (t1 = string.length, i = 0; i < t1; ++i)
  52898. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  52899. this._source_map_buffer$_writeLine$0();
  52900. else
  52901. ++this._column;
  52902. },
  52903. writeCharCode$1(charCode) {
  52904. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  52905. if (charCode === 10)
  52906. this._source_map_buffer$_writeLine$0();
  52907. else
  52908. ++this._column;
  52909. },
  52910. _source_map_buffer$_writeLine$0() {
  52911. var _this = this,
  52912. t1 = _this._entries;
  52913. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  52914. t1.pop();
  52915. ++_this._line;
  52916. _this._column = 0;
  52917. if (_this._inSpan)
  52918. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  52919. },
  52920. toString$0(_) {
  52921. var t1 = this._source_map_buffer$_buffer._contents;
  52922. return t1.charCodeAt(0) == 0 ? t1 : t1;
  52923. },
  52924. buildSourceMap$1$prefix(prefix) {
  52925. var i, t2, prefixColumn, _box_0 = {},
  52926. t1 = prefix.length;
  52927. if (t1 === 0)
  52928. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  52929. _box_0.prefixColumn = _box_0.prefixLines = 0;
  52930. for (i = 0, t2 = 0; i < t1; ++i)
  52931. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  52932. ++_box_0.prefixLines;
  52933. _box_0.prefixColumn = 0;
  52934. t2 = 0;
  52935. } else {
  52936. prefixColumn = t2 + 1;
  52937. _box_0.prefixColumn = prefixColumn;
  52938. t2 = prefixColumn;
  52939. }
  52940. t2 = this._entries;
  52941. 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>")));
  52942. }
  52943. };
  52944. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  52945. call$1(entry) {
  52946. var t1 = entry.source,
  52947. t2 = entry.target,
  52948. t3 = t2.line,
  52949. t4 = this._box_0,
  52950. t5 = t4.prefixLines;
  52951. t4 = t3 === 0 ? t4.prefixColumn : 0;
  52952. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  52953. },
  52954. $signature: 156
  52955. };
  52956. A.UnprefixedMapView.prototype = {
  52957. get$keys(_) {
  52958. return new A._UnprefixedKeys(this);
  52959. },
  52960. $index(_, key) {
  52961. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  52962. },
  52963. containsKey$1(key) {
  52964. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  52965. },
  52966. remove$1(_, key) {
  52967. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  52968. }
  52969. };
  52970. A._UnprefixedKeys.prototype = {
  52971. get$iterator(_) {
  52972. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  52973. 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);
  52974. return t1.get$iterator(t1);
  52975. },
  52976. contains$1(_, key) {
  52977. return this._unprefixed_map_view$_view.containsKey$1(key);
  52978. }
  52979. };
  52980. A._UnprefixedKeys_iterator_closure.prototype = {
  52981. call$1(key) {
  52982. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  52983. },
  52984. $signature: 8
  52985. };
  52986. A._UnprefixedKeys_iterator_closure0.prototype = {
  52987. call$1(key) {
  52988. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  52989. },
  52990. $signature: 5
  52991. };
  52992. A.indent_closure.prototype = {
  52993. call$1(line) {
  52994. return B.JSString_methods.$mul(" ", this.indentation) + line;
  52995. },
  52996. $signature: 5
  52997. };
  52998. A.flattenVertically_closure.prototype = {
  52999. call$1(inner) {
  53000. return A.QueueList_QueueList$from(inner, this.T);
  53001. },
  53002. $signature() {
  53003. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  53004. }
  53005. };
  53006. A.flattenVertically_closure0.prototype = {
  53007. call$1(queue) {
  53008. this.result.push(queue.removeFirst$0());
  53009. return queue.get$length(queue) === 0;
  53010. },
  53011. $signature() {
  53012. return this.T._eval$1("bool(QueueList<0>)");
  53013. }
  53014. };
  53015. A.longestCommonSubsequence_backtrack.prototype = {
  53016. call$2(i, j) {
  53017. var selection, t1, _this = this;
  53018. if (i === -1 || j === -1)
  53019. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  53020. selection = _this.selections[i][j];
  53021. if (selection != null) {
  53022. t1 = _this.call$2(i - 1, j - 1);
  53023. J.add$1$ax(t1, selection);
  53024. return t1;
  53025. }
  53026. t1 = _this.lengths;
  53027. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  53028. },
  53029. $signature() {
  53030. return this.T._eval$1("List<0>(int,int)");
  53031. }
  53032. };
  53033. A.mapAddAll2_closure.prototype = {
  53034. call$2(key, inner) {
  53035. var t1 = this.destination,
  53036. innerDestination = t1.$index(0, key);
  53037. if (innerDestination != null)
  53038. innerDestination.addAll$1(0, inner);
  53039. else
  53040. t1.$indexSet(0, key, inner);
  53041. },
  53042. $signature() {
  53043. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  53044. }
  53045. };
  53046. A.Value.prototype = {
  53047. get$isTruthy() {
  53048. return true;
  53049. },
  53050. get$separator(_) {
  53051. return B.ListSeparator_undecided_null_undecided;
  53052. },
  53053. get$hasBrackets() {
  53054. return false;
  53055. },
  53056. get$asList() {
  53057. return A._setArrayType([this], type$.JSArray_Value);
  53058. },
  53059. get$lengthAsList() {
  53060. return 1;
  53061. },
  53062. get$isBlank() {
  53063. return false;
  53064. },
  53065. get$isSpecialNumber() {
  53066. return false;
  53067. },
  53068. get$isVar() {
  53069. return false;
  53070. },
  53071. get$realNull() {
  53072. return this;
  53073. },
  53074. sassIndexToListIndex$2(sassIndex, $name) {
  53075. var t1, t2, index,
  53076. indexValue = sassIndex.assertNumber$1($name);
  53077. if (indexValue.get$hasUnits()) {
  53078. t1 = indexValue.get$unitString();
  53079. t2 = indexValue.unitSuggestion$1($name);
  53080. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  53081. }
  53082. index = indexValue.assertInt$1($name);
  53083. if (index === 0)
  53084. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  53085. if (Math.abs(index) > this.get$lengthAsList())
  53086. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  53087. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  53088. },
  53089. assertCalculation$1($name) {
  53090. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  53091. },
  53092. assertColor$1($name) {
  53093. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  53094. },
  53095. assertFunction$1($name) {
  53096. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  53097. },
  53098. assertMap$1($name) {
  53099. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  53100. },
  53101. tryMap$0() {
  53102. return null;
  53103. },
  53104. assertNumber$1($name) {
  53105. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  53106. },
  53107. assertNumber$0() {
  53108. return this.assertNumber$1(null);
  53109. },
  53110. assertString$1($name) {
  53111. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  53112. },
  53113. _selectorString$1($name) {
  53114. var string = this._selectorStringOrNull$0();
  53115. if (string != null)
  53116. return string;
  53117. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  53118. },
  53119. _selectorStringOrNull$0() {
  53120. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  53121. if (_this instanceof A.SassString)
  53122. return _this._string$_text;
  53123. if (!(_this instanceof A.SassList))
  53124. return _null;
  53125. t1 = _this._list$_contents;
  53126. t2 = t1.length;
  53127. if (t2 === 0)
  53128. return _null;
  53129. result = A._setArrayType([], type$.JSArray_String);
  53130. t3 = _this._separator;
  53131. switch (t3) {
  53132. case B.ListSeparator_rXA:
  53133. for (_i = 0; _i < t2; ++_i) {
  53134. complex = t1[_i];
  53135. if (complex instanceof A.SassString)
  53136. result.push(complex._string$_text);
  53137. else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_EVt) {
  53138. string = complex._selectorStringOrNull$0();
  53139. if (string == null)
  53140. return _null;
  53141. result.push(string);
  53142. } else
  53143. return _null;
  53144. }
  53145. break;
  53146. case B.ListSeparator_zg9:
  53147. return _null;
  53148. default:
  53149. for (_i = 0; _i < t2; ++_i) {
  53150. compound = t1[_i];
  53151. if (compound instanceof A.SassString)
  53152. result.push(compound._string$_text);
  53153. else
  53154. return _null;
  53155. }
  53156. break;
  53157. }
  53158. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA ? ", " : " ");
  53159. },
  53160. withListContents$2$separator(contents, separator) {
  53161. var t1 = separator == null ? this.get$separator(this) : separator,
  53162. t2 = this.get$hasBrackets();
  53163. return A.SassList$(contents, t1, t2);
  53164. },
  53165. withListContents$1(contents) {
  53166. return this.withListContents$2$separator(contents, null);
  53167. },
  53168. greaterThan$1(other) {
  53169. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  53170. },
  53171. greaterThanOrEquals$1(other) {
  53172. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  53173. },
  53174. lessThan$1(other) {
  53175. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  53176. },
  53177. lessThanOrEquals$1(other) {
  53178. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  53179. },
  53180. times$1(other) {
  53181. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  53182. },
  53183. modulo$1(other) {
  53184. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  53185. },
  53186. plus$1(other) {
  53187. if (other instanceof A.SassString)
  53188. return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  53189. else if (other instanceof A.SassCalculation)
  53190. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53191. else
  53192. return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  53193. },
  53194. minus$1(other) {
  53195. if (other instanceof A.SassCalculation)
  53196. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53197. else
  53198. return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  53199. },
  53200. dividedBy$1(other) {
  53201. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  53202. },
  53203. unaryPlus$0() {
  53204. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  53205. },
  53206. unaryMinus$0() {
  53207. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  53208. },
  53209. unaryNot$0() {
  53210. return B.SassBoolean_false;
  53211. },
  53212. withoutSlash$0() {
  53213. return this;
  53214. },
  53215. toString$0(_) {
  53216. return A.serializeValue(this, true, true);
  53217. }
  53218. };
  53219. A.SassArgumentList.prototype = {};
  53220. A.SassBoolean.prototype = {
  53221. get$isTruthy() {
  53222. return this.value;
  53223. },
  53224. accept$1$1(visitor) {
  53225. return visitor._serialize$_buffer.write$1(0, String(this.value));
  53226. },
  53227. accept$1(visitor) {
  53228. return this.accept$1$1(visitor, type$.dynamic);
  53229. },
  53230. unaryNot$0() {
  53231. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  53232. }
  53233. };
  53234. A.SassCalculation.prototype = {
  53235. get$isSpecialNumber() {
  53236. return true;
  53237. },
  53238. accept$1$1(visitor) {
  53239. return visitor.visitCalculation$1(this);
  53240. },
  53241. accept$1(visitor) {
  53242. return this.accept$1$1(visitor, type$.dynamic);
  53243. },
  53244. assertCalculation$1($name) {
  53245. return this;
  53246. },
  53247. plus$1(other) {
  53248. if (other instanceof A.SassString)
  53249. return this.super$Value$plus(other);
  53250. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53251. },
  53252. minus$1(other) {
  53253. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53254. },
  53255. unaryPlus$0() {
  53256. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  53257. },
  53258. unaryMinus$0() {
  53259. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  53260. },
  53261. $eq(_, other) {
  53262. if (other == null)
  53263. return false;
  53264. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  53265. },
  53266. get$hashCode(_) {
  53267. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  53268. }
  53269. };
  53270. A.SassCalculation__verifyLength_closure.prototype = {
  53271. call$1(arg) {
  53272. return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
  53273. },
  53274. $signature: 66
  53275. };
  53276. A.CalculationOperation.prototype = {
  53277. $eq(_, other) {
  53278. if (other == null)
  53279. return false;
  53280. return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  53281. },
  53282. get$hashCode(_) {
  53283. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  53284. },
  53285. toString$0(_) {
  53286. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  53287. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  53288. }
  53289. };
  53290. A.CalculationOperator.prototype = {
  53291. _enumToString$0() {
  53292. return "CalculationOperator." + this._name;
  53293. },
  53294. toString$0(_) {
  53295. return this.name;
  53296. }
  53297. };
  53298. A.CalculationInterpolation.prototype = {
  53299. $eq(_, other) {
  53300. if (other == null)
  53301. return false;
  53302. return other instanceof A.CalculationInterpolation && this.value === other.value;
  53303. },
  53304. get$hashCode(_) {
  53305. return B.JSString_methods.get$hashCode(this.value);
  53306. },
  53307. toString$0(_) {
  53308. return this.value;
  53309. }
  53310. };
  53311. A.SassColor.prototype = {
  53312. get$red(_) {
  53313. var t1;
  53314. if (this._red == null)
  53315. this._hslToRgb$0();
  53316. t1 = this._red;
  53317. t1.toString;
  53318. return t1;
  53319. },
  53320. get$green(_) {
  53321. var t1;
  53322. if (this._green == null)
  53323. this._hslToRgb$0();
  53324. t1 = this._green;
  53325. t1.toString;
  53326. return t1;
  53327. },
  53328. get$blue(_) {
  53329. var t1;
  53330. if (this._blue == null)
  53331. this._hslToRgb$0();
  53332. t1 = this._blue;
  53333. t1.toString;
  53334. return t1;
  53335. },
  53336. get$hue(_) {
  53337. var t1;
  53338. if (this._hue == null)
  53339. this._rgbToHsl$0();
  53340. t1 = this._hue;
  53341. t1.toString;
  53342. return t1;
  53343. },
  53344. get$saturation(_) {
  53345. var t1;
  53346. if (this._saturation == null)
  53347. this._rgbToHsl$0();
  53348. t1 = this._saturation;
  53349. t1.toString;
  53350. return t1;
  53351. },
  53352. get$lightness(_) {
  53353. var t1;
  53354. if (this._lightness == null)
  53355. this._rgbToHsl$0();
  53356. t1 = this._lightness;
  53357. t1.toString;
  53358. return t1;
  53359. },
  53360. get$whiteness(_) {
  53361. var _this = this;
  53362. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  53363. },
  53364. get$blackness(_) {
  53365. var _this = this;
  53366. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  53367. },
  53368. accept$1$1(visitor) {
  53369. var $name, hexLength, t1, format, t2, opaque, _this = this;
  53370. if (visitor._style === B.OutputStyle_1)
  53371. if (!A.fuzzyEquals(_this._alpha, 1))
  53372. visitor._writeRgb$1(_this);
  53373. else {
  53374. $name = $.$get$namesByColor().$index(0, _this);
  53375. hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
  53376. if ($name != null && $name.length <= hexLength)
  53377. visitor._serialize$_buffer.write$1(0, $name);
  53378. else {
  53379. t1 = visitor._serialize$_buffer;
  53380. if (visitor._canUseShortHex$1(_this)) {
  53381. t1.writeCharCode$1(35);
  53382. t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
  53383. t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
  53384. t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
  53385. } else {
  53386. t1.writeCharCode$1(35);
  53387. visitor._writeHexComponent$1(_this.get$red(_this));
  53388. visitor._writeHexComponent$1(_this.get$green(_this));
  53389. visitor._writeHexComponent$1(_this.get$blue(_this));
  53390. }
  53391. }
  53392. }
  53393. else {
  53394. format = _this.format;
  53395. if (format != null)
  53396. if (format === B._ColorFormatEnum_rgbFunction)
  53397. visitor._writeRgb$1(_this);
  53398. else {
  53399. t1 = visitor._serialize$_buffer;
  53400. if (format === B._ColorFormatEnum_hslFunction) {
  53401. t2 = _this._alpha;
  53402. opaque = A.fuzzyEquals(t2, 1);
  53403. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  53404. visitor._writeNumber$1(_this.get$hue(_this));
  53405. t1.write$1(0, ", ");
  53406. visitor._writeNumber$1(_this.get$saturation(_this));
  53407. t1.writeCharCode$1(37);
  53408. t1.write$1(0, ", ");
  53409. visitor._writeNumber$1(_this.get$lightness(_this));
  53410. t1.writeCharCode$1(37);
  53411. if (!opaque) {
  53412. t1.write$1(0, ", ");
  53413. visitor._writeNumber$1(t2);
  53414. }
  53415. t1.writeCharCode$1(41);
  53416. } else
  53417. t1.write$1(0, type$.SpanColorFormat._as(format)._color$_span.get$text());
  53418. }
  53419. else {
  53420. t1 = $.$get$namesByColor();
  53421. if (t1.containsKey$1(_this) && !A.fuzzyEquals(_this._alpha, 0))
  53422. visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
  53423. else if (A.fuzzyEquals(_this._alpha, 1)) {
  53424. visitor._serialize$_buffer.writeCharCode$1(35);
  53425. visitor._writeHexComponent$1(_this.get$red(_this));
  53426. visitor._writeHexComponent$1(_this.get$green(_this));
  53427. visitor._writeHexComponent$1(_this.get$blue(_this));
  53428. } else
  53429. visitor._writeRgb$1(_this);
  53430. }
  53431. }
  53432. return null;
  53433. },
  53434. accept$1(visitor) {
  53435. return this.accept$1$1(visitor, type$.dynamic);
  53436. },
  53437. assertColor$1($name) {
  53438. return this;
  53439. },
  53440. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  53441. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  53442. },
  53443. changeRgb$3$blue$green$red(blue, green, red) {
  53444. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  53445. },
  53446. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  53447. var _this = this, _null = null,
  53448. t1 = hue == null ? _this.get$hue(_this) : hue,
  53449. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  53450. t3 = lightness == null ? _this.get$lightness(_this) : lightness,
  53451. t4 = alpha == null ? _this._alpha : alpha;
  53452. t1 = B.JSNumber_methods.$mod(t1, 360);
  53453. t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
  53454. t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
  53455. t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
  53456. return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
  53457. },
  53458. changeHsl$1$saturation(saturation) {
  53459. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  53460. },
  53461. changeHsl$1$lightness(lightness) {
  53462. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  53463. },
  53464. changeHsl$1$hue(hue) {
  53465. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  53466. },
  53467. changeAlpha$1(alpha) {
  53468. var _this = this;
  53469. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  53470. },
  53471. plus$1(other) {
  53472. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53473. return this.super$Value$plus(other);
  53474. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53475. },
  53476. minus$1(other) {
  53477. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53478. return this.super$Value$minus(other);
  53479. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53480. },
  53481. dividedBy$1(other) {
  53482. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  53483. return this.super$Value$dividedBy(other);
  53484. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  53485. },
  53486. $eq(_, other) {
  53487. var _this = this;
  53488. if (other == null)
  53489. return false;
  53490. return other instanceof A.SassColor && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._alpha === _this._alpha;
  53491. },
  53492. get$hashCode(_) {
  53493. var _this = this;
  53494. return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
  53495. },
  53496. _rgbToHsl$0() {
  53497. var t2, lightness, _this = this,
  53498. scaledRed = _this.get$red(_this) / 255,
  53499. scaledGreen = _this.get$green(_this) / 255,
  53500. scaledBlue = _this.get$blue(_this) / 255,
  53501. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  53502. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  53503. delta = max - min,
  53504. t1 = max === min;
  53505. if (t1)
  53506. _this._hue = 0;
  53507. else if (max === scaledRed)
  53508. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  53509. else if (max === scaledGreen)
  53510. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  53511. else if (max === scaledBlue)
  53512. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  53513. t2 = max + min;
  53514. lightness = 50 * t2;
  53515. _this._lightness = lightness;
  53516. if (t1)
  53517. _this._saturation = 0;
  53518. else {
  53519. t1 = 100 * delta;
  53520. if (lightness < 50)
  53521. _this._saturation = t1 / t2;
  53522. else
  53523. _this._saturation = t1 / (2 - max - min);
  53524. }
  53525. },
  53526. _hslToRgb$0() {
  53527. var _this = this,
  53528. scaledHue = _this.get$hue(_this) / 360,
  53529. scaledSaturation = _this.get$saturation(_this) / 100,
  53530. scaledLightness = _this.get$lightness(_this) / 100,
  53531. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  53532. m1 = scaledLightness * 2 - m2;
  53533. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  53534. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  53535. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  53536. }
  53537. };
  53538. A.SassColor_SassColor$hwb_toRgb.prototype = {
  53539. call$1(hue) {
  53540. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  53541. },
  53542. $signature: 157
  53543. };
  53544. A._ColorFormatEnum.prototype = {
  53545. toString$0(_) {
  53546. return this._color$_name;
  53547. }
  53548. };
  53549. A.SpanColorFormat.prototype = {};
  53550. A.SassFunction.prototype = {
  53551. accept$1$1(visitor) {
  53552. var t1, t2;
  53553. if (!visitor._inspect)
  53554. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  53555. t1 = visitor._serialize$_buffer;
  53556. t1.write$1(0, "get-function(");
  53557. t2 = this.callable;
  53558. visitor._visitQuotedString$1(t2.get$name(t2));
  53559. t1.writeCharCode$1(41);
  53560. return null;
  53561. },
  53562. accept$1(visitor) {
  53563. return this.accept$1$1(visitor, type$.dynamic);
  53564. },
  53565. assertFunction$1($name) {
  53566. return this;
  53567. },
  53568. $eq(_, other) {
  53569. if (other == null)
  53570. return false;
  53571. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  53572. },
  53573. get$hashCode(_) {
  53574. var t1 = this.callable;
  53575. return t1.get$hashCode(t1);
  53576. }
  53577. };
  53578. A.SassList.prototype = {
  53579. get$separator(_) {
  53580. return this._separator;
  53581. },
  53582. get$hasBrackets() {
  53583. return this._hasBrackets;
  53584. },
  53585. get$isBlank() {
  53586. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  53587. },
  53588. get$asList() {
  53589. return this._list$_contents;
  53590. },
  53591. get$lengthAsList() {
  53592. return this._list$_contents.length;
  53593. },
  53594. SassList$3$brackets(contents, _separator, brackets) {
  53595. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  53596. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  53597. },
  53598. accept$1$1(visitor) {
  53599. return visitor.visitList$1(this);
  53600. },
  53601. accept$1(visitor) {
  53602. return this.accept$1$1(visitor, type$.dynamic);
  53603. },
  53604. assertMap$1($name) {
  53605. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  53606. },
  53607. tryMap$0() {
  53608. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  53609. },
  53610. $eq(_, other) {
  53611. var t1, _this = this;
  53612. if (other == null)
  53613. return false;
  53614. 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)))
  53615. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  53616. else
  53617. t1 = true;
  53618. return t1;
  53619. },
  53620. get$hashCode(_) {
  53621. return B.C_ListEquality0.hash$1(this._list$_contents);
  53622. }
  53623. };
  53624. A.SassList_isBlank_closure.prototype = {
  53625. call$1(element) {
  53626. return element.get$isBlank();
  53627. },
  53628. $signature: 73
  53629. };
  53630. A.ListSeparator.prototype = {
  53631. _enumToString$0() {
  53632. return "ListSeparator." + this._name;
  53633. },
  53634. toString$0(_) {
  53635. return this._list$_name;
  53636. }
  53637. };
  53638. A.SassMap.prototype = {
  53639. get$separator(_) {
  53640. var t1 = this._map$_contents;
  53641. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  53642. },
  53643. get$asList() {
  53644. var result = A._setArrayType([], type$.JSArray_Value);
  53645. this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
  53646. return result;
  53647. },
  53648. get$lengthAsList() {
  53649. var t1 = this._map$_contents;
  53650. return t1.get$length(t1);
  53651. },
  53652. accept$1$1(visitor) {
  53653. return visitor.visitMap$1(this);
  53654. },
  53655. accept$1(visitor) {
  53656. return this.accept$1$1(visitor, type$.dynamic);
  53657. },
  53658. assertMap$1($name) {
  53659. return this;
  53660. },
  53661. tryMap$0() {
  53662. return this;
  53663. },
  53664. $eq(_, other) {
  53665. var t1;
  53666. if (other == null)
  53667. return false;
  53668. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  53669. t1 = this._map$_contents;
  53670. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  53671. } else
  53672. t1 = true;
  53673. return t1;
  53674. },
  53675. get$hashCode(_) {
  53676. var t1 = this._map$_contents;
  53677. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  53678. }
  53679. };
  53680. A.SassMap_asList_closure.prototype = {
  53681. call$2(key, value) {
  53682. this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_EVt, false));
  53683. },
  53684. $signature: 53
  53685. };
  53686. A._SassNull.prototype = {
  53687. get$isTruthy() {
  53688. return false;
  53689. },
  53690. get$isBlank() {
  53691. return true;
  53692. },
  53693. get$realNull() {
  53694. return null;
  53695. },
  53696. accept$1$1(visitor) {
  53697. if (visitor._inspect)
  53698. visitor._serialize$_buffer.write$1(0, "null");
  53699. return null;
  53700. },
  53701. accept$1(visitor) {
  53702. return this.accept$1$1(visitor, type$.dynamic);
  53703. },
  53704. unaryNot$0() {
  53705. return B.SassBoolean_true;
  53706. }
  53707. };
  53708. A.SassNumber.prototype = {
  53709. get$unitString() {
  53710. var _this = this;
  53711. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  53712. },
  53713. accept$1$1(visitor) {
  53714. return visitor.visitNumber$1(this);
  53715. },
  53716. accept$1(visitor) {
  53717. return this.accept$1$1(visitor, type$.dynamic);
  53718. },
  53719. withoutSlash$0() {
  53720. var _this = this;
  53721. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  53722. },
  53723. assertNumber$1($name) {
  53724. return this;
  53725. },
  53726. assertNumber$0() {
  53727. return this.assertNumber$1(null);
  53728. },
  53729. assertInt$1($name) {
  53730. var integer = A.fuzzyAsInt(this._number$_value);
  53731. if (integer != null)
  53732. return integer;
  53733. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  53734. },
  53735. assertInt$0() {
  53736. return this.assertInt$1(null);
  53737. },
  53738. valueInRange$3(min, max, $name) {
  53739. var _this = this,
  53740. result = A.fuzzyCheckRange(_this._number$_value, min, max);
  53741. if (result != null)
  53742. return result;
  53743. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  53744. },
  53745. valueInRangeWithUnit$4(min, max, $name, unit) {
  53746. var result = A.fuzzyCheckRange(this._number$_value, min, max);
  53747. if (result != null)
  53748. return result;
  53749. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  53750. },
  53751. hasCompatibleUnits$1(other) {
  53752. var _this = this;
  53753. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  53754. return false;
  53755. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  53756. return false;
  53757. return _this.isComparableTo$1(other);
  53758. },
  53759. assertUnit$2(unit, $name) {
  53760. if (this.hasUnit$1(unit))
  53761. return;
  53762. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  53763. },
  53764. assertNoUnits$1($name) {
  53765. if (!this.get$hasUnits())
  53766. return;
  53767. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  53768. },
  53769. convertValueToMatch$3(other, $name, otherName) {
  53770. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  53771. },
  53772. coerce$3(newNumerators, newDenominators, $name) {
  53773. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  53774. },
  53775. coerce$2(newNumerators, newDenominators) {
  53776. return this.coerce$3(newNumerators, newDenominators, null);
  53777. },
  53778. coerceValue$3(newNumerators, newDenominators, $name) {
  53779. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  53780. },
  53781. coerceValueToUnit$2(unit, $name) {
  53782. var t1 = type$.JSArray_String;
  53783. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  53784. },
  53785. coerceValueToUnit$1(unit) {
  53786. return this.coerceValueToUnit$2(unit, null);
  53787. },
  53788. coerceValueToMatch$3(other, $name, otherName) {
  53789. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  53790. },
  53791. coerceValueToMatch$1(other) {
  53792. return this.coerceValueToMatch$3(other, null, null);
  53793. },
  53794. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  53795. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  53796. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  53797. return _this._number$_value;
  53798. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  53799. if (coerceUnitless)
  53800. t1 = !_this.get$hasUnits() || !otherHasUnits;
  53801. else
  53802. t1 = false;
  53803. if (t1)
  53804. return _this._number$_value;
  53805. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  53806. _box_0.value = _this._number$_value;
  53807. t1 = _this.get$numeratorUnits(_this);
  53808. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  53809. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  53810. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  53811. t1 = _this.get$denominatorUnits(_this);
  53812. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  53813. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  53814. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  53815. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  53816. throw A.wrapException(compatibilityException.call$0());
  53817. return _box_0.value;
  53818. },
  53819. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  53820. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  53821. },
  53822. isComparableTo$1(other) {
  53823. var exception;
  53824. if (!this.get$hasUnits() || !other.get$hasUnits())
  53825. return true;
  53826. try {
  53827. this.greaterThan$1(other);
  53828. return true;
  53829. } catch (exception) {
  53830. if (A.unwrapException(exception) instanceof A.SassScriptException)
  53831. return false;
  53832. else
  53833. throw exception;
  53834. }
  53835. },
  53836. greaterThan$1(other) {
  53837. if (other instanceof A.SassNumber)
  53838. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  53839. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  53840. },
  53841. greaterThanOrEquals$1(other) {
  53842. if (other instanceof A.SassNumber)
  53843. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  53844. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  53845. },
  53846. lessThan$1(other) {
  53847. if (other instanceof A.SassNumber)
  53848. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  53849. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  53850. },
  53851. lessThanOrEquals$1(other) {
  53852. if (other instanceof A.SassNumber)
  53853. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  53854. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  53855. },
  53856. modulo$1(other) {
  53857. if (other instanceof A.SassNumber)
  53858. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  53859. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  53860. },
  53861. plus$1(other) {
  53862. var _this = this;
  53863. if (other instanceof A.SassNumber)
  53864. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  53865. if (!(other instanceof A.SassColor))
  53866. return _this.super$Value$plus(other);
  53867. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  53868. },
  53869. minus$1(other) {
  53870. var _this = this;
  53871. if (other instanceof A.SassNumber)
  53872. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  53873. if (!(other instanceof A.SassColor))
  53874. return _this.super$Value$minus(other);
  53875. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  53876. },
  53877. times$1(other) {
  53878. var _this = this;
  53879. if (other instanceof A.SassNumber) {
  53880. if (!other.get$hasUnits())
  53881. return _this.withValue$1(_this._number$_value * other._number$_value);
  53882. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  53883. }
  53884. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  53885. },
  53886. dividedBy$1(other) {
  53887. var _this = this;
  53888. if (other instanceof A.SassNumber) {
  53889. if (!other.get$hasUnits())
  53890. return _this.withValue$1(_this._number$_value / other._number$_value);
  53891. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  53892. }
  53893. return _this.super$Value$dividedBy(other);
  53894. },
  53895. unaryPlus$0() {
  53896. return this;
  53897. },
  53898. _coerceUnits$1$2(other, operation) {
  53899. var t1, exception;
  53900. try {
  53901. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  53902. return t1;
  53903. } catch (exception) {
  53904. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  53905. this.coerceValueToMatch$1(other);
  53906. throw exception;
  53907. } else
  53908. throw exception;
  53909. }
  53910. },
  53911. _coerceUnits$2(other, operation) {
  53912. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  53913. },
  53914. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  53915. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  53916. _box_0.value = value;
  53917. if (_this.get$numeratorUnits(_this).length === 0) {
  53918. if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  53919. return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
  53920. else if (_this.get$denominatorUnits(_this).length === 0)
  53921. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
  53922. } else if (otherNumerators.length === 0)
  53923. if (otherDenominators.length === 0)
  53924. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  53925. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  53926. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  53927. newNumerators = A._setArrayType([], type$.JSArray_String);
  53928. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  53929. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  53930. numerator = t1[_i];
  53931. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  53932. }
  53933. t1 = _this.get$denominatorUnits(_this);
  53934. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  53935. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  53936. numerator = otherNumerators[_i];
  53937. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  53938. }
  53939. t1 = _box_0.value;
  53940. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  53941. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  53942. },
  53943. _areAnyConvertible$2(units1, units2) {
  53944. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  53945. },
  53946. _unitString$2(numerators, denominators) {
  53947. var t1;
  53948. if (numerators.length === 0) {
  53949. t1 = denominators.length;
  53950. if (t1 === 0)
  53951. return "no units";
  53952. if (t1 === 1)
  53953. return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
  53954. return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  53955. }
  53956. if (denominators.length === 0)
  53957. return B.JSArray_methods.join$1(numerators, "*");
  53958. return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  53959. },
  53960. $eq(_, other) {
  53961. var _this = this;
  53962. if (other == null)
  53963. return false;
  53964. if (other instanceof A.SassNumber) {
  53965. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  53966. return false;
  53967. if (!_this.get$hasUnits())
  53968. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  53969. 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))))
  53970. return false;
  53971. 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)));
  53972. } else
  53973. return false;
  53974. },
  53975. get$hashCode(_) {
  53976. var _this = this,
  53977. t1 = _this.hashCache;
  53978. 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;
  53979. },
  53980. _canonicalizeUnitList$1(units) {
  53981. var type,
  53982. t1 = units.length;
  53983. if (t1 === 0)
  53984. return units;
  53985. if (t1 === 1) {
  53986. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  53987. if (type == null)
  53988. t1 = units;
  53989. else {
  53990. t1 = B.Map_U8AHF.$index(0, type);
  53991. t1.toString;
  53992. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  53993. }
  53994. return t1;
  53995. }
  53996. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  53997. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  53998. B.JSArray_methods.sort$0(t1);
  53999. return t1;
  54000. },
  54001. _canonicalMultiplier$1(units) {
  54002. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  54003. },
  54004. canonicalMultiplierForUnit$1(unit) {
  54005. var t1,
  54006. innerMap = B.Map_K2BWj.$index(0, unit);
  54007. if (innerMap == null)
  54008. t1 = 1;
  54009. else {
  54010. t1 = innerMap.get$values(innerMap);
  54011. t1 = 1 / t1.get$first(t1);
  54012. }
  54013. return t1;
  54014. },
  54015. unitSuggestion$2($name, unit) {
  54016. var t2, t3, result, _this = this,
  54017. t1 = _this.get$denominatorUnits(_this);
  54018. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  54019. t2 = _this.get$numeratorUnits(_this);
  54020. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  54021. t3 = unit == null ? "" : " * 1" + unit;
  54022. result = "$" + $name + t1 + t2 + t3;
  54023. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  54024. },
  54025. unitSuggestion$1($name) {
  54026. return this.unitSuggestion$2($name, null);
  54027. }
  54028. };
  54029. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  54030. call$0() {
  54031. var t2, t3, message, t4, type, unit, _this = this,
  54032. t1 = _this.other;
  54033. if (t1 != null) {
  54034. t2 = _this.$this;
  54035. t3 = t2.toString$0(0) + " and";
  54036. message = new A.StringBuffer(t3);
  54037. t4 = _this.otherName;
  54038. if (t4 != null)
  54039. t3 = message._contents = t3 + (" $" + t4 + ":");
  54040. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  54041. message._contents = t1;
  54042. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  54043. message._contents = t1 + " (one has units and the other doesn't)";
  54044. t1 = message.toString$0(0) + ".";
  54045. t2 = _this.name;
  54046. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  54047. } else if (!_this.otherHasUnits) {
  54048. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  54049. t2 = _this.name;
  54050. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  54051. } else {
  54052. t1 = _this.newNumerators;
  54053. if (t1.length === 1 && _this.newDenominators.length === 0) {
  54054. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  54055. if (type != null) {
  54056. t1 = _this.$this.toString$0(0);
  54057. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type;
  54058. t3 = B.Map_U8AHF.$index(0, type);
  54059. t3.toString;
  54060. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  54061. t2 = _this.name;
  54062. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  54063. }
  54064. }
  54065. t2 = _this.newDenominators;
  54066. unit = A.pluralize("unit", t1.length + t2.length, null);
  54067. t3 = _this.$this;
  54068. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  54069. t1 = _this.name;
  54070. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  54071. }
  54072. },
  54073. $signature: 390
  54074. };
  54075. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  54076. call$1(oldNumerator) {
  54077. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  54078. if (factor == null)
  54079. return false;
  54080. this._box_0.value *= factor;
  54081. return true;
  54082. },
  54083. $signature: 8
  54084. };
  54085. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  54086. call$0() {
  54087. return A.throwExpression(this.compatibilityException.call$0());
  54088. },
  54089. $signature: 0
  54090. };
  54091. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  54092. call$1(oldDenominator) {
  54093. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  54094. if (factor == null)
  54095. return false;
  54096. this._box_0.value /= factor;
  54097. return true;
  54098. },
  54099. $signature: 8
  54100. };
  54101. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  54102. call$0() {
  54103. return A.throwExpression(this.compatibilityException.call$0());
  54104. },
  54105. $signature: 0
  54106. };
  54107. A.SassNumber_plus_closure.prototype = {
  54108. call$2(num1, num2) {
  54109. return num1 + num2;
  54110. },
  54111. $signature: 58
  54112. };
  54113. A.SassNumber_minus_closure.prototype = {
  54114. call$2(num1, num2) {
  54115. return num1 - num2;
  54116. },
  54117. $signature: 58
  54118. };
  54119. A.SassNumber_multiplyUnits_closure.prototype = {
  54120. call$1(denominator) {
  54121. var factor = A.conversionFactor(this.numerator, denominator);
  54122. if (factor == null)
  54123. return false;
  54124. this._box_0.value /= factor;
  54125. return true;
  54126. },
  54127. $signature: 8
  54128. };
  54129. A.SassNumber_multiplyUnits_closure0.prototype = {
  54130. call$0() {
  54131. return this.newNumerators.push(this.numerator);
  54132. },
  54133. $signature: 0
  54134. };
  54135. A.SassNumber_multiplyUnits_closure1.prototype = {
  54136. call$1(denominator) {
  54137. var factor = A.conversionFactor(this.numerator, denominator);
  54138. if (factor == null)
  54139. return false;
  54140. this._box_0.value /= factor;
  54141. return true;
  54142. },
  54143. $signature: 8
  54144. };
  54145. A.SassNumber_multiplyUnits_closure2.prototype = {
  54146. call$0() {
  54147. return this.newNumerators.push(this.numerator);
  54148. },
  54149. $signature: 0
  54150. };
  54151. A.SassNumber__areAnyConvertible_closure.prototype = {
  54152. call$1(unit1) {
  54153. var innerMap = B.Map_K2BWj.$index(0, unit1);
  54154. if (innerMap == null)
  54155. return B.JSArray_methods.contains$1(this.units2, unit1);
  54156. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  54157. },
  54158. $signature: 8
  54159. };
  54160. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  54161. call$1(unit) {
  54162. var t1,
  54163. type = $.$get$_typesByUnit().$index(0, unit);
  54164. if (type == null)
  54165. t1 = unit;
  54166. else {
  54167. t1 = B.Map_U8AHF.$index(0, type);
  54168. t1.toString;
  54169. t1 = B.JSArray_methods.get$first(t1);
  54170. }
  54171. return t1;
  54172. },
  54173. $signature: 5
  54174. };
  54175. A.SassNumber__canonicalMultiplier_closure.prototype = {
  54176. call$2(multiplier, unit) {
  54177. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  54178. },
  54179. $signature: 159
  54180. };
  54181. A.SassNumber_unitSuggestion_closure.prototype = {
  54182. call$1(unit) {
  54183. return " * 1" + unit;
  54184. },
  54185. $signature: 5
  54186. };
  54187. A.SassNumber_unitSuggestion_closure0.prototype = {
  54188. call$1(unit) {
  54189. return " / 1" + unit;
  54190. },
  54191. $signature: 5
  54192. };
  54193. A.ComplexSassNumber.prototype = {
  54194. get$numeratorUnits(_) {
  54195. return this._numeratorUnits;
  54196. },
  54197. get$denominatorUnits(_) {
  54198. return this._denominatorUnits;
  54199. },
  54200. get$hasUnits() {
  54201. return true;
  54202. },
  54203. hasUnit$1(unit) {
  54204. return false;
  54205. },
  54206. compatibleWithUnit$1(unit) {
  54207. return false;
  54208. },
  54209. hasPossiblyCompatibleUnits$1(other) {
  54210. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  54211. },
  54212. withValue$1(value) {
  54213. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  54214. },
  54215. withSlash$2(numerator, denominator) {
  54216. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54217. }
  54218. };
  54219. A.SingleUnitSassNumber.prototype = {
  54220. get$numeratorUnits(_) {
  54221. return A.List_List$unmodifiable([this._unit], type$.String);
  54222. },
  54223. get$denominatorUnits(_) {
  54224. return B.List_empty;
  54225. },
  54226. get$hasUnits() {
  54227. return true;
  54228. },
  54229. withValue$1(value) {
  54230. return new A.SingleUnitSassNumber(this._unit, value, null);
  54231. },
  54232. withSlash$2(numerator, denominator) {
  54233. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54234. },
  54235. hasUnit$1(unit) {
  54236. return unit === this._unit;
  54237. },
  54238. hasCompatibleUnits$1(other) {
  54239. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  54240. },
  54241. hasPossiblyCompatibleUnits$1(other) {
  54242. var t1, knownCompatibilities, otherUnit;
  54243. if (!(other instanceof A.SingleUnitSassNumber))
  54244. return false;
  54245. t1 = $.$get$_knownCompatibilitiesByUnit();
  54246. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  54247. if (knownCompatibilities == null)
  54248. return true;
  54249. otherUnit = other._unit.toLowerCase();
  54250. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  54251. },
  54252. compatibleWithUnit$1(unit) {
  54253. return A.conversionFactor(this._unit, unit) != null;
  54254. },
  54255. coerceValueToMatch$1(other) {
  54256. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  54257. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
  54258. },
  54259. convertValueToMatch$3(other, $name, otherName) {
  54260. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  54261. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  54262. },
  54263. coerce$2(newNumerators, newDenominators) {
  54264. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  54265. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  54266. },
  54267. coerceValue$3(newNumerators, newDenominators, $name) {
  54268. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  54269. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  54270. },
  54271. coerceValueToUnit$2(unit, $name) {
  54272. var t1 = this._coerceValueToUnit$1(unit);
  54273. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  54274. },
  54275. coerceValueToUnit$1(unit) {
  54276. return this.coerceValueToUnit$2(unit, null);
  54277. },
  54278. _coerceToUnit$1(unit) {
  54279. var t1 = this._unit;
  54280. if (t1 === unit)
  54281. return this;
  54282. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  54283. },
  54284. _coerceValueToUnit$1(unit) {
  54285. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  54286. },
  54287. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  54288. var mutableOtherDenominators, t1 = {};
  54289. t1.value = value;
  54290. t1.newNumerators = otherNumerators;
  54291. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  54292. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  54293. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  54294. },
  54295. unaryMinus$0() {
  54296. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  54297. },
  54298. $eq(_, other) {
  54299. var factor;
  54300. if (other == null)
  54301. return false;
  54302. if (other instanceof A.SingleUnitSassNumber) {
  54303. factor = A.conversionFactor(other._unit, this._unit);
  54304. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  54305. } else
  54306. return false;
  54307. },
  54308. get$hashCode(_) {
  54309. var _this = this,
  54310. t1 = _this.hashCache;
  54311. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  54312. }
  54313. };
  54314. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  54315. call$1(factor) {
  54316. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  54317. },
  54318. $signature: 399
  54319. };
  54320. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  54321. call$1(factor) {
  54322. return this.$this._number$_value * factor;
  54323. },
  54324. $signature: 33
  54325. };
  54326. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  54327. call$1(denominator) {
  54328. var factor = A.conversionFactor(denominator, this.$this._unit);
  54329. if (factor == null)
  54330. return false;
  54331. this._box_0.value *= factor;
  54332. return true;
  54333. },
  54334. $signature: 8
  54335. };
  54336. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  54337. call$0() {
  54338. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  54339. t2 = this._box_0;
  54340. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  54341. t2.newNumerators = t1;
  54342. },
  54343. $signature: 0
  54344. };
  54345. A.UnitlessSassNumber.prototype = {
  54346. get$numeratorUnits(_) {
  54347. return B.List_empty;
  54348. },
  54349. get$denominatorUnits(_) {
  54350. return B.List_empty;
  54351. },
  54352. get$hasUnits() {
  54353. return false;
  54354. },
  54355. withValue$1(value) {
  54356. return new A.UnitlessSassNumber(value, null);
  54357. },
  54358. withSlash$2(numerator, denominator) {
  54359. return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  54360. },
  54361. hasUnit$1(unit) {
  54362. return false;
  54363. },
  54364. hasCompatibleUnits$1(other) {
  54365. return other instanceof A.UnitlessSassNumber;
  54366. },
  54367. hasPossiblyCompatibleUnits$1(other) {
  54368. return other instanceof A.UnitlessSassNumber;
  54369. },
  54370. compatibleWithUnit$1(unit) {
  54371. return true;
  54372. },
  54373. coerceValueToMatch$1(other) {
  54374. return this._number$_value;
  54375. },
  54376. convertValueToMatch$3(other, $name, otherName) {
  54377. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  54378. },
  54379. coerce$2(newNumerators, newDenominators) {
  54380. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  54381. },
  54382. coerceValue$3(newNumerators, newDenominators, $name) {
  54383. return this._number$_value;
  54384. },
  54385. coerceValueToUnit$2(unit, $name) {
  54386. return this._number$_value;
  54387. },
  54388. coerceValueToUnit$1(unit) {
  54389. return this.coerceValueToUnit$2(unit, null);
  54390. },
  54391. greaterThan$1(other) {
  54392. var t1, t2;
  54393. if (other instanceof A.SassNumber) {
  54394. t1 = this._number$_value;
  54395. t2 = other._number$_value;
  54396. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54397. }
  54398. return this.super$SassNumber$greaterThan(other);
  54399. },
  54400. greaterThanOrEquals$1(other) {
  54401. var t1, t2;
  54402. if (other instanceof A.SassNumber) {
  54403. t1 = this._number$_value;
  54404. t2 = other._number$_value;
  54405. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54406. }
  54407. return this.super$SassNumber$greaterThanOrEquals(other);
  54408. },
  54409. lessThan$1(other) {
  54410. var t1, t2;
  54411. if (other instanceof A.SassNumber) {
  54412. t1 = this._number$_value;
  54413. t2 = other._number$_value;
  54414. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54415. }
  54416. return this.super$SassNumber$lessThan(other);
  54417. },
  54418. lessThanOrEquals$1(other) {
  54419. var t1, t2;
  54420. if (other instanceof A.SassNumber) {
  54421. t1 = this._number$_value;
  54422. t2 = other._number$_value;
  54423. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  54424. }
  54425. return this.super$SassNumber$lessThanOrEquals(other);
  54426. },
  54427. modulo$1(other) {
  54428. if (other instanceof A.SassNumber)
  54429. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  54430. return this.super$SassNumber$modulo(other);
  54431. },
  54432. plus$1(other) {
  54433. if (other instanceof A.SassNumber)
  54434. return other.withValue$1(this._number$_value + other._number$_value);
  54435. return this.super$SassNumber$plus(other);
  54436. },
  54437. minus$1(other) {
  54438. if (other instanceof A.SassNumber)
  54439. return other.withValue$1(this._number$_value - other._number$_value);
  54440. return this.super$SassNumber$minus(other);
  54441. },
  54442. times$1(other) {
  54443. if (other instanceof A.SassNumber)
  54444. return other.withValue$1(this._number$_value * other._number$_value);
  54445. return this.super$SassNumber$times(other);
  54446. },
  54447. dividedBy$1(other) {
  54448. var t1, t2;
  54449. if (other instanceof A.SassNumber) {
  54450. t1 = this._number$_value / other._number$_value;
  54451. if (other.get$hasUnits()) {
  54452. t2 = other.get$denominatorUnits(other);
  54453. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  54454. t1 = t2;
  54455. } else
  54456. t1 = new A.UnitlessSassNumber(t1, null);
  54457. return t1;
  54458. }
  54459. return this.super$SassNumber$dividedBy(other);
  54460. },
  54461. unaryMinus$0() {
  54462. return new A.UnitlessSassNumber(-this._number$_value, null);
  54463. },
  54464. $eq(_, other) {
  54465. if (other == null)
  54466. return false;
  54467. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  54468. },
  54469. get$hashCode(_) {
  54470. var t1 = this.hashCache;
  54471. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  54472. }
  54473. };
  54474. A.SassString.prototype = {
  54475. get$_sassLength() {
  54476. var t1, result, _this = this,
  54477. value = _this.__SassString__sassLength_FI;
  54478. if (value === $) {
  54479. t1 = new A.Runes(_this._string$_text);
  54480. result = t1.get$length(t1);
  54481. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  54482. _this.__SassString__sassLength_FI = result;
  54483. value = result;
  54484. }
  54485. return value;
  54486. },
  54487. get$isSpecialNumber() {
  54488. var t1, t2;
  54489. if (this._hasQuotes)
  54490. return false;
  54491. t1 = this._string$_text;
  54492. if (t1.length < 6)
  54493. return false;
  54494. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  54495. if (t2 === 99) {
  54496. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  54497. if (t2 === 108) {
  54498. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  54499. return false;
  54500. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  54501. return false;
  54502. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  54503. return false;
  54504. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  54505. } else if (t2 === 97) {
  54506. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  54507. return false;
  54508. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  54509. return false;
  54510. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  54511. } else
  54512. return false;
  54513. } else if (t2 === 118) {
  54514. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  54515. return false;
  54516. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  54517. return false;
  54518. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54519. } else if (t2 === 101) {
  54520. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  54521. return false;
  54522. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  54523. return false;
  54524. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54525. } else if (t2 === 109) {
  54526. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  54527. if (t2 === 97) {
  54528. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  54529. return false;
  54530. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54531. } else if (t2 === 105) {
  54532. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  54533. return false;
  54534. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54535. } else
  54536. return false;
  54537. } else
  54538. return false;
  54539. },
  54540. get$isVar() {
  54541. if (this._hasQuotes)
  54542. return false;
  54543. var t1 = this._string$_text;
  54544. if (t1.length < 8)
  54545. return false;
  54546. return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  54547. },
  54548. get$isBlank() {
  54549. return !this._hasQuotes && this._string$_text.length === 0;
  54550. },
  54551. accept$1$1(visitor) {
  54552. var t1 = visitor._quote && this._hasQuotes,
  54553. t2 = this._string$_text;
  54554. if (t1)
  54555. visitor._visitQuotedString$1(t2);
  54556. else
  54557. visitor._visitUnquotedString$1(t2);
  54558. return null;
  54559. },
  54560. accept$1(visitor) {
  54561. return this.accept$1$1(visitor, type$.dynamic);
  54562. },
  54563. assertString$1($name) {
  54564. return this;
  54565. },
  54566. plus$1(other) {
  54567. var t1 = this._string$_text,
  54568. t2 = this._hasQuotes;
  54569. if (other instanceof A.SassString)
  54570. return new A.SassString(t1 + other._string$_text, t2);
  54571. else
  54572. return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  54573. },
  54574. $eq(_, other) {
  54575. if (other == null)
  54576. return false;
  54577. return other instanceof A.SassString && this._string$_text === other._string$_text;
  54578. },
  54579. get$hashCode(_) {
  54580. var t1 = this._hashCache;
  54581. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  54582. }
  54583. };
  54584. A.AnySelectorVisitor.prototype = {
  54585. visitComplexSelector$1(complex) {
  54586. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  54587. },
  54588. visitCompoundSelector$1(compound) {
  54589. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  54590. },
  54591. visitPseudoSelector$1(pseudo) {
  54592. var selector = pseudo.selector;
  54593. return selector == null ? false : this.visitSelectorList$1(selector);
  54594. },
  54595. visitSelectorList$1(list) {
  54596. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  54597. },
  54598. visitAttributeSelector$1(attribute) {
  54599. return false;
  54600. },
  54601. visitClassSelector$1(klass) {
  54602. return false;
  54603. },
  54604. visitIDSelector$1(id) {
  54605. return false;
  54606. },
  54607. visitParentSelector$1($parent) {
  54608. return false;
  54609. },
  54610. visitPlaceholderSelector$1(placeholder) {
  54611. return false;
  54612. },
  54613. visitTypeSelector$1(type) {
  54614. return false;
  54615. },
  54616. visitUniversalSelector$1(universal) {
  54617. return false;
  54618. }
  54619. };
  54620. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  54621. call$1(component) {
  54622. return this.$this.visitCompoundSelector$1(component.selector);
  54623. },
  54624. $signature: 47
  54625. };
  54626. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  54627. call$1(simple) {
  54628. return simple.accept$1(this.$this);
  54629. },
  54630. $signature: 13
  54631. };
  54632. A._EvaluateVisitor0.prototype = {
  54633. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  54634. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  54635. _s20_ = "$name, $module: null",
  54636. _s9_ = "sass:meta",
  54637. t1 = type$.JSArray_AsyncBuiltInCallable,
  54638. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure9(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure10(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure11(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure16(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure17(_this))], t1),
  54639. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
  54640. t1 = type$.AsyncBuiltInCallable;
  54641. t2 = A.List_List$of($.$get$global(), true, t1);
  54642. B.JSArray_methods.addAll$1(t2, $.$get$local());
  54643. B.JSArray_methods.addAll$1(t2, metaFunctions);
  54644. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  54645. 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) {
  54646. module = t1[_i];
  54647. t3.$indexSet(0, module.url, module);
  54648. }
  54649. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  54650. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  54651. B.JSArray_methods.addAll$1(t1, metaFunctions);
  54652. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  54653. $function = t1[_i];
  54654. t4 = J.get$name$x($function);
  54655. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  54656. }
  54657. },
  54658. run$2(_, importer, node) {
  54659. return this.run$body$_EvaluateVisitor(0, importer, node);
  54660. },
  54661. run$body$_EvaluateVisitor(_, importer, node) {
  54662. var $async$goto = 0,
  54663. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  54664. $async$returnValue, $async$self = this, t1;
  54665. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54666. if ($async$errorCode === 1)
  54667. return A._asyncRethrow($async$result, $async$completer);
  54668. while (true)
  54669. switch ($async$goto) {
  54670. case 0:
  54671. // Function start
  54672. t1 = type$.nullable_Object;
  54673. $async$returnValue = 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_EvaluateResult);
  54674. // goto return
  54675. $async$goto = 1;
  54676. break;
  54677. case 1:
  54678. // return
  54679. return A._asyncReturn($async$returnValue, $async$completer);
  54680. }
  54681. });
  54682. return A._asyncStartSync($async$run$2, $async$completer);
  54683. },
  54684. _async_evaluate$_assertInModule$1$2(value, $name) {
  54685. if (value != null)
  54686. return value;
  54687. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  54688. },
  54689. _async_evaluate$_assertInModule$2(value, $name) {
  54690. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  54691. },
  54692. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  54693. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  54694. },
  54695. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  54696. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  54697. },
  54698. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  54699. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  54700. },
  54701. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  54702. var $async$goto = 0,
  54703. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  54704. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  54705. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54706. if ($async$errorCode === 1)
  54707. return A._asyncRethrow($async$result, $async$completer);
  54708. while (true)
  54709. switch ($async$goto) {
  54710. case 0:
  54711. // Function start
  54712. builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
  54713. $async$goto = builtInModule != null ? 3 : 4;
  54714. break;
  54715. case 3:
  54716. // then
  54717. if (configuration instanceof A.ExplicitConfiguration) {
  54718. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  54719. t2 = configuration.nodeWithSpan;
  54720. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  54721. }
  54722. $async$goto = 5;
  54723. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(callback, builtInModule), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  54724. case 5:
  54725. // returning from await.
  54726. // goto return
  54727. $async$goto = 1;
  54728. break;
  54729. case 4:
  54730. // join
  54731. $async$goto = 6;
  54732. 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);
  54733. case 6:
  54734. // returning from await.
  54735. case 1:
  54736. // return
  54737. return A._asyncReturn($async$returnValue, $async$completer);
  54738. }
  54739. });
  54740. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  54741. },
  54742. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  54743. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  54744. },
  54745. _async_evaluate$_execute$2(importer, stylesheet) {
  54746. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  54747. },
  54748. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  54749. var $async$goto = 0,
  54750. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  54751. $async$returnValue, $async$self = this, alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, t1, url;
  54752. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54753. if ($async$errorCode === 1)
  54754. return A._asyncRethrow($async$result, $async$completer);
  54755. while (true)
  54756. switch ($async$goto) {
  54757. case 0:
  54758. // Function start
  54759. t1 = stylesheet.span;
  54760. url = t1.get$sourceUrl(t1);
  54761. t1 = $async$self._async_evaluate$_modules;
  54762. alreadyLoaded = t1.$index(0, url);
  54763. if (alreadyLoaded != null) {
  54764. t1 = configuration == null;
  54765. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  54766. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  54767. t3 = t2.__originalConfiguration;
  54768. t2 = t3 == null ? t2 : t3;
  54769. t3 = currentConfiguration.__originalConfiguration;
  54770. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  54771. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  54772. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  54773. existingSpan = t2 == null ? null : J.get$span$z(t2);
  54774. if (t1) {
  54775. t1 = currentConfiguration.nodeWithSpan;
  54776. configurationSpan = t1.get$span(t1);
  54777. } else
  54778. configurationSpan = null;
  54779. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  54780. if (existingSpan != null)
  54781. t1.$indexSet(0, existingSpan, "original load");
  54782. if (configurationSpan != null)
  54783. t1.$indexSet(0, configurationSpan, "configuration");
  54784. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  54785. }
  54786. $async$returnValue = alreadyLoaded;
  54787. // goto return
  54788. $async$goto = 1;
  54789. break;
  54790. }
  54791. environment = A.AsyncEnvironment$();
  54792. css = A._Cell$();
  54793. extensionStore = A.ExtensionStore$();
  54794. $async$goto = 3;
  54795. return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
  54796. case 3:
  54797. // returning from await.
  54798. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  54799. if (url != null) {
  54800. t1.$indexSet(0, url, module);
  54801. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  54802. if (nodeWithSpan != null)
  54803. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  54804. }
  54805. $async$returnValue = module;
  54806. // goto return
  54807. $async$goto = 1;
  54808. break;
  54809. case 1:
  54810. // return
  54811. return A._asyncReturn($async$returnValue, $async$completer);
  54812. }
  54813. });
  54814. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  54815. },
  54816. _async_evaluate$_addOutOfOrderImports$0() {
  54817. var t1, t2, _this = this, _s5_ = "_root",
  54818. _s13_ = "_endOfImports",
  54819. outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
  54820. if (outOfOrderImports == null)
  54821. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  54822. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  54823. 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("ListMixin.E")), true, type$.ModifiableCssNode);
  54824. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  54825. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  54826. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  54827. return t1;
  54828. },
  54829. _async_evaluate$_combineCss$2$clone(root, clone) {
  54830. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  54831. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
  54832. selectors = root.get$extensionStore().get$simpleSelectors();
  54833. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
  54834. if (unsatisfiedExtension != null)
  54835. _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  54836. return root.get$css(root);
  54837. }
  54838. sortedModules = _this._async_evaluate$_topologicalModules$1(root);
  54839. if (clone) {
  54840. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
  54841. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
  54842. }
  54843. _this._async_evaluate$_extendModules$1(sortedModules);
  54844. t1 = type$.JSArray_CssNode;
  54845. imports = A._setArrayType([], t1);
  54846. css = A._setArrayType([], t1);
  54847. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  54848. t3 = t1.__internal$_current;
  54849. if (t3 == null)
  54850. t3 = t2._as(t3);
  54851. t3 = t3.get$css(t3);
  54852. statements = t3.get$children(t3);
  54853. index = _this._async_evaluate$_indexAfterImports$1(statements);
  54854. t3 = J.getInterceptor$ax(statements);
  54855. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  54856. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  54857. }
  54858. t1 = B.JSArray_methods.$add(imports, css);
  54859. t2 = root.get$css(root);
  54860. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  54861. },
  54862. _async_evaluate$_combineCss$1(root) {
  54863. return this._async_evaluate$_combineCss$2$clone(root, false);
  54864. },
  54865. _async_evaluate$_extendModules$1(sortedModules) {
  54866. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  54867. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  54868. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  54869. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  54870. t2 = t1.get$current(t1);
  54871. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  54872. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  54873. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  54874. t3 = t2.get$extensionStore().get$addExtensions();
  54875. if ($self != null)
  54876. t3.call$1($self);
  54877. t3 = t2.get$extensionStore();
  54878. if (t3.get$isEmpty(t3))
  54879. continue;
  54880. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  54881. upstream = t3[_i];
  54882. url = upstream.get$url(upstream);
  54883. if (url == null)
  54884. continue;
  54885. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
  54886. }
  54887. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  54888. }
  54889. if (unsatisfiedExtensions._collection$_length !== 0)
  54890. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  54891. },
  54892. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  54893. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  54894. },
  54895. _async_evaluate$_topologicalModules$1(root) {
  54896. var t1 = type$.Module_AsyncCallable,
  54897. sorted = A.QueueList$(null, t1);
  54898. new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  54899. return sorted;
  54900. },
  54901. _async_evaluate$_indexAfterImports$1(statements) {
  54902. var t1, t2, t3, lastImport, i, statement;
  54903. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  54904. statement = t1.$index(statements, i);
  54905. if (t3._is(statement))
  54906. lastImport = i;
  54907. else if (!t2._is(statement))
  54908. break;
  54909. }
  54910. return lastImport + 1;
  54911. },
  54912. visitStylesheet$1(node) {
  54913. return this.visitStylesheet$body$_EvaluateVisitor(node);
  54914. },
  54915. visitStylesheet$body$_EvaluateVisitor(node) {
  54916. var $async$goto = 0,
  54917. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54918. $async$returnValue, $async$self = this, t1, t2, _i;
  54919. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54920. if ($async$errorCode === 1)
  54921. return A._asyncRethrow($async$result, $async$completer);
  54922. while (true)
  54923. switch ($async$goto) {
  54924. case 0:
  54925. // Function start
  54926. t1 = node.children, t2 = t1.length, _i = 0;
  54927. case 3:
  54928. // for condition
  54929. if (!(_i < t2)) {
  54930. // goto after for
  54931. $async$goto = 5;
  54932. break;
  54933. }
  54934. $async$goto = 6;
  54935. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  54936. case 6:
  54937. // returning from await.
  54938. case 4:
  54939. // for update
  54940. ++_i;
  54941. // goto for condition
  54942. $async$goto = 3;
  54943. break;
  54944. case 5:
  54945. // after for
  54946. $async$returnValue = null;
  54947. // goto return
  54948. $async$goto = 1;
  54949. break;
  54950. case 1:
  54951. // return
  54952. return A._asyncReturn($async$returnValue, $async$completer);
  54953. }
  54954. });
  54955. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  54956. },
  54957. visitAtRootRule$1(node) {
  54958. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  54959. },
  54960. visitAtRootRule$body$_EvaluateVisitor(node) {
  54961. var $async$goto = 0,
  54962. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54963. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1;
  54964. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54965. if ($async$errorCode === 1)
  54966. return A._asyncRethrow($async$result, $async$completer);
  54967. while (true)
  54968. switch ($async$goto) {
  54969. case 0:
  54970. // Function start
  54971. unparsedQuery = node.query;
  54972. $async$goto = unparsedQuery != null ? 3 : 5;
  54973. break;
  54974. case 3:
  54975. // then
  54976. $async$temp1 = A;
  54977. $async$goto = 6;
  54978. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  54979. case 6:
  54980. // returning from await.
  54981. $async$result = $async$temp1.AtRootQueryParser$($async$result.item1, $async$self._async_evaluate$_logger, null).parse$0();
  54982. // goto join
  54983. $async$goto = 4;
  54984. break;
  54985. case 5:
  54986. // else
  54987. $async$result = B.AtRootQuery_UsS;
  54988. case 4:
  54989. // join
  54990. query = $async$result;
  54991. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  54992. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  54993. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  54994. if (!query.excludes$1($parent))
  54995. included.push($parent);
  54996. grandparent = $parent._parent;
  54997. if (grandparent == null)
  54998. throw A.wrapException(A.StateError$(string$.CssNod));
  54999. }
  55000. root = $async$self._async_evaluate$_trimIncluded$1(included);
  55001. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  55002. break;
  55003. case 7:
  55004. // then
  55005. $async$goto = 9;
  55006. 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);
  55007. case 9:
  55008. // returning from await.
  55009. $async$returnValue = null;
  55010. // goto return
  55011. $async$goto = 1;
  55012. break;
  55013. case 8:
  55014. // join
  55015. if (included.length !== 0) {
  55016. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  55017. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  55018. t3 = t1.__internal$_current;
  55019. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  55020. copy.addChild$1(outerCopy);
  55021. }
  55022. root.addChild$1(outerCopy);
  55023. } else
  55024. innerCopy = root;
  55025. $async$goto = 10;
  55026. 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);
  55027. case 10:
  55028. // returning from await.
  55029. $async$returnValue = null;
  55030. // goto return
  55031. $async$goto = 1;
  55032. break;
  55033. case 1:
  55034. // return
  55035. return A._asyncReturn($async$returnValue, $async$completer);
  55036. }
  55037. });
  55038. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  55039. },
  55040. _async_evaluate$_trimIncluded$1(nodes) {
  55041. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  55042. _s22_ = " to be an ancestor of ";
  55043. if (nodes.length === 0)
  55044. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  55045. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  55046. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  55047. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  55048. grandparent = $parent._parent;
  55049. if (grandparent == null)
  55050. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  55051. }
  55052. if (innermostContiguous == null)
  55053. innermostContiguous = i;
  55054. grandparent = $parent._parent;
  55055. if (grandparent == null)
  55056. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  55057. }
  55058. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  55059. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  55060. innermostContiguous.toString;
  55061. root = nodes[innermostContiguous];
  55062. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  55063. return root;
  55064. },
  55065. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  55066. var _this = this,
  55067. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  55068. t1 = query._all || query._at_root_query$_rule;
  55069. if (t1 !== query.include)
  55070. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  55071. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  55072. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  55073. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  55074. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  55075. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  55076. },
  55077. visitContentBlock$1(node) {
  55078. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  55079. },
  55080. visitContentRule$1(node) {
  55081. return this.visitContentRule$body$_EvaluateVisitor(node);
  55082. },
  55083. visitContentRule$body$_EvaluateVisitor(node) {
  55084. var $async$goto = 0,
  55085. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55086. $async$returnValue, $async$self = this, $content;
  55087. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55088. if ($async$errorCode === 1)
  55089. return A._asyncRethrow($async$result, $async$completer);
  55090. while (true)
  55091. switch ($async$goto) {
  55092. case 0:
  55093. // Function start
  55094. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  55095. if ($content == null) {
  55096. $async$returnValue = null;
  55097. // goto return
  55098. $async$goto = 1;
  55099. break;
  55100. }
  55101. $async$goto = 3;
  55102. 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);
  55103. case 3:
  55104. // returning from await.
  55105. $async$returnValue = null;
  55106. // goto return
  55107. $async$goto = 1;
  55108. break;
  55109. case 1:
  55110. // return
  55111. return A._asyncReturn($async$returnValue, $async$completer);
  55112. }
  55113. });
  55114. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  55115. },
  55116. visitDebugRule$1(node) {
  55117. return this.visitDebugRule$body$_EvaluateVisitor(node);
  55118. },
  55119. visitDebugRule$body$_EvaluateVisitor(node) {
  55120. var $async$goto = 0,
  55121. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55122. $async$returnValue, $async$self = this, value, t1;
  55123. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55124. if ($async$errorCode === 1)
  55125. return A._asyncRethrow($async$result, $async$completer);
  55126. while (true)
  55127. switch ($async$goto) {
  55128. case 0:
  55129. // Function start
  55130. $async$goto = 3;
  55131. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  55132. case 3:
  55133. // returning from await.
  55134. value = $async$result;
  55135. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  55136. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  55137. $async$returnValue = null;
  55138. // goto return
  55139. $async$goto = 1;
  55140. break;
  55141. case 1:
  55142. // return
  55143. return A._asyncReturn($async$returnValue, $async$completer);
  55144. }
  55145. });
  55146. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  55147. },
  55148. visitDeclaration$1(node) {
  55149. return this.visitDeclaration$body$_EvaluateVisitor(node);
  55150. },
  55151. visitDeclaration$body$_EvaluateVisitor(node) {
  55152. var $async$goto = 0,
  55153. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55154. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  55155. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55156. if ($async$errorCode === 1)
  55157. return A._asyncRethrow($async$result, $async$completer);
  55158. while (true)
  55159. switch ($async$goto) {
  55160. case 0:
  55161. // Function start
  55162. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  55163. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  55164. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  55165. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  55166. t1 = node.name;
  55167. $async$goto = 3;
  55168. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  55169. case 3:
  55170. // returning from await.
  55171. $name = $async$result;
  55172. t2 = $async$self._async_evaluate$_declarationName;
  55173. if (t2 != null)
  55174. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  55175. t2 = node.value;
  55176. $async$goto = 4;
  55177. return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
  55178. case 4:
  55179. // returning from await.
  55180. cssValue = $async$result;
  55181. t3 = cssValue != null;
  55182. if (t3) {
  55183. t4 = cssValue.value;
  55184. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  55185. } else
  55186. t4 = false;
  55187. if (t4) {
  55188. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  55189. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  55190. if ($async$self._async_evaluate$_sourceMap) {
  55191. t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
  55192. t2 = t2 == null ? null : J.get$span$z(t2);
  55193. } else
  55194. t2 = null;
  55195. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  55196. } else if (J.startsWith$1$s($name.value, "--") && t3)
  55197. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.span));
  55198. children = node.children;
  55199. $async$goto = children != null ? 5 : 6;
  55200. break;
  55201. case 5:
  55202. // then
  55203. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  55204. $async$self._async_evaluate$_declarationName = $name.value;
  55205. $async$goto = 7;
  55206. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  55207. case 7:
  55208. // returning from await.
  55209. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  55210. case 6:
  55211. // join
  55212. $async$returnValue = null;
  55213. // goto return
  55214. $async$goto = 1;
  55215. break;
  55216. case 1:
  55217. // return
  55218. return A._asyncReturn($async$returnValue, $async$completer);
  55219. }
  55220. });
  55221. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  55222. },
  55223. visitEachRule$1(node) {
  55224. return this.visitEachRule$body$_EvaluateVisitor(node);
  55225. },
  55226. visitEachRule$body$_EvaluateVisitor(node) {
  55227. var $async$goto = 0,
  55228. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55229. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  55230. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55231. if ($async$errorCode === 1)
  55232. return A._asyncRethrow($async$result, $async$completer);
  55233. while (true)
  55234. switch ($async$goto) {
  55235. case 0:
  55236. // Function start
  55237. t1 = node.list;
  55238. $async$goto = 3;
  55239. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  55240. case 3:
  55241. // returning from await.
  55242. list = $async$result;
  55243. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  55244. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
  55245. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, setVariables, node), true, type$.nullable_Value);
  55246. // goto return
  55247. $async$goto = 1;
  55248. break;
  55249. case 1:
  55250. // return
  55251. return A._asyncReturn($async$returnValue, $async$completer);
  55252. }
  55253. });
  55254. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  55255. },
  55256. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  55257. var i,
  55258. list = value.get$asList(),
  55259. t1 = variables.length,
  55260. minLength = Math.min(t1, list.length);
  55261. for (i = 0; i < minLength; ++i)
  55262. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  55263. for (i = minLength; i < t1; ++i)
  55264. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  55265. },
  55266. visitErrorRule$1(node) {
  55267. return this.visitErrorRule$body$_EvaluateVisitor(node);
  55268. },
  55269. visitErrorRule$body$_EvaluateVisitor(node) {
  55270. var $async$goto = 0,
  55271. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55272. $async$self = this, $async$temp1, $async$temp2;
  55273. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55274. if ($async$errorCode === 1)
  55275. return A._asyncRethrow($async$result, $async$completer);
  55276. while (true)
  55277. switch ($async$goto) {
  55278. case 0:
  55279. // Function start
  55280. $async$temp1 = A;
  55281. $async$temp2 = J;
  55282. $async$goto = 2;
  55283. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  55284. case 2:
  55285. // returning from await.
  55286. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  55287. // implicit return
  55288. return A._asyncReturn(null, $async$completer);
  55289. }
  55290. });
  55291. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  55292. },
  55293. visitExtendRule$1(node) {
  55294. return this.visitExtendRule$body$_EvaluateVisitor(node);
  55295. },
  55296. visitExtendRule$body$_EvaluateVisitor(node) {
  55297. var $async$goto = 0,
  55298. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55299. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, targetText, targetMap, compound, styleRule;
  55300. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55301. if ($async$errorCode === 1)
  55302. return A._asyncRethrow($async$result, $async$completer);
  55303. while (true)
  55304. switch ($async$goto) {
  55305. case 0:
  55306. // Function start
  55307. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  55308. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  55309. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  55310. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  55311. complex = t1[_i];
  55312. if (!complex.accept$1(B._IsBogusVisitor_true))
  55313. continue;
  55314. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  55315. complex.accept$1(visitor);
  55316. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  55317. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  55318. $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_vrR);
  55319. }
  55320. $async$goto = 3;
  55321. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  55322. case 3:
  55323. // returning from await.
  55324. tuple = $async$result;
  55325. targetText = tuple.item1;
  55326. targetMap = tuple.item2;
  55327. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, true, targetMap, $async$self._async_evaluate$_logger).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  55328. complex = t1[_i];
  55329. if (complex.leadingCombinators.length === 0) {
  55330. t4 = complex.components;
  55331. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  55332. } else
  55333. t4 = false;
  55334. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  55335. if (compound == null)
  55336. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span));
  55337. t4 = compound.components;
  55338. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  55339. if (t5 == null)
  55340. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span));
  55341. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  55342. }
  55343. $async$returnValue = null;
  55344. // goto return
  55345. $async$goto = 1;
  55346. break;
  55347. case 1:
  55348. // return
  55349. return A._asyncReturn($async$returnValue, $async$completer);
  55350. }
  55351. });
  55352. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  55353. },
  55354. visitAtRule$1(node) {
  55355. return this.visitAtRule$body$_EvaluateVisitor(node);
  55356. },
  55357. visitAtRule$body$_EvaluateVisitor(node) {
  55358. var $async$goto = 0,
  55359. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55360. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  55361. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55362. if ($async$errorCode === 1)
  55363. return A._asyncRethrow($async$result, $async$completer);
  55364. while (true)
  55365. switch ($async$goto) {
  55366. case 0:
  55367. // Function start
  55368. if ($async$self._async_evaluate$_declarationName != null)
  55369. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  55370. $async$goto = 3;
  55371. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  55372. case 3:
  55373. // returning from await.
  55374. $name = $async$result;
  55375. $async$goto = 4;
  55376. return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
  55377. case 4:
  55378. // returning from await.
  55379. value = $async$result;
  55380. children = node.children;
  55381. if (children == null) {
  55382. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  55383. $async$returnValue = null;
  55384. // goto return
  55385. $async$goto = 1;
  55386. break;
  55387. }
  55388. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  55389. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  55390. if (A.unvendor($name.value) === "keyframes")
  55391. $async$self._async_evaluate$_inKeyframes = true;
  55392. else
  55393. $async$self._async_evaluate$_inUnknownAtRule = true;
  55394. $async$goto = 5;
  55395. 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);
  55396. case 5:
  55397. // returning from await.
  55398. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  55399. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  55400. $async$returnValue = null;
  55401. // goto return
  55402. $async$goto = 1;
  55403. break;
  55404. case 1:
  55405. // return
  55406. return A._asyncReturn($async$returnValue, $async$completer);
  55407. }
  55408. });
  55409. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  55410. },
  55411. visitForRule$1(node) {
  55412. return this.visitForRule$body$_EvaluateVisitor(node);
  55413. },
  55414. visitForRule$body$_EvaluateVisitor(node) {
  55415. var $async$goto = 0,
  55416. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55417. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  55418. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55419. if ($async$errorCode === 1)
  55420. return A._asyncRethrow($async$result, $async$completer);
  55421. while (true)
  55422. switch ($async$goto) {
  55423. case 0:
  55424. // Function start
  55425. t1 = {};
  55426. t2 = node.from;
  55427. t3 = type$.SassNumber;
  55428. $async$goto = 3;
  55429. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  55430. case 3:
  55431. // returning from await.
  55432. fromNumber = $async$result;
  55433. t4 = node.to;
  55434. $async$goto = 4;
  55435. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  55436. case 4:
  55437. // returning from await.
  55438. toNumber = $async$result;
  55439. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  55440. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  55441. direction = from > to ? -1 : 1;
  55442. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  55443. $async$returnValue = null;
  55444. // goto return
  55445. $async$goto = 1;
  55446. break;
  55447. }
  55448. $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);
  55449. // goto return
  55450. $async$goto = 1;
  55451. break;
  55452. case 1:
  55453. // return
  55454. return A._asyncReturn($async$returnValue, $async$completer);
  55455. }
  55456. });
  55457. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  55458. },
  55459. visitForwardRule$1(node) {
  55460. return this.visitForwardRule$body$_EvaluateVisitor(node);
  55461. },
  55462. visitForwardRule$body$_EvaluateVisitor(node) {
  55463. var $async$goto = 0,
  55464. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55465. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  55466. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55467. if ($async$errorCode === 1)
  55468. return A._asyncRethrow($async$result, $async$completer);
  55469. while (true)
  55470. switch ($async$goto) {
  55471. case 0:
  55472. // Function start
  55473. oldConfiguration = $async$self._async_evaluate$_configuration;
  55474. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  55475. t1 = node.configuration;
  55476. t2 = t1.length;
  55477. t3 = node.url;
  55478. $async$goto = t2 !== 0 ? 3 : 5;
  55479. break;
  55480. case 3:
  55481. // then
  55482. $async$goto = 6;
  55483. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  55484. case 6:
  55485. // returning from await.
  55486. newConfiguration = $async$result;
  55487. $async$goto = 7;
  55488. 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);
  55489. case 7:
  55490. // returning from await.
  55491. t3 = type$.String;
  55492. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  55493. for (_i = 0; _i < t2; ++_i) {
  55494. variable = t1[_i];
  55495. if (!variable.isGuarded)
  55496. t4.add$1(0, variable.name);
  55497. }
  55498. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  55499. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  55500. for (_i = 0; _i < t2; ++_i)
  55501. t3.add$1(0, t1[_i].name);
  55502. for (t1 = newConfiguration._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) {
  55503. $name = t2[_i];
  55504. if (!t3.contains$1(0, $name))
  55505. if (!t1.get$isEmpty(t1))
  55506. t1.remove$1(0, $name);
  55507. }
  55508. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  55509. // goto join
  55510. $async$goto = 4;
  55511. break;
  55512. case 5:
  55513. // else
  55514. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  55515. $async$goto = 8;
  55516. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  55517. case 8:
  55518. // returning from await.
  55519. $async$self._async_evaluate$_configuration = oldConfiguration;
  55520. case 4:
  55521. // join
  55522. $async$returnValue = null;
  55523. // goto return
  55524. $async$goto = 1;
  55525. break;
  55526. case 1:
  55527. // return
  55528. return A._asyncReturn($async$returnValue, $async$completer);
  55529. }
  55530. });
  55531. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  55532. },
  55533. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  55534. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  55535. },
  55536. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  55537. var $async$goto = 0,
  55538. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  55539. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  55540. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55541. if ($async$errorCode === 1)
  55542. return A._asyncRethrow($async$result, $async$completer);
  55543. while (true)
  55544. switch ($async$goto) {
  55545. case 0:
  55546. // Function start
  55547. t1 = configuration._values;
  55548. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  55549. t2 = node.configuration, t3 = t2.length, _i = 0;
  55550. case 3:
  55551. // for condition
  55552. if (!(_i < t3)) {
  55553. // goto after for
  55554. $async$goto = 5;
  55555. break;
  55556. }
  55557. variable = t2[_i];
  55558. if (variable.isGuarded) {
  55559. t4 = variable.name;
  55560. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  55561. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  55562. newValues.$indexSet(0, t4, t5);
  55563. // goto for update
  55564. $async$goto = 4;
  55565. break;
  55566. }
  55567. }
  55568. t4 = variable.expression;
  55569. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
  55570. $async$temp1 = newValues;
  55571. $async$temp2 = variable.name;
  55572. $async$temp3 = A;
  55573. $async$goto = 6;
  55574. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
  55575. case 6:
  55576. // returning from await.
  55577. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  55578. case 4:
  55579. // for update
  55580. ++_i;
  55581. // goto for condition
  55582. $async$goto = 3;
  55583. break;
  55584. case 5:
  55585. // after for
  55586. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  55587. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  55588. // goto return
  55589. $async$goto = 1;
  55590. break;
  55591. } else {
  55592. $async$returnValue = new A.Configuration(newValues, null);
  55593. // goto return
  55594. $async$goto = 1;
  55595. break;
  55596. }
  55597. case 1:
  55598. // return
  55599. return A._asyncReturn($async$returnValue, $async$completer);
  55600. }
  55601. });
  55602. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  55603. },
  55604. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  55605. var t1, t2, t3, t4, _i, $name;
  55606. for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55607. $name = t2[_i];
  55608. if (except.contains$1(0, $name))
  55609. continue;
  55610. if (!t4.containsKey$1($name))
  55611. if (!t1.get$isEmpty(t1))
  55612. t1.remove$1(0, $name);
  55613. }
  55614. },
  55615. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  55616. var t1, entry;
  55617. if (!(configuration instanceof A.ExplicitConfiguration))
  55618. return;
  55619. t1 = configuration._values;
  55620. if (t1.get$isEmpty(t1))
  55621. return;
  55622. t1 = t1.get$entries(t1);
  55623. entry = t1.get$first(t1);
  55624. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  55625. throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
  55626. },
  55627. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  55628. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  55629. },
  55630. visitFunctionRule$1(node) {
  55631. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  55632. },
  55633. visitFunctionRule$body$_EvaluateVisitor(node) {
  55634. var $async$goto = 0,
  55635. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55636. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  55637. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55638. if ($async$errorCode === 1)
  55639. return A._asyncRethrow($async$result, $async$completer);
  55640. while (true)
  55641. switch ($async$goto) {
  55642. case 0:
  55643. // Function start
  55644. t1 = $async$self._async_evaluate$_environment;
  55645. t2 = t1.closure$0();
  55646. t3 = $async$self._async_evaluate$_inDependency;
  55647. t4 = t1._async_environment$_functions;
  55648. index = t4.length - 1;
  55649. t5 = node.name;
  55650. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  55651. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  55652. $async$returnValue = null;
  55653. // goto return
  55654. $async$goto = 1;
  55655. break;
  55656. case 1:
  55657. // return
  55658. return A._asyncReturn($async$returnValue, $async$completer);
  55659. }
  55660. });
  55661. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  55662. },
  55663. visitIfRule$1(node) {
  55664. return this.visitIfRule$body$_EvaluateVisitor(node);
  55665. },
  55666. visitIfRule$body$_EvaluateVisitor(node) {
  55667. var $async$goto = 0,
  55668. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55669. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  55670. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55671. if ($async$errorCode === 1)
  55672. return A._asyncRethrow($async$result, $async$completer);
  55673. while (true)
  55674. switch ($async$goto) {
  55675. case 0:
  55676. // Function start
  55677. _box_0 = {};
  55678. _box_0.clause = node.lastClause;
  55679. t1 = node.clauses, t2 = t1.length, _i = 0;
  55680. case 3:
  55681. // for condition
  55682. if (!(_i < t2)) {
  55683. // goto after for
  55684. $async$goto = 5;
  55685. break;
  55686. }
  55687. clauseToCheck = t1[_i];
  55688. $async$goto = 6;
  55689. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  55690. case 6:
  55691. // returning from await.
  55692. if ($async$result.get$isTruthy()) {
  55693. _box_0.clause = clauseToCheck;
  55694. // goto after for
  55695. $async$goto = 5;
  55696. break;
  55697. }
  55698. case 4:
  55699. // for update
  55700. ++_i;
  55701. // goto for condition
  55702. $async$goto = 3;
  55703. break;
  55704. case 5:
  55705. // after for
  55706. t1 = _box_0.clause;
  55707. if (t1 == null) {
  55708. $async$returnValue = null;
  55709. // goto return
  55710. $async$goto = 1;
  55711. break;
  55712. }
  55713. $async$goto = 7;
  55714. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure0(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value), $async$visitIfRule$1);
  55715. case 7:
  55716. // returning from await.
  55717. $async$returnValue = $async$result;
  55718. // goto return
  55719. $async$goto = 1;
  55720. break;
  55721. case 1:
  55722. // return
  55723. return A._asyncReturn($async$returnValue, $async$completer);
  55724. }
  55725. });
  55726. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  55727. },
  55728. visitImportRule$1(node) {
  55729. return this.visitImportRule$body$_EvaluateVisitor(node);
  55730. },
  55731. visitImportRule$body$_EvaluateVisitor(node) {
  55732. var $async$goto = 0,
  55733. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55734. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  55735. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55736. if ($async$errorCode === 1)
  55737. return A._asyncRethrow($async$result, $async$completer);
  55738. while (true)
  55739. switch ($async$goto) {
  55740. case 0:
  55741. // Function start
  55742. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  55743. case 3:
  55744. // for condition
  55745. if (!(_i < t2)) {
  55746. // goto after for
  55747. $async$goto = 5;
  55748. break;
  55749. }
  55750. $import = t1[_i];
  55751. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  55752. break;
  55753. case 6:
  55754. // then
  55755. $async$goto = 9;
  55756. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  55757. case 9:
  55758. // returning from await.
  55759. // goto join
  55760. $async$goto = 7;
  55761. break;
  55762. case 8:
  55763. // else
  55764. $async$goto = 10;
  55765. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  55766. case 10:
  55767. // returning from await.
  55768. case 7:
  55769. // join
  55770. case 4:
  55771. // for update
  55772. ++_i;
  55773. // goto for condition
  55774. $async$goto = 3;
  55775. break;
  55776. case 5:
  55777. // after for
  55778. $async$returnValue = null;
  55779. // goto return
  55780. $async$goto = 1;
  55781. break;
  55782. case 1:
  55783. // return
  55784. return A._asyncReturn($async$returnValue, $async$completer);
  55785. }
  55786. });
  55787. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  55788. },
  55789. _async_evaluate$_visitDynamicImport$1($import) {
  55790. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  55791. },
  55792. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  55793. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  55794. },
  55795. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  55796. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  55797. },
  55798. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  55799. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  55800. },
  55801. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  55802. var $async$goto = 0,
  55803. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
  55804. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  55805. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55806. if ($async$errorCode === 1) {
  55807. $async$currentError = $async$result;
  55808. $async$goto = $async$handler;
  55809. }
  55810. while (true)
  55811. switch ($async$goto) {
  55812. case 0:
  55813. // Function start
  55814. baseUrl = baseUrl;
  55815. $async$handler = 4;
  55816. $async$self._async_evaluate$_importSpan = span;
  55817. importCache = $async$self._async_evaluate$_importCache;
  55818. $async$goto = importCache != null ? 7 : 9;
  55819. break;
  55820. case 7:
  55821. // then
  55822. if (baseUrl == null) {
  55823. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  55824. baseUrl = t1.get$sourceUrl(t1);
  55825. }
  55826. $async$goto = 10;
  55827. 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);
  55828. case 10:
  55829. // returning from await.
  55830. tuple = $async$result;
  55831. $async$goto = tuple != null ? 11 : 12;
  55832. break;
  55833. case 11:
  55834. // then
  55835. isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
  55836. t1 = tuple.item1;
  55837. t2 = tuple.item2;
  55838. t3 = tuple.item3;
  55839. t4 = $async$self._async_evaluate$_quietDeps && isDependency;
  55840. $async$goto = 13;
  55841. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  55842. case 13:
  55843. // returning from await.
  55844. stylesheet = $async$result;
  55845. if (stylesheet != null) {
  55846. $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
  55847. t1 = tuple.item1;
  55848. $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
  55849. $async$next = [1];
  55850. // goto finally
  55851. $async$goto = 5;
  55852. break;
  55853. }
  55854. case 12:
  55855. // join
  55856. // goto join
  55857. $async$goto = 8;
  55858. break;
  55859. case 9:
  55860. // else
  55861. t1 = baseUrl;
  55862. if (t1 == null) {
  55863. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  55864. t1 = t1.get$sourceUrl(t1);
  55865. }
  55866. $async$goto = 14;
  55867. return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  55868. case 14:
  55869. // returning from await.
  55870. result = $async$result;
  55871. if (result != null) {
  55872. t1 = result.stylesheet.span;
  55873. t2 = $async$self._async_evaluate$_loadedUrls;
  55874. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  55875. $async$returnValue = result;
  55876. $async$next = [1];
  55877. // goto finally
  55878. $async$goto = 5;
  55879. break;
  55880. }
  55881. case 8:
  55882. // join
  55883. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  55884. throw A.wrapException(string$.x22packa);
  55885. else
  55886. throw A.wrapException("Can't find stylesheet to import.");
  55887. $async$next.push(6);
  55888. // goto finally
  55889. $async$goto = 5;
  55890. break;
  55891. case 4:
  55892. // catch
  55893. $async$handler = 3;
  55894. $async$exception = $async$currentError;
  55895. t1 = A.unwrapException($async$exception);
  55896. if (t1 instanceof A.SassException)
  55897. throw $async$exception;
  55898. else if (t1 instanceof A.ArgumentError) {
  55899. error = t1;
  55900. stackTrace = A.getTraceFromException($async$exception);
  55901. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), stackTrace);
  55902. } else {
  55903. error0 = t1;
  55904. stackTrace0 = A.getTraceFromException($async$exception);
  55905. message = null;
  55906. try {
  55907. message = A._asString(J.get$message$x(error0));
  55908. } catch (exception) {
  55909. message0 = J.toString$0$(error0);
  55910. message = message0;
  55911. }
  55912. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
  55913. }
  55914. $async$next.push(6);
  55915. // goto finally
  55916. $async$goto = 5;
  55917. break;
  55918. case 3:
  55919. // uncaught
  55920. $async$next = [2];
  55921. case 5:
  55922. // finally
  55923. $async$handler = 2;
  55924. $async$self._async_evaluate$_importSpan = null;
  55925. // goto the next finally handler
  55926. $async$goto = $async$next.pop();
  55927. break;
  55928. case 6:
  55929. // after finally
  55930. case 1:
  55931. // return
  55932. return A._asyncReturn($async$returnValue, $async$completer);
  55933. case 2:
  55934. // rethrow
  55935. return A._asyncRethrow($async$currentError, $async$completer);
  55936. }
  55937. });
  55938. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  55939. },
  55940. _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
  55941. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  55942. },
  55943. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  55944. var $async$goto = 0,
  55945. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
  55946. $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
  55947. var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55948. if ($async$errorCode === 1)
  55949. return A._asyncRethrow($async$result, $async$completer);
  55950. while (true)
  55951. switch ($async$goto) {
  55952. case 0:
  55953. // Function start
  55954. result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
  55955. isDependency = $async$self._async_evaluate$_inDependency;
  55956. url = result.item2;
  55957. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  55958. t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
  55959. $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
  55960. // goto return
  55961. $async$goto = 1;
  55962. break;
  55963. case 1:
  55964. // return
  55965. return A._asyncReturn($async$returnValue, $async$completer);
  55966. }
  55967. });
  55968. return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
  55969. },
  55970. _visitStaticImport$1($import) {
  55971. return this._visitStaticImport$body$_EvaluateVisitor($import);
  55972. },
  55973. _visitStaticImport$body$_EvaluateVisitor($import) {
  55974. var $async$goto = 0,
  55975. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  55976. $async$self = this, t1, node, $async$temp1, $async$temp2;
  55977. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55978. if ($async$errorCode === 1)
  55979. return A._asyncRethrow($async$result, $async$completer);
  55980. while (true)
  55981. switch ($async$goto) {
  55982. case 0:
  55983. // Function start
  55984. $async$temp1 = A;
  55985. $async$goto = 2;
  55986. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  55987. case 2:
  55988. // returning from await.
  55989. $async$temp2 = $async$result;
  55990. $async$goto = 3;
  55991. return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
  55992. case 3:
  55993. // returning from await.
  55994. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  55995. 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"))
  55996. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  55997. 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)) {
  55998. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  55999. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56000. } else {
  56001. t1 = $async$self._async_evaluate$_outOfOrderImports;
  56002. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  56003. }
  56004. // implicit return
  56005. return A._asyncReturn(null, $async$completer);
  56006. }
  56007. });
  56008. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  56009. },
  56010. visitIncludeRule$1(node) {
  56011. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  56012. },
  56013. visitIncludeRule$body$_EvaluateVisitor(node) {
  56014. var $async$goto = 0,
  56015. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56016. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  56017. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56018. if ($async$errorCode === 1)
  56019. return A._asyncRethrow($async$result, $async$completer);
  56020. while (true)
  56021. switch ($async$goto) {
  56022. case 0:
  56023. // Function start
  56024. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
  56025. if (mixin == null)
  56026. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
  56027. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
  56028. $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
  56029. break;
  56030. case 3:
  56031. // then
  56032. if (node.content != null)
  56033. throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
  56034. $async$goto = 6;
  56035. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  56036. case 6:
  56037. // returning from await.
  56038. // goto join
  56039. $async$goto = 4;
  56040. break;
  56041. case 5:
  56042. // else
  56043. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
  56044. break;
  56045. case 7:
  56046. // then
  56047. t1 = node.content;
  56048. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  56049. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(node.get$spanWithoutContent())));
  56050. $async$goto = 10;
  56051. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure5($async$self, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure6($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
  56052. case 10:
  56053. // returning from await.
  56054. // goto join
  56055. $async$goto = 8;
  56056. break;
  56057. case 9:
  56058. // else
  56059. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  56060. case 8:
  56061. // join
  56062. case 4:
  56063. // join
  56064. $async$returnValue = null;
  56065. // goto return
  56066. $async$goto = 1;
  56067. break;
  56068. case 1:
  56069. // return
  56070. return A._asyncReturn($async$returnValue, $async$completer);
  56071. }
  56072. });
  56073. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  56074. },
  56075. visitMixinRule$1(node) {
  56076. return this.visitMixinRule$body$_EvaluateVisitor(node);
  56077. },
  56078. visitMixinRule$body$_EvaluateVisitor(node) {
  56079. var $async$goto = 0,
  56080. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56081. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  56082. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56083. if ($async$errorCode === 1)
  56084. return A._asyncRethrow($async$result, $async$completer);
  56085. while (true)
  56086. switch ($async$goto) {
  56087. case 0:
  56088. // Function start
  56089. t1 = $async$self._async_evaluate$_environment;
  56090. t2 = t1.closure$0();
  56091. t3 = $async$self._async_evaluate$_inDependency;
  56092. t4 = t1._async_environment$_mixins;
  56093. index = t4.length - 1;
  56094. t5 = node.name;
  56095. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  56096. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  56097. $async$returnValue = null;
  56098. // goto return
  56099. $async$goto = 1;
  56100. break;
  56101. case 1:
  56102. // return
  56103. return A._asyncReturn($async$returnValue, $async$completer);
  56104. }
  56105. });
  56106. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  56107. },
  56108. visitLoudComment$1(node) {
  56109. return this.visitLoudComment$body$_EvaluateVisitor(node);
  56110. },
  56111. visitLoudComment$body$_EvaluateVisitor(node) {
  56112. var $async$goto = 0,
  56113. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56114. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  56115. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56116. if ($async$errorCode === 1)
  56117. return A._asyncRethrow($async$result, $async$completer);
  56118. while (true)
  56119. switch ($async$goto) {
  56120. case 0:
  56121. // Function start
  56122. if ($async$self._async_evaluate$_inFunction) {
  56123. $async$returnValue = null;
  56124. // goto return
  56125. $async$goto = 1;
  56126. break;
  56127. }
  56128. 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))
  56129. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56130. t1 = node.text;
  56131. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  56132. $async$temp2 = A;
  56133. $async$goto = 3;
  56134. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  56135. case 3:
  56136. // returning from await.
  56137. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  56138. $async$returnValue = null;
  56139. // goto return
  56140. $async$goto = 1;
  56141. break;
  56142. case 1:
  56143. // return
  56144. return A._asyncReturn($async$returnValue, $async$completer);
  56145. }
  56146. });
  56147. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  56148. },
  56149. visitMediaRule$1(node) {
  56150. return this.visitMediaRule$body$_EvaluateVisitor(node);
  56151. },
  56152. visitMediaRule$body$_EvaluateVisitor(node) {
  56153. var $async$goto = 0,
  56154. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56155. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  56156. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56157. if ($async$errorCode === 1)
  56158. return A._asyncRethrow($async$result, $async$completer);
  56159. while (true)
  56160. switch ($async$goto) {
  56161. case 0:
  56162. // Function start
  56163. if ($async$self._async_evaluate$_declarationName != null)
  56164. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  56165. $async$goto = 3;
  56166. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  56167. case 3:
  56168. // returning from await.
  56169. queries = $async$result;
  56170. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  56171. t1 = mergedQueries == null;
  56172. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  56173. $async$returnValue = null;
  56174. // goto return
  56175. $async$goto = 1;
  56176. break;
  56177. }
  56178. if (t1)
  56179. mergedSources = B.Set_empty0;
  56180. else {
  56181. t2 = $async$self._async_evaluate$_mediaQuerySources;
  56182. t2.toString;
  56183. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  56184. t3 = $async$self._async_evaluate$_mediaQueries;
  56185. t3.toString;
  56186. t2.addAll$1(0, t3);
  56187. t2.addAll$1(0, queries);
  56188. mergedSources = t2;
  56189. }
  56190. t1 = t1 ? queries : mergedQueries;
  56191. $async$goto = 4;
  56192. 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);
  56193. case 4:
  56194. // returning from await.
  56195. $async$returnValue = null;
  56196. // goto return
  56197. $async$goto = 1;
  56198. break;
  56199. case 1:
  56200. // return
  56201. return A._asyncReturn($async$returnValue, $async$completer);
  56202. }
  56203. });
  56204. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  56205. },
  56206. _visitMediaQueries$1(interpolation) {
  56207. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  56208. },
  56209. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  56210. var $async$goto = 0,
  56211. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  56212. $async$returnValue, $async$self = this, tuple;
  56213. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56214. if ($async$errorCode === 1)
  56215. return A._asyncRethrow($async$result, $async$completer);
  56216. while (true)
  56217. switch ($async$goto) {
  56218. case 0:
  56219. // Function start
  56220. $async$goto = 3;
  56221. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  56222. case 3:
  56223. // returning from await.
  56224. tuple = $async$result;
  56225. $async$returnValue = A.CssMediaQuery_parseList(tuple.item1, tuple.item2, $async$self._async_evaluate$_logger);
  56226. // goto return
  56227. $async$goto = 1;
  56228. break;
  56229. case 1:
  56230. // return
  56231. return A._asyncReturn($async$returnValue, $async$completer);
  56232. }
  56233. });
  56234. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  56235. },
  56236. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  56237. var t1, t2, t3, t4, t5, result,
  56238. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  56239. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  56240. t4 = t1.get$current(t1);
  56241. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  56242. result = t4.merge$1(t5.get$current(t5));
  56243. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  56244. continue;
  56245. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  56246. return null;
  56247. queries.push(t3._as(result).query);
  56248. }
  56249. }
  56250. return queries;
  56251. },
  56252. visitReturnRule$1(node) {
  56253. return this.visitReturnRule$body$_EvaluateVisitor(node);
  56254. },
  56255. visitReturnRule$body$_EvaluateVisitor(node) {
  56256. var $async$goto = 0,
  56257. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56258. $async$returnValue, $async$self = this, t1;
  56259. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56260. if ($async$errorCode === 1)
  56261. return A._asyncRethrow($async$result, $async$completer);
  56262. while (true)
  56263. switch ($async$goto) {
  56264. case 0:
  56265. // Function start
  56266. t1 = node.expression;
  56267. $async$goto = 3;
  56268. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  56269. case 3:
  56270. // returning from await.
  56271. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  56272. // goto return
  56273. $async$goto = 1;
  56274. break;
  56275. case 1:
  56276. // return
  56277. return A._asyncReturn($async$returnValue, $async$completer);
  56278. }
  56279. });
  56280. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  56281. },
  56282. visitSilentComment$1(node) {
  56283. return this.visitSilentComment$body$_EvaluateVisitor(node);
  56284. },
  56285. visitSilentComment$body$_EvaluateVisitor(node) {
  56286. var $async$goto = 0,
  56287. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56288. $async$returnValue;
  56289. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56290. if ($async$errorCode === 1)
  56291. return A._asyncRethrow($async$result, $async$completer);
  56292. while (true)
  56293. switch ($async$goto) {
  56294. case 0:
  56295. // Function start
  56296. $async$returnValue = null;
  56297. // goto return
  56298. $async$goto = 1;
  56299. break;
  56300. case 1:
  56301. // return
  56302. return A._asyncReturn($async$returnValue, $async$completer);
  56303. }
  56304. });
  56305. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  56306. },
  56307. visitStyleRule$1(node) {
  56308. return this.visitStyleRule$body$_EvaluateVisitor(node);
  56309. },
  56310. visitStyleRule$body$_EvaluateVisitor(node) {
  56311. var $async$goto = 0,
  56312. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56313. $async$returnValue, $async$self = this, t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  56314. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56315. if ($async$errorCode === 1)
  56316. return A._asyncRethrow($async$result, $async$completer);
  56317. while (true)
  56318. switch ($async$goto) {
  56319. case 0:
  56320. // Function start
  56321. if ($async$self._async_evaluate$_declarationName != null)
  56322. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  56323. t1 = node.selector;
  56324. $async$goto = 3;
  56325. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  56326. case 3:
  56327. // returning from await.
  56328. tuple = $async$result;
  56329. selectorText = tuple.item1;
  56330. selectorMap = tuple.item2;
  56331. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  56332. break;
  56333. case 4:
  56334. // then
  56335. $async$goto = 6;
  56336. 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);
  56337. case 6:
  56338. // returning from await.
  56339. $async$returnValue = null;
  56340. // goto return
  56341. $async$goto = 1;
  56342. break;
  56343. case 5:
  56344. // join
  56345. t1 = A.SelectorList_SelectorList$parse(selectorText, !$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, !$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, selectorMap, $async$self._async_evaluate$_logger);
  56346. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56347. t2 = t2 == null ? null : t2.originalSelector;
  56348. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule);
  56349. 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, parsedSelector);
  56350. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56351. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  56352. $async$goto = 7;
  56353. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure7(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  56354. case 7:
  56355. // returning from await.
  56356. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  56357. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  56358. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  56359. complex = t1[_i];
  56360. if (!complex.accept$1(B._IsBogusVisitor_true))
  56361. continue;
  56362. if (complex.accept$1(B.C__IsUselessVisitor)) {
  56363. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56364. complex.accept$1(visitor);
  56365. $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_vrR);
  56366. } else if (complex.leadingCombinators.length !== 0) {
  56367. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56368. complex.accept$1(visitor);
  56369. $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_vrR);
  56370. } else {
  56371. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  56372. complex.accept$1(visitor);
  56373. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  56374. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  56375. t8 = A.SpanExtensions_trimRight(complex.span);
  56376. if (t5.get$length(t5) === 0)
  56377. A.throwExpression(A.IterableElementError_noElement());
  56378. t9 = J.get$span$z(t5.$index(0, 0));
  56379. $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_vrR);
  56380. }
  56381. }
  56382. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  56383. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56384. t1 = !t1.get$isEmpty(t1);
  56385. } else
  56386. t1 = false;
  56387. if (t1) {
  56388. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56389. t1.get$last(t1).isGroupEnd = true;
  56390. }
  56391. $async$returnValue = null;
  56392. // goto return
  56393. $async$goto = 1;
  56394. break;
  56395. case 1:
  56396. // return
  56397. return A._asyncReturn($async$returnValue, $async$completer);
  56398. }
  56399. });
  56400. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  56401. },
  56402. visitSupportsRule$1(node) {
  56403. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  56404. },
  56405. visitSupportsRule$body$_EvaluateVisitor(node) {
  56406. var $async$goto = 0,
  56407. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56408. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  56409. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56410. if ($async$errorCode === 1)
  56411. return A._asyncRethrow($async$result, $async$completer);
  56412. while (true)
  56413. switch ($async$goto) {
  56414. case 0:
  56415. // Function start
  56416. if ($async$self._async_evaluate$_declarationName != null)
  56417. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  56418. t1 = node.condition;
  56419. $async$temp1 = A;
  56420. $async$temp2 = A;
  56421. $async$goto = 4;
  56422. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  56423. case 4:
  56424. // returning from await.
  56425. $async$goto = 3;
  56426. 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);
  56427. case 3:
  56428. // returning from await.
  56429. $async$returnValue = null;
  56430. // goto return
  56431. $async$goto = 1;
  56432. break;
  56433. case 1:
  56434. // return
  56435. return A._asyncReturn($async$returnValue, $async$completer);
  56436. }
  56437. });
  56438. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  56439. },
  56440. _async_evaluate$_visitSupportsCondition$1(condition) {
  56441. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  56442. },
  56443. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  56444. var $async$goto = 0,
  56445. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  56446. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  56447. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56448. if ($async$errorCode === 1)
  56449. return A._asyncRethrow($async$result, $async$completer);
  56450. while (true)
  56451. switch ($async$goto) {
  56452. case 0:
  56453. // Function start
  56454. $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
  56455. break;
  56456. case 3:
  56457. // then
  56458. t1 = condition.operator;
  56459. $async$temp1 = A;
  56460. $async$goto = 6;
  56461. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  56462. case 6:
  56463. // returning from await.
  56464. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  56465. $async$temp2 = A;
  56466. $async$goto = 7;
  56467. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  56468. case 7:
  56469. // returning from await.
  56470. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  56471. // goto return
  56472. $async$goto = 1;
  56473. break;
  56474. // goto join
  56475. $async$goto = 4;
  56476. break;
  56477. case 5:
  56478. // else
  56479. $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
  56480. break;
  56481. case 8:
  56482. // then
  56483. $async$temp1 = A;
  56484. $async$goto = 11;
  56485. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  56486. case 11:
  56487. // returning from await.
  56488. $async$returnValue = "not " + $async$temp1.S($async$result);
  56489. // goto return
  56490. $async$goto = 1;
  56491. break;
  56492. // goto join
  56493. $async$goto = 9;
  56494. break;
  56495. case 10:
  56496. // else
  56497. $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
  56498. break;
  56499. case 12:
  56500. // then
  56501. $async$goto = 15;
  56502. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  56503. case 15:
  56504. // returning from await.
  56505. $async$returnValue = $async$result;
  56506. // goto return
  56507. $async$goto = 1;
  56508. break;
  56509. // goto join
  56510. $async$goto = 13;
  56511. break;
  56512. case 14:
  56513. // else
  56514. $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
  56515. break;
  56516. case 16:
  56517. // then
  56518. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  56519. $async$self._async_evaluate$_inSupportsDeclaration = true;
  56520. $async$temp1 = A;
  56521. $async$goto = 19;
  56522. return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  56523. case 19:
  56524. // returning from await.
  56525. t1 = $async$temp1.S($async$result);
  56526. t2 = condition.get$isCustomProperty() ? "" : " ";
  56527. $async$temp1 = A;
  56528. $async$goto = 20;
  56529. return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
  56530. case 20:
  56531. // returning from await.
  56532. t3 = $async$temp1.S($async$result);
  56533. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  56534. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  56535. // goto return
  56536. $async$goto = 1;
  56537. break;
  56538. // goto join
  56539. $async$goto = 17;
  56540. break;
  56541. case 18:
  56542. // else
  56543. $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
  56544. break;
  56545. case 21:
  56546. // then
  56547. $async$temp1 = A;
  56548. $async$goto = 24;
  56549. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  56550. case 24:
  56551. // returning from await.
  56552. $async$temp1 = $async$temp1.S($async$result) + "(";
  56553. $async$temp2 = A;
  56554. $async$goto = 25;
  56555. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  56556. case 25:
  56557. // returning from await.
  56558. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  56559. // goto return
  56560. $async$goto = 1;
  56561. break;
  56562. // goto join
  56563. $async$goto = 22;
  56564. break;
  56565. case 23:
  56566. // else
  56567. $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
  56568. break;
  56569. case 26:
  56570. // then
  56571. $async$temp1 = A;
  56572. $async$goto = 29;
  56573. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  56574. case 29:
  56575. // returning from await.
  56576. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  56577. // goto return
  56578. $async$goto = 1;
  56579. break;
  56580. // goto join
  56581. $async$goto = 27;
  56582. break;
  56583. case 28:
  56584. // else
  56585. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  56586. case 27:
  56587. // join
  56588. case 22:
  56589. // join
  56590. case 17:
  56591. // join
  56592. case 13:
  56593. // join
  56594. case 9:
  56595. // join
  56596. case 4:
  56597. // join
  56598. case 1:
  56599. // return
  56600. return A._asyncReturn($async$returnValue, $async$completer);
  56601. }
  56602. });
  56603. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  56604. },
  56605. _async_evaluate$_parenthesize$2(condition, operator) {
  56606. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  56607. },
  56608. _async_evaluate$_parenthesize$1(condition) {
  56609. return this._async_evaluate$_parenthesize$2(condition, null);
  56610. },
  56611. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  56612. var $async$goto = 0,
  56613. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  56614. $async$returnValue, $async$self = this, t1, $async$temp1;
  56615. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56616. if ($async$errorCode === 1)
  56617. return A._asyncRethrow($async$result, $async$completer);
  56618. while (true)
  56619. switch ($async$goto) {
  56620. case 0:
  56621. // Function start
  56622. if (!(condition instanceof A.SupportsNegation))
  56623. if (condition instanceof A.SupportsOperation)
  56624. t1 = operator == null || operator !== condition.operator;
  56625. else
  56626. t1 = false;
  56627. else
  56628. t1 = true;
  56629. $async$goto = t1 ? 3 : 5;
  56630. break;
  56631. case 3:
  56632. // then
  56633. $async$temp1 = A;
  56634. $async$goto = 6;
  56635. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  56636. case 6:
  56637. // returning from await.
  56638. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  56639. // goto return
  56640. $async$goto = 1;
  56641. break;
  56642. // goto join
  56643. $async$goto = 4;
  56644. break;
  56645. case 5:
  56646. // else
  56647. $async$goto = 7;
  56648. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  56649. case 7:
  56650. // returning from await.
  56651. $async$returnValue = $async$result;
  56652. // goto return
  56653. $async$goto = 1;
  56654. break;
  56655. case 4:
  56656. // join
  56657. case 1:
  56658. // return
  56659. return A._asyncReturn($async$returnValue, $async$completer);
  56660. }
  56661. });
  56662. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  56663. },
  56664. visitVariableDeclaration$1(node) {
  56665. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  56666. },
  56667. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  56668. var $async$goto = 0,
  56669. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56670. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  56671. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56672. if ($async$errorCode === 1)
  56673. return A._asyncRethrow($async$result, $async$completer);
  56674. while (true)
  56675. switch ($async$goto) {
  56676. case 0:
  56677. // Function start
  56678. if (node.isGuarded) {
  56679. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  56680. t1 = $async$self._async_evaluate$_configuration._values;
  56681. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  56682. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  56683. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
  56684. $async$returnValue = null;
  56685. // goto return
  56686. $async$goto = 1;
  56687. break;
  56688. }
  56689. }
  56690. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  56691. if (value != null && !value.$eq(0, B.C__SassNull)) {
  56692. $async$returnValue = null;
  56693. // goto return
  56694. $async$goto = 1;
  56695. break;
  56696. }
  56697. }
  56698. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  56699. 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.";
  56700. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_hzy);
  56701. }
  56702. t1 = node.expression;
  56703. $async$temp1 = node;
  56704. $async$temp2 = A;
  56705. $async$temp3 = node;
  56706. $async$goto = 3;
  56707. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  56708. case 3:
  56709. // returning from await.
  56710. $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)));
  56711. $async$returnValue = null;
  56712. // goto return
  56713. $async$goto = 1;
  56714. break;
  56715. case 1:
  56716. // return
  56717. return A._asyncReturn($async$returnValue, $async$completer);
  56718. }
  56719. });
  56720. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  56721. },
  56722. visitUseRule$1(node) {
  56723. return this.visitUseRule$body$_EvaluateVisitor(node);
  56724. },
  56725. visitUseRule$body$_EvaluateVisitor(node) {
  56726. var $async$goto = 0,
  56727. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56728. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  56729. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56730. if ($async$errorCode === 1)
  56731. return A._asyncRethrow($async$result, $async$completer);
  56732. while (true)
  56733. switch ($async$goto) {
  56734. case 0:
  56735. // Function start
  56736. t1 = node.configuration;
  56737. t2 = t1.length;
  56738. $async$goto = t2 !== 0 ? 3 : 5;
  56739. break;
  56740. case 3:
  56741. // then
  56742. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  56743. _i = 0;
  56744. case 6:
  56745. // for condition
  56746. if (!(_i < t2)) {
  56747. // goto after for
  56748. $async$goto = 8;
  56749. break;
  56750. }
  56751. variable = t1[_i];
  56752. t3 = variable.expression;
  56753. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
  56754. $async$temp1 = values;
  56755. $async$temp2 = variable.name;
  56756. $async$temp3 = A;
  56757. $async$goto = 9;
  56758. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  56759. case 9:
  56760. // returning from await.
  56761. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  56762. case 7:
  56763. // for update
  56764. ++_i;
  56765. // goto for condition
  56766. $async$goto = 6;
  56767. break;
  56768. case 8:
  56769. // after for
  56770. configuration = new A.ExplicitConfiguration(node, values, null);
  56771. // goto join
  56772. $async$goto = 4;
  56773. break;
  56774. case 5:
  56775. // else
  56776. configuration = B.Configuration_Map_empty_null;
  56777. case 4:
  56778. // join
  56779. $async$goto = 10;
  56780. 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);
  56781. case 10:
  56782. // returning from await.
  56783. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  56784. $async$returnValue = null;
  56785. // goto return
  56786. $async$goto = 1;
  56787. break;
  56788. case 1:
  56789. // return
  56790. return A._asyncReturn($async$returnValue, $async$completer);
  56791. }
  56792. });
  56793. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  56794. },
  56795. visitWarnRule$1(node) {
  56796. return this.visitWarnRule$body$_EvaluateVisitor(node);
  56797. },
  56798. visitWarnRule$body$_EvaluateVisitor(node) {
  56799. var $async$goto = 0,
  56800. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  56801. $async$returnValue, $async$self = this, value, t1;
  56802. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56803. if ($async$errorCode === 1)
  56804. return A._asyncRethrow($async$result, $async$completer);
  56805. while (true)
  56806. switch ($async$goto) {
  56807. case 0:
  56808. // Function start
  56809. $async$goto = 3;
  56810. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  56811. case 3:
  56812. // returning from await.
  56813. value = $async$result;
  56814. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  56815. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  56816. $async$returnValue = null;
  56817. // goto return
  56818. $async$goto = 1;
  56819. break;
  56820. case 1:
  56821. // return
  56822. return A._asyncReturn($async$returnValue, $async$completer);
  56823. }
  56824. });
  56825. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  56826. },
  56827. visitWhileRule$1(node) {
  56828. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  56829. },
  56830. visitBinaryOperationExpression$1(node) {
  56831. return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
  56832. },
  56833. visitValueExpression$1(node) {
  56834. return this.visitValueExpression$body$_EvaluateVisitor(node);
  56835. },
  56836. visitValueExpression$body$_EvaluateVisitor(node) {
  56837. var $async$goto = 0,
  56838. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56839. $async$returnValue;
  56840. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56841. if ($async$errorCode === 1)
  56842. return A._asyncRethrow($async$result, $async$completer);
  56843. while (true)
  56844. switch ($async$goto) {
  56845. case 0:
  56846. // Function start
  56847. $async$returnValue = node.value;
  56848. // goto return
  56849. $async$goto = 1;
  56850. break;
  56851. case 1:
  56852. // return
  56853. return A._asyncReturn($async$returnValue, $async$completer);
  56854. }
  56855. });
  56856. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  56857. },
  56858. visitVariableExpression$1(node) {
  56859. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  56860. },
  56861. visitVariableExpression$body$_EvaluateVisitor(node) {
  56862. var $async$goto = 0,
  56863. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56864. $async$returnValue, $async$self = this, result;
  56865. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56866. if ($async$errorCode === 1)
  56867. return A._asyncRethrow($async$result, $async$completer);
  56868. while (true)
  56869. switch ($async$goto) {
  56870. case 0:
  56871. // Function start
  56872. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  56873. if (result != null) {
  56874. $async$returnValue = result;
  56875. // goto return
  56876. $async$goto = 1;
  56877. break;
  56878. }
  56879. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  56880. case 1:
  56881. // return
  56882. return A._asyncReturn($async$returnValue, $async$completer);
  56883. }
  56884. });
  56885. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  56886. },
  56887. visitUnaryOperationExpression$1(node) {
  56888. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  56889. },
  56890. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  56891. var $async$goto = 0,
  56892. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56893. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  56894. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56895. if ($async$errorCode === 1)
  56896. return A._asyncRethrow($async$result, $async$completer);
  56897. while (true)
  56898. switch ($async$goto) {
  56899. case 0:
  56900. // Function start
  56901. $async$temp1 = node;
  56902. $async$temp2 = A;
  56903. $async$temp3 = node;
  56904. $async$goto = 3;
  56905. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  56906. case 3:
  56907. // returning from await.
  56908. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  56909. // goto return
  56910. $async$goto = 1;
  56911. break;
  56912. case 1:
  56913. // return
  56914. return A._asyncReturn($async$returnValue, $async$completer);
  56915. }
  56916. });
  56917. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  56918. },
  56919. visitBooleanExpression$1(node) {
  56920. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  56921. },
  56922. visitBooleanExpression$body$_EvaluateVisitor(node) {
  56923. var $async$goto = 0,
  56924. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  56925. $async$returnValue;
  56926. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56927. if ($async$errorCode === 1)
  56928. return A._asyncRethrow($async$result, $async$completer);
  56929. while (true)
  56930. switch ($async$goto) {
  56931. case 0:
  56932. // Function start
  56933. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  56934. // goto return
  56935. $async$goto = 1;
  56936. break;
  56937. case 1:
  56938. // return
  56939. return A._asyncReturn($async$returnValue, $async$completer);
  56940. }
  56941. });
  56942. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  56943. },
  56944. visitIfExpression$1(node) {
  56945. return this.visitIfExpression$body$_EvaluateVisitor(node);
  56946. },
  56947. visitIfExpression$body$_EvaluateVisitor(node) {
  56948. var $async$goto = 0,
  56949. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56950. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  56951. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56952. if ($async$errorCode === 1)
  56953. return A._asyncRethrow($async$result, $async$completer);
  56954. while (true)
  56955. switch ($async$goto) {
  56956. case 0:
  56957. // Function start
  56958. $async$goto = 3;
  56959. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  56960. case 3:
  56961. // returning from await.
  56962. pair = $async$result;
  56963. positional = pair.item1;
  56964. named = pair.item2;
  56965. t1 = J.getInterceptor$asx(positional);
  56966. $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  56967. if (t1.get$length(positional) > 0)
  56968. condition = t1.$index(positional, 0);
  56969. else {
  56970. t2 = named.$index(0, "condition");
  56971. t2.toString;
  56972. condition = t2;
  56973. }
  56974. if (t1.get$length(positional) > 1)
  56975. ifTrue = t1.$index(positional, 1);
  56976. else {
  56977. t2 = named.$index(0, "if-true");
  56978. t2.toString;
  56979. ifTrue = t2;
  56980. }
  56981. if (t1.get$length(positional) > 2)
  56982. ifFalse = t1.$index(positional, 2);
  56983. else {
  56984. t1 = named.$index(0, "if-false");
  56985. t1.toString;
  56986. ifFalse = t1;
  56987. }
  56988. $async$goto = 4;
  56989. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  56990. case 4:
  56991. // returning from await.
  56992. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  56993. $async$goto = 5;
  56994. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  56995. case 5:
  56996. // returning from await.
  56997. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  56998. // goto return
  56999. $async$goto = 1;
  57000. break;
  57001. case 1:
  57002. // return
  57003. return A._asyncReturn($async$returnValue, $async$completer);
  57004. }
  57005. });
  57006. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  57007. },
  57008. visitNullExpression$1(node) {
  57009. return this.visitNullExpression$body$_EvaluateVisitor(node);
  57010. },
  57011. visitNullExpression$body$_EvaluateVisitor(node) {
  57012. var $async$goto = 0,
  57013. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57014. $async$returnValue;
  57015. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57016. if ($async$errorCode === 1)
  57017. return A._asyncRethrow($async$result, $async$completer);
  57018. while (true)
  57019. switch ($async$goto) {
  57020. case 0:
  57021. // Function start
  57022. $async$returnValue = B.C__SassNull;
  57023. // goto return
  57024. $async$goto = 1;
  57025. break;
  57026. case 1:
  57027. // return
  57028. return A._asyncReturn($async$returnValue, $async$completer);
  57029. }
  57030. });
  57031. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  57032. },
  57033. visitNumberExpression$1(node) {
  57034. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  57035. },
  57036. visitNumberExpression$body$_EvaluateVisitor(node) {
  57037. var $async$goto = 0,
  57038. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  57039. $async$returnValue;
  57040. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57041. if ($async$errorCode === 1)
  57042. return A._asyncRethrow($async$result, $async$completer);
  57043. while (true)
  57044. switch ($async$goto) {
  57045. case 0:
  57046. // Function start
  57047. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  57048. // goto return
  57049. $async$goto = 1;
  57050. break;
  57051. case 1:
  57052. // return
  57053. return A._asyncReturn($async$returnValue, $async$completer);
  57054. }
  57055. });
  57056. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  57057. },
  57058. visitParenthesizedExpression$1(node) {
  57059. return node.expression.accept$1(this);
  57060. },
  57061. visitCalculationExpression$1(node) {
  57062. return this.visitCalculationExpression$body$_EvaluateVisitor(node);
  57063. },
  57064. visitCalculationExpression$body$_EvaluateVisitor(node) {
  57065. var $async$goto = 0,
  57066. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57067. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  57068. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57069. if ($async$errorCode === 1)
  57070. return A._asyncRethrow($async$result, $async$completer);
  57071. while (true)
  57072. $async$outer:
  57073. switch ($async$goto) {
  57074. case 0:
  57075. // Function start
  57076. t1 = A._setArrayType([], type$.JSArray_Object);
  57077. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  57078. case 3:
  57079. // for condition
  57080. if (!(_i < t3)) {
  57081. // goto after for
  57082. $async$goto = 5;
  57083. break;
  57084. }
  57085. argument = t2[_i];
  57086. $async$temp1 = t1;
  57087. $async$goto = 6;
  57088. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  57089. case 6:
  57090. // returning from await.
  57091. $async$temp1.push($async$result);
  57092. case 4:
  57093. // for update
  57094. ++_i;
  57095. // goto for condition
  57096. $async$goto = 3;
  57097. break;
  57098. case 5:
  57099. // after for
  57100. $arguments = t1;
  57101. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  57102. $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  57103. // goto return
  57104. $async$goto = 1;
  57105. break;
  57106. }
  57107. try {
  57108. switch (t4) {
  57109. case "calc":
  57110. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  57111. $async$returnValue = t1;
  57112. // goto return
  57113. $async$goto = 1;
  57114. break $async$outer;
  57115. case "min":
  57116. t1 = A.SassCalculation_min($arguments);
  57117. $async$returnValue = t1;
  57118. // goto return
  57119. $async$goto = 1;
  57120. break $async$outer;
  57121. case "max":
  57122. t1 = A.SassCalculation_max($arguments);
  57123. $async$returnValue = t1;
  57124. // goto return
  57125. $async$goto = 1;
  57126. break $async$outer;
  57127. case "clamp":
  57128. t1 = J.$index$asx($arguments, 0);
  57129. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  57130. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  57131. $async$returnValue = t1;
  57132. // goto return
  57133. $async$goto = 1;
  57134. break $async$outer;
  57135. default:
  57136. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  57137. throw A.wrapException(t1);
  57138. }
  57139. } catch (exception) {
  57140. t1 = A.unwrapException(exception);
  57141. if (t1 instanceof A.SassScriptException) {
  57142. error = t1;
  57143. stackTrace = A.getTraceFromException(exception);
  57144. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  57145. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
  57146. } else
  57147. throw exception;
  57148. }
  57149. case 1:
  57150. // return
  57151. return A._asyncReturn($async$returnValue, $async$completer);
  57152. }
  57153. });
  57154. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  57155. },
  57156. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  57157. var i, t1, arg, number1, j, number2;
  57158. for (i = 0; t1 = args.length, i < t1; ++i) {
  57159. arg = args[i];
  57160. if (!(arg instanceof A.SassNumber))
  57161. continue;
  57162. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  57163. throw A.wrapException(this._async_evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  57164. }
  57165. for (i = 0; i < t1 - 1; ++i) {
  57166. number1 = args[i];
  57167. if (!(number1 instanceof A.SassNumber))
  57168. continue;
  57169. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  57170. number2 = args[j];
  57171. if (!(number2 instanceof A.SassNumber))
  57172. continue;
  57173. if (number1.hasPossiblyCompatibleUnits$1(number2))
  57174. continue;
  57175. 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]))));
  57176. }
  57177. }
  57178. },
  57179. _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  57180. return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
  57181. },
  57182. _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
  57183. var $async$goto = 0,
  57184. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  57185. $async$returnValue, $async$self = this, inner, result, t1, text, $async$temp1;
  57186. var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57187. if ($async$errorCode === 1)
  57188. return A._asyncRethrow($async$result, $async$completer);
  57189. while (true)
  57190. $async$outer:
  57191. switch ($async$goto) {
  57192. case 0:
  57193. // Function start
  57194. $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
  57195. break;
  57196. case 3:
  57197. // then
  57198. inner = node.expression;
  57199. $async$goto = 6;
  57200. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57201. case 6:
  57202. // returning from await.
  57203. result = $async$result;
  57204. if (inner instanceof A.FunctionExpression)
  57205. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  57206. else
  57207. t1 = false;
  57208. $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  57209. // goto return
  57210. $async$goto = 1;
  57211. break;
  57212. // goto join
  57213. $async$goto = 4;
  57214. break;
  57215. case 5:
  57216. // else
  57217. $async$goto = node instanceof A.StringExpression ? 7 : 9;
  57218. break;
  57219. case 7:
  57220. // then
  57221. t1 = node.text;
  57222. text = t1.get$asPlain();
  57223. $async$goto = text == null ? 10 : 11;
  57224. break;
  57225. case 10:
  57226. // then
  57227. $async$temp1 = A;
  57228. $async$goto = 12;
  57229. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57230. case 12:
  57231. // returning from await.
  57232. $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
  57233. // goto return
  57234. $async$goto = 1;
  57235. break;
  57236. case 11:
  57237. // join
  57238. switch (text.toLowerCase()) {
  57239. case "pi":
  57240. $async$returnValue = A.SassNumber_SassNumber(3.141592653589793, null);
  57241. // goto return
  57242. $async$goto = 1;
  57243. break $async$outer;
  57244. case "e":
  57245. $async$returnValue = A.SassNumber_SassNumber(2.718281828459045, null);
  57246. // goto return
  57247. $async$goto = 1;
  57248. break $async$outer;
  57249. case "infinity":
  57250. $async$returnValue = A.SassNumber_SassNumber(1 / 0, null);
  57251. // goto return
  57252. $async$goto = 1;
  57253. break $async$outer;
  57254. case "-infinity":
  57255. $async$returnValue = A.SassNumber_SassNumber(-1 / 0, null);
  57256. // goto return
  57257. $async$goto = 1;
  57258. break $async$outer;
  57259. case "nan":
  57260. $async$returnValue = A.SassNumber_SassNumber(0 / 0, null);
  57261. // goto return
  57262. $async$goto = 1;
  57263. break $async$outer;
  57264. default:
  57265. $async$returnValue = new A.SassString(text, false);
  57266. // goto return
  57267. $async$goto = 1;
  57268. break $async$outer;
  57269. }
  57270. // goto join
  57271. $async$goto = 8;
  57272. break;
  57273. case 9:
  57274. // else
  57275. $async$goto = node instanceof A.BinaryOperationExpression ? 13 : 15;
  57276. break;
  57277. case 13:
  57278. // then
  57279. $async$goto = 16;
  57280. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure0($async$self, node, inMinMax), type$.Object), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57281. case 16:
  57282. // returning from await.
  57283. $async$returnValue = $async$result;
  57284. // goto return
  57285. $async$goto = 1;
  57286. break;
  57287. // goto join
  57288. $async$goto = 14;
  57289. break;
  57290. case 15:
  57291. // else
  57292. $async$goto = 17;
  57293. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  57294. case 17:
  57295. // returning from await.
  57296. result = $async$result;
  57297. if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
  57298. $async$returnValue = result;
  57299. // goto return
  57300. $async$goto = 1;
  57301. break;
  57302. }
  57303. if (result instanceof A.SassString && !result._hasQuotes) {
  57304. $async$returnValue = result;
  57305. // goto return
  57306. $async$goto = 1;
  57307. break;
  57308. }
  57309. throw A.wrapException($async$self._async_evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  57310. case 14:
  57311. // join
  57312. case 8:
  57313. // join
  57314. case 4:
  57315. // join
  57316. case 1:
  57317. // return
  57318. return A._asyncReturn($async$returnValue, $async$completer);
  57319. }
  57320. });
  57321. return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
  57322. },
  57323. _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
  57324. switch (operator) {
  57325. case B.BinaryOperator_anB:
  57326. return B.CalculationOperator_IyK;
  57327. case B.BinaryOperator_olz:
  57328. return B.CalculationOperator_2bx;
  57329. case B.BinaryOperator_qN2:
  57330. return B.CalculationOperator_jFr;
  57331. case B.BinaryOperator_t8B:
  57332. return B.CalculationOperator_OvN;
  57333. default:
  57334. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  57335. }
  57336. },
  57337. visitColorExpression$1(node) {
  57338. return this.visitColorExpression$body$_EvaluateVisitor(node);
  57339. },
  57340. visitColorExpression$body$_EvaluateVisitor(node) {
  57341. var $async$goto = 0,
  57342. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  57343. $async$returnValue;
  57344. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57345. if ($async$errorCode === 1)
  57346. return A._asyncRethrow($async$result, $async$completer);
  57347. while (true)
  57348. switch ($async$goto) {
  57349. case 0:
  57350. // Function start
  57351. $async$returnValue = node.value;
  57352. // goto return
  57353. $async$goto = 1;
  57354. break;
  57355. case 1:
  57356. // return
  57357. return A._asyncReturn($async$returnValue, $async$completer);
  57358. }
  57359. });
  57360. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  57361. },
  57362. visitListExpression$1(node) {
  57363. return this.visitListExpression$body$_EvaluateVisitor(node);
  57364. },
  57365. visitListExpression$body$_EvaluateVisitor(node) {
  57366. var $async$goto = 0,
  57367. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  57368. $async$returnValue, $async$self = this, $async$temp1;
  57369. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57370. if ($async$errorCode === 1)
  57371. return A._asyncRethrow($async$result, $async$completer);
  57372. while (true)
  57373. switch ($async$goto) {
  57374. case 0:
  57375. // Function start
  57376. $async$temp1 = A;
  57377. $async$goto = 3;
  57378. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  57379. case 3:
  57380. // returning from await.
  57381. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  57382. // goto return
  57383. $async$goto = 1;
  57384. break;
  57385. case 1:
  57386. // return
  57387. return A._asyncReturn($async$returnValue, $async$completer);
  57388. }
  57389. });
  57390. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  57391. },
  57392. visitMapExpression$1(node) {
  57393. return this.visitMapExpression$body$_EvaluateVisitor(node);
  57394. },
  57395. visitMapExpression$body$_EvaluateVisitor(node) {
  57396. var $async$goto = 0,
  57397. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  57398. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  57399. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57400. if ($async$errorCode === 1)
  57401. return A._asyncRethrow($async$result, $async$completer);
  57402. while (true)
  57403. switch ($async$goto) {
  57404. case 0:
  57405. // Function start
  57406. t1 = type$.Value;
  57407. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57408. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  57409. t2 = node.pairs, t3 = t2.length, _i = 0;
  57410. case 3:
  57411. // for condition
  57412. if (!(_i < t3)) {
  57413. // goto after for
  57414. $async$goto = 5;
  57415. break;
  57416. }
  57417. pair = t2[_i];
  57418. t4 = pair.item1;
  57419. $async$goto = 6;
  57420. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  57421. case 6:
  57422. // returning from await.
  57423. keyValue = $async$result;
  57424. $async$goto = 7;
  57425. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  57426. case 7:
  57427. // returning from await.
  57428. valueValue = $async$result;
  57429. if (map.$index(0, keyValue) != null) {
  57430. t1 = keyNodes.$index(0, keyValue);
  57431. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  57432. t1 = J.getInterceptor$z(t4);
  57433. t2 = t1.get$span(t4);
  57434. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  57435. if (oldValueSpan != null)
  57436. t3.$indexSet(0, oldValueSpan, "first key");
  57437. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
  57438. }
  57439. map.$indexSet(0, keyValue, valueValue);
  57440. keyNodes.$indexSet(0, keyValue, t4);
  57441. case 4:
  57442. // for update
  57443. ++_i;
  57444. // goto for condition
  57445. $async$goto = 3;
  57446. break;
  57447. case 5:
  57448. // after for
  57449. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  57450. // goto return
  57451. $async$goto = 1;
  57452. break;
  57453. case 1:
  57454. // return
  57455. return A._asyncReturn($async$returnValue, $async$completer);
  57456. }
  57457. });
  57458. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  57459. },
  57460. visitFunctionExpression$1(node) {
  57461. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  57462. },
  57463. visitFunctionExpression$body$_EvaluateVisitor(node) {
  57464. var $async$goto = 0,
  57465. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57466. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  57467. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57468. if ($async$errorCode === 1)
  57469. return A._asyncRethrow($async$result, $async$completer);
  57470. while (true)
  57471. switch ($async$goto) {
  57472. case 0:
  57473. // Function start
  57474. t1 = {};
  57475. $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
  57476. t1.$function = $function;
  57477. if ($function == null) {
  57478. if (node.namespace != null)
  57479. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  57480. t1.$function = new A.PlainCssCallable(node.originalName);
  57481. }
  57482. oldInFunction = $async$self._async_evaluate$_inFunction;
  57483. $async$self._async_evaluate$_inFunction = true;
  57484. $async$goto = 3;
  57485. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
  57486. case 3:
  57487. // returning from await.
  57488. result = $async$result;
  57489. $async$self._async_evaluate$_inFunction = oldInFunction;
  57490. $async$returnValue = result;
  57491. // goto return
  57492. $async$goto = 1;
  57493. break;
  57494. case 1:
  57495. // return
  57496. return A._asyncReturn($async$returnValue, $async$completer);
  57497. }
  57498. });
  57499. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  57500. },
  57501. visitInterpolatedFunctionExpression$1(node) {
  57502. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  57503. },
  57504. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  57505. var $async$goto = 0,
  57506. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57507. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  57508. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57509. if ($async$errorCode === 1)
  57510. return A._asyncRethrow($async$result, $async$completer);
  57511. while (true)
  57512. switch ($async$goto) {
  57513. case 0:
  57514. // Function start
  57515. $async$goto = 3;
  57516. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  57517. case 3:
  57518. // returning from await.
  57519. t1 = $async$result;
  57520. oldInFunction = $async$self._async_evaluate$_inFunction;
  57521. $async$self._async_evaluate$_inFunction = true;
  57522. $async$goto = 4;
  57523. 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);
  57524. case 4:
  57525. // returning from await.
  57526. result = $async$result;
  57527. $async$self._async_evaluate$_inFunction = oldInFunction;
  57528. $async$returnValue = result;
  57529. // goto return
  57530. $async$goto = 1;
  57531. break;
  57532. case 1:
  57533. // return
  57534. return A._asyncReturn($async$returnValue, $async$completer);
  57535. }
  57536. });
  57537. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  57538. },
  57539. _async_evaluate$_getFunction$2$namespace($name, namespace) {
  57540. var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
  57541. if (local != null || namespace != null)
  57542. return local;
  57543. return this._async_evaluate$_builtInFunctions.$index(0, $name);
  57544. },
  57545. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  57546. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  57547. },
  57548. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  57549. var $async$goto = 0,
  57550. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57551. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  57552. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57553. if ($async$errorCode === 1)
  57554. return A._asyncRethrow($async$result, $async$completer);
  57555. while (true)
  57556. switch ($async$goto) {
  57557. case 0:
  57558. // Function start
  57559. $async$goto = 3;
  57560. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  57561. case 3:
  57562. // returning from await.
  57563. evaluated = $async$result;
  57564. $name = callable.declaration.name;
  57565. if ($name !== "@content")
  57566. $name += "()";
  57567. oldCallable = $async$self._async_evaluate$_currentCallable;
  57568. $async$self._async_evaluate$_currentCallable = callable;
  57569. $async$goto = 4;
  57570. 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);
  57571. case 4:
  57572. // returning from await.
  57573. result = $async$result;
  57574. $async$self._async_evaluate$_currentCallable = oldCallable;
  57575. $async$returnValue = result;
  57576. // goto return
  57577. $async$goto = 1;
  57578. break;
  57579. case 1:
  57580. // return
  57581. return A._asyncReturn($async$returnValue, $async$completer);
  57582. }
  57583. });
  57584. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  57585. },
  57586. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  57587. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  57588. },
  57589. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  57590. var $async$goto = 0,
  57591. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57592. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, exception, $async$exception, $async$temp1, $async$temp2;
  57593. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57594. if ($async$errorCode === 1) {
  57595. $async$currentError = $async$result;
  57596. $async$goto = $async$handler;
  57597. }
  57598. while (true)
  57599. switch ($async$goto) {
  57600. case 0:
  57601. // Function start
  57602. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  57603. break;
  57604. case 3:
  57605. // then
  57606. $async$goto = 6;
  57607. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  57608. case 6:
  57609. // returning from await.
  57610. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  57611. // goto return
  57612. $async$goto = 1;
  57613. break;
  57614. // goto join
  57615. $async$goto = 4;
  57616. break;
  57617. case 5:
  57618. // else
  57619. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  57620. break;
  57621. case 7:
  57622. // then
  57623. $async$goto = 10;
  57624. 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);
  57625. case 10:
  57626. // returning from await.
  57627. $async$returnValue = $async$result;
  57628. // goto return
  57629. $async$goto = 1;
  57630. break;
  57631. // goto join
  57632. $async$goto = 8;
  57633. break;
  57634. case 9:
  57635. // else
  57636. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  57637. break;
  57638. case 11:
  57639. // then
  57640. t1 = $arguments.named;
  57641. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  57642. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  57643. buffer = new A.StringBuffer(callable.name + "(");
  57644. $async$handler = 15;
  57645. first = true;
  57646. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  57647. case 18:
  57648. // for condition
  57649. if (!(_i < t2)) {
  57650. // goto after for
  57651. $async$goto = 20;
  57652. break;
  57653. }
  57654. argument = t1[_i];
  57655. if (first)
  57656. first = false;
  57657. else
  57658. buffer._contents += ", ";
  57659. $async$temp1 = buffer;
  57660. $async$temp2 = A;
  57661. $async$goto = 21;
  57662. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  57663. case 21:
  57664. // returning from await.
  57665. $async$temp1._contents += $async$temp2.S($async$result);
  57666. case 19:
  57667. // for update
  57668. ++_i;
  57669. // goto for condition
  57670. $async$goto = 18;
  57671. break;
  57672. case 20:
  57673. // after for
  57674. restArg = $arguments.rest;
  57675. $async$goto = restArg != null ? 22 : 23;
  57676. break;
  57677. case 22:
  57678. // then
  57679. $async$goto = 24;
  57680. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  57681. case 24:
  57682. // returning from await.
  57683. rest = $async$result;
  57684. if (!first)
  57685. buffer._contents += ", ";
  57686. buffer._contents += $async$self._async_evaluate$_serialize$2(rest, restArg);
  57687. case 23:
  57688. // join
  57689. $async$handler = 2;
  57690. // goto after finally
  57691. $async$goto = 17;
  57692. break;
  57693. case 15:
  57694. // catch
  57695. $async$handler = 14;
  57696. $async$exception = $async$currentError;
  57697. t1 = A.unwrapException($async$exception);
  57698. if (type$.SassRuntimeException._is(t1)) {
  57699. error = t1;
  57700. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  57701. throw $async$exception;
  57702. 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)));
  57703. } else
  57704. throw $async$exception;
  57705. // goto after finally
  57706. $async$goto = 17;
  57707. break;
  57708. case 14:
  57709. // uncaught
  57710. // goto rethrow
  57711. $async$goto = 2;
  57712. break;
  57713. case 17:
  57714. // after finally
  57715. buffer._contents += A.Primitives_stringFromCharCode(41);
  57716. t1 = buffer._contents;
  57717. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  57718. // goto return
  57719. $async$goto = 1;
  57720. break;
  57721. // goto join
  57722. $async$goto = 12;
  57723. break;
  57724. case 13:
  57725. // else
  57726. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  57727. case 12:
  57728. // join
  57729. case 8:
  57730. // join
  57731. case 4:
  57732. // join
  57733. case 1:
  57734. // return
  57735. return A._asyncReturn($async$returnValue, $async$completer);
  57736. case 2:
  57737. // rethrow
  57738. return A._asyncRethrow($async$currentError, $async$completer);
  57739. }
  57740. });
  57741. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  57742. },
  57743. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  57744. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  57745. },
  57746. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  57747. var $async$goto = 0,
  57748. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57749. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, evaluated, oldCallableNode, $async$exception;
  57750. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57751. if ($async$errorCode === 1) {
  57752. $async$currentError = $async$result;
  57753. $async$goto = $async$handler;
  57754. }
  57755. while (true)
  57756. switch ($async$goto) {
  57757. case 0:
  57758. // Function start
  57759. $async$goto = 3;
  57760. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  57761. case 3:
  57762. // returning from await.
  57763. evaluated = $async$result;
  57764. oldCallableNode = $async$self._async_evaluate$_callableNode;
  57765. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  57766. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  57767. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  57768. overload = tuple.item1;
  57769. callback = tuple.item2;
  57770. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(overload, evaluated, namedSet));
  57771. declaredArguments = overload.$arguments;
  57772. i = evaluated.positional.length, t1 = declaredArguments.length;
  57773. case 4:
  57774. // for condition
  57775. if (!(i < t1)) {
  57776. // goto after for
  57777. $async$goto = 6;
  57778. break;
  57779. }
  57780. argument = declaredArguments[i];
  57781. t2 = evaluated.positional;
  57782. t3 = evaluated.named.remove$1(0, argument.name);
  57783. $async$goto = t3 == null ? 7 : 8;
  57784. break;
  57785. case 7:
  57786. // then
  57787. t3 = argument.defaultValue;
  57788. $async$goto = 9;
  57789. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
  57790. case 9:
  57791. // returning from await.
  57792. t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
  57793. case 8:
  57794. // join
  57795. t2.push(t3);
  57796. case 5:
  57797. // for update
  57798. ++i;
  57799. // goto for condition
  57800. $async$goto = 4;
  57801. break;
  57802. case 6:
  57803. // after for
  57804. if (overload.restArgument != null) {
  57805. if (evaluated.positional.length > t1) {
  57806. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  57807. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  57808. } else
  57809. rest = B.List_empty8;
  57810. t1 = evaluated.named;
  57811. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  57812. evaluated.positional.push(argumentList);
  57813. } else
  57814. argumentList = null;
  57815. result = null;
  57816. $async$handler = 11;
  57817. $async$goto = 14;
  57818. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(callback, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  57819. case 14:
  57820. // returning from await.
  57821. result = $async$result;
  57822. $async$handler = 2;
  57823. // goto after finally
  57824. $async$goto = 13;
  57825. break;
  57826. case 11:
  57827. // catch
  57828. $async$handler = 10;
  57829. $async$exception = $async$currentError;
  57830. t1 = A.unwrapException($async$exception);
  57831. if (t1 instanceof A.SassException)
  57832. throw $async$exception;
  57833. else {
  57834. error = t1;
  57835. stackTrace = A.getTraceFromException($async$exception);
  57836. message = null;
  57837. try {
  57838. message = A._asString(J.get$message$x(error));
  57839. } catch (exception) {
  57840. message0 = J.toString$0$(error);
  57841. message = message0;
  57842. }
  57843. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  57844. }
  57845. // goto after finally
  57846. $async$goto = 13;
  57847. break;
  57848. case 10:
  57849. // uncaught
  57850. // goto rethrow
  57851. $async$goto = 2;
  57852. break;
  57853. case 13:
  57854. // after finally
  57855. $async$self._async_evaluate$_callableNode = oldCallableNode;
  57856. if (argumentList == null) {
  57857. $async$returnValue = result;
  57858. // goto return
  57859. $async$goto = 1;
  57860. break;
  57861. }
  57862. if (evaluated.named.__js_helper$_length === 0) {
  57863. $async$returnValue = result;
  57864. // goto return
  57865. $async$goto = 1;
  57866. break;
  57867. }
  57868. if (argumentList._wereKeywordsAccessed) {
  57869. $async$returnValue = result;
  57870. // goto return
  57871. $async$goto = 1;
  57872. break;
  57873. }
  57874. t1 = evaluated.named;
  57875. t1 = t1.get$keys(t1);
  57876. t1 = A.pluralize("argument", t1.get$length(t1), null);
  57877. t2 = evaluated.named;
  57878. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  57879. case 1:
  57880. // return
  57881. return A._asyncReturn($async$returnValue, $async$completer);
  57882. case 2:
  57883. // rethrow
  57884. return A._asyncRethrow($async$currentError, $async$completer);
  57885. }
  57886. });
  57887. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  57888. },
  57889. _async_evaluate$_evaluateArguments$1($arguments) {
  57890. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  57891. },
  57892. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  57893. var $async$goto = 0,
  57894. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
  57895. $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  57896. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57897. if ($async$errorCode === 1)
  57898. return A._asyncRethrow($async$result, $async$completer);
  57899. while (true)
  57900. switch ($async$goto) {
  57901. case 0:
  57902. // Function start
  57903. positional = A._setArrayType([], type$.JSArray_Value);
  57904. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  57905. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  57906. case 3:
  57907. // for condition
  57908. if (!(_i < t2)) {
  57909. // goto after for
  57910. $async$goto = 5;
  57911. break;
  57912. }
  57913. expression = t1[_i];
  57914. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  57915. $async$temp1 = positional;
  57916. $async$goto = 6;
  57917. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  57918. case 6:
  57919. // returning from await.
  57920. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  57921. positionalNodes.push(nodeForSpan);
  57922. case 4:
  57923. // for update
  57924. ++_i;
  57925. // goto for condition
  57926. $async$goto = 3;
  57927. break;
  57928. case 5:
  57929. // after for
  57930. t1 = type$.String;
  57931. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  57932. t2 = type$.AstNode;
  57933. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  57934. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  57935. case 7:
  57936. // for condition
  57937. if (!t3.moveNext$0()) {
  57938. // goto after for
  57939. $async$goto = 8;
  57940. break;
  57941. }
  57942. t4 = t3.get$current(t3);
  57943. t5 = t4.value;
  57944. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  57945. t4 = t4.key;
  57946. $async$temp1 = named;
  57947. $async$temp2 = t4;
  57948. $async$goto = 9;
  57949. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  57950. case 9:
  57951. // returning from await.
  57952. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  57953. namedNodes.$indexSet(0, t4, nodeForSpan);
  57954. // goto for condition
  57955. $async$goto = 7;
  57956. break;
  57957. case 8:
  57958. // after for
  57959. restArgs = $arguments.rest;
  57960. if (restArgs == null) {
  57961. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  57962. // goto return
  57963. $async$goto = 1;
  57964. break;
  57965. }
  57966. $async$goto = 10;
  57967. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  57968. case 10:
  57969. // returning from await.
  57970. rest = $async$result;
  57971. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  57972. if (rest instanceof A.SassMap) {
  57973. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  57974. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  57975. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  57976. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  57977. namedNodes.addAll$1(0, t3);
  57978. separator = B.ListSeparator_undecided_null_undecided;
  57979. } else if (rest instanceof A.SassList) {
  57980. t3 = rest._list$_contents;
  57981. 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>")));
  57982. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  57983. separator = rest._separator;
  57984. if (rest instanceof A.SassArgumentList) {
  57985. rest._wereKeywordsAccessed = true;
  57986. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  57987. }
  57988. } else {
  57989. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  57990. positionalNodes.push(restNodeForSpan);
  57991. separator = B.ListSeparator_undecided_null_undecided;
  57992. }
  57993. keywordRestArgs = $arguments.keywordRest;
  57994. if (keywordRestArgs == null) {
  57995. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  57996. // goto return
  57997. $async$goto = 1;
  57998. break;
  57999. }
  58000. $async$goto = 11;
  58001. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  58002. case 11:
  58003. // returning from await.
  58004. keywordRest = $async$result;
  58005. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  58006. if (keywordRest instanceof A.SassMap) {
  58007. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  58008. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  58009. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  58010. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  58011. namedNodes.addAll$1(0, t1);
  58012. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  58013. // goto return
  58014. $async$goto = 1;
  58015. break;
  58016. } else
  58017. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  58018. case 1:
  58019. // return
  58020. return A._asyncReturn($async$returnValue, $async$completer);
  58021. }
  58022. });
  58023. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  58024. },
  58025. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  58026. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  58027. },
  58028. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  58029. var $async$goto = 0,
  58030. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
  58031. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  58032. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58033. if ($async$errorCode === 1)
  58034. return A._asyncRethrow($async$result, $async$completer);
  58035. while (true)
  58036. switch ($async$goto) {
  58037. case 0:
  58038. // Function start
  58039. t1 = invocation.$arguments;
  58040. restArgs_ = t1.rest;
  58041. if (restArgs_ == null) {
  58042. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58043. // goto return
  58044. $async$goto = 1;
  58045. break;
  58046. }
  58047. t2 = t1.positional;
  58048. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  58049. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  58050. $async$goto = 3;
  58051. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  58052. case 3:
  58053. // returning from await.
  58054. rest = $async$result;
  58055. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  58056. if (rest instanceof A.SassMap)
  58057. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  58058. else if (rest instanceof A.SassList) {
  58059. t2 = rest._list$_contents;
  58060. 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>")));
  58061. if (rest instanceof A.SassArgumentList) {
  58062. rest._wereKeywordsAccessed = true;
  58063. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  58064. }
  58065. } else
  58066. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  58067. keywordRestArgs_ = t1.keywordRest;
  58068. if (keywordRestArgs_ == null) {
  58069. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58070. // goto return
  58071. $async$goto = 1;
  58072. break;
  58073. }
  58074. $async$goto = 4;
  58075. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  58076. case 4:
  58077. // returning from await.
  58078. keywordRest = $async$result;
  58079. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  58080. if (keywordRest instanceof A.SassMap) {
  58081. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  58082. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  58083. // goto return
  58084. $async$goto = 1;
  58085. break;
  58086. } else
  58087. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  58088. case 1:
  58089. // return
  58090. return A._asyncReturn($async$returnValue, $async$completer);
  58091. }
  58092. });
  58093. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  58094. },
  58095. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  58096. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  58097. },
  58098. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  58099. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  58100. },
  58101. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  58102. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  58103. },
  58104. visitSelectorExpression$1(node) {
  58105. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  58106. },
  58107. visitSelectorExpression$body$_EvaluateVisitor(node) {
  58108. var $async$goto = 0,
  58109. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  58110. $async$returnValue, $async$self = this, t1;
  58111. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58112. if ($async$errorCode === 1)
  58113. return A._asyncRethrow($async$result, $async$completer);
  58114. while (true)
  58115. switch ($async$goto) {
  58116. case 0:
  58117. // Function start
  58118. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  58119. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  58120. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  58121. // goto return
  58122. $async$goto = 1;
  58123. break;
  58124. case 1:
  58125. // return
  58126. return A._asyncReturn($async$returnValue, $async$completer);
  58127. }
  58128. });
  58129. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  58130. },
  58131. visitStringExpression$1(node) {
  58132. return this.visitStringExpression$body$_EvaluateVisitor(node);
  58133. },
  58134. visitStringExpression$body$_EvaluateVisitor(node) {
  58135. var $async$goto = 0,
  58136. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  58137. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  58138. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58139. if ($async$errorCode === 1)
  58140. return A._asyncRethrow($async$result, $async$completer);
  58141. while (true)
  58142. switch ($async$goto) {
  58143. case 0:
  58144. // Function start
  58145. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  58146. $async$self._async_evaluate$_inSupportsDeclaration = false;
  58147. $async$temp1 = J;
  58148. $async$goto = 3;
  58149. return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  58150. case 3:
  58151. // returning from await.
  58152. t1 = $async$temp1.join$0$ax($async$result);
  58153. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  58154. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  58155. // goto return
  58156. $async$goto = 1;
  58157. break;
  58158. case 1:
  58159. // return
  58160. return A._asyncReturn($async$returnValue, $async$completer);
  58161. }
  58162. });
  58163. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  58164. },
  58165. visitSupportsExpression$1(expression) {
  58166. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  58167. },
  58168. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  58169. var $async$goto = 0,
  58170. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  58171. $async$returnValue, $async$self = this, $async$temp1;
  58172. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58173. if ($async$errorCode === 1)
  58174. return A._asyncRethrow($async$result, $async$completer);
  58175. while (true)
  58176. switch ($async$goto) {
  58177. case 0:
  58178. // Function start
  58179. $async$temp1 = A;
  58180. $async$goto = 3;
  58181. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  58182. case 3:
  58183. // returning from await.
  58184. $async$returnValue = new $async$temp1.SassString($async$result, false);
  58185. // goto return
  58186. $async$goto = 1;
  58187. break;
  58188. case 1:
  58189. // return
  58190. return A._asyncReturn($async$returnValue, $async$completer);
  58191. }
  58192. });
  58193. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  58194. },
  58195. visitCssAtRule$1(node) {
  58196. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  58197. },
  58198. visitCssAtRule$body$_EvaluateVisitor(node) {
  58199. var $async$goto = 0,
  58200. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58201. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  58202. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58203. if ($async$errorCode === 1)
  58204. return A._asyncRethrow($async$result, $async$completer);
  58205. while (true)
  58206. switch ($async$goto) {
  58207. case 0:
  58208. // Function start
  58209. if ($async$self._async_evaluate$_declarationName != null)
  58210. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  58211. if (node.isChildless) {
  58212. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  58213. // goto return
  58214. $async$goto = 1;
  58215. break;
  58216. }
  58217. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  58218. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  58219. t1 = node.name;
  58220. if (A.unvendor(t1.value) === "keyframes")
  58221. $async$self._async_evaluate$_inKeyframes = true;
  58222. else
  58223. $async$self._async_evaluate$_inUnknownAtRule = true;
  58224. $async$goto = 3;
  58225. 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);
  58226. case 3:
  58227. // returning from await.
  58228. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  58229. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  58230. case 1:
  58231. // return
  58232. return A._asyncReturn($async$returnValue, $async$completer);
  58233. }
  58234. });
  58235. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  58236. },
  58237. visitCssComment$1(node) {
  58238. return this.visitCssComment$body$_EvaluateVisitor(node);
  58239. },
  58240. visitCssComment$body$_EvaluateVisitor(node) {
  58241. var $async$goto = 0,
  58242. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58243. $async$self = this;
  58244. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58245. if ($async$errorCode === 1)
  58246. return A._asyncRethrow($async$result, $async$completer);
  58247. while (true)
  58248. switch ($async$goto) {
  58249. case 0:
  58250. // Function start
  58251. 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))
  58252. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  58253. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  58254. // implicit return
  58255. return A._asyncReturn(null, $async$completer);
  58256. }
  58257. });
  58258. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  58259. },
  58260. visitCssDeclaration$1(node) {
  58261. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  58262. },
  58263. visitCssDeclaration$body$_EvaluateVisitor(node) {
  58264. var $async$goto = 0,
  58265. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58266. $async$self = this, t1;
  58267. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58268. if ($async$errorCode === 1)
  58269. return A._asyncRethrow($async$result, $async$completer);
  58270. while (true)
  58271. switch ($async$goto) {
  58272. case 0:
  58273. // Function start
  58274. t1 = node.name;
  58275. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.value, "--"), node.valueSpanForMap));
  58276. // implicit return
  58277. return A._asyncReturn(null, $async$completer);
  58278. }
  58279. });
  58280. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  58281. },
  58282. visitCssImport$1(node) {
  58283. return this.visitCssImport$body$_EvaluateVisitor(node);
  58284. },
  58285. visitCssImport$body$_EvaluateVisitor(node) {
  58286. var $async$goto = 0,
  58287. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58288. $async$self = this, t1, modifiableNode;
  58289. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58290. if ($async$errorCode === 1)
  58291. return A._asyncRethrow($async$result, $async$completer);
  58292. while (true)
  58293. switch ($async$goto) {
  58294. case 0:
  58295. // Function start
  58296. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  58297. 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"))
  58298. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  58299. 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)) {
  58300. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  58301. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  58302. } else {
  58303. t1 = $async$self._async_evaluate$_outOfOrderImports;
  58304. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  58305. }
  58306. // implicit return
  58307. return A._asyncReturn(null, $async$completer);
  58308. }
  58309. });
  58310. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  58311. },
  58312. visitCssKeyframeBlock$1(node) {
  58313. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  58314. },
  58315. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  58316. var $async$goto = 0,
  58317. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58318. $async$self = this;
  58319. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58320. if ($async$errorCode === 1)
  58321. return A._asyncRethrow($async$result, $async$completer);
  58322. while (true)
  58323. switch ($async$goto) {
  58324. case 0:
  58325. // Function start
  58326. $async$goto = 2;
  58327. 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);
  58328. case 2:
  58329. // returning from await.
  58330. // implicit return
  58331. return A._asyncReturn(null, $async$completer);
  58332. }
  58333. });
  58334. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  58335. },
  58336. visitCssMediaRule$1(node) {
  58337. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  58338. },
  58339. visitCssMediaRule$body$_EvaluateVisitor(node) {
  58340. var $async$goto = 0,
  58341. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58342. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  58343. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58344. if ($async$errorCode === 1)
  58345. return A._asyncRethrow($async$result, $async$completer);
  58346. while (true)
  58347. switch ($async$goto) {
  58348. case 0:
  58349. // Function start
  58350. if ($async$self._async_evaluate$_declarationName != null)
  58351. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  58352. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  58353. t1 = mergedQueries == null;
  58354. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  58355. // goto return
  58356. $async$goto = 1;
  58357. break;
  58358. }
  58359. if (t1)
  58360. mergedSources = B.Set_empty0;
  58361. else {
  58362. t2 = $async$self._async_evaluate$_mediaQuerySources;
  58363. t2.toString;
  58364. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  58365. t3 = $async$self._async_evaluate$_mediaQueries;
  58366. t3.toString;
  58367. t2.addAll$1(0, t3);
  58368. t2.addAll$1(0, node.queries);
  58369. mergedSources = t2;
  58370. }
  58371. t1 = t1 ? node.queries : mergedQueries;
  58372. $async$goto = 3;
  58373. 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);
  58374. case 3:
  58375. // returning from await.
  58376. case 1:
  58377. // return
  58378. return A._asyncReturn($async$returnValue, $async$completer);
  58379. }
  58380. });
  58381. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  58382. },
  58383. visitCssStyleRule$1(node) {
  58384. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  58385. },
  58386. visitCssStyleRule$body$_EvaluateVisitor(node) {
  58387. var $async$goto = 0,
  58388. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58389. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule;
  58390. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58391. if ($async$errorCode === 1)
  58392. return A._asyncRethrow($async$result, $async$completer);
  58393. while (true)
  58394. switch ($async$goto) {
  58395. case 0:
  58396. // Function start
  58397. if ($async$self._async_evaluate$_declarationName != null)
  58398. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  58399. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  58400. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  58401. t2 = node._style_rule$_selector._box$_inner.value;
  58402. t3 = styleRule == null;
  58403. t4 = t3 ? null : styleRule.originalSelector;
  58404. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  58405. 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, originalSelector);
  58406. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  58407. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  58408. $async$goto = 2;
  58409. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure1($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  58410. case 2:
  58411. // returning from await.
  58412. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  58413. if (t3) {
  58414. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  58415. t1 = !t1.get$isEmpty(t1);
  58416. } else
  58417. t1 = false;
  58418. if (t1) {
  58419. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  58420. t1.get$last(t1).isGroupEnd = true;
  58421. }
  58422. // implicit return
  58423. return A._asyncReturn(null, $async$completer);
  58424. }
  58425. });
  58426. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  58427. },
  58428. visitCssStylesheet$1(node) {
  58429. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  58430. },
  58431. visitCssStylesheet$body$_EvaluateVisitor(node) {
  58432. var $async$goto = 0,
  58433. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58434. $async$self = this, t1;
  58435. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58436. if ($async$errorCode === 1)
  58437. return A._asyncRethrow($async$result, $async$completer);
  58438. while (true)
  58439. switch ($async$goto) {
  58440. case 0:
  58441. // Function start
  58442. t1 = J.get$iterator$ax(node.get$children(node));
  58443. case 2:
  58444. // for condition
  58445. if (!t1.moveNext$0()) {
  58446. // goto after for
  58447. $async$goto = 3;
  58448. break;
  58449. }
  58450. $async$goto = 4;
  58451. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  58452. case 4:
  58453. // returning from await.
  58454. // goto for condition
  58455. $async$goto = 2;
  58456. break;
  58457. case 3:
  58458. // after for
  58459. // implicit return
  58460. return A._asyncReturn(null, $async$completer);
  58461. }
  58462. });
  58463. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  58464. },
  58465. visitCssSupportsRule$1(node) {
  58466. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  58467. },
  58468. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  58469. var $async$goto = 0,
  58470. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58471. $async$self = this;
  58472. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58473. if ($async$errorCode === 1)
  58474. return A._asyncRethrow($async$result, $async$completer);
  58475. while (true)
  58476. switch ($async$goto) {
  58477. case 0:
  58478. // Function start
  58479. if ($async$self._async_evaluate$_declarationName != null)
  58480. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  58481. $async$goto = 2;
  58482. 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);
  58483. case 2:
  58484. // returning from await.
  58485. // implicit return
  58486. return A._asyncReturn(null, $async$completer);
  58487. }
  58488. });
  58489. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  58490. },
  58491. _async_evaluate$_handleReturn$1$2(list, callback) {
  58492. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  58493. },
  58494. _async_evaluate$_handleReturn$2(list, callback) {
  58495. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  58496. },
  58497. _handleReturn$body$_EvaluateVisitor(list, callback) {
  58498. var $async$goto = 0,
  58499. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  58500. $async$returnValue, t1, _i, result;
  58501. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58502. if ($async$errorCode === 1)
  58503. return A._asyncRethrow($async$result, $async$completer);
  58504. while (true)
  58505. switch ($async$goto) {
  58506. case 0:
  58507. // Function start
  58508. t1 = list.length, _i = 0;
  58509. case 3:
  58510. // for condition
  58511. if (!(_i < list.length)) {
  58512. // goto after for
  58513. $async$goto = 5;
  58514. break;
  58515. }
  58516. $async$goto = 6;
  58517. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  58518. case 6:
  58519. // returning from await.
  58520. result = $async$result;
  58521. if (result != null) {
  58522. $async$returnValue = result;
  58523. // goto return
  58524. $async$goto = 1;
  58525. break;
  58526. }
  58527. case 4:
  58528. // for update
  58529. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  58530. // goto for condition
  58531. $async$goto = 3;
  58532. break;
  58533. case 5:
  58534. // after for
  58535. $async$returnValue = null;
  58536. // goto return
  58537. $async$goto = 1;
  58538. break;
  58539. case 1:
  58540. // return
  58541. return A._asyncReturn($async$returnValue, $async$completer);
  58542. }
  58543. });
  58544. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  58545. },
  58546. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  58547. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  58548. },
  58549. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  58550. var $async$goto = 0,
  58551. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58552. $async$returnValue, $async$self = this, result, oldEnvironment;
  58553. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58554. if ($async$errorCode === 1)
  58555. return A._asyncRethrow($async$result, $async$completer);
  58556. while (true)
  58557. switch ($async$goto) {
  58558. case 0:
  58559. // Function start
  58560. oldEnvironment = $async$self._async_evaluate$_environment;
  58561. $async$self._async_evaluate$_environment = environment;
  58562. $async$goto = 3;
  58563. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  58564. case 3:
  58565. // returning from await.
  58566. result = $async$result;
  58567. $async$self._async_evaluate$_environment = oldEnvironment;
  58568. $async$returnValue = result;
  58569. // goto return
  58570. $async$goto = 1;
  58571. break;
  58572. case 1:
  58573. // return
  58574. return A._asyncReturn($async$returnValue, $async$completer);
  58575. }
  58576. });
  58577. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  58578. },
  58579. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  58580. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  58581. },
  58582. _async_evaluate$_interpolationToValue$1(interpolation) {
  58583. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  58584. },
  58585. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  58586. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  58587. },
  58588. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  58589. var $async$goto = 0,
  58590. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  58591. $async$returnValue, $async$self = this, result, t1;
  58592. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58593. if ($async$errorCode === 1)
  58594. return A._asyncRethrow($async$result, $async$completer);
  58595. while (true)
  58596. switch ($async$goto) {
  58597. case 0:
  58598. // Function start
  58599. $async$goto = 3;
  58600. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  58601. case 3:
  58602. // returning from await.
  58603. result = $async$result;
  58604. t1 = trim ? A.trimAscii(result, true) : result;
  58605. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  58606. // goto return
  58607. $async$goto = 1;
  58608. break;
  58609. case 1:
  58610. // return
  58611. return A._asyncReturn($async$returnValue, $async$completer);
  58612. }
  58613. });
  58614. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  58615. },
  58616. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  58617. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  58618. },
  58619. _async_evaluate$_performInterpolation$1(interpolation) {
  58620. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  58621. },
  58622. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  58623. var $async$goto = 0,
  58624. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  58625. $async$returnValue, $async$self = this;
  58626. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58627. if ($async$errorCode === 1)
  58628. return A._asyncRethrow($async$result, $async$completer);
  58629. while (true)
  58630. switch ($async$goto) {
  58631. case 0:
  58632. // Function start
  58633. $async$goto = 3;
  58634. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  58635. case 3:
  58636. // returning from await.
  58637. $async$returnValue = $async$result.item1;
  58638. // goto return
  58639. $async$goto = 1;
  58640. break;
  58641. case 1:
  58642. // return
  58643. return A._asyncReturn($async$returnValue, $async$completer);
  58644. }
  58645. });
  58646. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  58647. },
  58648. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  58649. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  58650. },
  58651. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  58652. var $async$goto = 0,
  58653. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_String_InterpolationMap),
  58654. $async$returnValue, $async$self = this, tuple, t1, t2;
  58655. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58656. if ($async$errorCode === 1)
  58657. return A._asyncRethrow($async$result, $async$completer);
  58658. while (true)
  58659. switch ($async$goto) {
  58660. case 0:
  58661. // Function start
  58662. $async$goto = 3;
  58663. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  58664. case 3:
  58665. // returning from await.
  58666. tuple = $async$result;
  58667. t1 = tuple.item1;
  58668. t2 = tuple.item2;
  58669. t2.toString;
  58670. $async$returnValue = new A.Tuple2(t1, t2, type$.Tuple2_String_InterpolationMap);
  58671. // goto return
  58672. $async$goto = 1;
  58673. break;
  58674. case 1:
  58675. // return
  58676. return A._asyncReturn($async$returnValue, $async$completer);
  58677. }
  58678. });
  58679. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  58680. },
  58681. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  58682. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, true, warnForColor);
  58683. },
  58684. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  58685. var $async$goto = 0,
  58686. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_String_and_nullable_InterpolationMap),
  58687. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, targetLocations, oldInSupportsDeclaration;
  58688. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58689. if ($async$errorCode === 1)
  58690. return A._asyncRethrow($async$result, $async$completer);
  58691. while (true)
  58692. switch ($async$goto) {
  58693. case 0:
  58694. // Function start
  58695. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation);
  58696. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  58697. $async$self._async_evaluate$_inSupportsDeclaration = false;
  58698. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = type$.JSArray_Object, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  58699. case 3:
  58700. // for condition
  58701. if (!(_i < t2)) {
  58702. // goto after for
  58703. $async$goto = 5;
  58704. break;
  58705. }
  58706. value = t1[_i];
  58707. if (!first)
  58708. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  58709. if (typeof value == "string") {
  58710. t7 += value;
  58711. // goto for update
  58712. $async$goto = 4;
  58713. break;
  58714. }
  58715. t3._as(value);
  58716. $async$goto = 6;
  58717. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  58718. case 6:
  58719. // returning from await.
  58720. result = $async$result;
  58721. if (warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  58722. t8 = A._setArrayType([""], t4);
  58723. result0 = A.List_List$from(t8, false, t6);
  58724. result0.fixed$length = Array;
  58725. result0.immutable$list = Array;
  58726. result0 = new A.Interpolation(result0, t5);
  58727. result0.Interpolation$2(t8, t5);
  58728. t8 = $.$get$namesByColor();
  58729. $async$self._async_evaluate$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_anB, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  58730. }
  58731. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  58732. case 4:
  58733. // for update
  58734. ++_i, first = false;
  58735. // goto for condition
  58736. $async$goto = 3;
  58737. break;
  58738. case 5:
  58739. // after for
  58740. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  58741. t1 = A.InterpolationMap$(interpolation, targetLocations);
  58742. $async$returnValue = new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap);
  58743. // goto return
  58744. $async$goto = 1;
  58745. break;
  58746. case 1:
  58747. // return
  58748. return A._asyncReturn($async$returnValue, $async$completer);
  58749. }
  58750. });
  58751. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  58752. },
  58753. _evaluateToCss$2$quote(expression, quote) {
  58754. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  58755. },
  58756. _evaluateToCss$1(expression) {
  58757. return this._evaluateToCss$2$quote(expression, true);
  58758. },
  58759. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  58760. var $async$goto = 0,
  58761. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  58762. $async$returnValue, $async$self = this;
  58763. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58764. if ($async$errorCode === 1)
  58765. return A._asyncRethrow($async$result, $async$completer);
  58766. while (true)
  58767. switch ($async$goto) {
  58768. case 0:
  58769. // Function start
  58770. $async$goto = 3;
  58771. return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
  58772. case 3:
  58773. // returning from await.
  58774. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  58775. // goto return
  58776. $async$goto = 1;
  58777. break;
  58778. case 1:
  58779. // return
  58780. return A._asyncReturn($async$returnValue, $async$completer);
  58781. }
  58782. });
  58783. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  58784. },
  58785. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  58786. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  58787. },
  58788. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  58789. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  58790. },
  58791. _async_evaluate$_expressionNode$1(expression) {
  58792. var t1;
  58793. if (expression instanceof A.VariableExpression) {
  58794. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  58795. return t1 == null ? expression : t1;
  58796. } else
  58797. return expression;
  58798. },
  58799. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  58800. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  58801. },
  58802. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  58803. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  58804. },
  58805. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  58806. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  58807. },
  58808. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  58809. var $async$goto = 0,
  58810. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58811. $async$returnValue, $async$self = this, t1, result;
  58812. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58813. if ($async$errorCode === 1)
  58814. return A._asyncRethrow($async$result, $async$completer);
  58815. while (true)
  58816. switch ($async$goto) {
  58817. case 0:
  58818. // Function start
  58819. $async$self._async_evaluate$_addChild$2$through(node, through);
  58820. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  58821. $async$self._async_evaluate$__parent = node;
  58822. $async$goto = 3;
  58823. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  58824. case 3:
  58825. // returning from await.
  58826. result = $async$result;
  58827. $async$self._async_evaluate$__parent = t1;
  58828. $async$returnValue = result;
  58829. // goto return
  58830. $async$goto = 1;
  58831. break;
  58832. case 1:
  58833. // return
  58834. return A._asyncReturn($async$returnValue, $async$completer);
  58835. }
  58836. });
  58837. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  58838. },
  58839. _async_evaluate$_addChild$2$through(node, through) {
  58840. var grandparent, t1,
  58841. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  58842. if (through != null) {
  58843. for (; through.call$1($parent); $parent = grandparent) {
  58844. grandparent = $parent._parent;
  58845. if (grandparent == null)
  58846. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  58847. }
  58848. if ($parent.get$hasFollowingSibling()) {
  58849. grandparent = $parent._parent;
  58850. t1 = grandparent.children;
  58851. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  58852. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  58853. else {
  58854. $parent = $parent.copyWithoutChildren$0();
  58855. grandparent.addChild$1($parent);
  58856. }
  58857. }
  58858. }
  58859. $parent.addChild$1(node);
  58860. },
  58861. _async_evaluate$_addChild$1(node) {
  58862. return this._async_evaluate$_addChild$2$through(node, null);
  58863. },
  58864. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  58865. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  58866. },
  58867. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  58868. var $async$goto = 0,
  58869. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58870. $async$returnValue, $async$self = this, result, oldRule;
  58871. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58872. if ($async$errorCode === 1)
  58873. return A._asyncRethrow($async$result, $async$completer);
  58874. while (true)
  58875. switch ($async$goto) {
  58876. case 0:
  58877. // Function start
  58878. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  58879. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  58880. $async$goto = 3;
  58881. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  58882. case 3:
  58883. // returning from await.
  58884. result = $async$result;
  58885. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  58886. $async$returnValue = result;
  58887. // goto return
  58888. $async$goto = 1;
  58889. break;
  58890. case 1:
  58891. // return
  58892. return A._asyncReturn($async$returnValue, $async$completer);
  58893. }
  58894. });
  58895. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  58896. },
  58897. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  58898. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  58899. },
  58900. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  58901. var $async$goto = 0,
  58902. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58903. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  58904. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58905. if ($async$errorCode === 1)
  58906. return A._asyncRethrow($async$result, $async$completer);
  58907. while (true)
  58908. switch ($async$goto) {
  58909. case 0:
  58910. // Function start
  58911. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  58912. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  58913. $async$self._async_evaluate$_mediaQueries = queries;
  58914. $async$self._async_evaluate$_mediaQuerySources = sources;
  58915. $async$goto = 3;
  58916. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  58917. case 3:
  58918. // returning from await.
  58919. result = $async$result;
  58920. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  58921. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  58922. $async$returnValue = result;
  58923. // goto return
  58924. $async$goto = 1;
  58925. break;
  58926. case 1:
  58927. // return
  58928. return A._asyncReturn($async$returnValue, $async$completer);
  58929. }
  58930. });
  58931. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  58932. },
  58933. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  58934. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  58935. },
  58936. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  58937. var $async$goto = 0,
  58938. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  58939. $async$returnValue, $async$self = this, oldMember, result, t1;
  58940. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58941. if ($async$errorCode === 1)
  58942. return A._asyncRethrow($async$result, $async$completer);
  58943. while (true)
  58944. switch ($async$goto) {
  58945. case 0:
  58946. // Function start
  58947. t1 = $async$self._async_evaluate$_stack;
  58948. t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
  58949. oldMember = $async$self._async_evaluate$_member;
  58950. $async$self._async_evaluate$_member = member;
  58951. $async$goto = 3;
  58952. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  58953. case 3:
  58954. // returning from await.
  58955. result = $async$result;
  58956. $async$self._async_evaluate$_member = oldMember;
  58957. t1.pop();
  58958. $async$returnValue = result;
  58959. // goto return
  58960. $async$goto = 1;
  58961. break;
  58962. case 1:
  58963. // return
  58964. return A._asyncReturn($async$returnValue, $async$completer);
  58965. }
  58966. });
  58967. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  58968. },
  58969. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  58970. if (value instanceof A.SassNumber && value.asSlash != null)
  58971. 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_xHK);
  58972. return value.withoutSlash$0();
  58973. },
  58974. _async_evaluate$_stackFrame$2(member, span) {
  58975. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  58976. },
  58977. _async_evaluate$_stackTrace$1(span) {
  58978. var _this = this,
  58979. t1 = _this._async_evaluate$_stack;
  58980. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  58981. if (span != null)
  58982. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  58983. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  58984. },
  58985. _async_evaluate$_stackTrace$0() {
  58986. return this._async_evaluate$_stackTrace$1(null);
  58987. },
  58988. _async_evaluate$_warn$3(message, span, deprecation) {
  58989. var t1, trace, _this = this;
  58990. if (_this._async_evaluate$_quietDeps)
  58991. if (!_this._async_evaluate$_inDependency) {
  58992. t1 = _this._async_evaluate$_currentCallable;
  58993. t1 = t1 == null ? null : t1.inDependency;
  58994. t1 = t1 === true;
  58995. } else
  58996. t1 = true;
  58997. else
  58998. t1 = false;
  58999. if (t1)
  59000. return;
  59001. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  59002. return;
  59003. trace = _this._async_evaluate$_stackTrace$1(span);
  59004. t1 = _this._async_evaluate$_logger;
  59005. if (deprecation == null)
  59006. t1.warn$3$span$trace(0, message, span, trace);
  59007. else
  59008. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  59009. },
  59010. _async_evaluate$_warn$2(message, span) {
  59011. return this._async_evaluate$_warn$3(message, span, null);
  59012. },
  59013. _async_evaluate$_exception$2(message, span) {
  59014. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
  59015. return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
  59016. },
  59017. _async_evaluate$_exception$1(message) {
  59018. return this._async_evaluate$_exception$2(message, null);
  59019. },
  59020. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  59021. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
  59022. return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  59023. },
  59024. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  59025. var error, stackTrace, t1, exception,
  59026. addStackFrame = true;
  59027. try {
  59028. t1 = callback.call$0();
  59029. return t1;
  59030. } catch (exception) {
  59031. t1 = A.unwrapException(exception);
  59032. if (t1 instanceof A.SassScriptException) {
  59033. error = t1;
  59034. stackTrace = A.getTraceFromException(exception);
  59035. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  59036. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  59037. } else
  59038. throw exception;
  59039. }
  59040. },
  59041. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  59042. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  59043. },
  59044. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  59045. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  59046. },
  59047. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  59048. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  59049. },
  59050. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  59051. var $async$goto = 0,
  59052. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59053. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  59054. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59055. if ($async$errorCode === 1) {
  59056. $async$currentError = $async$result;
  59057. $async$goto = $async$handler;
  59058. }
  59059. while (true)
  59060. switch ($async$goto) {
  59061. case 0:
  59062. // Function start
  59063. $async$handler = 4;
  59064. $async$goto = 7;
  59065. return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  59066. case 7:
  59067. // returning from await.
  59068. t1 = $async$result;
  59069. $async$returnValue = t1;
  59070. // goto return
  59071. $async$goto = 1;
  59072. break;
  59073. $async$handler = 2;
  59074. // goto after finally
  59075. $async$goto = 6;
  59076. break;
  59077. case 4:
  59078. // catch
  59079. $async$handler = 3;
  59080. $async$exception = $async$currentError;
  59081. t1 = A.unwrapException($async$exception);
  59082. if (t1 instanceof A.SassScriptException) {
  59083. error = t1;
  59084. stackTrace = A.getTraceFromException($async$exception);
  59085. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  59086. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  59087. } else
  59088. throw $async$exception;
  59089. // goto after finally
  59090. $async$goto = 6;
  59091. break;
  59092. case 3:
  59093. // uncaught
  59094. // goto rethrow
  59095. $async$goto = 2;
  59096. break;
  59097. case 6:
  59098. // after finally
  59099. case 1:
  59100. // return
  59101. return A._asyncReturn($async$returnValue, $async$completer);
  59102. case 2:
  59103. // rethrow
  59104. return A._asyncRethrow($async$currentError, $async$completer);
  59105. }
  59106. });
  59107. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  59108. },
  59109. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  59110. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  59111. },
  59112. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  59113. var $async$goto = 0,
  59114. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59115. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  59116. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59117. if ($async$errorCode === 1) {
  59118. $async$currentError = $async$result;
  59119. $async$goto = $async$handler;
  59120. }
  59121. while (true)
  59122. switch ($async$goto) {
  59123. case 0:
  59124. // Function start
  59125. $async$handler = 4;
  59126. $async$goto = 7;
  59127. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addExceptionTrace$1$1);
  59128. case 7:
  59129. // returning from await.
  59130. t1 = $async$result;
  59131. $async$returnValue = t1;
  59132. // goto return
  59133. $async$goto = 1;
  59134. break;
  59135. $async$handler = 2;
  59136. // goto after finally
  59137. $async$goto = 6;
  59138. break;
  59139. case 4:
  59140. // catch
  59141. $async$handler = 3;
  59142. $async$exception = $async$currentError;
  59143. t1 = A.unwrapException($async$exception);
  59144. if (type$.SassRuntimeException._is(t1))
  59145. throw $async$exception;
  59146. else if (t1 instanceof A.SassException) {
  59147. error = t1;
  59148. stackTrace = A.getTraceFromException($async$exception);
  59149. t1 = error;
  59150. t2 = J.getInterceptor$z(t1);
  59151. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  59152. } else
  59153. throw $async$exception;
  59154. // goto after finally
  59155. $async$goto = 6;
  59156. break;
  59157. case 3:
  59158. // uncaught
  59159. // goto rethrow
  59160. $async$goto = 2;
  59161. break;
  59162. case 6:
  59163. // after finally
  59164. case 1:
  59165. // return
  59166. return A._asyncReturn($async$returnValue, $async$completer);
  59167. case 2:
  59168. // rethrow
  59169. return A._asyncRethrow($async$currentError, $async$completer);
  59170. }
  59171. });
  59172. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  59173. },
  59174. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  59175. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  59176. },
  59177. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  59178. var $async$goto = 0,
  59179. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  59180. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  59181. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59182. if ($async$errorCode === 1) {
  59183. $async$currentError = $async$result;
  59184. $async$goto = $async$handler;
  59185. }
  59186. while (true)
  59187. switch ($async$goto) {
  59188. case 0:
  59189. // Function start
  59190. $async$handler = 4;
  59191. $async$goto = 7;
  59192. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  59193. case 7:
  59194. // returning from await.
  59195. t1 = $async$result;
  59196. $async$returnValue = t1;
  59197. // goto return
  59198. $async$goto = 1;
  59199. break;
  59200. $async$handler = 2;
  59201. // goto after finally
  59202. $async$goto = 6;
  59203. break;
  59204. case 4:
  59205. // catch
  59206. $async$handler = 3;
  59207. $async$exception = $async$currentError;
  59208. t1 = A.unwrapException($async$exception);
  59209. if (type$.SassRuntimeException._is(t1)) {
  59210. error = t1;
  59211. stackTrace = A.getTraceFromException($async$exception);
  59212. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  59213. throw $async$exception;
  59214. t1 = error._span_exception$_message;
  59215. t2 = nodeWithSpan.get$span(nodeWithSpan);
  59216. A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
  59217. } else
  59218. throw $async$exception;
  59219. // goto after finally
  59220. $async$goto = 6;
  59221. break;
  59222. case 3:
  59223. // uncaught
  59224. // goto rethrow
  59225. $async$goto = 2;
  59226. break;
  59227. case 6:
  59228. // after finally
  59229. case 1:
  59230. // return
  59231. return A._asyncReturn($async$returnValue, $async$completer);
  59232. case 2:
  59233. // rethrow
  59234. return A._asyncRethrow($async$currentError, $async$completer);
  59235. }
  59236. });
  59237. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  59238. }
  59239. };
  59240. A._EvaluateVisitor_closure9.prototype = {
  59241. call$1($arguments) {
  59242. var module, t2,
  59243. t1 = J.getInterceptor$asx($arguments),
  59244. variable = t1.$index($arguments, 0).assertString$1("name");
  59245. t1 = t1.$index($arguments, 1).get$realNull();
  59246. module = t1 == null ? null : t1.assertString$1("module");
  59247. t1 = this.$this._async_evaluate$_environment;
  59248. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  59249. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  59250. },
  59251. $signature: 19
  59252. };
  59253. A._EvaluateVisitor_closure10.prototype = {
  59254. call$1($arguments) {
  59255. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  59256. t1 = this.$this._async_evaluate$_environment;
  59257. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  59258. },
  59259. $signature: 19
  59260. };
  59261. A._EvaluateVisitor_closure11.prototype = {
  59262. call$1($arguments) {
  59263. var module, t2, t3, t4,
  59264. t1 = J.getInterceptor$asx($arguments),
  59265. variable = t1.$index($arguments, 0).assertString$1("name");
  59266. t1 = t1.$index($arguments, 1).get$realNull();
  59267. module = t1 == null ? null : t1.assertString$1("module");
  59268. t1 = this.$this;
  59269. t2 = t1._async_evaluate$_environment;
  59270. t3 = variable._string$_text;
  59271. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  59272. 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;
  59273. },
  59274. $signature: 19
  59275. };
  59276. A._EvaluateVisitor_closure12.prototype = {
  59277. call$1($arguments) {
  59278. var module, t2,
  59279. t1 = J.getInterceptor$asx($arguments),
  59280. variable = t1.$index($arguments, 0).assertString$1("name");
  59281. t1 = t1.$index($arguments, 1).get$realNull();
  59282. module = t1 == null ? null : t1.assertString$1("module");
  59283. t1 = this.$this._async_evaluate$_environment;
  59284. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  59285. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  59286. },
  59287. $signature: 19
  59288. };
  59289. A._EvaluateVisitor_closure13.prototype = {
  59290. call$1($arguments) {
  59291. var t1 = this.$this._async_evaluate$_environment;
  59292. if (!t1._async_environment$_inMixin)
  59293. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  59294. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  59295. },
  59296. $signature: 19
  59297. };
  59298. A._EvaluateVisitor_closure14.prototype = {
  59299. call$1($arguments) {
  59300. var t2, t3, t4,
  59301. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  59302. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  59303. if (module == null)
  59304. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  59305. t1 = type$.Value;
  59306. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  59307. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  59308. t4 = t3.get$current(t3);
  59309. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  59310. }
  59311. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  59312. },
  59313. $signature: 37
  59314. };
  59315. A._EvaluateVisitor_closure15.prototype = {
  59316. call$1($arguments) {
  59317. var t2, t3, t4,
  59318. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  59319. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  59320. if (module == null)
  59321. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  59322. t1 = type$.Value;
  59323. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  59324. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  59325. t4 = t3.get$current(t3);
  59326. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  59327. }
  59328. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  59329. },
  59330. $signature: 37
  59331. };
  59332. A._EvaluateVisitor_closure16.prototype = {
  59333. call$1($arguments) {
  59334. var module, callable, t2,
  59335. t1 = J.getInterceptor$asx($arguments),
  59336. $name = t1.$index($arguments, 0).assertString$1("name"),
  59337. css = t1.$index($arguments, 1).get$isTruthy();
  59338. t1 = t1.$index($arguments, 2).get$realNull();
  59339. module = t1 == null ? null : t1.assertString$1("module");
  59340. if (css && module != null)
  59341. throw A.wrapException(string$.x24css_a);
  59342. if (css)
  59343. callable = new A.PlainCssCallable($name._string$_text);
  59344. else {
  59345. t1 = this.$this;
  59346. t2 = t1._async_evaluate$_callableNode;
  59347. t2.toString;
  59348. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
  59349. }
  59350. if (callable != null)
  59351. return new A.SassFunction(callable);
  59352. throw A.wrapException("Function not found: " + $name.toString$0(0));
  59353. },
  59354. $signature: 161
  59355. };
  59356. A._EvaluateVisitor__closure4.prototype = {
  59357. call$0() {
  59358. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  59359. t2 = this.module;
  59360. t2 = t2 == null ? null : t2._string$_text;
  59361. return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
  59362. },
  59363. $signature: 108
  59364. };
  59365. A._EvaluateVisitor_closure17.prototype = {
  59366. call$1($arguments) {
  59367. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  59368. },
  59369. $call$body$_EvaluateVisitor_closure0($arguments) {
  59370. var $async$goto = 0,
  59371. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  59372. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  59373. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59374. if ($async$errorCode === 1)
  59375. return A._asyncRethrow($async$result, $async$completer);
  59376. while (true)
  59377. switch ($async$goto) {
  59378. case 0:
  59379. // Function start
  59380. t1 = J.getInterceptor$asx($arguments);
  59381. $function = t1.$index($arguments, 0);
  59382. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  59383. t1 = $async$self.$this;
  59384. t2 = t1._async_evaluate$_callableNode;
  59385. t2.toString;
  59386. t3 = A._setArrayType([], type$.JSArray_Expression);
  59387. t4 = type$.String;
  59388. t5 = type$.Expression;
  59389. t6 = t2.get$span(t2);
  59390. t7 = t2.get$span(t2);
  59391. args._wereKeywordsAccessed = true;
  59392. t8 = args._keywords;
  59393. if (t8.get$isEmpty(t8))
  59394. t2 = null;
  59395. else {
  59396. t9 = type$.Value;
  59397. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  59398. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  59399. t11 = t8.get$current(t8);
  59400. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  59401. }
  59402. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  59403. }
  59404. 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);
  59405. $async$goto = $function instanceof A.SassString ? 3 : 4;
  59406. break;
  59407. case 3:
  59408. // then
  59409. t2 = $function.toString$0(0);
  59410. A.EvaluationContext_current().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_qVK);
  59411. callableNode = t1._async_evaluate$_callableNode;
  59412. $async$goto = 5;
  59413. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  59414. case 5:
  59415. // returning from await.
  59416. $async$returnValue = $async$result;
  59417. // goto return
  59418. $async$goto = 1;
  59419. break;
  59420. case 4:
  59421. // join
  59422. t2 = $function.assertFunction$1("function");
  59423. t3 = t1._async_evaluate$_callableNode;
  59424. t3.toString;
  59425. $async$goto = 6;
  59426. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  59427. case 6:
  59428. // returning from await.
  59429. t3 = $async$result;
  59430. $async$returnValue = t3;
  59431. // goto return
  59432. $async$goto = 1;
  59433. break;
  59434. case 1:
  59435. // return
  59436. return A._asyncReturn($async$returnValue, $async$completer);
  59437. }
  59438. });
  59439. return A._asyncStartSync($async$call$1, $async$completer);
  59440. },
  59441. $signature: 187
  59442. };
  59443. A._EvaluateVisitor_closure18.prototype = {
  59444. call$1($arguments) {
  59445. return this.$call$body$_EvaluateVisitor_closure($arguments);
  59446. },
  59447. $call$body$_EvaluateVisitor_closure($arguments) {
  59448. var $async$goto = 0,
  59449. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59450. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  59451. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59452. if ($async$errorCode === 1)
  59453. return A._asyncRethrow($async$result, $async$completer);
  59454. while (true)
  59455. switch ($async$goto) {
  59456. case 0:
  59457. // Function start
  59458. t1 = J.getInterceptor$asx($arguments);
  59459. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  59460. t1 = t1.$index($arguments, 1).get$realNull();
  59461. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  59462. t1 = $async$self.$this;
  59463. t2 = t1._async_evaluate$_callableNode;
  59464. t2.toString;
  59465. if (withMap != null) {
  59466. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  59467. withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
  59468. configuration = new A.ExplicitConfiguration(t2, values, null);
  59469. } else
  59470. configuration = B.Configuration_Map_empty_null;
  59471. t3 = t2.get$span(t2);
  59472. $async$goto = 2;
  59473. return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure3(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  59474. case 2:
  59475. // returning from await.
  59476. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  59477. // implicit return
  59478. return A._asyncReturn(null, $async$completer);
  59479. }
  59480. });
  59481. return A._asyncStartSync($async$call$1, $async$completer);
  59482. },
  59483. $signature: 420
  59484. };
  59485. A._EvaluateVisitor__closure2.prototype = {
  59486. call$2(variable, value) {
  59487. var t1 = variable.assertString$1("with key"),
  59488. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  59489. t1 = this.values;
  59490. if (t1.containsKey$1($name))
  59491. throw A.wrapException("The variable $" + $name + " was configured twice.");
  59492. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  59493. },
  59494. $signature: 53
  59495. };
  59496. A._EvaluateVisitor__closure3.prototype = {
  59497. call$1(module) {
  59498. var t1 = this.$this;
  59499. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  59500. },
  59501. $signature: 163
  59502. };
  59503. A._EvaluateVisitor_run_closure0.prototype = {
  59504. call$0() {
  59505. var $async$goto = 0,
  59506. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  59507. $async$returnValue, $async$self = this, t1, t2, url, $async$temp1, $async$temp2;
  59508. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59509. if ($async$errorCode === 1)
  59510. return A._asyncRethrow($async$result, $async$completer);
  59511. while (true)
  59512. switch ($async$goto) {
  59513. case 0:
  59514. // Function start
  59515. t1 = $async$self.node;
  59516. t2 = t1.span;
  59517. url = t2.get$sourceUrl(t2);
  59518. if (url != null) {
  59519. t2 = $async$self.$this;
  59520. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  59521. t2._async_evaluate$_loadedUrls.add$1(0, url);
  59522. }
  59523. t2 = $async$self.$this;
  59524. $async$temp1 = A;
  59525. $async$temp2 = t2;
  59526. $async$goto = 3;
  59527. 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);
  59528. case 3:
  59529. // returning from await.
  59530. $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
  59531. // goto return
  59532. $async$goto = 1;
  59533. break;
  59534. case 1:
  59535. // return
  59536. return A._asyncReturn($async$returnValue, $async$completer);
  59537. }
  59538. });
  59539. return A._asyncStartSync($async$call$0, $async$completer);
  59540. },
  59541. $signature: 443
  59542. };
  59543. A._EvaluateVisitor_run__closure0.prototype = {
  59544. call$0() {
  59545. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  59546. },
  59547. $signature: 444
  59548. };
  59549. A._EvaluateVisitor__loadModule_closure1.prototype = {
  59550. call$0() {
  59551. return this.callback.call$1(this.builtInModule);
  59552. },
  59553. $signature: 0
  59554. };
  59555. A._EvaluateVisitor__loadModule_closure2.prototype = {
  59556. call$0() {
  59557. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  59558. },
  59559. $call$body$_EvaluateVisitor__loadModule_closure() {
  59560. var $async$goto = 0,
  59561. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59562. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, message, t1, t2, t3, result, stylesheet, t4, canonicalUrl, $async$temp1;
  59563. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59564. if ($async$errorCode === 1) {
  59565. $async$currentError = $async$result;
  59566. $async$goto = $async$handler;
  59567. }
  59568. while (true)
  59569. switch ($async$goto) {
  59570. case 0:
  59571. // Function start
  59572. t1 = {};
  59573. t2 = $async$self.$this;
  59574. t3 = $async$self.nodeWithSpan;
  59575. $async$goto = 2;
  59576. 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);
  59577. case 2:
  59578. // returning from await.
  59579. result = $async$result;
  59580. stylesheet = result.stylesheet;
  59581. t4 = stylesheet.span;
  59582. canonicalUrl = t4.get$sourceUrl(t4);
  59583. if (canonicalUrl != null && t2._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
  59584. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  59585. t1 = A.NullableExtension_andThen(t2._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  59586. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  59587. }
  59588. if (canonicalUrl != null)
  59589. t2._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t3);
  59590. oldInDependency = t2._async_evaluate$_inDependency;
  59591. t2._async_evaluate$_inDependency = result.isDependency;
  59592. t1.module = null;
  59593. $async$handler = 3;
  59594. $async$temp1 = t1;
  59595. $async$goto = 6;
  59596. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  59597. case 6:
  59598. // returning from await.
  59599. $async$temp1.module = $async$result;
  59600. $async$next.push(5);
  59601. // goto finally
  59602. $async$goto = 4;
  59603. break;
  59604. case 3:
  59605. // uncaught
  59606. $async$next = [1];
  59607. case 4:
  59608. // finally
  59609. $async$handler = 1;
  59610. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  59611. t2._async_evaluate$_inDependency = oldInDependency;
  59612. // goto the next finally handler
  59613. $async$goto = $async$next.pop();
  59614. break;
  59615. case 5:
  59616. // after finally
  59617. $async$goto = 7;
  59618. return A._asyncAwait(t2._addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure2(t1, $async$self.callback), false, type$.void), $async$call$0);
  59619. case 7:
  59620. // returning from await.
  59621. // implicit return
  59622. return A._asyncReturn(null, $async$completer);
  59623. case 1:
  59624. // rethrow
  59625. return A._asyncRethrow($async$currentError, $async$completer);
  59626. }
  59627. });
  59628. return A._asyncStartSync($async$call$0, $async$completer);
  59629. },
  59630. $signature: 2
  59631. };
  59632. A._EvaluateVisitor__loadModule__closure1.prototype = {
  59633. call$1(previousLoad) {
  59634. 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));
  59635. },
  59636. $signature: 86
  59637. };
  59638. A._EvaluateVisitor__loadModule__closure2.prototype = {
  59639. call$0() {
  59640. return this.callback.call$1(this._box_0.module);
  59641. },
  59642. $signature: 0
  59643. };
  59644. A._EvaluateVisitor__execute_closure0.prototype = {
  59645. call$0() {
  59646. var $async$goto = 0,
  59647. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59648. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  59649. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59650. if ($async$errorCode === 1)
  59651. return A._asyncRethrow($async$result, $async$completer);
  59652. while (true)
  59653. switch ($async$goto) {
  59654. case 0:
  59655. // Function start
  59656. t1 = $async$self.$this;
  59657. oldImporter = t1._async_evaluate$_importer;
  59658. oldStylesheet = t1._async_evaluate$__stylesheet;
  59659. oldRoot = t1._async_evaluate$__root;
  59660. oldParent = t1._async_evaluate$__parent;
  59661. oldEndOfImports = t1._async_evaluate$__endOfImports;
  59662. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  59663. oldExtensionStore = t1._async_evaluate$__extensionStore;
  59664. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  59665. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  59666. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  59667. oldDeclarationName = t1._async_evaluate$_declarationName;
  59668. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  59669. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  59670. oldConfiguration = t1._async_evaluate$_configuration;
  59671. t1._async_evaluate$_importer = $async$self.importer;
  59672. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  59673. t4 = t3.span;
  59674. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  59675. t1._async_evaluate$__endOfImports = 0;
  59676. t1._async_evaluate$_outOfOrderImports = null;
  59677. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  59678. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  59679. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  59680. t6 = $async$self.configuration;
  59681. if (t6 != null)
  59682. t1._async_evaluate$_configuration = t6;
  59683. $async$goto = 2;
  59684. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  59685. case 2:
  59686. // returning from await.
  59687. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  59688. $async$self.css.__late_helper$_value = t3;
  59689. t1._async_evaluate$_importer = oldImporter;
  59690. t1._async_evaluate$__stylesheet = oldStylesheet;
  59691. t1._async_evaluate$__root = oldRoot;
  59692. t1._async_evaluate$__parent = oldParent;
  59693. t1._async_evaluate$__endOfImports = oldEndOfImports;
  59694. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  59695. t1._async_evaluate$__extensionStore = oldExtensionStore;
  59696. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  59697. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  59698. t1._async_evaluate$_declarationName = oldDeclarationName;
  59699. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  59700. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  59701. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  59702. t1._async_evaluate$_configuration = oldConfiguration;
  59703. // implicit return
  59704. return A._asyncReturn(null, $async$completer);
  59705. }
  59706. });
  59707. return A._asyncStartSync($async$call$0, $async$completer);
  59708. },
  59709. $signature: 2
  59710. };
  59711. A._EvaluateVisitor__combineCss_closure2.prototype = {
  59712. call$1(module) {
  59713. return module.get$transitivelyContainsCss();
  59714. },
  59715. $signature: 119
  59716. };
  59717. A._EvaluateVisitor__combineCss_closure3.prototype = {
  59718. call$1(target) {
  59719. return !this.selectors.contains$1(0, target);
  59720. },
  59721. $signature: 13
  59722. };
  59723. A._EvaluateVisitor__combineCss_closure4.prototype = {
  59724. call$1(module) {
  59725. return module.cloneCss$0();
  59726. },
  59727. $signature: 462
  59728. };
  59729. A._EvaluateVisitor__extendModules_closure1.prototype = {
  59730. call$1(target) {
  59731. return !this.originalSelectors.contains$1(0, target);
  59732. },
  59733. $signature: 13
  59734. };
  59735. A._EvaluateVisitor__extendModules_closure2.prototype = {
  59736. call$0() {
  59737. return A._setArrayType([], type$.JSArray_ExtensionStore);
  59738. },
  59739. $signature: 165
  59740. };
  59741. A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
  59742. call$1(module) {
  59743. var t1, t2, t3, _i, upstream;
  59744. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  59745. upstream = t1[_i];
  59746. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  59747. this.call$1(upstream);
  59748. }
  59749. this.sorted.addFirst$1(module);
  59750. },
  59751. $signature: 163
  59752. };
  59753. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  59754. call$0() {
  59755. var $async$goto = 0,
  59756. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59757. $async$self = this, t1, t2, t3, _i;
  59758. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59759. if ($async$errorCode === 1)
  59760. return A._asyncRethrow($async$result, $async$completer);
  59761. while (true)
  59762. switch ($async$goto) {
  59763. case 0:
  59764. // Function start
  59765. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59766. case 2:
  59767. // for condition
  59768. if (!(_i < t2)) {
  59769. // goto after for
  59770. $async$goto = 4;
  59771. break;
  59772. }
  59773. $async$goto = 5;
  59774. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59775. case 5:
  59776. // returning from await.
  59777. case 3:
  59778. // for update
  59779. ++_i;
  59780. // goto for condition
  59781. $async$goto = 2;
  59782. break;
  59783. case 4:
  59784. // after for
  59785. // implicit return
  59786. return A._asyncReturn(null, $async$completer);
  59787. }
  59788. });
  59789. return A._asyncStartSync($async$call$0, $async$completer);
  59790. },
  59791. $signature: 2
  59792. };
  59793. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  59794. call$0() {
  59795. var $async$goto = 0,
  59796. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59797. $async$self = this, t1, t2, t3, _i;
  59798. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59799. if ($async$errorCode === 1)
  59800. return A._asyncRethrow($async$result, $async$completer);
  59801. while (true)
  59802. switch ($async$goto) {
  59803. case 0:
  59804. // Function start
  59805. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59806. case 2:
  59807. // for condition
  59808. if (!(_i < t2)) {
  59809. // goto after for
  59810. $async$goto = 4;
  59811. break;
  59812. }
  59813. $async$goto = 5;
  59814. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59815. case 5:
  59816. // returning from await.
  59817. case 3:
  59818. // for update
  59819. ++_i;
  59820. // goto for condition
  59821. $async$goto = 2;
  59822. break;
  59823. case 4:
  59824. // after for
  59825. // implicit return
  59826. return A._asyncReturn(null, $async$completer);
  59827. }
  59828. });
  59829. return A._asyncStartSync($async$call$0, $async$completer);
  59830. },
  59831. $signature: 39
  59832. };
  59833. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  59834. call$1(callback) {
  59835. var $async$goto = 0,
  59836. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59837. $async$self = this, t1, t2;
  59838. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59839. if ($async$errorCode === 1)
  59840. return A._asyncRethrow($async$result, $async$completer);
  59841. while (true)
  59842. switch ($async$goto) {
  59843. case 0:
  59844. // Function start
  59845. t1 = $async$self.$this;
  59846. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  59847. t1._async_evaluate$__parent = $async$self.newParent;
  59848. $async$goto = 2;
  59849. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  59850. case 2:
  59851. // returning from await.
  59852. t1._async_evaluate$__parent = t2;
  59853. // implicit return
  59854. return A._asyncReturn(null, $async$completer);
  59855. }
  59856. });
  59857. return A._asyncStartSync($async$call$1, $async$completer);
  59858. },
  59859. $signature: 31
  59860. };
  59861. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  59862. call$1(callback) {
  59863. var $async$goto = 0,
  59864. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59865. $async$self = this, t1, oldAtRootExcludingStyleRule;
  59866. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59867. if ($async$errorCode === 1)
  59868. return A._asyncRethrow($async$result, $async$completer);
  59869. while (true)
  59870. switch ($async$goto) {
  59871. case 0:
  59872. // Function start
  59873. t1 = $async$self.$this;
  59874. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  59875. t1._async_evaluate$_atRootExcludingStyleRule = true;
  59876. $async$goto = 2;
  59877. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  59878. case 2:
  59879. // returning from await.
  59880. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  59881. // implicit return
  59882. return A._asyncReturn(null, $async$completer);
  59883. }
  59884. });
  59885. return A._asyncStartSync($async$call$1, $async$completer);
  59886. },
  59887. $signature: 31
  59888. };
  59889. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  59890. call$1(callback) {
  59891. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  59892. },
  59893. $signature: 31
  59894. };
  59895. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  59896. call$0() {
  59897. return this.innerScope.call$1(this.callback);
  59898. },
  59899. $signature: 2
  59900. };
  59901. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  59902. call$1(callback) {
  59903. var $async$goto = 0,
  59904. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59905. $async$self = this, t1, wasInKeyframes;
  59906. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59907. if ($async$errorCode === 1)
  59908. return A._asyncRethrow($async$result, $async$completer);
  59909. while (true)
  59910. switch ($async$goto) {
  59911. case 0:
  59912. // Function start
  59913. t1 = $async$self.$this;
  59914. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  59915. t1._async_evaluate$_inKeyframes = false;
  59916. $async$goto = 2;
  59917. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  59918. case 2:
  59919. // returning from await.
  59920. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  59921. // implicit return
  59922. return A._asyncReturn(null, $async$completer);
  59923. }
  59924. });
  59925. return A._asyncStartSync($async$call$1, $async$completer);
  59926. },
  59927. $signature: 31
  59928. };
  59929. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  59930. call$1($parent) {
  59931. return type$.CssAtRule._is($parent);
  59932. },
  59933. $signature: 166
  59934. };
  59935. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  59936. call$1(callback) {
  59937. var $async$goto = 0,
  59938. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59939. $async$self = this, t1, wasInUnknownAtRule;
  59940. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59941. if ($async$errorCode === 1)
  59942. return A._asyncRethrow($async$result, $async$completer);
  59943. while (true)
  59944. switch ($async$goto) {
  59945. case 0:
  59946. // Function start
  59947. t1 = $async$self.$this;
  59948. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  59949. t1._async_evaluate$_inUnknownAtRule = false;
  59950. $async$goto = 2;
  59951. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  59952. case 2:
  59953. // returning from await.
  59954. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  59955. // implicit return
  59956. return A._asyncReturn(null, $async$completer);
  59957. }
  59958. });
  59959. return A._asyncStartSync($async$call$1, $async$completer);
  59960. },
  59961. $signature: 31
  59962. };
  59963. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  59964. call$0() {
  59965. var $async$goto = 0,
  59966. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59967. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  59968. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59969. if ($async$errorCode === 1)
  59970. return A._asyncRethrow($async$result, $async$completer);
  59971. while (true)
  59972. switch ($async$goto) {
  59973. case 0:
  59974. // Function start
  59975. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59976. case 3:
  59977. // for condition
  59978. if (!(_i < t2)) {
  59979. // goto after for
  59980. $async$goto = 5;
  59981. break;
  59982. }
  59983. $async$goto = 6;
  59984. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59985. case 6:
  59986. // returning from await.
  59987. case 4:
  59988. // for update
  59989. ++_i;
  59990. // goto for condition
  59991. $async$goto = 3;
  59992. break;
  59993. case 5:
  59994. // after for
  59995. $async$returnValue = null;
  59996. // goto return
  59997. $async$goto = 1;
  59998. break;
  59999. case 1:
  60000. // return
  60001. return A._asyncReturn($async$returnValue, $async$completer);
  60002. }
  60003. });
  60004. return A._asyncStartSync($async$call$0, $async$completer);
  60005. },
  60006. $signature: 2
  60007. };
  60008. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  60009. call$1(value) {
  60010. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
  60011. },
  60012. $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
  60013. var $async$goto = 0,
  60014. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
  60015. $async$returnValue, $async$self = this, $async$temp1;
  60016. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60017. if ($async$errorCode === 1)
  60018. return A._asyncRethrow($async$result, $async$completer);
  60019. while (true)
  60020. switch ($async$goto) {
  60021. case 0:
  60022. // Function start
  60023. $async$temp1 = A;
  60024. $async$goto = 3;
  60025. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  60026. case 3:
  60027. // returning from await.
  60028. $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
  60029. // goto return
  60030. $async$goto = 1;
  60031. break;
  60032. case 1:
  60033. // return
  60034. return A._asyncReturn($async$returnValue, $async$completer);
  60035. }
  60036. });
  60037. return A._asyncStartSync($async$call$1, $async$completer);
  60038. },
  60039. $signature: 493
  60040. };
  60041. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  60042. call$0() {
  60043. var $async$goto = 0,
  60044. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60045. $async$self = this, t1, t2, t3, _i;
  60046. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60047. if ($async$errorCode === 1)
  60048. return A._asyncRethrow($async$result, $async$completer);
  60049. while (true)
  60050. switch ($async$goto) {
  60051. case 0:
  60052. // Function start
  60053. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60054. case 2:
  60055. // for condition
  60056. if (!(_i < t2)) {
  60057. // goto after for
  60058. $async$goto = 4;
  60059. break;
  60060. }
  60061. $async$goto = 5;
  60062. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60063. case 5:
  60064. // returning from await.
  60065. case 3:
  60066. // for update
  60067. ++_i;
  60068. // goto for condition
  60069. $async$goto = 2;
  60070. break;
  60071. case 4:
  60072. // after for
  60073. // implicit return
  60074. return A._asyncReturn(null, $async$completer);
  60075. }
  60076. });
  60077. return A._asyncStartSync($async$call$0, $async$completer);
  60078. },
  60079. $signature: 2
  60080. };
  60081. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  60082. call$1(value) {
  60083. var t1 = this.$this,
  60084. t2 = this.nodeWithSpan;
  60085. return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  60086. },
  60087. $signature: 50
  60088. };
  60089. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  60090. call$1(value) {
  60091. return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  60092. },
  60093. $signature: 50
  60094. };
  60095. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  60096. call$0() {
  60097. var _this = this,
  60098. t1 = _this.$this;
  60099. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  60100. },
  60101. $signature: 64
  60102. };
  60103. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  60104. call$1(element) {
  60105. var t1;
  60106. this.setVariables.call$1(element);
  60107. t1 = this.$this;
  60108. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  60109. },
  60110. $signature: 501
  60111. };
  60112. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  60113. call$1(child) {
  60114. return child.accept$1(this.$this);
  60115. },
  60116. $signature: 100
  60117. };
  60118. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  60119. call$1(value) {
  60120. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  60121. },
  60122. $signature: 503
  60123. };
  60124. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  60125. call$0() {
  60126. var $async$goto = 0,
  60127. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60128. $async$self = this, t2, t3, _i, t1, styleRule;
  60129. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60130. if ($async$errorCode === 1)
  60131. return A._asyncRethrow($async$result, $async$completer);
  60132. while (true)
  60133. switch ($async$goto) {
  60134. case 0:
  60135. // Function start
  60136. t1 = $async$self.$this;
  60137. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60138. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  60139. break;
  60140. case 2:
  60141. // then
  60142. t2 = $async$self.children, t3 = t2.length, _i = 0;
  60143. case 5:
  60144. // for condition
  60145. if (!(_i < t3)) {
  60146. // goto after for
  60147. $async$goto = 7;
  60148. break;
  60149. }
  60150. $async$goto = 8;
  60151. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  60152. case 8:
  60153. // returning from await.
  60154. case 6:
  60155. // for update
  60156. ++_i;
  60157. // goto for condition
  60158. $async$goto = 5;
  60159. break;
  60160. case 7:
  60161. // after for
  60162. // goto join
  60163. $async$goto = 3;
  60164. break;
  60165. case 4:
  60166. // else
  60167. $async$goto = 9;
  60168. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60169. case 9:
  60170. // returning from await.
  60171. case 3:
  60172. // join
  60173. // implicit return
  60174. return A._asyncReturn(null, $async$completer);
  60175. }
  60176. });
  60177. return A._asyncStartSync($async$call$0, $async$completer);
  60178. },
  60179. $signature: 2
  60180. };
  60181. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  60182. call$0() {
  60183. var $async$goto = 0,
  60184. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60185. $async$self = this, t1, t2, t3, _i;
  60186. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60187. if ($async$errorCode === 1)
  60188. return A._asyncRethrow($async$result, $async$completer);
  60189. while (true)
  60190. switch ($async$goto) {
  60191. case 0:
  60192. // Function start
  60193. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60194. case 2:
  60195. // for condition
  60196. if (!(_i < t2)) {
  60197. // goto after for
  60198. $async$goto = 4;
  60199. break;
  60200. }
  60201. $async$goto = 5;
  60202. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60203. case 5:
  60204. // returning from await.
  60205. case 3:
  60206. // for update
  60207. ++_i;
  60208. // goto for condition
  60209. $async$goto = 2;
  60210. break;
  60211. case 4:
  60212. // after for
  60213. // implicit return
  60214. return A._asyncReturn(null, $async$completer);
  60215. }
  60216. });
  60217. return A._asyncStartSync($async$call$0, $async$completer);
  60218. },
  60219. $signature: 2
  60220. };
  60221. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  60222. call$1(node) {
  60223. return type$.CssStyleRule._is(node);
  60224. },
  60225. $signature: 7
  60226. };
  60227. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  60228. call$0() {
  60229. var $async$goto = 0,
  60230. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  60231. $async$returnValue, $async$self = this;
  60232. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60233. if ($async$errorCode === 1)
  60234. return A._asyncRethrow($async$result, $async$completer);
  60235. while (true)
  60236. switch ($async$goto) {
  60237. case 0:
  60238. // Function start
  60239. $async$goto = 3;
  60240. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  60241. case 3:
  60242. // returning from await.
  60243. $async$returnValue = $async$result.assertNumber$0();
  60244. // goto return
  60245. $async$goto = 1;
  60246. break;
  60247. case 1:
  60248. // return
  60249. return A._asyncReturn($async$returnValue, $async$completer);
  60250. }
  60251. });
  60252. return A._asyncStartSync($async$call$0, $async$completer);
  60253. },
  60254. $signature: 168
  60255. };
  60256. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  60257. call$0() {
  60258. var $async$goto = 0,
  60259. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  60260. $async$returnValue, $async$self = this;
  60261. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60262. if ($async$errorCode === 1)
  60263. return A._asyncRethrow($async$result, $async$completer);
  60264. while (true)
  60265. switch ($async$goto) {
  60266. case 0:
  60267. // Function start
  60268. $async$goto = 3;
  60269. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  60270. case 3:
  60271. // returning from await.
  60272. $async$returnValue = $async$result.assertNumber$0();
  60273. // goto return
  60274. $async$goto = 1;
  60275. break;
  60276. case 1:
  60277. // return
  60278. return A._asyncReturn($async$returnValue, $async$completer);
  60279. }
  60280. });
  60281. return A._asyncStartSync($async$call$0, $async$completer);
  60282. },
  60283. $signature: 168
  60284. };
  60285. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  60286. call$0() {
  60287. return this.fromNumber.assertInt$0();
  60288. },
  60289. $signature: 12
  60290. };
  60291. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  60292. call$0() {
  60293. var t1 = this.fromNumber;
  60294. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  60295. },
  60296. $signature: 12
  60297. };
  60298. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  60299. call$0() {
  60300. var $async$goto = 0,
  60301. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  60302. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  60303. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60304. if ($async$errorCode === 1)
  60305. return A._asyncRethrow($async$result, $async$completer);
  60306. while (true)
  60307. switch ($async$goto) {
  60308. case 0:
  60309. // Function start
  60310. t1 = $async$self.$this;
  60311. t2 = $async$self.node;
  60312. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  60313. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  60314. case 3:
  60315. // for condition
  60316. if (!(i !== t3.to)) {
  60317. // goto after for
  60318. $async$goto = 5;
  60319. break;
  60320. }
  60321. t7 = t1._async_evaluate$_environment;
  60322. t8 = t6.get$numeratorUnits(t6);
  60323. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  60324. $async$goto = 6;
  60325. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  60326. case 6:
  60327. // returning from await.
  60328. result = $async$result;
  60329. if (result != null) {
  60330. $async$returnValue = result;
  60331. // goto return
  60332. $async$goto = 1;
  60333. break;
  60334. }
  60335. case 4:
  60336. // for update
  60337. i += t4;
  60338. // goto for condition
  60339. $async$goto = 3;
  60340. break;
  60341. case 5:
  60342. // after for
  60343. $async$returnValue = null;
  60344. // goto return
  60345. $async$goto = 1;
  60346. break;
  60347. case 1:
  60348. // return
  60349. return A._asyncReturn($async$returnValue, $async$completer);
  60350. }
  60351. });
  60352. return A._asyncStartSync($async$call$0, $async$completer);
  60353. },
  60354. $signature: 64
  60355. };
  60356. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  60357. call$1(child) {
  60358. return child.accept$1(this.$this);
  60359. },
  60360. $signature: 100
  60361. };
  60362. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  60363. call$1(module) {
  60364. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  60365. },
  60366. $signature: 107
  60367. };
  60368. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  60369. call$1(module) {
  60370. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  60371. },
  60372. $signature: 107
  60373. };
  60374. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  60375. call$0() {
  60376. var t1 = this.$this;
  60377. return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
  60378. },
  60379. $signature: 64
  60380. };
  60381. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  60382. call$1(child) {
  60383. return child.accept$1(this.$this);
  60384. },
  60385. $signature: 100
  60386. };
  60387. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  60388. call$0() {
  60389. var $async$goto = 0,
  60390. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  60391. $async$returnValue, $async$self = this, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, t3, url;
  60392. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60393. if ($async$errorCode === 1)
  60394. return A._asyncRethrow($async$result, $async$completer);
  60395. while (true)
  60396. switch ($async$goto) {
  60397. case 0:
  60398. // Function start
  60399. t1 = $async$self.$this;
  60400. t2 = $async$self.$import;
  60401. $async$goto = 3;
  60402. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  60403. case 3:
  60404. // returning from await.
  60405. result = $async$result;
  60406. stylesheet = result.stylesheet;
  60407. t3 = stylesheet.span;
  60408. url = t3.get$sourceUrl(t3);
  60409. if (url != null) {
  60410. t3 = t1._async_evaluate$_activeModules;
  60411. if (t3.containsKey$1(url)) {
  60412. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  60413. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  60414. }
  60415. t3.$indexSet(0, url, t2);
  60416. }
  60417. t2 = stylesheet._uses;
  60418. t3 = type$.UnmodifiableListView_UseRule;
  60419. t4 = new A.UnmodifiableListView(t2, t3);
  60420. if (t4.get$length(t4) === 0) {
  60421. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  60422. t4 = t4.get$length(t4) === 0;
  60423. } else
  60424. t4 = false;
  60425. $async$goto = t4 ? 4 : 5;
  60426. break;
  60427. case 4:
  60428. // then
  60429. oldImporter = t1._async_evaluate$_importer;
  60430. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  60431. oldInDependency = t1._async_evaluate$_inDependency;
  60432. t1._async_evaluate$_importer = result.importer;
  60433. t1._async_evaluate$__stylesheet = stylesheet;
  60434. t1._async_evaluate$_inDependency = result.isDependency;
  60435. $async$goto = 6;
  60436. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  60437. case 6:
  60438. // returning from await.
  60439. t1._async_evaluate$_importer = oldImporter;
  60440. t1._async_evaluate$__stylesheet = t2;
  60441. t1._async_evaluate$_inDependency = oldInDependency;
  60442. t1._async_evaluate$_activeModules.remove$1(0, url);
  60443. // goto return
  60444. $async$goto = 1;
  60445. break;
  60446. case 5:
  60447. // join
  60448. t2 = new A.UnmodifiableListView(t2, t3);
  60449. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  60450. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  60451. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  60452. } else
  60453. loadsUserDefinedModules = true;
  60454. children = A._Cell$();
  60455. t2 = t1._async_evaluate$_environment;
  60456. t3 = type$.String;
  60457. t4 = type$.Module_AsyncCallable;
  60458. t5 = type$.AstNode;
  60459. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  60460. t7 = t2._async_environment$_variables;
  60461. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  60462. t8 = t2._async_environment$_variableNodes;
  60463. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  60464. t9 = t2._async_environment$_functions;
  60465. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  60466. t10 = t2._async_environment$_mixins;
  60467. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  60468. 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);
  60469. $async$goto = 7;
  60470. return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  60471. case 7:
  60472. // returning from await.
  60473. module = environment.toDummyModule$0();
  60474. t1._async_evaluate$_environment.importForwards$1(module);
  60475. $async$goto = loadsUserDefinedModules ? 8 : 9;
  60476. break;
  60477. case 8:
  60478. // then
  60479. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  60480. break;
  60481. case 10:
  60482. // then
  60483. $async$goto = 12;
  60484. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  60485. case 12:
  60486. // returning from await.
  60487. case 11:
  60488. // join
  60489. visitor = new A._ImportedCssVisitor0(t1);
  60490. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  60491. t2.get$current(t2).accept$1(visitor);
  60492. case 9:
  60493. // join
  60494. t1._async_evaluate$_activeModules.remove$1(0, url);
  60495. case 1:
  60496. // return
  60497. return A._asyncReturn($async$returnValue, $async$completer);
  60498. }
  60499. });
  60500. return A._asyncStartSync($async$call$0, $async$completer);
  60501. },
  60502. $signature: 39
  60503. };
  60504. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  60505. call$1(previousLoad) {
  60506. 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));
  60507. },
  60508. $signature: 86
  60509. };
  60510. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  60511. call$1(rule) {
  60512. return rule.url.get$scheme() !== "sass";
  60513. },
  60514. $signature: 170
  60515. };
  60516. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  60517. call$1(rule) {
  60518. return rule.url.get$scheme() !== "sass";
  60519. },
  60520. $signature: 171
  60521. };
  60522. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  60523. call$0() {
  60524. var $async$goto = 0,
  60525. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60526. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  60527. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60528. if ($async$errorCode === 1)
  60529. return A._asyncRethrow($async$result, $async$completer);
  60530. while (true)
  60531. switch ($async$goto) {
  60532. case 0:
  60533. // Function start
  60534. t1 = $async$self.$this;
  60535. oldImporter = t1._async_evaluate$_importer;
  60536. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  60537. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  60538. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  60539. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  60540. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  60541. oldConfiguration = t1._async_evaluate$_configuration;
  60542. oldInDependency = t1._async_evaluate$_inDependency;
  60543. t6 = $async$self.result;
  60544. t1._async_evaluate$_importer = t6.importer;
  60545. t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  60546. t8 = $async$self.loadsUserDefinedModules;
  60547. if (t8) {
  60548. t9 = A.ModifiableCssStylesheet$(t7.span);
  60549. t1._async_evaluate$__root = t9;
  60550. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
  60551. t1._async_evaluate$__endOfImports = 0;
  60552. t1._async_evaluate$_outOfOrderImports = null;
  60553. }
  60554. t1._async_evaluate$_inDependency = t6.isDependency;
  60555. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  60556. if (!t6.get$isEmpty(t6))
  60557. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  60558. $async$goto = 2;
  60559. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  60560. case 2:
  60561. // returning from await.
  60562. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  60563. $async$self.children.__late_helper$_value = t6;
  60564. t1._async_evaluate$_importer = oldImporter;
  60565. t1._async_evaluate$__stylesheet = t2;
  60566. if (t8) {
  60567. t1._async_evaluate$__root = t3;
  60568. t1._async_evaluate$__parent = t4;
  60569. t1._async_evaluate$__endOfImports = t5;
  60570. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  60571. }
  60572. t1._async_evaluate$_configuration = oldConfiguration;
  60573. t1._async_evaluate$_inDependency = oldInDependency;
  60574. // implicit return
  60575. return A._asyncReturn(null, $async$completer);
  60576. }
  60577. });
  60578. return A._asyncStartSync($async$call$0, $async$completer);
  60579. },
  60580. $signature: 2
  60581. };
  60582. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  60583. call$0() {
  60584. var t1 = this.node;
  60585. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  60586. },
  60587. $signature: 108
  60588. };
  60589. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  60590. call$0() {
  60591. return this.node.get$spanWithoutContent();
  60592. },
  60593. $signature: 24
  60594. };
  60595. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  60596. call$1($content) {
  60597. var t1 = this.$this;
  60598. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  60599. },
  60600. $signature: 521
  60601. };
  60602. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  60603. call$0() {
  60604. var $async$goto = 0,
  60605. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60606. $async$self = this, t1;
  60607. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60608. if ($async$errorCode === 1)
  60609. return A._asyncRethrow($async$result, $async$completer);
  60610. while (true)
  60611. switch ($async$goto) {
  60612. case 0:
  60613. // Function start
  60614. t1 = $async$self.$this;
  60615. $async$goto = 2;
  60616. return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  60617. case 2:
  60618. // returning from await.
  60619. // implicit return
  60620. return A._asyncReturn(null, $async$completer);
  60621. }
  60622. });
  60623. return A._asyncStartSync($async$call$0, $async$completer);
  60624. },
  60625. $signature: 2
  60626. };
  60627. A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
  60628. call$0() {
  60629. var $async$goto = 0,
  60630. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  60631. $async$self = this, t1;
  60632. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60633. if ($async$errorCode === 1)
  60634. return A._asyncRethrow($async$result, $async$completer);
  60635. while (true)
  60636. switch ($async$goto) {
  60637. case 0:
  60638. // Function start
  60639. t1 = $async$self.$this;
  60640. $async$goto = 2;
  60641. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  60642. case 2:
  60643. // returning from await.
  60644. // implicit return
  60645. return A._asyncReturn(null, $async$completer);
  60646. }
  60647. });
  60648. return A._asyncStartSync($async$call$0, $async$completer);
  60649. },
  60650. $signature: 39
  60651. };
  60652. A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
  60653. call$0() {
  60654. var $async$goto = 0,
  60655. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  60656. $async$self = this, t1, t2, t3, t4, t5, _i;
  60657. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60658. if ($async$errorCode === 1)
  60659. return A._asyncRethrow($async$result, $async$completer);
  60660. while (true)
  60661. switch ($async$goto) {
  60662. case 0:
  60663. // Function start
  60664. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
  60665. case 2:
  60666. // for condition
  60667. if (!(_i < t2)) {
  60668. // goto after for
  60669. $async$goto = 4;
  60670. break;
  60671. }
  60672. $async$goto = 5;
  60673. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
  60674. case 5:
  60675. // returning from await.
  60676. case 3:
  60677. // for update
  60678. ++_i;
  60679. // goto for condition
  60680. $async$goto = 2;
  60681. break;
  60682. case 4:
  60683. // after for
  60684. // implicit return
  60685. return A._asyncReturn(null, $async$completer);
  60686. }
  60687. });
  60688. return A._asyncStartSync($async$call$0, $async$completer);
  60689. },
  60690. $signature: 39
  60691. };
  60692. A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
  60693. call$0() {
  60694. return this.statement.accept$1(this.$this);
  60695. },
  60696. $signature: 64
  60697. };
  60698. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  60699. call$1(mediaQueries) {
  60700. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  60701. },
  60702. $signature: 78
  60703. };
  60704. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  60705. call$0() {
  60706. var $async$goto = 0,
  60707. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60708. $async$self = this, t1, t2;
  60709. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60710. if ($async$errorCode === 1)
  60711. return A._asyncRethrow($async$result, $async$completer);
  60712. while (true)
  60713. switch ($async$goto) {
  60714. case 0:
  60715. // Function start
  60716. t1 = $async$self.$this;
  60717. t2 = $async$self.mergedQueries;
  60718. if (t2 == null)
  60719. t2 = $async$self.queries;
  60720. $async$goto = 2;
  60721. 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);
  60722. case 2:
  60723. // returning from await.
  60724. // implicit return
  60725. return A._asyncReturn(null, $async$completer);
  60726. }
  60727. });
  60728. return A._asyncStartSync($async$call$0, $async$completer);
  60729. },
  60730. $signature: 2
  60731. };
  60732. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  60733. call$0() {
  60734. var $async$goto = 0,
  60735. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60736. $async$self = this, t2, t3, _i, t1, styleRule;
  60737. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60738. if ($async$errorCode === 1)
  60739. return A._asyncRethrow($async$result, $async$completer);
  60740. while (true)
  60741. switch ($async$goto) {
  60742. case 0:
  60743. // Function start
  60744. t1 = $async$self.$this;
  60745. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60746. $async$goto = styleRule == null ? 2 : 4;
  60747. break;
  60748. case 2:
  60749. // then
  60750. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  60751. case 5:
  60752. // for condition
  60753. if (!(_i < t3)) {
  60754. // goto after for
  60755. $async$goto = 7;
  60756. break;
  60757. }
  60758. $async$goto = 8;
  60759. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  60760. case 8:
  60761. // returning from await.
  60762. case 6:
  60763. // for update
  60764. ++_i;
  60765. // goto for condition
  60766. $async$goto = 5;
  60767. break;
  60768. case 7:
  60769. // after for
  60770. // goto join
  60771. $async$goto = 3;
  60772. break;
  60773. case 4:
  60774. // else
  60775. $async$goto = 9;
  60776. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60777. case 9:
  60778. // returning from await.
  60779. case 3:
  60780. // join
  60781. // implicit return
  60782. return A._asyncReturn(null, $async$completer);
  60783. }
  60784. });
  60785. return A._asyncStartSync($async$call$0, $async$completer);
  60786. },
  60787. $signature: 2
  60788. };
  60789. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  60790. call$0() {
  60791. var $async$goto = 0,
  60792. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60793. $async$self = this, t1, t2, t3, _i;
  60794. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60795. if ($async$errorCode === 1)
  60796. return A._asyncRethrow($async$result, $async$completer);
  60797. while (true)
  60798. switch ($async$goto) {
  60799. case 0:
  60800. // Function start
  60801. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60802. case 2:
  60803. // for condition
  60804. if (!(_i < t2)) {
  60805. // goto after for
  60806. $async$goto = 4;
  60807. break;
  60808. }
  60809. $async$goto = 5;
  60810. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60811. case 5:
  60812. // returning from await.
  60813. case 3:
  60814. // for update
  60815. ++_i;
  60816. // goto for condition
  60817. $async$goto = 2;
  60818. break;
  60819. case 4:
  60820. // after for
  60821. // implicit return
  60822. return A._asyncReturn(null, $async$completer);
  60823. }
  60824. });
  60825. return A._asyncStartSync($async$call$0, $async$completer);
  60826. },
  60827. $signature: 2
  60828. };
  60829. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  60830. call$1(node) {
  60831. var t1;
  60832. if (!type$.CssStyleRule._is(node)) {
  60833. t1 = this.mergedSources;
  60834. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  60835. } else
  60836. t1 = true;
  60837. return t1;
  60838. },
  60839. $signature: 7
  60840. };
  60841. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  60842. call$0() {
  60843. var $async$goto = 0,
  60844. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60845. $async$self = this, t1, t2, t3, _i;
  60846. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60847. if ($async$errorCode === 1)
  60848. return A._asyncRethrow($async$result, $async$completer);
  60849. while (true)
  60850. switch ($async$goto) {
  60851. case 0:
  60852. // Function start
  60853. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60854. case 2:
  60855. // for condition
  60856. if (!(_i < t2)) {
  60857. // goto after for
  60858. $async$goto = 4;
  60859. break;
  60860. }
  60861. $async$goto = 5;
  60862. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60863. case 5:
  60864. // returning from await.
  60865. case 3:
  60866. // for update
  60867. ++_i;
  60868. // goto for condition
  60869. $async$goto = 2;
  60870. break;
  60871. case 4:
  60872. // after for
  60873. // implicit return
  60874. return A._asyncReturn(null, $async$completer);
  60875. }
  60876. });
  60877. return A._asyncStartSync($async$call$0, $async$completer);
  60878. },
  60879. $signature: 2
  60880. };
  60881. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  60882. call$1(node) {
  60883. return type$.CssStyleRule._is(node);
  60884. },
  60885. $signature: 7
  60886. };
  60887. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  60888. call$0() {
  60889. var $async$goto = 0,
  60890. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60891. $async$self = this, t1;
  60892. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60893. if ($async$errorCode === 1)
  60894. return A._asyncRethrow($async$result, $async$completer);
  60895. while (true)
  60896. switch ($async$goto) {
  60897. case 0:
  60898. // Function start
  60899. t1 = $async$self.$this;
  60900. $async$goto = 2;
  60901. 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);
  60902. case 2:
  60903. // returning from await.
  60904. // implicit return
  60905. return A._asyncReturn(null, $async$completer);
  60906. }
  60907. });
  60908. return A._asyncStartSync($async$call$0, $async$completer);
  60909. },
  60910. $signature: 2
  60911. };
  60912. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  60913. call$0() {
  60914. var $async$goto = 0,
  60915. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60916. $async$self = this, t1, t2, t3, _i;
  60917. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60918. if ($async$errorCode === 1)
  60919. return A._asyncRethrow($async$result, $async$completer);
  60920. while (true)
  60921. switch ($async$goto) {
  60922. case 0:
  60923. // Function start
  60924. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  60925. case 2:
  60926. // for condition
  60927. if (!(_i < t2)) {
  60928. // goto after for
  60929. $async$goto = 4;
  60930. break;
  60931. }
  60932. $async$goto = 5;
  60933. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  60934. case 5:
  60935. // returning from await.
  60936. case 3:
  60937. // for update
  60938. ++_i;
  60939. // goto for condition
  60940. $async$goto = 2;
  60941. break;
  60942. case 4:
  60943. // after for
  60944. // implicit return
  60945. return A._asyncReturn(null, $async$completer);
  60946. }
  60947. });
  60948. return A._asyncStartSync($async$call$0, $async$completer);
  60949. },
  60950. $signature: 2
  60951. };
  60952. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  60953. call$1(node) {
  60954. return type$.CssStyleRule._is(node);
  60955. },
  60956. $signature: 7
  60957. };
  60958. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  60959. call$1(child) {
  60960. return type$.CssComment._is(child);
  60961. },
  60962. $signature: 129
  60963. };
  60964. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  60965. call$0() {
  60966. var $async$goto = 0,
  60967. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60968. $async$self = this, t2, t3, _i, t1, styleRule;
  60969. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60970. if ($async$errorCode === 1)
  60971. return A._asyncRethrow($async$result, $async$completer);
  60972. while (true)
  60973. switch ($async$goto) {
  60974. case 0:
  60975. // Function start
  60976. t1 = $async$self.$this;
  60977. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60978. $async$goto = styleRule == null ? 2 : 4;
  60979. break;
  60980. case 2:
  60981. // then
  60982. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  60983. case 5:
  60984. // for condition
  60985. if (!(_i < t3)) {
  60986. // goto after for
  60987. $async$goto = 7;
  60988. break;
  60989. }
  60990. $async$goto = 8;
  60991. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  60992. case 8:
  60993. // returning from await.
  60994. case 6:
  60995. // for update
  60996. ++_i;
  60997. // goto for condition
  60998. $async$goto = 5;
  60999. break;
  61000. case 7:
  61001. // after for
  61002. // goto join
  61003. $async$goto = 3;
  61004. break;
  61005. case 4:
  61006. // else
  61007. $async$goto = 9;
  61008. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  61009. case 9:
  61010. // returning from await.
  61011. case 3:
  61012. // join
  61013. // implicit return
  61014. return A._asyncReturn(null, $async$completer);
  61015. }
  61016. });
  61017. return A._asyncStartSync($async$call$0, $async$completer);
  61018. },
  61019. $signature: 2
  61020. };
  61021. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  61022. call$0() {
  61023. var $async$goto = 0,
  61024. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61025. $async$self = this, t1, t2, t3, _i;
  61026. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61027. if ($async$errorCode === 1)
  61028. return A._asyncRethrow($async$result, $async$completer);
  61029. while (true)
  61030. switch ($async$goto) {
  61031. case 0:
  61032. // Function start
  61033. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  61034. case 2:
  61035. // for condition
  61036. if (!(_i < t2)) {
  61037. // goto after for
  61038. $async$goto = 4;
  61039. break;
  61040. }
  61041. $async$goto = 5;
  61042. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  61043. case 5:
  61044. // returning from await.
  61045. case 3:
  61046. // for update
  61047. ++_i;
  61048. // goto for condition
  61049. $async$goto = 2;
  61050. break;
  61051. case 4:
  61052. // after for
  61053. // implicit return
  61054. return A._asyncReturn(null, $async$completer);
  61055. }
  61056. });
  61057. return A._asyncStartSync($async$call$0, $async$completer);
  61058. },
  61059. $signature: 2
  61060. };
  61061. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  61062. call$1(node) {
  61063. return type$.CssStyleRule._is(node);
  61064. },
  61065. $signature: 7
  61066. };
  61067. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  61068. call$0() {
  61069. var t1 = this.override;
  61070. this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  61071. },
  61072. $signature: 1
  61073. };
  61074. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  61075. call$0() {
  61076. var t1 = this.node;
  61077. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  61078. },
  61079. $signature: 38
  61080. };
  61081. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  61082. call$0() {
  61083. var t1 = this.$this,
  61084. t2 = this.node;
  61085. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  61086. },
  61087. $signature: 1
  61088. };
  61089. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  61090. call$1(module) {
  61091. var t1 = this.node;
  61092. this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
  61093. },
  61094. $signature: 107
  61095. };
  61096. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  61097. call$0() {
  61098. return this.node.expression.accept$1(this.$this);
  61099. },
  61100. $signature: 61
  61101. };
  61102. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  61103. call$0() {
  61104. var $async$goto = 0,
  61105. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  61106. $async$returnValue, $async$self = this, t1, t2, t3, result;
  61107. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61108. if ($async$errorCode === 1)
  61109. return A._asyncRethrow($async$result, $async$completer);
  61110. while (true)
  61111. switch ($async$goto) {
  61112. case 0:
  61113. // Function start
  61114. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  61115. case 3:
  61116. // for condition
  61117. $async$goto = 5;
  61118. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  61119. case 5:
  61120. // returning from await.
  61121. if (!$async$result.get$isTruthy()) {
  61122. // goto after for
  61123. $async$goto = 4;
  61124. break;
  61125. }
  61126. $async$goto = 6;
  61127. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  61128. case 6:
  61129. // returning from await.
  61130. result = $async$result;
  61131. if (result != null) {
  61132. $async$returnValue = result;
  61133. // goto return
  61134. $async$goto = 1;
  61135. break;
  61136. }
  61137. // goto for condition
  61138. $async$goto = 3;
  61139. break;
  61140. case 4:
  61141. // after for
  61142. $async$returnValue = null;
  61143. // goto return
  61144. $async$goto = 1;
  61145. break;
  61146. case 1:
  61147. // return
  61148. return A._asyncReturn($async$returnValue, $async$completer);
  61149. }
  61150. });
  61151. return A._asyncStartSync($async$call$0, $async$completer);
  61152. },
  61153. $signature: 64
  61154. };
  61155. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  61156. call$1(child) {
  61157. return child.accept$1(this.$this);
  61158. },
  61159. $signature: 100
  61160. };
  61161. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  61162. call$0() {
  61163. var $async$goto = 0,
  61164. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  61165. $async$returnValue, $async$self = this, right, result, t4, t5, t1, t2, left, t3, $async$temp1;
  61166. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61167. if ($async$errorCode === 1)
  61168. return A._asyncRethrow($async$result, $async$completer);
  61169. while (true)
  61170. switch ($async$goto) {
  61171. case 0:
  61172. // Function start
  61173. t1 = $async$self.node;
  61174. t2 = $async$self.$this;
  61175. $async$goto = 3;
  61176. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  61177. case 3:
  61178. // returning from await.
  61179. left = $async$result;
  61180. t3 = t1.operator;
  61181. case 4:
  61182. // switch
  61183. switch (t3) {
  61184. case B.BinaryOperator_2jN:
  61185. // goto case
  61186. $async$goto = 6;
  61187. break;
  61188. case B.BinaryOperator_M6L:
  61189. // goto case
  61190. $async$goto = 7;
  61191. break;
  61192. case B.BinaryOperator_SNp:
  61193. // goto case
  61194. $async$goto = 8;
  61195. break;
  61196. case B.BinaryOperator_ql5:
  61197. // goto case
  61198. $async$goto = 9;
  61199. break;
  61200. case B.BinaryOperator_ViB:
  61201. // goto case
  61202. $async$goto = 10;
  61203. break;
  61204. case B.BinaryOperator_cIH:
  61205. // goto case
  61206. $async$goto = 11;
  61207. break;
  61208. case B.BinaryOperator_7Tg:
  61209. // goto case
  61210. $async$goto = 12;
  61211. break;
  61212. case B.BinaryOperator_U8c:
  61213. // goto case
  61214. $async$goto = 13;
  61215. break;
  61216. case B.BinaryOperator_kpg:
  61217. // goto case
  61218. $async$goto = 14;
  61219. break;
  61220. case B.BinaryOperator_anB:
  61221. // goto case
  61222. $async$goto = 15;
  61223. break;
  61224. case B.BinaryOperator_olz:
  61225. // goto case
  61226. $async$goto = 16;
  61227. break;
  61228. case B.BinaryOperator_qN2:
  61229. // goto case
  61230. $async$goto = 17;
  61231. break;
  61232. case B.BinaryOperator_t8B:
  61233. // goto case
  61234. $async$goto = 18;
  61235. break;
  61236. case B.BinaryOperator_OTG:
  61237. // goto case
  61238. $async$goto = 19;
  61239. break;
  61240. default:
  61241. // goto default
  61242. $async$goto = 20;
  61243. break;
  61244. }
  61245. break;
  61246. case 6:
  61247. // case
  61248. $async$goto = 21;
  61249. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61250. case 21:
  61251. // returning from await.
  61252. right = $async$result;
  61253. $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  61254. // goto return
  61255. $async$goto = 1;
  61256. break;
  61257. case 7:
  61258. // case
  61259. $async$goto = left.get$isTruthy() ? 22 : 24;
  61260. break;
  61261. case 22:
  61262. // then
  61263. $async$result = left;
  61264. // goto join
  61265. $async$goto = 23;
  61266. break;
  61267. case 24:
  61268. // else
  61269. $async$goto = 25;
  61270. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61271. case 25:
  61272. // returning from await.
  61273. case 23:
  61274. // join
  61275. $async$returnValue = $async$result;
  61276. // goto return
  61277. $async$goto = 1;
  61278. break;
  61279. case 8:
  61280. // case
  61281. $async$goto = left.get$isTruthy() ? 26 : 28;
  61282. break;
  61283. case 26:
  61284. // then
  61285. $async$goto = 29;
  61286. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61287. case 29:
  61288. // returning from await.
  61289. // goto join
  61290. $async$goto = 27;
  61291. break;
  61292. case 28:
  61293. // else
  61294. $async$result = left;
  61295. case 27:
  61296. // join
  61297. $async$returnValue = $async$result;
  61298. // goto return
  61299. $async$goto = 1;
  61300. break;
  61301. case 9:
  61302. // case
  61303. $async$temp1 = left;
  61304. $async$goto = 30;
  61305. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61306. case 30:
  61307. // returning from await.
  61308. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  61309. // goto return
  61310. $async$goto = 1;
  61311. break;
  61312. case 10:
  61313. // case
  61314. $async$temp1 = left;
  61315. $async$goto = 31;
  61316. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61317. case 31:
  61318. // returning from await.
  61319. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  61320. // goto return
  61321. $async$goto = 1;
  61322. break;
  61323. case 11:
  61324. // case
  61325. $async$temp1 = left;
  61326. $async$goto = 32;
  61327. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61328. case 32:
  61329. // returning from await.
  61330. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  61331. // goto return
  61332. $async$goto = 1;
  61333. break;
  61334. case 12:
  61335. // case
  61336. $async$temp1 = left;
  61337. $async$goto = 33;
  61338. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61339. case 33:
  61340. // returning from await.
  61341. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  61342. // goto return
  61343. $async$goto = 1;
  61344. break;
  61345. case 13:
  61346. // case
  61347. $async$temp1 = left;
  61348. $async$goto = 34;
  61349. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61350. case 34:
  61351. // returning from await.
  61352. $async$returnValue = $async$temp1.lessThan$1($async$result);
  61353. // goto return
  61354. $async$goto = 1;
  61355. break;
  61356. case 14:
  61357. // case
  61358. $async$temp1 = left;
  61359. $async$goto = 35;
  61360. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61361. case 35:
  61362. // returning from await.
  61363. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  61364. // goto return
  61365. $async$goto = 1;
  61366. break;
  61367. case 15:
  61368. // case
  61369. $async$temp1 = left;
  61370. $async$goto = 36;
  61371. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61372. case 36:
  61373. // returning from await.
  61374. $async$returnValue = $async$temp1.plus$1($async$result);
  61375. // goto return
  61376. $async$goto = 1;
  61377. break;
  61378. case 16:
  61379. // case
  61380. $async$temp1 = left;
  61381. $async$goto = 37;
  61382. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61383. case 37:
  61384. // returning from await.
  61385. $async$returnValue = $async$temp1.minus$1($async$result);
  61386. // goto return
  61387. $async$goto = 1;
  61388. break;
  61389. case 17:
  61390. // case
  61391. $async$temp1 = left;
  61392. $async$goto = 38;
  61393. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61394. case 38:
  61395. // returning from await.
  61396. $async$returnValue = $async$temp1.times$1($async$result);
  61397. // goto return
  61398. $async$goto = 1;
  61399. break;
  61400. case 18:
  61401. // case
  61402. $async$goto = 39;
  61403. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61404. case 39:
  61405. // returning from await.
  61406. right = $async$result;
  61407. result = left.dividedBy$1(right);
  61408. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
  61409. $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
  61410. // goto return
  61411. $async$goto = 1;
  61412. break;
  61413. } else {
  61414. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  61415. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1));
  61416. t4 = B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(t1);
  61417. t5 = t1.get$span(t1);
  61418. t2._async_evaluate$_warn$3(string$.Using__o + t3 + " or " + new A.CalculationExpression("calc", A.CalculationExpression__verifyArguments(A._setArrayType([t4], type$.JSArray_Expression)), t5).toString$0(0) + string$.x0a_Morex20, t1.get$span(t1), B.Deprecation_xHK);
  61419. }
  61420. $async$returnValue = result;
  61421. // goto return
  61422. $async$goto = 1;
  61423. break;
  61424. }
  61425. case 19:
  61426. // case
  61427. $async$temp1 = left;
  61428. $async$goto = 40;
  61429. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  61430. case 40:
  61431. // returning from await.
  61432. $async$returnValue = $async$temp1.modulo$1($async$result);
  61433. // goto return
  61434. $async$goto = 1;
  61435. break;
  61436. case 20:
  61437. // default
  61438. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  61439. case 5:
  61440. // after switch
  61441. case 1:
  61442. // return
  61443. return A._asyncReturn($async$returnValue, $async$completer);
  61444. }
  61445. });
  61446. return A._asyncStartSync($async$call$0, $async$completer);
  61447. },
  61448. $signature: 61
  61449. };
  61450. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
  61451. call$1(expression) {
  61452. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_t8B)
  61453. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  61454. else if (expression instanceof A.ParenthesizedExpression)
  61455. return expression.expression.toString$0(0);
  61456. else
  61457. return expression.toString$0(0);
  61458. },
  61459. $signature: 126
  61460. };
  61461. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  61462. call$0() {
  61463. var t1 = this.node;
  61464. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  61465. },
  61466. $signature: 38
  61467. };
  61468. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  61469. call$0() {
  61470. var _this = this,
  61471. t1 = _this.node.operator;
  61472. switch (t1) {
  61473. case B.UnaryOperator_gg4:
  61474. return _this.operand.unaryPlus$0();
  61475. case B.UnaryOperator_TLI:
  61476. return _this.operand.unaryMinus$0();
  61477. case B.UnaryOperator_Ix1:
  61478. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  61479. case B.UnaryOperator_not_not_not:
  61480. return _this.operand.unaryNot$0();
  61481. default:
  61482. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  61483. }
  61484. },
  61485. $signature: 30
  61486. };
  61487. A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
  61488. call$0() {
  61489. var $async$goto = 0,
  61490. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  61491. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  61492. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61493. if ($async$errorCode === 1)
  61494. return A._asyncRethrow($async$result, $async$completer);
  61495. while (true)
  61496. switch ($async$goto) {
  61497. case 0:
  61498. // Function start
  61499. t1 = $async$self.$this;
  61500. t2 = $async$self.node;
  61501. t3 = $async$self.inMinMax;
  61502. $async$temp1 = A;
  61503. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
  61504. $async$goto = 3;
  61505. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  61506. case 3:
  61507. // returning from await.
  61508. $async$temp3 = $async$result;
  61509. $async$goto = 4;
  61510. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  61511. case 4:
  61512. // returning from await.
  61513. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  61514. // goto return
  61515. $async$goto = 1;
  61516. break;
  61517. case 1:
  61518. // return
  61519. return A._asyncReturn($async$returnValue, $async$completer);
  61520. }
  61521. });
  61522. return A._asyncStartSync($async$call$0, $async$completer);
  61523. },
  61524. $signature: 173
  61525. };
  61526. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  61527. call$1(expression) {
  61528. return expression.accept$1(this.$this);
  61529. },
  61530. $signature: 570
  61531. };
  61532. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  61533. call$0() {
  61534. var t1 = this.node;
  61535. return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  61536. },
  61537. $signature: 108
  61538. };
  61539. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  61540. call$0() {
  61541. var t1 = this.node;
  61542. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  61543. },
  61544. $signature: 61
  61545. };
  61546. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  61547. call$0() {
  61548. var t1 = this.node;
  61549. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  61550. },
  61551. $signature: 61
  61552. };
  61553. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  61554. call$0() {
  61555. var _this = this,
  61556. t1 = _this.$this,
  61557. t2 = _this.callable,
  61558. t3 = _this.V;
  61559. 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);
  61560. },
  61561. $signature() {
  61562. return this.V._eval$1("Future<0>()");
  61563. }
  61564. };
  61565. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  61566. call$0() {
  61567. var _this = this,
  61568. t1 = _this.$this,
  61569. t2 = _this.V;
  61570. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  61571. },
  61572. $signature() {
  61573. return this.V._eval$1("Future<0>()");
  61574. }
  61575. };
  61576. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  61577. call$0() {
  61578. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  61579. },
  61580. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  61581. var $async$goto = 0,
  61582. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  61583. $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
  61584. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61585. if ($async$errorCode === 1)
  61586. return A._asyncRethrow($async$result, $async$completer);
  61587. while (true)
  61588. switch ($async$goto) {
  61589. case 0:
  61590. // Function start
  61591. t1 = $async$self.$this;
  61592. t2 = $async$self.evaluated;
  61593. t3 = t2.positional;
  61594. t4 = t2.named;
  61595. t5 = $async$self.callable.declaration.$arguments;
  61596. t6 = $async$self.nodeWithSpan;
  61597. t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
  61598. declaredArguments = t5.$arguments;
  61599. t7 = declaredArguments.length;
  61600. minLength = Math.min(t3.length, t7);
  61601. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  61602. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  61603. i = t3.length, t8 = t2.namedNodes;
  61604. case 3:
  61605. // for condition
  61606. if (!(i < t7)) {
  61607. // goto after for
  61608. $async$goto = 5;
  61609. break;
  61610. }
  61611. argument = declaredArguments[i];
  61612. t9 = argument.name;
  61613. value = t4.remove$1(0, t9);
  61614. $async$goto = value == null ? 6 : 7;
  61615. break;
  61616. case 6:
  61617. // then
  61618. t10 = argument.defaultValue;
  61619. $async$temp1 = t1;
  61620. $async$goto = 8;
  61621. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  61622. case 8:
  61623. // returning from await.
  61624. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
  61625. case 7:
  61626. // join
  61627. t10 = t1._async_evaluate$_environment;
  61628. t11 = t8.$index(0, t9);
  61629. if (t11 == null) {
  61630. t11 = argument.defaultValue;
  61631. t11.toString;
  61632. t11 = t1._async_evaluate$_expressionNode$1(t11);
  61633. }
  61634. t10.setLocalVariable$3(t9, value, t11);
  61635. case 4:
  61636. // for update
  61637. ++i;
  61638. // goto for condition
  61639. $async$goto = 3;
  61640. break;
  61641. case 5:
  61642. // after for
  61643. restArgument = t5.restArgument;
  61644. if (restArgument != null) {
  61645. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty8;
  61646. t2 = t2.separator;
  61647. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  61648. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  61649. } else
  61650. argumentList = null;
  61651. $async$goto = 9;
  61652. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  61653. case 9:
  61654. // returning from await.
  61655. result = $async$result;
  61656. if (argumentList == null) {
  61657. $async$returnValue = result;
  61658. // goto return
  61659. $async$goto = 1;
  61660. break;
  61661. }
  61662. t2 = t4.__js_helper$_length;
  61663. if (t2 === 0) {
  61664. $async$returnValue = result;
  61665. // goto return
  61666. $async$goto = 1;
  61667. break;
  61668. }
  61669. if (argumentList._wereKeywordsAccessed) {
  61670. $async$returnValue = result;
  61671. // goto return
  61672. $async$goto = 1;
  61673. break;
  61674. }
  61675. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  61676. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t6.get$span(t6))));
  61677. case 1:
  61678. // return
  61679. return A._asyncReturn($async$returnValue, $async$completer);
  61680. }
  61681. });
  61682. return A._asyncStartSync($async$call$0, $async$completer);
  61683. },
  61684. $signature() {
  61685. return this.V._eval$1("Future<0>()");
  61686. }
  61687. };
  61688. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  61689. call$1($name) {
  61690. return "$" + $name;
  61691. },
  61692. $signature: 5
  61693. };
  61694. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  61695. call$0() {
  61696. var $async$goto = 0,
  61697. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  61698. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  61699. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61700. if ($async$errorCode === 1)
  61701. return A._asyncRethrow($async$result, $async$completer);
  61702. while (true)
  61703. switch ($async$goto) {
  61704. case 0:
  61705. // Function start
  61706. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  61707. case 3:
  61708. // for condition
  61709. if (!(_i < t3)) {
  61710. // goto after for
  61711. $async$goto = 5;
  61712. break;
  61713. }
  61714. $async$goto = 6;
  61715. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  61716. case 6:
  61717. // returning from await.
  61718. $returnValue = $async$result;
  61719. if ($returnValue instanceof A.Value) {
  61720. $async$returnValue = $returnValue;
  61721. // goto return
  61722. $async$goto = 1;
  61723. break;
  61724. }
  61725. case 4:
  61726. // for update
  61727. ++_i;
  61728. // goto for condition
  61729. $async$goto = 3;
  61730. break;
  61731. case 5:
  61732. // after for
  61733. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  61734. case 1:
  61735. // return
  61736. return A._asyncReturn($async$returnValue, $async$completer);
  61737. }
  61738. });
  61739. return A._asyncStartSync($async$call$0, $async$completer);
  61740. },
  61741. $signature: 61
  61742. };
  61743. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  61744. call$0() {
  61745. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  61746. },
  61747. $signature: 0
  61748. };
  61749. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  61750. call$0() {
  61751. return this.callback.call$1(this.evaluated.positional);
  61752. },
  61753. $signature: 571
  61754. };
  61755. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  61756. call$1($name) {
  61757. return "$" + $name;
  61758. },
  61759. $signature: 5
  61760. };
  61761. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  61762. call$1(value) {
  61763. return value;
  61764. },
  61765. $signature: 36
  61766. };
  61767. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  61768. call$1(value) {
  61769. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  61770. },
  61771. $signature: 36
  61772. };
  61773. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  61774. call$2(key, value) {
  61775. var _this = this,
  61776. t1 = _this.restNodeForSpan;
  61777. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  61778. _this.namedNodes.$indexSet(0, key, t1);
  61779. },
  61780. $signature: 75
  61781. };
  61782. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  61783. call$1(value) {
  61784. return value;
  61785. },
  61786. $signature: 36
  61787. };
  61788. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  61789. call$1(value) {
  61790. var t1 = this.restArgs;
  61791. return new A.ValueExpression(value, t1.get$span(t1));
  61792. },
  61793. $signature: 54
  61794. };
  61795. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  61796. call$1(value) {
  61797. var t1 = this.restArgs;
  61798. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  61799. },
  61800. $signature: 54
  61801. };
  61802. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  61803. call$2(key, value) {
  61804. var _this = this,
  61805. t1 = _this.restArgs;
  61806. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  61807. },
  61808. $signature: 75
  61809. };
  61810. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  61811. call$1(value) {
  61812. var t1 = this.keywordRestArgs;
  61813. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  61814. },
  61815. $signature: 54
  61816. };
  61817. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  61818. call$2(key, value) {
  61819. var t2, _this = this,
  61820. t1 = _this.$this;
  61821. if (key instanceof A.SassString)
  61822. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  61823. else {
  61824. t2 = _this.nodeWithSpan;
  61825. 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)));
  61826. }
  61827. },
  61828. $signature: 53
  61829. };
  61830. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  61831. call$0() {
  61832. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  61833. },
  61834. $signature: 0
  61835. };
  61836. A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
  61837. call$1(value) {
  61838. var $async$goto = 0,
  61839. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  61840. $async$returnValue, $async$self = this, t1, result;
  61841. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61842. if ($async$errorCode === 1)
  61843. return A._asyncRethrow($async$result, $async$completer);
  61844. while (true)
  61845. switch ($async$goto) {
  61846. case 0:
  61847. // Function start
  61848. if (typeof value == "string") {
  61849. $async$returnValue = value;
  61850. // goto return
  61851. $async$goto = 1;
  61852. break;
  61853. }
  61854. type$.Expression._as(value);
  61855. t1 = $async$self.$this;
  61856. $async$goto = 3;
  61857. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  61858. case 3:
  61859. // returning from await.
  61860. result = $async$result;
  61861. $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
  61862. // goto return
  61863. $async$goto = 1;
  61864. break;
  61865. case 1:
  61866. // return
  61867. return A._asyncReturn($async$returnValue, $async$completer);
  61868. }
  61869. });
  61870. return A._asyncStartSync($async$call$1, $async$completer);
  61871. },
  61872. $signature: 175
  61873. };
  61874. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  61875. call$0() {
  61876. var $async$goto = 0,
  61877. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61878. $async$self = this, t1, t2, t3, t4;
  61879. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61880. if ($async$errorCode === 1)
  61881. return A._asyncRethrow($async$result, $async$completer);
  61882. while (true)
  61883. switch ($async$goto) {
  61884. case 0:
  61885. // Function start
  61886. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  61887. case 2:
  61888. // for condition
  61889. if (!t1.moveNext$0()) {
  61890. // goto after for
  61891. $async$goto = 3;
  61892. break;
  61893. }
  61894. t4 = t1.__internal$_current;
  61895. $async$goto = 4;
  61896. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  61897. case 4:
  61898. // returning from await.
  61899. // goto for condition
  61900. $async$goto = 2;
  61901. break;
  61902. case 3:
  61903. // after for
  61904. // implicit return
  61905. return A._asyncReturn(null, $async$completer);
  61906. }
  61907. });
  61908. return A._asyncStartSync($async$call$0, $async$completer);
  61909. },
  61910. $signature: 2
  61911. };
  61912. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  61913. call$1(node) {
  61914. return type$.CssStyleRule._is(node);
  61915. },
  61916. $signature: 7
  61917. };
  61918. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  61919. call$0() {
  61920. var $async$goto = 0,
  61921. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61922. $async$self = this, t1, t2, t3, t4;
  61923. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61924. if ($async$errorCode === 1)
  61925. return A._asyncRethrow($async$result, $async$completer);
  61926. while (true)
  61927. switch ($async$goto) {
  61928. case 0:
  61929. // Function start
  61930. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  61931. case 2:
  61932. // for condition
  61933. if (!t1.moveNext$0()) {
  61934. // goto after for
  61935. $async$goto = 3;
  61936. break;
  61937. }
  61938. t4 = t1.__internal$_current;
  61939. $async$goto = 4;
  61940. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  61941. case 4:
  61942. // returning from await.
  61943. // goto for condition
  61944. $async$goto = 2;
  61945. break;
  61946. case 3:
  61947. // after for
  61948. // implicit return
  61949. return A._asyncReturn(null, $async$completer);
  61950. }
  61951. });
  61952. return A._asyncStartSync($async$call$0, $async$completer);
  61953. },
  61954. $signature: 2
  61955. };
  61956. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  61957. call$1(node) {
  61958. return type$.CssStyleRule._is(node);
  61959. },
  61960. $signature: 7
  61961. };
  61962. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  61963. call$1(mediaQueries) {
  61964. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  61965. },
  61966. $signature: 78
  61967. };
  61968. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  61969. call$0() {
  61970. var $async$goto = 0,
  61971. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  61972. $async$self = this, t1, t2;
  61973. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61974. if ($async$errorCode === 1)
  61975. return A._asyncRethrow($async$result, $async$completer);
  61976. while (true)
  61977. switch ($async$goto) {
  61978. case 0:
  61979. // Function start
  61980. t1 = $async$self.$this;
  61981. t2 = $async$self.mergedQueries;
  61982. if (t2 == null)
  61983. t2 = $async$self.node.queries;
  61984. $async$goto = 2;
  61985. 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);
  61986. case 2:
  61987. // returning from await.
  61988. // implicit return
  61989. return A._asyncReturn(null, $async$completer);
  61990. }
  61991. });
  61992. return A._asyncStartSync($async$call$0, $async$completer);
  61993. },
  61994. $signature: 2
  61995. };
  61996. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  61997. call$0() {
  61998. var $async$goto = 0,
  61999. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62000. $async$self = this, t2, t3, t4, t1, styleRule;
  62001. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62002. if ($async$errorCode === 1)
  62003. return A._asyncRethrow($async$result, $async$completer);
  62004. while (true)
  62005. switch ($async$goto) {
  62006. case 0:
  62007. // Function start
  62008. t1 = $async$self.$this;
  62009. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  62010. $async$goto = styleRule == null ? 2 : 4;
  62011. break;
  62012. case 2:
  62013. // then
  62014. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  62015. case 5:
  62016. // for condition
  62017. if (!t2.moveNext$0()) {
  62018. // goto after for
  62019. $async$goto = 6;
  62020. break;
  62021. }
  62022. t4 = t2.__internal$_current;
  62023. $async$goto = 7;
  62024. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  62025. case 7:
  62026. // returning from await.
  62027. // goto for condition
  62028. $async$goto = 5;
  62029. break;
  62030. case 6:
  62031. // after for
  62032. // goto join
  62033. $async$goto = 3;
  62034. break;
  62035. case 4:
  62036. // else
  62037. $async$goto = 8;
  62038. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  62039. case 8:
  62040. // returning from await.
  62041. case 3:
  62042. // join
  62043. // implicit return
  62044. return A._asyncReturn(null, $async$completer);
  62045. }
  62046. });
  62047. return A._asyncStartSync($async$call$0, $async$completer);
  62048. },
  62049. $signature: 2
  62050. };
  62051. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  62052. call$0() {
  62053. var $async$goto = 0,
  62054. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62055. $async$self = this, t1, t2, t3, t4;
  62056. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62057. if ($async$errorCode === 1)
  62058. return A._asyncRethrow($async$result, $async$completer);
  62059. while (true)
  62060. switch ($async$goto) {
  62061. case 0:
  62062. // Function start
  62063. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62064. case 2:
  62065. // for condition
  62066. if (!t1.moveNext$0()) {
  62067. // goto after for
  62068. $async$goto = 3;
  62069. break;
  62070. }
  62071. t4 = t1.__internal$_current;
  62072. $async$goto = 4;
  62073. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62074. case 4:
  62075. // returning from await.
  62076. // goto for condition
  62077. $async$goto = 2;
  62078. break;
  62079. case 3:
  62080. // after for
  62081. // implicit return
  62082. return A._asyncReturn(null, $async$completer);
  62083. }
  62084. });
  62085. return A._asyncStartSync($async$call$0, $async$completer);
  62086. },
  62087. $signature: 2
  62088. };
  62089. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  62090. call$1(node) {
  62091. var t1;
  62092. if (!type$.CssStyleRule._is(node)) {
  62093. t1 = this.mergedSources;
  62094. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  62095. } else
  62096. t1 = true;
  62097. return t1;
  62098. },
  62099. $signature: 7
  62100. };
  62101. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  62102. call$0() {
  62103. var $async$goto = 0,
  62104. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62105. $async$self = this, t1;
  62106. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62107. if ($async$errorCode === 1)
  62108. return A._asyncRethrow($async$result, $async$completer);
  62109. while (true)
  62110. switch ($async$goto) {
  62111. case 0:
  62112. // Function start
  62113. t1 = $async$self.$this;
  62114. $async$goto = 2;
  62115. 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);
  62116. case 2:
  62117. // returning from await.
  62118. // implicit return
  62119. return A._asyncReturn(null, $async$completer);
  62120. }
  62121. });
  62122. return A._asyncStartSync($async$call$0, $async$completer);
  62123. },
  62124. $signature: 2
  62125. };
  62126. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  62127. call$0() {
  62128. var $async$goto = 0,
  62129. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62130. $async$self = this, t1, t2, t3, t4;
  62131. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62132. if ($async$errorCode === 1)
  62133. return A._asyncRethrow($async$result, $async$completer);
  62134. while (true)
  62135. switch ($async$goto) {
  62136. case 0:
  62137. // Function start
  62138. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62139. case 2:
  62140. // for condition
  62141. if (!t1.moveNext$0()) {
  62142. // goto after for
  62143. $async$goto = 3;
  62144. break;
  62145. }
  62146. t4 = t1.__internal$_current;
  62147. $async$goto = 4;
  62148. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62149. case 4:
  62150. // returning from await.
  62151. // goto for condition
  62152. $async$goto = 2;
  62153. break;
  62154. case 3:
  62155. // after for
  62156. // implicit return
  62157. return A._asyncReturn(null, $async$completer);
  62158. }
  62159. });
  62160. return A._asyncStartSync($async$call$0, $async$completer);
  62161. },
  62162. $signature: 2
  62163. };
  62164. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  62165. call$1(node) {
  62166. return type$.CssStyleRule._is(node);
  62167. },
  62168. $signature: 7
  62169. };
  62170. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  62171. call$0() {
  62172. var $async$goto = 0,
  62173. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62174. $async$self = this, t2, t3, t4, t1, styleRule;
  62175. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62176. if ($async$errorCode === 1)
  62177. return A._asyncRethrow($async$result, $async$completer);
  62178. while (true)
  62179. switch ($async$goto) {
  62180. case 0:
  62181. // Function start
  62182. t1 = $async$self.$this;
  62183. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  62184. $async$goto = styleRule == null ? 2 : 4;
  62185. break;
  62186. case 2:
  62187. // then
  62188. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  62189. case 5:
  62190. // for condition
  62191. if (!t2.moveNext$0()) {
  62192. // goto after for
  62193. $async$goto = 6;
  62194. break;
  62195. }
  62196. t4 = t2.__internal$_current;
  62197. $async$goto = 7;
  62198. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  62199. case 7:
  62200. // returning from await.
  62201. // goto for condition
  62202. $async$goto = 5;
  62203. break;
  62204. case 6:
  62205. // after for
  62206. // goto join
  62207. $async$goto = 3;
  62208. break;
  62209. case 4:
  62210. // else
  62211. $async$goto = 8;
  62212. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  62213. case 8:
  62214. // returning from await.
  62215. case 3:
  62216. // join
  62217. // implicit return
  62218. return A._asyncReturn(null, $async$completer);
  62219. }
  62220. });
  62221. return A._asyncStartSync($async$call$0, $async$completer);
  62222. },
  62223. $signature: 2
  62224. };
  62225. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  62226. call$0() {
  62227. var $async$goto = 0,
  62228. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  62229. $async$self = this, t1, t2, t3, t4;
  62230. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62231. if ($async$errorCode === 1)
  62232. return A._asyncRethrow($async$result, $async$completer);
  62233. while (true)
  62234. switch ($async$goto) {
  62235. case 0:
  62236. // Function start
  62237. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  62238. case 2:
  62239. // for condition
  62240. if (!t1.moveNext$0()) {
  62241. // goto after for
  62242. $async$goto = 3;
  62243. break;
  62244. }
  62245. t4 = t1.__internal$_current;
  62246. $async$goto = 4;
  62247. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  62248. case 4:
  62249. // returning from await.
  62250. // goto for condition
  62251. $async$goto = 2;
  62252. break;
  62253. case 3:
  62254. // after for
  62255. // implicit return
  62256. return A._asyncReturn(null, $async$completer);
  62257. }
  62258. });
  62259. return A._asyncStartSync($async$call$0, $async$completer);
  62260. },
  62261. $signature: 2
  62262. };
  62263. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  62264. call$1(node) {
  62265. return type$.CssStyleRule._is(node);
  62266. },
  62267. $signature: 7
  62268. };
  62269. A._EvaluateVisitor__serialize_closure0.prototype = {
  62270. call$0() {
  62271. return A.serializeValue(this.value, false, this.quote);
  62272. },
  62273. $signature: 32
  62274. };
  62275. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  62276. call$0() {
  62277. var t1 = this.expression;
  62278. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  62279. },
  62280. $signature: 138
  62281. };
  62282. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  62283. call$1(number) {
  62284. var asSlash = number.asSlash;
  62285. if (asSlash != null)
  62286. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  62287. else
  62288. return A.serializeValue(number, true, true);
  62289. },
  62290. $signature: 177
  62291. };
  62292. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  62293. call$1(url) {
  62294. var t1 = this.$this._async_evaluate$_importCache;
  62295. t1 = t1 == null ? null : t1.humanize$1(url);
  62296. return t1 == null ? url : t1;
  62297. },
  62298. $signature: 77
  62299. };
  62300. A._EvaluateVisitor__stackTrace_closure0.prototype = {
  62301. call$1(tuple) {
  62302. return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  62303. },
  62304. $signature: 178
  62305. };
  62306. A._ImportedCssVisitor0.prototype = {
  62307. visitCssAtRule$1(node) {
  62308. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  62309. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  62310. },
  62311. visitCssComment$1(node) {
  62312. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  62313. },
  62314. visitCssDeclaration$1(node) {
  62315. },
  62316. visitCssImport$1(node) {
  62317. var t2,
  62318. _s13_ = "_endOfImports",
  62319. t1 = this._async_evaluate$_visitor;
  62320. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  62321. t1._async_evaluate$_addChild$1(node);
  62322. 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)) {
  62323. t1._async_evaluate$_addChild$1(node);
  62324. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  62325. } else {
  62326. t2 = t1._async_evaluate$_outOfOrderImports;
  62327. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  62328. }
  62329. },
  62330. visitCssKeyframeBlock$1(node) {
  62331. },
  62332. visitCssMediaRule$1(node) {
  62333. var t1 = this._async_evaluate$_visitor,
  62334. mediaQueries = t1._async_evaluate$_mediaQueries;
  62335. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  62336. },
  62337. visitCssStyleRule$1(node) {
  62338. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  62339. },
  62340. visitCssStylesheet$1(node) {
  62341. var t1, t2, t3;
  62342. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  62343. t3 = t1.__internal$_current;
  62344. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  62345. }
  62346. },
  62347. visitCssSupportsRule$1(node) {
  62348. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  62349. }
  62350. };
  62351. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  62352. call$1(node) {
  62353. return type$.CssStyleRule._is(node);
  62354. },
  62355. $signature: 7
  62356. };
  62357. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  62358. call$1(node) {
  62359. var t1;
  62360. if (!type$.CssStyleRule._is(node))
  62361. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  62362. else
  62363. t1 = true;
  62364. return t1;
  62365. },
  62366. $signature: 7
  62367. };
  62368. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  62369. call$1(node) {
  62370. return type$.CssStyleRule._is(node);
  62371. },
  62372. $signature: 7
  62373. };
  62374. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  62375. call$1(node) {
  62376. return type$.CssStyleRule._is(node);
  62377. },
  62378. $signature: 7
  62379. };
  62380. A.EvaluateResult.prototype = {};
  62381. A._EvaluationContext0.prototype = {
  62382. get$currentCallableSpan() {
  62383. var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  62384. if (callableNode != null)
  62385. return callableNode.get$span(callableNode);
  62386. throw A.wrapException(A.StateError$(string$.No_Sasc));
  62387. },
  62388. warn$2(_, message, deprecation) {
  62389. var t1 = this._async_evaluate$_visitor,
  62390. t2 = t1._async_evaluate$_importSpan;
  62391. if (t2 == null) {
  62392. t2 = t1._async_evaluate$_callableNode;
  62393. t2 = t2 == null ? null : t2.get$span(t2);
  62394. }
  62395. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  62396. },
  62397. $isEvaluationContext: 1
  62398. };
  62399. A._ArgumentResults0.prototype = {};
  62400. A._LoadedStylesheet0.prototype = {};
  62401. A._CloneCssVisitor.prototype = {
  62402. visitCssAtRule$1(node) {
  62403. var t1 = node.isChildless,
  62404. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  62405. return t1 ? rule : this._visitChildren$2(rule, node);
  62406. },
  62407. visitCssComment$1(node) {
  62408. return new A.ModifiableCssComment(node.text, node.span);
  62409. },
  62410. visitCssDeclaration$1(node) {
  62411. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  62412. },
  62413. visitCssImport$1(node) {
  62414. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  62415. },
  62416. visitCssKeyframeBlock$1(node) {
  62417. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  62418. },
  62419. visitCssMediaRule$1(node) {
  62420. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  62421. },
  62422. visitCssStyleRule$1(node) {
  62423. var newSelector = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  62424. if (newSelector == null)
  62425. throw A.wrapException(A.StateError$(string$.The_Ex));
  62426. return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
  62427. },
  62428. visitCssStylesheet$1(node) {
  62429. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  62430. },
  62431. visitCssSupportsRule$1(node) {
  62432. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  62433. },
  62434. _visitChildren$1$2(newParent, oldParent) {
  62435. var t1, t2, newChild;
  62436. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  62437. t2 = t1.get$current(t1);
  62438. newChild = t2.accept$1(this);
  62439. newChild.isGroupEnd = t2.get$isGroupEnd();
  62440. newParent.addChild$1(newChild);
  62441. }
  62442. return newParent;
  62443. },
  62444. _visitChildren$2(newParent, oldParent) {
  62445. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  62446. }
  62447. };
  62448. A.Evaluator.prototype = {};
  62449. A._EvaluateVisitor.prototype = {
  62450. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  62451. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  62452. _s20_ = "$name, $module: null",
  62453. _s9_ = "sass:meta",
  62454. t1 = type$.JSArray_BuiltInCallable,
  62455. 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", "$module", new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure7(_this), _s9_)], t1),
  62456. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
  62457. t1 = type$.BuiltInCallable;
  62458. t2 = A.List_List$of($.$get$global(), true, t1);
  62459. B.JSArray_methods.addAll$1(t2, $.$get$local());
  62460. B.JSArray_methods.addAll$1(t2, metaFunctions);
  62461. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  62462. 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) {
  62463. module = t1[_i];
  62464. t3.$indexSet(0, module.url, module);
  62465. }
  62466. t1 = A._setArrayType([], type$.JSArray_Callable);
  62467. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  62468. B.JSArray_methods.addAll$1(t1, metaFunctions);
  62469. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  62470. $function = t1[_i];
  62471. t4 = J.get$name$x($function);
  62472. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  62473. }
  62474. },
  62475. run$2(_, importer, node) {
  62476. var t1 = type$.nullable_Object;
  62477. return 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$.EvaluateResult);
  62478. },
  62479. runExpression$2(importer, expression) {
  62480. var t1 = type$.nullable_Object;
  62481. 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);
  62482. },
  62483. runStatement$2(importer, statement) {
  62484. var t1 = type$.nullable_Object;
  62485. 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);
  62486. },
  62487. _assertInModule$1$2(value, $name) {
  62488. if (value != null)
  62489. return value;
  62490. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  62491. },
  62492. _assertInModule$2(value, $name) {
  62493. return this._assertInModule$1$2(value, $name, type$.dynamic);
  62494. },
  62495. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  62496. var t1, _this = this,
  62497. oldImporter = _this._importer;
  62498. _this._importer = importer;
  62499. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  62500. try {
  62501. t1 = callback.call$0();
  62502. return t1;
  62503. } finally {
  62504. _this._importer = oldImporter;
  62505. _this.__stylesheet = null;
  62506. }
  62507. },
  62508. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  62509. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  62510. },
  62511. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  62512. var t1, t2, _this = this,
  62513. builtInModule = _this._builtInModules.$index(0, url);
  62514. if (builtInModule != null) {
  62515. if (configuration instanceof A.ExplicitConfiguration) {
  62516. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  62517. t2 = configuration.nodeWithSpan;
  62518. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  62519. }
  62520. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
  62521. return;
  62522. }
  62523. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  62524. },
  62525. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  62526. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  62527. },
  62528. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  62529. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  62530. },
  62531. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  62532. var alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  62533. t1 = stylesheet.span,
  62534. url = t1.get$sourceUrl(t1);
  62535. t1 = _this._modules;
  62536. alreadyLoaded = t1.$index(0, url);
  62537. if (alreadyLoaded != null) {
  62538. t1 = configuration == null;
  62539. currentConfiguration = t1 ? _this._configuration : configuration;
  62540. t2 = _this._moduleConfigurations.$index(0, url);
  62541. t3 = t2.__originalConfiguration;
  62542. t2 = t3 == null ? t2 : t3;
  62543. t3 = currentConfiguration.__originalConfiguration;
  62544. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  62545. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  62546. t2 = _this._moduleNodes.$index(0, url);
  62547. existingSpan = t2 == null ? null : J.get$span$z(t2);
  62548. if (t1) {
  62549. t1 = currentConfiguration.nodeWithSpan;
  62550. configurationSpan = t1.get$span(t1);
  62551. } else
  62552. configurationSpan = null;
  62553. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  62554. if (existingSpan != null)
  62555. t1.$indexSet(0, existingSpan, "original load");
  62556. if (configurationSpan != null)
  62557. t1.$indexSet(0, configurationSpan, "configuration");
  62558. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  62559. }
  62560. return alreadyLoaded;
  62561. }
  62562. environment = A.Environment$();
  62563. css = A._Cell$();
  62564. extensionStore = A.ExtensionStore$();
  62565. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
  62566. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  62567. if (url != null) {
  62568. t1.$indexSet(0, url, module);
  62569. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  62570. if (nodeWithSpan != null)
  62571. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  62572. }
  62573. return module;
  62574. },
  62575. _execute$2(importer, stylesheet) {
  62576. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  62577. },
  62578. _addOutOfOrderImports$0() {
  62579. var t1, t2, _this = this, _s5_ = "_root",
  62580. _s13_ = "_endOfImports",
  62581. outOfOrderImports = _this._outOfOrderImports;
  62582. if (outOfOrderImports == null)
  62583. return _this._assertInModule$2(_this.__root, _s5_).children;
  62584. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  62585. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
  62586. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  62587. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  62588. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  62589. return t1;
  62590. },
  62591. _combineCss$2$clone(root, clone) {
  62592. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  62593. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  62594. selectors = root.get$extensionStore().get$simpleSelectors();
  62595. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  62596. if (unsatisfiedExtension != null)
  62597. _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  62598. return root.get$css(root);
  62599. }
  62600. sortedModules = _this._topologicalModules$1(root);
  62601. if (clone) {
  62602. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
  62603. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
  62604. }
  62605. _this._extendModules$1(sortedModules);
  62606. t1 = type$.JSArray_CssNode;
  62607. imports = A._setArrayType([], t1);
  62608. css = A._setArrayType([], t1);
  62609. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  62610. t3 = t1.__internal$_current;
  62611. if (t3 == null)
  62612. t3 = t2._as(t3);
  62613. t3 = t3.get$css(t3);
  62614. statements = t3.get$children(t3);
  62615. index = _this._indexAfterImports$1(statements);
  62616. t3 = J.getInterceptor$ax(statements);
  62617. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  62618. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  62619. }
  62620. t1 = B.JSArray_methods.$add(imports, css);
  62621. t2 = root.get$css(root);
  62622. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  62623. },
  62624. _combineCss$1(root) {
  62625. return this._combineCss$2$clone(root, false);
  62626. },
  62627. _extendModules$1(sortedModules) {
  62628. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  62629. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  62630. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  62631. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  62632. t2 = t1.get$current(t1);
  62633. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  62634. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  62635. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  62636. t3 = t2.get$extensionStore().get$addExtensions();
  62637. if ($self != null)
  62638. t3.call$1($self);
  62639. t3 = t2.get$extensionStore();
  62640. if (t3.get$isEmpty(t3))
  62641. continue;
  62642. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  62643. upstream = t3[_i];
  62644. url = upstream.get$url(upstream);
  62645. if (url == null)
  62646. continue;
  62647. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
  62648. }
  62649. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  62650. }
  62651. if (unsatisfiedExtensions._collection$_length !== 0)
  62652. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  62653. },
  62654. _throwForUnsatisfiedExtension$1(extension) {
  62655. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  62656. },
  62657. _topologicalModules$1(root) {
  62658. var t1 = type$.Module_Callable,
  62659. sorted = A.QueueList$(null, t1);
  62660. new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  62661. return sorted;
  62662. },
  62663. _indexAfterImports$1(statements) {
  62664. var t1, t2, t3, lastImport, i, statement;
  62665. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  62666. statement = t1.$index(statements, i);
  62667. if (t3._is(statement))
  62668. lastImport = i;
  62669. else if (!t2._is(statement))
  62670. break;
  62671. }
  62672. return lastImport + 1;
  62673. },
  62674. visitStylesheet$1(node) {
  62675. var t1, t2, _i;
  62676. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  62677. t1[_i].accept$1(this);
  62678. return null;
  62679. },
  62680. visitAtRootRule$1(node) {
  62681. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this, _null = null,
  62682. _s8_ = "__parent",
  62683. unparsedQuery = node.query,
  62684. query = unparsedQuery != null ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(unparsedQuery, true).item1, _this._evaluate$_logger, _null).parse$0() : B.AtRootQuery_UsS,
  62685. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  62686. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  62687. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  62688. if (!query.excludes$1($parent))
  62689. included.push($parent);
  62690. grandparent = $parent._parent;
  62691. if (grandparent == null)
  62692. throw A.wrapException(A.StateError$(string$.CssNod));
  62693. }
  62694. root = _this._trimIncluded$1(included);
  62695. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  62696. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  62697. return _null;
  62698. }
  62699. if (included.length !== 0) {
  62700. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  62701. for (t1 = A.SubListIterable$(included, 1, _null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  62702. t3 = t1.__internal$_current;
  62703. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  62704. copy.addChild$1(outerCopy);
  62705. }
  62706. root.addChild$1(outerCopy);
  62707. } else
  62708. innerCopy = root;
  62709. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  62710. return _null;
  62711. },
  62712. _trimIncluded$1(nodes) {
  62713. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  62714. _s22_ = " to be an ancestor of ";
  62715. if (nodes.length === 0)
  62716. return _this._assertInModule$2(_this.__root, _s5_);
  62717. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  62718. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  62719. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  62720. grandparent = $parent._parent;
  62721. if (grandparent == null)
  62722. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  62723. }
  62724. if (innermostContiguous == null)
  62725. innermostContiguous = i;
  62726. grandparent = $parent._parent;
  62727. if (grandparent == null)
  62728. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  62729. }
  62730. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  62731. return _this._assertInModule$2(_this.__root, _s5_);
  62732. innermostContiguous.toString;
  62733. root = nodes[innermostContiguous];
  62734. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  62735. return root;
  62736. },
  62737. _scopeForAtRoot$4(node, newParent, query, included) {
  62738. var _this = this,
  62739. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  62740. t1 = query._all || query._at_root_query$_rule;
  62741. if (t1 !== query.include)
  62742. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  62743. if (_this._mediaQueries != null && query.excludesName$1("media"))
  62744. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  62745. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  62746. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  62747. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  62748. },
  62749. visitContentBlock$1(node) {
  62750. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  62751. },
  62752. visitContentRule$1(node) {
  62753. var $content = this._environment._content;
  62754. if ($content == null)
  62755. return null;
  62756. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  62757. return null;
  62758. },
  62759. visitDebugRule$1(node) {
  62760. var value = node.expression.accept$1(this),
  62761. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  62762. this._evaluate$_logger.debug$2(0, t1, node.span);
  62763. return null;
  62764. },
  62765. visitDeclaration$1(node) {
  62766. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  62767. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  62768. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  62769. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  62770. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  62771. t1 = node.name;
  62772. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  62773. t2 = _this._declarationName;
  62774. if (t2 != null)
  62775. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  62776. t2 = node.value;
  62777. cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
  62778. t3 = cssValue != null;
  62779. if (t3) {
  62780. t4 = cssValue.value;
  62781. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  62782. } else
  62783. t4 = false;
  62784. if (t4) {
  62785. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  62786. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  62787. if (_this._sourceMap) {
  62788. t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
  62789. t2 = t2 == null ? _null : J.get$span$z(t2);
  62790. } else
  62791. t2 = _null;
  62792. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  62793. } else if (J.startsWith$1$s($name.value, "--") && t3)
  62794. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.span));
  62795. children = node.children;
  62796. if (children != null) {
  62797. oldDeclarationName = _this._declarationName;
  62798. _this._declarationName = $name.value;
  62799. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
  62800. _this._declarationName = oldDeclarationName;
  62801. }
  62802. return _null;
  62803. },
  62804. visitEachRule$1(node) {
  62805. var _this = this,
  62806. t1 = node.list,
  62807. list = t1.accept$1(_this),
  62808. nodeWithSpan = _this._expressionNode$1(t1),
  62809. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
  62810. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
  62811. },
  62812. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  62813. var i,
  62814. list = value.get$asList(),
  62815. t1 = variables.length,
  62816. minLength = Math.min(t1, list.length);
  62817. for (i = 0; i < minLength; ++i)
  62818. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  62819. for (i = minLength; i < t1; ++i)
  62820. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  62821. },
  62822. visitErrorRule$1(node) {
  62823. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  62824. },
  62825. visitExtendRule$1(node) {
  62826. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, compound, _this = this, _null = null,
  62827. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  62828. if (styleRule == null || _this._declarationName != null)
  62829. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  62830. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  62831. complex = t1[_i];
  62832. if (!complex.accept$1(B._IsBogusVisitor_true))
  62833. continue;
  62834. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  62835. complex.accept$1(visitor);
  62836. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  62837. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  62838. _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_vrR);
  62839. }
  62840. tuple = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  62841. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(tuple.item1, true), false, true, tuple.item2, _this._evaluate$_logger).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  62842. complex = t1[_i];
  62843. if (complex.leadingCombinators.length === 0) {
  62844. t4 = complex.components;
  62845. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  62846. } else
  62847. t4 = false;
  62848. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  62849. if (compound == null)
  62850. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span));
  62851. t4 = compound.components;
  62852. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  62853. if (t5 == null)
  62854. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span));
  62855. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  62856. }
  62857. return _null;
  62858. },
  62859. visitAtRule$1(node) {
  62860. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  62861. if (_this._declarationName != null)
  62862. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  62863. $name = _this._interpolationToValue$1(node.name);
  62864. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  62865. children = node.children;
  62866. if (children == null) {
  62867. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  62868. return null;
  62869. }
  62870. wasInKeyframes = _this._inKeyframes;
  62871. wasInUnknownAtRule = _this._inUnknownAtRule;
  62872. if (A.unvendor($name.value) === "keyframes")
  62873. _this._inKeyframes = true;
  62874. else
  62875. _this._inUnknownAtRule = true;
  62876. _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);
  62877. _this._inUnknownAtRule = wasInUnknownAtRule;
  62878. _this._inKeyframes = wasInKeyframes;
  62879. return null;
  62880. },
  62881. visitForRule$1(node) {
  62882. var _this = this, t1 = {},
  62883. t2 = node.from,
  62884. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  62885. t3 = node.to,
  62886. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  62887. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  62888. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  62889. direction = from > to ? -1 : 1;
  62890. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  62891. return null;
  62892. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  62893. },
  62894. visitForwardRule$1(node) {
  62895. var newConfiguration, t4, _i, variable, $name, _this = this,
  62896. _s8_ = "@forward",
  62897. oldConfiguration = _this._configuration,
  62898. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  62899. t1 = node.configuration,
  62900. t2 = t1.length,
  62901. t3 = node.url;
  62902. if (t2 !== 0) {
  62903. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  62904. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  62905. t3 = type$.String;
  62906. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  62907. for (_i = 0; _i < t2; ++_i) {
  62908. variable = t1[_i];
  62909. if (!variable.isGuarded)
  62910. t4.add$1(0, variable.name);
  62911. }
  62912. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  62913. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  62914. for (_i = 0; _i < t2; ++_i)
  62915. t3.add$1(0, t1[_i].name);
  62916. for (t1 = newConfiguration._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) {
  62917. $name = t2[_i];
  62918. if (!t3.contains$1(0, $name))
  62919. if (!t1.get$isEmpty(t1))
  62920. t1.remove$1(0, $name);
  62921. }
  62922. _this._assertConfigurationIsEmpty$1(newConfiguration);
  62923. } else {
  62924. _this._configuration = adjustedConfiguration;
  62925. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  62926. _this._configuration = oldConfiguration;
  62927. }
  62928. return null;
  62929. },
  62930. _addForwardConfiguration$2(configuration, node) {
  62931. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  62932. t1 = configuration._values,
  62933. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  62934. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  62935. variable = t2[_i];
  62936. if (variable.isGuarded) {
  62937. t4 = variable.name;
  62938. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  62939. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  62940. newValues.$indexSet(0, t4, t5);
  62941. continue;
  62942. }
  62943. }
  62944. t4 = variable.expression;
  62945. variableNodeWithSpan = this._expressionNode$1(t4);
  62946. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  62947. }
  62948. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  62949. return new A.ExplicitConfiguration(node, newValues, null);
  62950. else
  62951. return new A.Configuration(newValues, null);
  62952. },
  62953. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  62954. var t1, t2, t3, t4, _i, $name;
  62955. for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  62956. $name = t2[_i];
  62957. if (except.contains$1(0, $name))
  62958. continue;
  62959. if (!t4.containsKey$1($name))
  62960. if (!t1.get$isEmpty(t1))
  62961. t1.remove$1(0, $name);
  62962. }
  62963. },
  62964. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  62965. var t1, entry;
  62966. if (!(configuration instanceof A.ExplicitConfiguration))
  62967. return;
  62968. t1 = configuration._values;
  62969. if (t1.get$isEmpty(t1))
  62970. return;
  62971. t1 = t1.get$entries(t1);
  62972. entry = t1.get$first(t1);
  62973. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  62974. throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
  62975. },
  62976. _assertConfigurationIsEmpty$1(configuration) {
  62977. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  62978. },
  62979. visitFunctionRule$1(node) {
  62980. var t1 = this._environment,
  62981. t2 = t1.closure$0(),
  62982. t3 = this._inDependency,
  62983. t4 = t1._functions,
  62984. index = t4.length - 1,
  62985. t5 = node.name;
  62986. t1._functionIndices.$indexSet(0, t5, index);
  62987. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  62988. return null;
  62989. },
  62990. visitIfRule$1(node) {
  62991. var t1, t2, _i, clauseToCheck, _box_0 = {};
  62992. _box_0.clause = node.lastClause;
  62993. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62994. clauseToCheck = t1[_i];
  62995. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  62996. _box_0.clause = clauseToCheck;
  62997. break;
  62998. }
  62999. }
  63000. t1 = _box_0.clause;
  63001. if (t1 == null)
  63002. return null;
  63003. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
  63004. },
  63005. visitImportRule$1(node) {
  63006. var t1, t2, t3, t4, t5, t6, _i, $import, t7, tuple, $self, t8, _this = this,
  63007. _s8_ = "__parent",
  63008. _s5_ = "_root",
  63009. _s13_ = "_endOfImports";
  63010. 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) {
  63011. $import = t1[_i];
  63012. if ($import instanceof A.DynamicImport)
  63013. _this._visitDynamicImport$1($import);
  63014. else {
  63015. t5._as($import);
  63016. t7 = $import.url;
  63017. tuple = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, true, false);
  63018. $self = $import.modifiers;
  63019. t8 = $self == null ? null : t4.call$1($self);
  63020. node = new A.ModifiableCssImport(new A.CssValue(tuple.item1, t7.span, t3), t8, $import.span);
  63021. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  63022. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  63023. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  63024. t7 = _this._assertInModule$2(_this.__root, _s5_);
  63025. node._parent = t7;
  63026. t7 = t7._children;
  63027. node._indexInParent = t7.length;
  63028. t7.push(node);
  63029. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63030. } else {
  63031. t7 = _this._outOfOrderImports;
  63032. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  63033. }
  63034. }
  63035. }
  63036. return null;
  63037. },
  63038. _visitDynamicImport$1($import) {
  63039. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  63040. },
  63041. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  63042. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  63043. _s11_ = "_stylesheet";
  63044. baseUrl = baseUrl;
  63045. try {
  63046. _this._importSpan = span;
  63047. importCache = _this._evaluate$_importCache;
  63048. if (importCache != null) {
  63049. if (baseUrl == null) {
  63050. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  63051. baseUrl = t1.get$sourceUrl(t1);
  63052. }
  63053. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  63054. if (tuple != null) {
  63055. isDependency = _this._inDependency || tuple.item1 !== _this._importer;
  63056. t1 = tuple.item1;
  63057. t2 = tuple.item2;
  63058. t3 = tuple.item3;
  63059. t4 = _this._quietDeps && isDependency;
  63060. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  63061. if (stylesheet != null) {
  63062. _this._loadedUrls.add$1(0, tuple.item2);
  63063. t1 = tuple.item1;
  63064. return new A._LoadedStylesheet(stylesheet, t1, isDependency);
  63065. }
  63066. }
  63067. } else {
  63068. t1 = baseUrl;
  63069. if (t1 == null) {
  63070. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  63071. t1 = t1.get$sourceUrl(t1);
  63072. }
  63073. result = _this._importLikeNode$3(url, t1, forImport);
  63074. if (result != null) {
  63075. t1 = result.stylesheet.span;
  63076. t2 = _this._loadedUrls;
  63077. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  63078. return result;
  63079. }
  63080. }
  63081. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  63082. throw A.wrapException(string$.x22packa);
  63083. else
  63084. throw A.wrapException("Can't find stylesheet to import.");
  63085. } catch (exception) {
  63086. t1 = A.unwrapException(exception);
  63087. if (t1 instanceof A.SassException)
  63088. throw exception;
  63089. else if (t1 instanceof A.ArgumentError) {
  63090. error = t1;
  63091. stackTrace = A.getTraceFromException(exception);
  63092. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), stackTrace);
  63093. } else {
  63094. error0 = t1;
  63095. stackTrace0 = A.getTraceFromException(exception);
  63096. message = null;
  63097. try {
  63098. message = A._asString(J.get$message$x(error0));
  63099. } catch (exception) {
  63100. message0 = J.toString$0$(error0);
  63101. message = message0;
  63102. }
  63103. A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
  63104. }
  63105. } finally {
  63106. _this._importSpan = null;
  63107. }
  63108. },
  63109. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  63110. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  63111. },
  63112. _loadStylesheet$3$forImport(url, span, forImport) {
  63113. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  63114. },
  63115. _importLikeNode$3(originalUrl, previous, forImport) {
  63116. var _this = this,
  63117. result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
  63118. isDependency = _this._inDependency,
  63119. contents = result.get$item1(),
  63120. url = result.get$item2(),
  63121. t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  63122. return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
  63123. },
  63124. visitIncludeRule$1(node) {
  63125. var nodeWithSpan, t1, _this = this,
  63126. _s37_ = "Mixin doesn't accept a content block.",
  63127. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  63128. if (mixin == null)
  63129. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
  63130. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
  63131. if (mixin instanceof A.BuiltInCallable) {
  63132. if (node.content != null)
  63133. throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
  63134. _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  63135. } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
  63136. t1 = node.content;
  63137. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  63138. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(node.get$spanWithoutContent())));
  63139. _this._runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure1(_this, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure2(_this)), mixin, nodeWithSpan), type$.Null);
  63140. } else
  63141. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  63142. return null;
  63143. },
  63144. visitMixinRule$1(node) {
  63145. var t1 = this._environment,
  63146. t2 = t1.closure$0(),
  63147. t3 = this._inDependency,
  63148. t4 = t1._mixins,
  63149. index = t4.length - 1,
  63150. t5 = node.name;
  63151. t1._mixinIndices.$indexSet(0, t5, index);
  63152. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  63153. return null;
  63154. },
  63155. visitLoudComment$1(node) {
  63156. var t1, _this = this,
  63157. _s8_ = "__parent",
  63158. _s13_ = "_endOfImports";
  63159. if (_this._inFunction)
  63160. return null;
  63161. 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))
  63162. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63163. t1 = node.text;
  63164. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  63165. return null;
  63166. },
  63167. visitMediaRule$1(node) {
  63168. var tuple, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  63169. if (_this._declarationName != null)
  63170. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  63171. tuple = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  63172. queries = A.CssMediaQuery_parseList(tuple.item1, tuple.item2, _this._evaluate$_logger);
  63173. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  63174. t1 = mergedQueries == null;
  63175. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  63176. return null;
  63177. if (t1)
  63178. mergedSources = B.Set_empty0;
  63179. else {
  63180. t2 = _this._mediaQuerySources;
  63181. t2.toString;
  63182. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  63183. t3 = _this._mediaQueries;
  63184. t3.toString;
  63185. t2.addAll$1(0, t3);
  63186. t2.addAll$1(0, queries);
  63187. mergedSources = t2;
  63188. }
  63189. t1 = t1 ? queries : mergedQueries;
  63190. _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);
  63191. return null;
  63192. },
  63193. _mergeMediaQueries$2(queries1, queries2) {
  63194. var t1, t2, t3, t4, t5, result,
  63195. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  63196. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  63197. t4 = t1.get$current(t1);
  63198. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  63199. result = t4.merge$1(t5.get$current(t5));
  63200. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  63201. continue;
  63202. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  63203. return null;
  63204. queries.push(t3._as(result).query);
  63205. }
  63206. }
  63207. return queries;
  63208. },
  63209. visitReturnRule$1(node) {
  63210. var t1 = node.expression;
  63211. return this._withoutSlash$2(t1.accept$1(this), t1);
  63212. },
  63213. visitSilentComment$1(node) {
  63214. return null;
  63215. },
  63216. visitStyleRule$1(node) {
  63217. var t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  63218. _s11_ = "_stylesheet",
  63219. _s8_ = "__parent";
  63220. if (_this._declarationName != null)
  63221. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  63222. t1 = node.selector;
  63223. tuple = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  63224. selectorText = tuple.item1;
  63225. selectorMap = tuple.item2;
  63226. if (_this._inKeyframes) {
  63227. _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);
  63228. return _null;
  63229. }
  63230. t1 = A.SelectorList_SelectorList$parse(selectorText, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate$_logger);
  63231. t2 = _this._styleRuleIgnoringAtRoot;
  63232. t2 = t2 == null ? _null : t2.originalSelector;
  63233. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._atRootExcludingStyleRule);
  63234. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, parsedSelector);
  63235. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  63236. _this._atRootExcludingStyleRule = false;
  63237. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure1(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null);
  63238. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63239. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  63240. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  63241. complex = t1[_i];
  63242. if (!complex.accept$1(B._IsBogusVisitor_true))
  63243. continue;
  63244. if (complex.accept$1(B.C__IsUselessVisitor)) {
  63245. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63246. complex.accept$1(visitor);
  63247. _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_vrR);
  63248. } else if (complex.leadingCombinators.length !== 0) {
  63249. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63250. complex.accept$1(visitor);
  63251. _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_vrR);
  63252. } else {
  63253. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  63254. complex.accept$1(visitor);
  63255. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63256. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  63257. t8 = A.SpanExtensions_trimRight(complex.span);
  63258. if (t5.get$length(t5) === 0)
  63259. A.throwExpression(A.IterableElementError_noElement());
  63260. t9 = J.get$span$z(t5.$index(0, 0));
  63261. _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_vrR);
  63262. }
  63263. }
  63264. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  63265. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63266. t1 = !t1.get$isEmpty(t1);
  63267. } else
  63268. t1 = false;
  63269. if (t1) {
  63270. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63271. t1.get$last(t1).isGroupEnd = true;
  63272. }
  63273. return _null;
  63274. },
  63275. visitSupportsRule$1(node) {
  63276. var t1, _this = this;
  63277. if (_this._declarationName != null)
  63278. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  63279. t1 = node.condition;
  63280. _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);
  63281. return null;
  63282. },
  63283. _visitSupportsCondition$1(condition) {
  63284. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  63285. if (condition instanceof A.SupportsOperation) {
  63286. t1 = condition.operator;
  63287. return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  63288. } else if (condition instanceof A.SupportsNegation)
  63289. return "not " + _this._parenthesize$1(condition.condition);
  63290. else if (condition instanceof A.SupportsInterpolation) {
  63291. t1 = condition.expression;
  63292. return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  63293. } else if (condition instanceof A.SupportsDeclaration) {
  63294. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  63295. _this._inSupportsDeclaration = true;
  63296. t1 = condition.name;
  63297. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
  63298. t2 = condition.get$isCustomProperty() ? "" : " ";
  63299. t3 = condition.value;
  63300. t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  63301. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  63302. return "(" + t1 + ":" + t2 + t3 + ")";
  63303. } else if (condition instanceof A.SupportsFunction)
  63304. return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  63305. else if (condition instanceof A.SupportsAnything)
  63306. return "(" + _this._performInterpolation$1(condition.contents) + ")";
  63307. else
  63308. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  63309. },
  63310. _parenthesize$2(condition, operator) {
  63311. var t1;
  63312. if (!(condition instanceof A.SupportsNegation))
  63313. if (condition instanceof A.SupportsOperation)
  63314. t1 = operator == null || operator !== condition.operator;
  63315. else
  63316. t1 = false;
  63317. else
  63318. t1 = true;
  63319. if (t1)
  63320. return "(" + this._visitSupportsCondition$1(condition) + ")";
  63321. else
  63322. return this._visitSupportsCondition$1(condition);
  63323. },
  63324. _parenthesize$1(condition) {
  63325. return this._parenthesize$2(condition, null);
  63326. },
  63327. visitVariableDeclaration$1(node) {
  63328. var t1, value, _this = this, _null = null;
  63329. if (node.isGuarded) {
  63330. if (node.namespace == null && _this._environment._variables.length === 1) {
  63331. t1 = _this._configuration._values;
  63332. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  63333. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  63334. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
  63335. return _null;
  63336. }
  63337. }
  63338. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  63339. if (value != null && !value.$eq(0, B.C__SassNull))
  63340. return _null;
  63341. }
  63342. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  63343. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  63344. _this._warn$3(t1, node.span, B.Deprecation_hzy);
  63345. }
  63346. t1 = node.expression;
  63347. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  63348. return _null;
  63349. },
  63350. visitUseRule$1(node) {
  63351. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  63352. t1 = node.configuration,
  63353. t2 = t1.length;
  63354. if (t2 !== 0) {
  63355. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  63356. for (_i = 0; _i < t2; ++_i) {
  63357. variable = t1[_i];
  63358. t3 = variable.expression;
  63359. variableNodeWithSpan = _this._expressionNode$1(t3);
  63360. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  63361. }
  63362. configuration = new A.ExplicitConfiguration(node, values, null);
  63363. } else
  63364. configuration = B.Configuration_Map_empty_null;
  63365. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  63366. _this._assertConfigurationIsEmpty$1(configuration);
  63367. return null;
  63368. },
  63369. visitWarnRule$1(node) {
  63370. var _this = this,
  63371. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  63372. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  63373. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  63374. return null;
  63375. },
  63376. visitWhileRule$1(node) {
  63377. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  63378. },
  63379. visitBinaryOperationExpression$1(node) {
  63380. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
  63381. },
  63382. visitValueExpression$1(node) {
  63383. return node.value;
  63384. },
  63385. visitVariableExpression$1(node) {
  63386. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  63387. if (result != null)
  63388. return result;
  63389. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  63390. },
  63391. visitUnaryOperationExpression$1(node) {
  63392. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  63393. },
  63394. visitBooleanExpression$1(node) {
  63395. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  63396. },
  63397. visitIfExpression$1(node) {
  63398. var condition, t2, ifTrue, ifFalse, result, _this = this,
  63399. pair = _this._evaluateMacroArguments$1(node),
  63400. positional = pair.item1,
  63401. named = pair.item2,
  63402. t1 = J.getInterceptor$asx(positional);
  63403. _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  63404. if (t1.get$length(positional) > 0)
  63405. condition = t1.$index(positional, 0);
  63406. else {
  63407. t2 = named.$index(0, "condition");
  63408. t2.toString;
  63409. condition = t2;
  63410. }
  63411. if (t1.get$length(positional) > 1)
  63412. ifTrue = t1.$index(positional, 1);
  63413. else {
  63414. t2 = named.$index(0, "if-true");
  63415. t2.toString;
  63416. ifTrue = t2;
  63417. }
  63418. if (t1.get$length(positional) > 2)
  63419. ifFalse = t1.$index(positional, 2);
  63420. else {
  63421. t1 = named.$index(0, "if-false");
  63422. t1.toString;
  63423. ifFalse = t1;
  63424. }
  63425. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  63426. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  63427. },
  63428. visitNullExpression$1(node) {
  63429. return B.C__SassNull;
  63430. },
  63431. visitNumberExpression$1(node) {
  63432. return A.SassNumber_SassNumber(node.value, node.unit);
  63433. },
  63434. visitParenthesizedExpression$1(node) {
  63435. return node.expression.accept$1(this);
  63436. },
  63437. visitCalculationExpression$1(node) {
  63438. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  63439. t1 = A._setArrayType([], type$.JSArray_Object);
  63440. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  63441. argument = t2[_i];
  63442. t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  63443. }
  63444. $arguments = t1;
  63445. if (_this._inSupportsDeclaration)
  63446. return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  63447. try {
  63448. switch (t4) {
  63449. case "calc":
  63450. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  63451. return t1;
  63452. case "min":
  63453. t1 = A.SassCalculation_min($arguments);
  63454. return t1;
  63455. case "max":
  63456. t1 = A.SassCalculation_max($arguments);
  63457. return t1;
  63458. case "clamp":
  63459. t1 = J.$index$asx($arguments, 0);
  63460. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  63461. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  63462. return t1;
  63463. default:
  63464. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  63465. throw A.wrapException(t1);
  63466. }
  63467. } catch (exception) {
  63468. t1 = A.unwrapException(exception);
  63469. if (t1 instanceof A.SassScriptException) {
  63470. error = t1;
  63471. stackTrace = A.getTraceFromException(exception);
  63472. _this._verifyCompatibleNumbers$2($arguments, t2);
  63473. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
  63474. } else
  63475. throw exception;
  63476. }
  63477. },
  63478. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  63479. var i, t1, arg, number1, j, number2;
  63480. for (i = 0; t1 = args.length, i < t1; ++i) {
  63481. arg = args[i];
  63482. if (!(arg instanceof A.SassNumber))
  63483. continue;
  63484. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  63485. throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  63486. }
  63487. for (i = 0; i < t1 - 1; ++i) {
  63488. number1 = args[i];
  63489. if (!(number1 instanceof A.SassNumber))
  63490. continue;
  63491. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  63492. number2 = args[j];
  63493. if (!(number2 instanceof A.SassNumber))
  63494. continue;
  63495. if (number1.hasPossiblyCompatibleUnits$1(number2))
  63496. continue;
  63497. 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]))));
  63498. }
  63499. }
  63500. },
  63501. _visitCalculationValue$2$inMinMax(node, inMinMax) {
  63502. var inner, result, t1, text, _this = this, _null = null;
  63503. if (node instanceof A.ParenthesizedExpression) {
  63504. inner = node.expression;
  63505. result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
  63506. if (inner instanceof A.FunctionExpression)
  63507. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  63508. else
  63509. t1 = false;
  63510. return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  63511. } else if (node instanceof A.StringExpression) {
  63512. t1 = node.text;
  63513. text = t1.get$asPlain();
  63514. if (text == null)
  63515. return new A.CalculationInterpolation(_this._performInterpolation$1(t1));
  63516. switch (text.toLowerCase()) {
  63517. case "pi":
  63518. return A.SassNumber_SassNumber(3.141592653589793, _null);
  63519. case "e":
  63520. return A.SassNumber_SassNumber(2.718281828459045, _null);
  63521. case "infinity":
  63522. return A.SassNumber_SassNumber(1 / 0, _null);
  63523. case "-infinity":
  63524. return A.SassNumber_SassNumber(-1 / 0, _null);
  63525. case "nan":
  63526. return A.SassNumber_SassNumber(0 / 0, _null);
  63527. default:
  63528. return new A.SassString(text, false);
  63529. }
  63530. } else if (node instanceof A.BinaryOperationExpression)
  63531. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
  63532. else {
  63533. result = node.accept$1(_this);
  63534. if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
  63535. return result;
  63536. if (result instanceof A.SassString && !result._hasQuotes)
  63537. return result;
  63538. throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  63539. }
  63540. },
  63541. _binaryOperatorToCalculationOperator$1(operator) {
  63542. switch (operator) {
  63543. case B.BinaryOperator_anB:
  63544. return B.CalculationOperator_IyK;
  63545. case B.BinaryOperator_olz:
  63546. return B.CalculationOperator_2bx;
  63547. case B.BinaryOperator_qN2:
  63548. return B.CalculationOperator_jFr;
  63549. case B.BinaryOperator_t8B:
  63550. return B.CalculationOperator_OvN;
  63551. default:
  63552. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  63553. }
  63554. },
  63555. visitColorExpression$1(node) {
  63556. return node.value;
  63557. },
  63558. visitListExpression$1(node) {
  63559. var t1 = node.contents;
  63560. 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);
  63561. },
  63562. visitMapExpression$1(node) {
  63563. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  63564. t1 = type$.Value,
  63565. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  63566. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  63567. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  63568. pair = t2[_i];
  63569. t4 = pair.item1;
  63570. keyValue = t4.accept$1(this);
  63571. valueValue = pair.item2.accept$1(this);
  63572. if (map.$index(0, keyValue) != null) {
  63573. t1 = keyNodes.$index(0, keyValue);
  63574. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  63575. t1 = J.getInterceptor$z(t4);
  63576. t2 = t1.get$span(t4);
  63577. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  63578. if (oldValueSpan != null)
  63579. t3.$indexSet(0, oldValueSpan, "first key");
  63580. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
  63581. }
  63582. map.$indexSet(0, keyValue, valueValue);
  63583. keyNodes.$indexSet(0, keyValue, t4);
  63584. }
  63585. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  63586. },
  63587. visitFunctionExpression$1(node) {
  63588. var oldInFunction, result, _this = this, t1 = {},
  63589. $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  63590. t1.$function = $function;
  63591. if ($function == null) {
  63592. if (node.namespace != null)
  63593. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  63594. t1.$function = new A.PlainCssCallable(node.originalName);
  63595. }
  63596. oldInFunction = _this._inFunction;
  63597. _this._inFunction = true;
  63598. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
  63599. _this._inFunction = oldInFunction;
  63600. return result;
  63601. },
  63602. visitInterpolatedFunctionExpression$1(node) {
  63603. var result, _this = this,
  63604. t1 = _this._performInterpolation$1(node.name),
  63605. oldInFunction = _this._inFunction;
  63606. _this._inFunction = true;
  63607. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  63608. _this._inFunction = oldInFunction;
  63609. return result;
  63610. },
  63611. _getFunction$2$namespace($name, namespace) {
  63612. var local = this._environment.getFunction$2$namespace($name, namespace);
  63613. if (local != null || namespace != null)
  63614. return local;
  63615. return this._builtInFunctions.$index(0, $name);
  63616. },
  63617. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  63618. var oldCallable, result, _this = this,
  63619. evaluated = _this._evaluateArguments$1($arguments),
  63620. $name = callable.declaration.name;
  63621. if ($name !== "@content")
  63622. $name += "()";
  63623. oldCallable = _this._currentCallable;
  63624. _this._currentCallable = callable;
  63625. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  63626. _this._currentCallable = oldCallable;
  63627. return result;
  63628. },
  63629. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  63630. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  63631. if (callable instanceof A.BuiltInCallable)
  63632. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  63633. else if (type$.UserDefinedCallable_Environment._is(callable))
  63634. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  63635. else if (callable instanceof A.PlainCssCallable) {
  63636. t1 = $arguments.named;
  63637. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  63638. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  63639. buffer = new A.StringBuffer(callable.name + "(");
  63640. try {
  63641. first = true;
  63642. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  63643. argument = t1[_i];
  63644. if (first)
  63645. first = false;
  63646. else
  63647. buffer._contents += ", ";
  63648. t3 = argument;
  63649. buffer._contents += _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  63650. }
  63651. restArg = $arguments.rest;
  63652. if (restArg != null) {
  63653. rest = restArg.accept$1(_this);
  63654. if (!first)
  63655. buffer._contents += ", ";
  63656. buffer._contents += _this._evaluate$_serialize$2(rest, restArg);
  63657. }
  63658. } catch (exception) {
  63659. t1 = A.unwrapException(exception);
  63660. if (type$.SassRuntimeException._is(t1)) {
  63661. error = t1;
  63662. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  63663. throw exception;
  63664. 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)));
  63665. } else
  63666. throw exception;
  63667. }
  63668. buffer._contents += A.Primitives_stringFromCharCode(41);
  63669. t1 = buffer._contents;
  63670. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  63671. } else
  63672. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  63673. },
  63674. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  63675. var callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this,
  63676. evaluated = _this._evaluateArguments$1($arguments),
  63677. oldCallableNode = _this._callableNode;
  63678. _this._callableNode = nodeWithSpan;
  63679. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  63680. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  63681. overload = tuple.item1;
  63682. callback = tuple.item2;
  63683. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
  63684. declaredArguments = overload.$arguments;
  63685. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  63686. argument = declaredArguments[i];
  63687. t2 = evaluated.positional;
  63688. t3 = evaluated.named.remove$1(0, argument.name);
  63689. if (t3 == null) {
  63690. t3 = argument.defaultValue;
  63691. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  63692. }
  63693. t2.push(t3);
  63694. }
  63695. if (overload.restArgument != null) {
  63696. if (evaluated.positional.length > t1) {
  63697. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  63698. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  63699. } else
  63700. rest = B.List_empty8;
  63701. t1 = evaluated.named;
  63702. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  63703. evaluated.positional.push(argumentList);
  63704. } else
  63705. argumentList = null;
  63706. result = null;
  63707. try {
  63708. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(callback, evaluated));
  63709. } catch (exception) {
  63710. t1 = A.unwrapException(exception);
  63711. if (t1 instanceof A.SassException)
  63712. throw exception;
  63713. else {
  63714. error = t1;
  63715. stackTrace = A.getTraceFromException(exception);
  63716. message = null;
  63717. try {
  63718. message = A._asString(J.get$message$x(error));
  63719. } catch (exception) {
  63720. message0 = J.toString$0$(error);
  63721. message = message0;
  63722. }
  63723. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  63724. }
  63725. }
  63726. _this._callableNode = oldCallableNode;
  63727. if (argumentList == null)
  63728. return result;
  63729. if (evaluated.named.__js_helper$_length === 0)
  63730. return result;
  63731. if (argumentList._wereKeywordsAccessed)
  63732. return result;
  63733. t1 = evaluated.named;
  63734. t1 = t1.get$keys(t1);
  63735. t1 = A.pluralize("argument", t1.get$length(t1), null);
  63736. t2 = evaluated.named;
  63737. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure1(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  63738. },
  63739. _evaluateArguments$1($arguments) {
  63740. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  63741. positional = A._setArrayType([], type$.JSArray_Value),
  63742. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  63743. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  63744. expression = t1[_i];
  63745. nodeForSpan = _this._expressionNode$1(expression);
  63746. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  63747. positionalNodes.push(nodeForSpan);
  63748. }
  63749. t1 = type$.String;
  63750. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  63751. t2 = type$.AstNode;
  63752. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63753. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  63754. t4 = t3.get$current(t3);
  63755. t5 = t4.value;
  63756. nodeForSpan = _this._expressionNode$1(t5);
  63757. t4 = t4.key;
  63758. named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  63759. namedNodes.$indexSet(0, t4, nodeForSpan);
  63760. }
  63761. restArgs = $arguments.rest;
  63762. if (restArgs == null)
  63763. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  63764. rest = restArgs.accept$1(_this);
  63765. restNodeForSpan = _this._expressionNode$1(restArgs);
  63766. if (rest instanceof A.SassMap) {
  63767. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  63768. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63769. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  63770. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  63771. namedNodes.addAll$1(0, t3);
  63772. separator = B.ListSeparator_undecided_null_undecided;
  63773. } else if (rest instanceof A.SassList) {
  63774. t3 = rest._list$_contents;
  63775. 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>")));
  63776. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  63777. separator = rest._separator;
  63778. if (rest instanceof A.SassArgumentList) {
  63779. rest._wereKeywordsAccessed = true;
  63780. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  63781. }
  63782. } else {
  63783. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  63784. positionalNodes.push(restNodeForSpan);
  63785. separator = B.ListSeparator_undecided_null_undecided;
  63786. }
  63787. keywordRestArgs = $arguments.keywordRest;
  63788. if (keywordRestArgs == null)
  63789. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  63790. keywordRest = keywordRestArgs.accept$1(_this);
  63791. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  63792. if (keywordRest instanceof A.SassMap) {
  63793. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  63794. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63795. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  63796. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  63797. namedNodes.addAll$1(0, t1);
  63798. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  63799. } else
  63800. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  63801. },
  63802. _evaluateMacroArguments$1(invocation) {
  63803. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  63804. t1 = invocation.$arguments,
  63805. restArgs_ = t1.rest;
  63806. if (restArgs_ == null)
  63807. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  63808. t2 = t1.positional;
  63809. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  63810. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  63811. rest = restArgs_.accept$1(_this);
  63812. restNodeForSpan = _this._expressionNode$1(restArgs_);
  63813. if (rest instanceof A.SassMap)
  63814. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  63815. else if (rest instanceof A.SassList) {
  63816. t2 = rest._list$_contents;
  63817. 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>")));
  63818. if (rest instanceof A.SassArgumentList) {
  63819. rest._wereKeywordsAccessed = true;
  63820. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  63821. }
  63822. } else
  63823. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  63824. keywordRestArgs_ = t1.keywordRest;
  63825. if (keywordRestArgs_ == null)
  63826. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  63827. keywordRest = keywordRestArgs_.accept$1(_this);
  63828. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  63829. if (keywordRest instanceof A.SassMap) {
  63830. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  63831. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  63832. } else
  63833. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  63834. },
  63835. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  63836. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  63837. },
  63838. _addRestMap$4(values, map, nodeWithSpan, convert) {
  63839. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  63840. },
  63841. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  63842. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  63843. },
  63844. visitSelectorExpression$1(node) {
  63845. var t1 = this._styleRuleIgnoringAtRoot;
  63846. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  63847. return t1 == null ? B.C__SassNull : t1;
  63848. },
  63849. visitStringExpression$1(node) {
  63850. var t1, _this = this,
  63851. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  63852. _this._inSupportsDeclaration = false;
  63853. t1 = node.text.contents;
  63854. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  63855. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  63856. return new A.SassString(t1, node.hasQuotes);
  63857. },
  63858. visitSupportsExpression$1(expression) {
  63859. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  63860. },
  63861. visitCssAtRule$1(node) {
  63862. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  63863. if (_this._declarationName != null)
  63864. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  63865. if (node.isChildless) {
  63866. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  63867. return;
  63868. }
  63869. wasInKeyframes = _this._inKeyframes;
  63870. wasInUnknownAtRule = _this._inUnknownAtRule;
  63871. t1 = node.name;
  63872. if (A.unvendor(t1.value) === "keyframes")
  63873. _this._inKeyframes = true;
  63874. else
  63875. _this._inUnknownAtRule = true;
  63876. _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);
  63877. _this._inUnknownAtRule = wasInUnknownAtRule;
  63878. _this._inKeyframes = wasInKeyframes;
  63879. },
  63880. visitCssComment$1(node) {
  63881. var _this = this,
  63882. _s8_ = "__parent",
  63883. _s13_ = "_endOfImports";
  63884. 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))
  63885. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63886. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  63887. },
  63888. visitCssDeclaration$1(node) {
  63889. var t1 = node.name;
  63890. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.value, "--"), node.valueSpanForMap));
  63891. },
  63892. visitCssImport$1(node) {
  63893. var t1, _this = this,
  63894. _s8_ = "__parent",
  63895. _s5_ = "_root",
  63896. _s13_ = "_endOfImports",
  63897. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  63898. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  63899. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  63900. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  63901. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  63902. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  63903. } else {
  63904. t1 = _this._outOfOrderImports;
  63905. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  63906. }
  63907. },
  63908. visitCssKeyframeBlock$1(node) {
  63909. 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);
  63910. },
  63911. visitCssMediaRule$1(node) {
  63912. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  63913. if (_this._declarationName != null)
  63914. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  63915. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  63916. t1 = mergedQueries == null;
  63917. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  63918. return;
  63919. if (t1)
  63920. mergedSources = B.Set_empty0;
  63921. else {
  63922. t2 = _this._mediaQuerySources;
  63923. t2.toString;
  63924. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  63925. t3 = _this._mediaQueries;
  63926. t3.toString;
  63927. t2.addAll$1(0, t3);
  63928. t2.addAll$1(0, node.queries);
  63929. mergedSources = t2;
  63930. }
  63931. t1 = t1 ? node.queries : mergedQueries;
  63932. _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);
  63933. },
  63934. visitCssStyleRule$1(node) {
  63935. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  63936. _s8_ = "__parent";
  63937. if (_this._declarationName != null)
  63938. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  63939. t1 = _this._atRootExcludingStyleRule;
  63940. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  63941. t2 = node._style_rule$_selector._box$_inner.value;
  63942. t3 = styleRule == null;
  63943. t4 = t3 ? null : styleRule.originalSelector;
  63944. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  63945. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, originalSelector);
  63946. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  63947. _this._atRootExcludingStyleRule = false;
  63948. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure0(), type$.ModifiableCssStyleRule, type$.Null);
  63949. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63950. if (t3) {
  63951. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63952. t1 = !t1.get$isEmpty(t1);
  63953. } else
  63954. t1 = false;
  63955. if (t1) {
  63956. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  63957. t1.get$last(t1).isGroupEnd = true;
  63958. }
  63959. },
  63960. visitCssStylesheet$1(node) {
  63961. var t1;
  63962. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  63963. t1.get$current(t1).accept$1(this);
  63964. },
  63965. visitCssSupportsRule$1(node) {
  63966. var _this = this;
  63967. if (_this._declarationName != null)
  63968. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  63969. _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);
  63970. },
  63971. _handleReturn$1$2(list, callback) {
  63972. var t1, _i, result;
  63973. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  63974. result = callback.call$1(list[_i]);
  63975. if (result != null)
  63976. return result;
  63977. }
  63978. return null;
  63979. },
  63980. _handleReturn$2(list, callback) {
  63981. return this._handleReturn$1$2(list, callback, type$.dynamic);
  63982. },
  63983. _withEnvironment$1$2(environment, callback) {
  63984. var result,
  63985. oldEnvironment = this._environment;
  63986. this._environment = environment;
  63987. result = callback.call$0();
  63988. this._environment = oldEnvironment;
  63989. return result;
  63990. },
  63991. _withEnvironment$2(environment, callback) {
  63992. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  63993. },
  63994. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  63995. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  63996. t1 = trim ? A.trimAscii(result, true) : result;
  63997. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  63998. },
  63999. _interpolationToValue$1(interpolation) {
  64000. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  64001. },
  64002. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  64003. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  64004. },
  64005. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  64006. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor).item1;
  64007. },
  64008. _performInterpolation$1(interpolation) {
  64009. return this._performInterpolation$2$warnForColor(interpolation, false);
  64010. },
  64011. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  64012. var tuple = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  64013. t1 = tuple.item2;
  64014. t1.toString;
  64015. return new A.Tuple2(tuple.item1, t1, type$.Tuple2_String_InterpolationMap);
  64016. },
  64017. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  64018. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, _this = this, _null = null,
  64019. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation),
  64020. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  64021. _this._inSupportsDeclaration = false;
  64022. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = type$.JSArray_Object, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  64023. value = t1[_i];
  64024. if (!first)
  64025. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  64026. if (typeof value == "string") {
  64027. t7 += value;
  64028. continue;
  64029. }
  64030. t3._as(value);
  64031. result = value.accept$1(_this);
  64032. if (warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  64033. t8 = A._setArrayType([""], t4);
  64034. result0 = A.List_List$from(t8, false, t6);
  64035. result0.fixed$length = Array;
  64036. result0.immutable$list = Array;
  64037. result0 = new A.Interpolation(result0, t5);
  64038. result0.Interpolation$2(t8, t5);
  64039. t8 = $.$get$namesByColor();
  64040. _this._warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_anB, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  64041. }
  64042. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  64043. }
  64044. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  64045. t1 = A.InterpolationMap$(interpolation, targetLocations);
  64046. return new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap);
  64047. },
  64048. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  64049. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  64050. },
  64051. _evaluate$_serialize$2(value, nodeWithSpan) {
  64052. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  64053. },
  64054. _expressionNode$1(expression) {
  64055. var t1;
  64056. if (expression instanceof A.VariableExpression) {
  64057. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  64058. return t1 == null ? expression : t1;
  64059. } else
  64060. return expression;
  64061. },
  64062. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  64063. var t1, result, _this = this;
  64064. _this._addChild$2$through(node, through);
  64065. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  64066. _this.__parent = node;
  64067. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  64068. _this.__parent = t1;
  64069. return result;
  64070. },
  64071. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  64072. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  64073. },
  64074. _withParent$2$2(node, callback, $S, $T) {
  64075. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  64076. },
  64077. _addChild$2$through(node, through) {
  64078. var grandparent, t1,
  64079. $parent = this._assertInModule$2(this.__parent, "__parent");
  64080. if (through != null) {
  64081. for (; through.call$1($parent); $parent = grandparent) {
  64082. grandparent = $parent._parent;
  64083. if (grandparent == null)
  64084. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  64085. }
  64086. if ($parent.get$hasFollowingSibling()) {
  64087. grandparent = $parent._parent;
  64088. t1 = grandparent.children;
  64089. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  64090. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  64091. else {
  64092. $parent = $parent.copyWithoutChildren$0();
  64093. grandparent.addChild$1($parent);
  64094. }
  64095. }
  64096. }
  64097. $parent.addChild$1(node);
  64098. },
  64099. _addChild$1(node) {
  64100. return this._addChild$2$through(node, null);
  64101. },
  64102. _withStyleRule$1$2(rule, callback) {
  64103. var result,
  64104. oldRule = this._styleRuleIgnoringAtRoot;
  64105. this._styleRuleIgnoringAtRoot = rule;
  64106. result = callback.call$0();
  64107. this._styleRuleIgnoringAtRoot = oldRule;
  64108. return result;
  64109. },
  64110. _withStyleRule$2(rule, callback) {
  64111. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  64112. },
  64113. _withMediaQueries$1$3(queries, sources, callback) {
  64114. var result, _this = this,
  64115. oldMediaQueries = _this._mediaQueries,
  64116. oldSources = _this._mediaQuerySources;
  64117. _this._mediaQueries = queries;
  64118. _this._mediaQuerySources = sources;
  64119. result = callback.call$0();
  64120. _this._mediaQueries = oldMediaQueries;
  64121. _this._mediaQuerySources = oldSources;
  64122. return result;
  64123. },
  64124. _withMediaQueries$3(queries, sources, callback) {
  64125. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  64126. },
  64127. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  64128. var oldMember, result, _this = this,
  64129. t1 = _this._stack;
  64130. t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
  64131. oldMember = _this._member;
  64132. _this._member = member;
  64133. result = callback.call$0();
  64134. _this._member = oldMember;
  64135. t1.pop();
  64136. return result;
  64137. },
  64138. _withStackFrame$3(member, nodeWithSpan, callback) {
  64139. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  64140. },
  64141. _withoutSlash$2(value, nodeForSpan) {
  64142. if (value instanceof A.SassNumber && value.asSlash != null)
  64143. 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_xHK);
  64144. return value.withoutSlash$0();
  64145. },
  64146. _stackFrame$2(member, span) {
  64147. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  64148. },
  64149. _evaluate$_stackTrace$1(span) {
  64150. var _this = this,
  64151. t1 = _this._stack;
  64152. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  64153. if (span != null)
  64154. t1.push(_this._stackFrame$2(_this._member, span));
  64155. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  64156. },
  64157. _evaluate$_stackTrace$0() {
  64158. return this._evaluate$_stackTrace$1(null);
  64159. },
  64160. _warn$3(message, span, deprecation) {
  64161. var t1, trace, _this = this;
  64162. if (_this._quietDeps)
  64163. if (!_this._inDependency) {
  64164. t1 = _this._currentCallable;
  64165. t1 = t1 == null ? null : t1.inDependency;
  64166. t1 = t1 === true;
  64167. } else
  64168. t1 = true;
  64169. else
  64170. t1 = false;
  64171. if (t1)
  64172. return;
  64173. if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  64174. return;
  64175. trace = _this._evaluate$_stackTrace$1(span);
  64176. t1 = _this._evaluate$_logger;
  64177. if (deprecation == null)
  64178. t1.warn$3$span$trace(0, message, span, trace);
  64179. else
  64180. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  64181. },
  64182. _warn$2(message, span) {
  64183. return this._warn$3(message, span, null);
  64184. },
  64185. _evaluate$_exception$2(message, span) {
  64186. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
  64187. return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
  64188. },
  64189. _evaluate$_exception$1(message) {
  64190. return this._evaluate$_exception$2(message, null);
  64191. },
  64192. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  64193. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
  64194. return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  64195. },
  64196. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  64197. var error, stackTrace, t1, exception;
  64198. try {
  64199. t1 = callback.call$0();
  64200. return t1;
  64201. } catch (exception) {
  64202. t1 = A.unwrapException(exception);
  64203. if (t1 instanceof A.SassScriptException) {
  64204. error = t1;
  64205. stackTrace = A.getTraceFromException(exception);
  64206. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  64207. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  64208. } else
  64209. throw exception;
  64210. }
  64211. },
  64212. _addExceptionSpan$2(nodeWithSpan, callback) {
  64213. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  64214. },
  64215. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  64216. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  64217. },
  64218. _addExceptionTrace$1$1(callback) {
  64219. var error, stackTrace, t1, exception, t2;
  64220. try {
  64221. t1 = callback.call$0();
  64222. return t1;
  64223. } catch (exception) {
  64224. t1 = A.unwrapException(exception);
  64225. if (type$.SassRuntimeException._is(t1))
  64226. throw exception;
  64227. else if (t1 instanceof A.SassException) {
  64228. error = t1;
  64229. stackTrace = A.getTraceFromException(exception);
  64230. t1 = error;
  64231. t2 = J.getInterceptor$z(t1);
  64232. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  64233. } else
  64234. throw exception;
  64235. }
  64236. },
  64237. _addExceptionTrace$1(callback) {
  64238. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  64239. },
  64240. _addErrorSpan$1$2(nodeWithSpan, callback) {
  64241. var error, stackTrace, t1, exception, t2;
  64242. try {
  64243. t1 = callback.call$0();
  64244. return t1;
  64245. } catch (exception) {
  64246. t1 = A.unwrapException(exception);
  64247. if (type$.SassRuntimeException._is(t1)) {
  64248. error = t1;
  64249. stackTrace = A.getTraceFromException(exception);
  64250. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  64251. throw exception;
  64252. t1 = error._span_exception$_message;
  64253. t2 = nodeWithSpan.get$span(nodeWithSpan);
  64254. A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
  64255. } else
  64256. throw exception;
  64257. }
  64258. },
  64259. _addErrorSpan$2(nodeWithSpan, callback) {
  64260. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  64261. }
  64262. };
  64263. A._EvaluateVisitor_closure.prototype = {
  64264. call$1($arguments) {
  64265. var module, t2,
  64266. t1 = J.getInterceptor$asx($arguments),
  64267. variable = t1.$index($arguments, 0).assertString$1("name");
  64268. t1 = t1.$index($arguments, 1).get$realNull();
  64269. module = t1 == null ? null : t1.assertString$1("module");
  64270. t1 = this.$this._environment;
  64271. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  64272. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  64273. },
  64274. $signature: 19
  64275. };
  64276. A._EvaluateVisitor_closure0.prototype = {
  64277. call$1($arguments) {
  64278. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  64279. t1 = this.$this._environment;
  64280. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  64281. },
  64282. $signature: 19
  64283. };
  64284. A._EvaluateVisitor_closure1.prototype = {
  64285. call$1($arguments) {
  64286. var module, t2, t3, t4,
  64287. t1 = J.getInterceptor$asx($arguments),
  64288. variable = t1.$index($arguments, 0).assertString$1("name");
  64289. t1 = t1.$index($arguments, 1).get$realNull();
  64290. module = t1 == null ? null : t1.assertString$1("module");
  64291. t1 = this.$this;
  64292. t2 = t1._environment;
  64293. t3 = variable._string$_text;
  64294. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  64295. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  64296. },
  64297. $signature: 19
  64298. };
  64299. A._EvaluateVisitor_closure2.prototype = {
  64300. call$1($arguments) {
  64301. var module, t2,
  64302. t1 = J.getInterceptor$asx($arguments),
  64303. variable = t1.$index($arguments, 0).assertString$1("name");
  64304. t1 = t1.$index($arguments, 1).get$realNull();
  64305. module = t1 == null ? null : t1.assertString$1("module");
  64306. t1 = this.$this._environment;
  64307. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  64308. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  64309. },
  64310. $signature: 19
  64311. };
  64312. A._EvaluateVisitor_closure3.prototype = {
  64313. call$1($arguments) {
  64314. var t1 = this.$this._environment;
  64315. if (!t1._inMixin)
  64316. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  64317. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  64318. },
  64319. $signature: 19
  64320. };
  64321. A._EvaluateVisitor_closure4.prototype = {
  64322. call$1($arguments) {
  64323. var t2, t3, t4,
  64324. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  64325. module = this.$this._environment._environment$_modules.$index(0, t1);
  64326. if (module == null)
  64327. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  64328. t1 = type$.Value;
  64329. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  64330. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  64331. t4 = t3.get$current(t3);
  64332. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  64333. }
  64334. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  64335. },
  64336. $signature: 37
  64337. };
  64338. A._EvaluateVisitor_closure5.prototype = {
  64339. call$1($arguments) {
  64340. var t2, t3, t4,
  64341. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  64342. module = this.$this._environment._environment$_modules.$index(0, t1);
  64343. if (module == null)
  64344. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  64345. t1 = type$.Value;
  64346. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  64347. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  64348. t4 = t3.get$current(t3);
  64349. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  64350. }
  64351. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  64352. },
  64353. $signature: 37
  64354. };
  64355. A._EvaluateVisitor_closure6.prototype = {
  64356. call$1($arguments) {
  64357. var module, callable, t2,
  64358. t1 = J.getInterceptor$asx($arguments),
  64359. $name = t1.$index($arguments, 0).assertString$1("name"),
  64360. css = t1.$index($arguments, 1).get$isTruthy();
  64361. t1 = t1.$index($arguments, 2).get$realNull();
  64362. module = t1 == null ? null : t1.assertString$1("module");
  64363. if (css && module != null)
  64364. throw A.wrapException(string$.x24css_a);
  64365. if (css)
  64366. callable = new A.PlainCssCallable($name._string$_text);
  64367. else {
  64368. t1 = this.$this;
  64369. t2 = t1._callableNode;
  64370. t2.toString;
  64371. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  64372. }
  64373. if (callable != null)
  64374. return new A.SassFunction(callable);
  64375. throw A.wrapException("Function not found: " + $name.toString$0(0));
  64376. },
  64377. $signature: 161
  64378. };
  64379. A._EvaluateVisitor__closure1.prototype = {
  64380. call$0() {
  64381. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  64382. t2 = this.module;
  64383. t2 = t2 == null ? null : t2._string$_text;
  64384. return this.$this._getFunction$2$namespace(t1, t2);
  64385. },
  64386. $signature: 105
  64387. };
  64388. A._EvaluateVisitor_closure7.prototype = {
  64389. call$1($arguments) {
  64390. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  64391. t1 = J.getInterceptor$asx($arguments),
  64392. $function = t1.$index($arguments, 0),
  64393. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  64394. t1 = this.$this;
  64395. t2 = t1._callableNode;
  64396. t2.toString;
  64397. t3 = A._setArrayType([], type$.JSArray_Expression);
  64398. t4 = type$.String;
  64399. t5 = type$.Expression;
  64400. t6 = t2.get$span(t2);
  64401. t7 = t2.get$span(t2);
  64402. args._wereKeywordsAccessed = true;
  64403. t8 = args._keywords;
  64404. if (t8.get$isEmpty(t8))
  64405. t2 = null;
  64406. else {
  64407. t9 = type$.Value;
  64408. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  64409. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  64410. t11 = t8.get$current(t8);
  64411. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  64412. }
  64413. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  64414. }
  64415. 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);
  64416. if ($function instanceof A.SassString) {
  64417. t2 = $function.toString$0(0);
  64418. A.EvaluationContext_current().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_qVK);
  64419. callableNode = t1._callableNode;
  64420. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  64421. }
  64422. callable = $function.assertFunction$1("function").callable;
  64423. if (type$.Callable._is(callable)) {
  64424. t2 = t1._callableNode;
  64425. t2.toString;
  64426. return t1._runFunctionCallable$3(invocation, callable, t2);
  64427. } else
  64428. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  64429. },
  64430. $signature: 4
  64431. };
  64432. A._EvaluateVisitor_closure8.prototype = {
  64433. call$1($arguments) {
  64434. var withMap, t2, values, configuration, t3,
  64435. t1 = J.getInterceptor$asx($arguments),
  64436. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  64437. t1 = t1.$index($arguments, 1).get$realNull();
  64438. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  64439. t1 = this.$this;
  64440. t2 = t1._callableNode;
  64441. t2.toString;
  64442. if (withMap != null) {
  64443. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  64444. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  64445. configuration = new A.ExplicitConfiguration(t2, values, null);
  64446. } else
  64447. configuration = B.Configuration_Map_empty_null;
  64448. t3 = t2.get$span(t2);
  64449. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  64450. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  64451. },
  64452. $signature: 259
  64453. };
  64454. A._EvaluateVisitor__closure.prototype = {
  64455. call$2(variable, value) {
  64456. var t1 = variable.assertString$1("with key"),
  64457. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  64458. t1 = this.values;
  64459. if (t1.containsKey$1($name))
  64460. throw A.wrapException("The variable $" + $name + " was configured twice.");
  64461. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  64462. },
  64463. $signature: 53
  64464. };
  64465. A._EvaluateVisitor__closure0.prototype = {
  64466. call$1(module) {
  64467. var t1 = this.$this;
  64468. return t1._combineCss$2$clone(module, true).accept$1(t1);
  64469. },
  64470. $signature: 63
  64471. };
  64472. A._EvaluateVisitor_run_closure.prototype = {
  64473. call$0() {
  64474. var _this = this,
  64475. t1 = _this.node,
  64476. t2 = t1.span,
  64477. url = t2.get$sourceUrl(t2);
  64478. if (url != null) {
  64479. t2 = _this.$this;
  64480. t2._activeModules.$indexSet(0, url, null);
  64481. t2._loadedUrls.add$1(0, url);
  64482. }
  64483. t2 = _this.$this;
  64484. return new A.EvaluateResult(t2._combineCss$1(t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1))));
  64485. },
  64486. $signature: 261
  64487. };
  64488. A._EvaluateVisitor_run__closure.prototype = {
  64489. call$0() {
  64490. return this.$this._execute$2(this.importer, this.node);
  64491. },
  64492. $signature: 262
  64493. };
  64494. A._EvaluateVisitor_runExpression_closure.prototype = {
  64495. call$0() {
  64496. var t1 = this.$this,
  64497. t2 = this.expression;
  64498. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  64499. },
  64500. $signature: 30
  64501. };
  64502. A._EvaluateVisitor_runExpression__closure.prototype = {
  64503. call$0() {
  64504. var t1 = this.$this;
  64505. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  64506. },
  64507. $signature: 30
  64508. };
  64509. A._EvaluateVisitor_runExpression___closure.prototype = {
  64510. call$0() {
  64511. return this.expression.accept$1(this.$this);
  64512. },
  64513. $signature: 30
  64514. };
  64515. A._EvaluateVisitor_runStatement_closure.prototype = {
  64516. call$0() {
  64517. var t1 = this.$this,
  64518. t2 = this.statement;
  64519. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  64520. },
  64521. $signature: 0
  64522. };
  64523. A._EvaluateVisitor_runStatement__closure.prototype = {
  64524. call$0() {
  64525. var t1 = this.$this;
  64526. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  64527. },
  64528. $signature: 0
  64529. };
  64530. A._EvaluateVisitor_runStatement___closure.prototype = {
  64531. call$0() {
  64532. return this.statement.accept$1(this.$this);
  64533. },
  64534. $signature: 0
  64535. };
  64536. A._EvaluateVisitor__loadModule_closure.prototype = {
  64537. call$0() {
  64538. return this.callback.call$1(this.builtInModule);
  64539. },
  64540. $signature: 0
  64541. };
  64542. A._EvaluateVisitor__loadModule_closure0.prototype = {
  64543. call$0() {
  64544. var oldInDependency, message, _this = this, t1 = {},
  64545. t2 = _this.$this,
  64546. t3 = _this.nodeWithSpan,
  64547. result = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl),
  64548. stylesheet = result.stylesheet,
  64549. t4 = stylesheet.span,
  64550. canonicalUrl = t4.get$sourceUrl(t4);
  64551. if (canonicalUrl != null && t2._activeModules.containsKey$1(canonicalUrl)) {
  64552. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  64553. t1 = A.NullableExtension_andThen(t2._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  64554. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  64555. }
  64556. if (canonicalUrl != null)
  64557. t2._activeModules.$indexSet(0, canonicalUrl, t3);
  64558. oldInDependency = t2._inDependency;
  64559. t2._inDependency = result.isDependency;
  64560. t1.module = null;
  64561. try {
  64562. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  64563. } finally {
  64564. t2._activeModules.remove$1(0, canonicalUrl);
  64565. t2._inDependency = oldInDependency;
  64566. }
  64567. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback), false);
  64568. },
  64569. $signature: 1
  64570. };
  64571. A._EvaluateVisitor__loadModule__closure.prototype = {
  64572. call$1(previousLoad) {
  64573. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  64574. },
  64575. $signature: 86
  64576. };
  64577. A._EvaluateVisitor__loadModule__closure0.prototype = {
  64578. call$0() {
  64579. return this.callback.call$1(this._box_0.module);
  64580. },
  64581. $signature: 0
  64582. };
  64583. A._EvaluateVisitor__execute_closure.prototype = {
  64584. call$0() {
  64585. var t3, t4, t5, t6, _this = this,
  64586. t1 = _this.$this,
  64587. oldImporter = t1._importer,
  64588. oldStylesheet = t1.__stylesheet,
  64589. oldRoot = t1.__root,
  64590. oldParent = t1.__parent,
  64591. oldEndOfImports = t1.__endOfImports,
  64592. oldOutOfOrderImports = t1._outOfOrderImports,
  64593. oldExtensionStore = t1.__extensionStore,
  64594. t2 = t1._atRootExcludingStyleRule,
  64595. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  64596. oldMediaQueries = t1._mediaQueries,
  64597. oldDeclarationName = t1._declarationName,
  64598. oldInUnknownAtRule = t1._inUnknownAtRule,
  64599. oldInKeyframes = t1._inKeyframes,
  64600. oldConfiguration = t1._configuration;
  64601. t1._importer = _this.importer;
  64602. t3 = t1.__stylesheet = _this.stylesheet;
  64603. t4 = t3.span;
  64604. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  64605. t1.__endOfImports = 0;
  64606. t1._outOfOrderImports = null;
  64607. t1.__extensionStore = _this.extensionStore;
  64608. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  64609. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  64610. t6 = _this.configuration;
  64611. if (t6 != null)
  64612. t1._configuration = t6;
  64613. t1.visitStylesheet$1(t3);
  64614. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  64615. _this.css.__late_helper$_value = t3;
  64616. t1._importer = oldImporter;
  64617. t1.__stylesheet = oldStylesheet;
  64618. t1.__root = oldRoot;
  64619. t1.__parent = oldParent;
  64620. t1.__endOfImports = oldEndOfImports;
  64621. t1._outOfOrderImports = oldOutOfOrderImports;
  64622. t1.__extensionStore = oldExtensionStore;
  64623. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  64624. t1._mediaQueries = oldMediaQueries;
  64625. t1._declarationName = oldDeclarationName;
  64626. t1._inUnknownAtRule = oldInUnknownAtRule;
  64627. t1._atRootExcludingStyleRule = t2;
  64628. t1._inKeyframes = oldInKeyframes;
  64629. t1._configuration = oldConfiguration;
  64630. },
  64631. $signature: 1
  64632. };
  64633. A._EvaluateVisitor__combineCss_closure.prototype = {
  64634. call$1(module) {
  64635. return module.get$transitivelyContainsCss();
  64636. },
  64637. $signature: 116
  64638. };
  64639. A._EvaluateVisitor__combineCss_closure0.prototype = {
  64640. call$1(target) {
  64641. return !this.selectors.contains$1(0, target);
  64642. },
  64643. $signature: 13
  64644. };
  64645. A._EvaluateVisitor__combineCss_closure1.prototype = {
  64646. call$1(module) {
  64647. return module.cloneCss$0();
  64648. },
  64649. $signature: 263
  64650. };
  64651. A._EvaluateVisitor__extendModules_closure.prototype = {
  64652. call$1(target) {
  64653. return !this.originalSelectors.contains$1(0, target);
  64654. },
  64655. $signature: 13
  64656. };
  64657. A._EvaluateVisitor__extendModules_closure0.prototype = {
  64658. call$0() {
  64659. return A._setArrayType([], type$.JSArray_ExtensionStore);
  64660. },
  64661. $signature: 165
  64662. };
  64663. A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
  64664. call$1(module) {
  64665. var t1, t2, t3, _i, upstream;
  64666. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  64667. upstream = t1[_i];
  64668. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  64669. this.call$1(upstream);
  64670. }
  64671. this.sorted.addFirst$1(module);
  64672. },
  64673. $signature: 63
  64674. };
  64675. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  64676. call$0() {
  64677. var t1, t2, t3, _i;
  64678. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  64679. t1[_i].accept$1(t3);
  64680. },
  64681. $signature: 1
  64682. };
  64683. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  64684. call$0() {
  64685. var t1, t2, t3, _i;
  64686. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  64687. t1[_i].accept$1(t3);
  64688. },
  64689. $signature: 0
  64690. };
  64691. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  64692. call$1(callback) {
  64693. var t1 = this.$this,
  64694. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  64695. t1.__parent = this.newParent;
  64696. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  64697. t1.__parent = t2;
  64698. },
  64699. $signature: 28
  64700. };
  64701. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  64702. call$1(callback) {
  64703. var t1 = this.$this,
  64704. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  64705. t1._atRootExcludingStyleRule = true;
  64706. this.innerScope.call$1(callback);
  64707. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  64708. },
  64709. $signature: 28
  64710. };
  64711. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  64712. call$1(callback) {
  64713. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  64714. },
  64715. $signature: 28
  64716. };
  64717. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  64718. call$0() {
  64719. return this.innerScope.call$1(this.callback);
  64720. },
  64721. $signature: 1
  64722. };
  64723. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  64724. call$1(callback) {
  64725. var t1 = this.$this,
  64726. wasInKeyframes = t1._inKeyframes;
  64727. t1._inKeyframes = false;
  64728. this.innerScope.call$1(callback);
  64729. t1._inKeyframes = wasInKeyframes;
  64730. },
  64731. $signature: 28
  64732. };
  64733. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  64734. call$1($parent) {
  64735. return type$.CssAtRule._is($parent);
  64736. },
  64737. $signature: 166
  64738. };
  64739. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  64740. call$1(callback) {
  64741. var t1 = this.$this,
  64742. wasInUnknownAtRule = t1._inUnknownAtRule;
  64743. t1._inUnknownAtRule = false;
  64744. this.innerScope.call$1(callback);
  64745. t1._inUnknownAtRule = wasInUnknownAtRule;
  64746. },
  64747. $signature: 28
  64748. };
  64749. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  64750. call$0() {
  64751. var t1, t2, t3, _i;
  64752. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  64753. t1[_i].accept$1(t3);
  64754. return null;
  64755. },
  64756. $signature: 1
  64757. };
  64758. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  64759. call$1(value) {
  64760. return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
  64761. },
  64762. $signature: 264
  64763. };
  64764. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  64765. call$0() {
  64766. var t1, t2, t3, _i;
  64767. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  64768. t1[_i].accept$1(t3);
  64769. },
  64770. $signature: 1
  64771. };
  64772. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  64773. call$1(value) {
  64774. var t1 = this.$this,
  64775. t2 = this.nodeWithSpan;
  64776. return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
  64777. },
  64778. $signature: 50
  64779. };
  64780. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  64781. call$1(value) {
  64782. return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  64783. },
  64784. $signature: 50
  64785. };
  64786. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  64787. call$0() {
  64788. var _this = this,
  64789. t1 = _this.$this;
  64790. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  64791. },
  64792. $signature: 38
  64793. };
  64794. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  64795. call$1(element) {
  64796. var t1;
  64797. this.setVariables.call$1(element);
  64798. t1 = this.$this;
  64799. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  64800. },
  64801. $signature: 265
  64802. };
  64803. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  64804. call$1(child) {
  64805. return child.accept$1(this.$this);
  64806. },
  64807. $signature: 80
  64808. };
  64809. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  64810. call$1(value) {
  64811. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  64812. },
  64813. $signature: 267
  64814. };
  64815. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  64816. call$0() {
  64817. var t2, t3, _i, _this = this,
  64818. t1 = _this.$this,
  64819. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  64820. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  64821. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  64822. t2[_i].accept$1(t1);
  64823. else
  64824. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, _this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  64825. },
  64826. $signature: 1
  64827. };
  64828. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  64829. call$0() {
  64830. var t1, t2, t3, _i;
  64831. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  64832. t1[_i].accept$1(t3);
  64833. },
  64834. $signature: 1
  64835. };
  64836. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  64837. call$1(node) {
  64838. return type$.CssStyleRule._is(node);
  64839. },
  64840. $signature: 7
  64841. };
  64842. A._EvaluateVisitor_visitForRule_closure.prototype = {
  64843. call$0() {
  64844. return this.node.from.accept$1(this.$this).assertNumber$0();
  64845. },
  64846. $signature: 180
  64847. };
  64848. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  64849. call$0() {
  64850. return this.node.to.accept$1(this.$this).assertNumber$0();
  64851. },
  64852. $signature: 180
  64853. };
  64854. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  64855. call$0() {
  64856. return this.fromNumber.assertInt$0();
  64857. },
  64858. $signature: 12
  64859. };
  64860. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  64861. call$0() {
  64862. var t1 = this.fromNumber;
  64863. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  64864. },
  64865. $signature: 12
  64866. };
  64867. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  64868. call$0() {
  64869. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  64870. t1 = _this.$this,
  64871. t2 = _this.node,
  64872. nodeWithSpan = t1._expressionNode$1(t2.from);
  64873. 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) {
  64874. t7 = t1._environment;
  64875. t8 = t6.get$numeratorUnits(t6);
  64876. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  64877. result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  64878. if (result != null)
  64879. return result;
  64880. }
  64881. return null;
  64882. },
  64883. $signature: 38
  64884. };
  64885. A._EvaluateVisitor_visitForRule__closure.prototype = {
  64886. call$1(child) {
  64887. return child.accept$1(this.$this);
  64888. },
  64889. $signature: 80
  64890. };
  64891. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  64892. call$1(module) {
  64893. this.$this._environment.forwardModule$2(module, this.node);
  64894. },
  64895. $signature: 63
  64896. };
  64897. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  64898. call$1(module) {
  64899. this.$this._environment.forwardModule$2(module, this.node);
  64900. },
  64901. $signature: 63
  64902. };
  64903. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  64904. call$0() {
  64905. var t1 = this.$this;
  64906. return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
  64907. },
  64908. $signature: 38
  64909. };
  64910. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  64911. call$1(child) {
  64912. return child.accept$1(this.$this);
  64913. },
  64914. $signature: 80
  64915. };
  64916. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  64917. call$0() {
  64918. var t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  64919. t1 = this.$this,
  64920. t2 = this.$import,
  64921. result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  64922. stylesheet = result.stylesheet,
  64923. t3 = stylesheet.span,
  64924. url = t3.get$sourceUrl(t3);
  64925. if (url != null) {
  64926. t3 = t1._activeModules;
  64927. if (t3.containsKey$1(url)) {
  64928. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  64929. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  64930. }
  64931. t3.$indexSet(0, url, t2);
  64932. }
  64933. t2 = stylesheet._uses;
  64934. t3 = type$.UnmodifiableListView_UseRule;
  64935. t4 = new A.UnmodifiableListView(t2, t3);
  64936. if (t4.get$length(t4) === 0) {
  64937. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  64938. t4 = t4.get$length(t4) === 0;
  64939. } else
  64940. t4 = false;
  64941. if (t4) {
  64942. oldImporter = t1._importer;
  64943. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  64944. oldInDependency = t1._inDependency;
  64945. t1._importer = result.importer;
  64946. t1.__stylesheet = stylesheet;
  64947. t1._inDependency = result.isDependency;
  64948. t1.visitStylesheet$1(stylesheet);
  64949. t1._importer = oldImporter;
  64950. t1.__stylesheet = t2;
  64951. t1._inDependency = oldInDependency;
  64952. t1._activeModules.remove$1(0, url);
  64953. return;
  64954. }
  64955. t2 = new A.UnmodifiableListView(t2, t3);
  64956. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  64957. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  64958. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  64959. } else
  64960. loadsUserDefinedModules = true;
  64961. children = A._Cell$();
  64962. t2 = t1._environment;
  64963. t3 = type$.String;
  64964. t4 = type$.Module_Callable;
  64965. t5 = type$.AstNode;
  64966. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  64967. t7 = t2._variables;
  64968. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  64969. t8 = t2._variableNodes;
  64970. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  64971. t9 = t2._functions;
  64972. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  64973. t10 = t2._mixins;
  64974. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  64975. 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);
  64976. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  64977. module = environment.toDummyModule$0();
  64978. t1._environment.importForwards$1(module);
  64979. if (loadsUserDefinedModules) {
  64980. if (module.transitivelyContainsCss)
  64981. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  64982. visitor = new A._ImportedCssVisitor(t1);
  64983. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  64984. t2.get$current(t2).accept$1(visitor);
  64985. }
  64986. t1._activeModules.remove$1(0, url);
  64987. },
  64988. $signature: 0
  64989. };
  64990. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  64991. call$1(previousLoad) {
  64992. 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));
  64993. },
  64994. $signature: 86
  64995. };
  64996. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  64997. call$1(rule) {
  64998. return rule.url.get$scheme() !== "sass";
  64999. },
  65000. $signature: 170
  65001. };
  65002. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  65003. call$1(rule) {
  65004. return rule.url.get$scheme() !== "sass";
  65005. },
  65006. $signature: 171
  65007. };
  65008. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  65009. call$0() {
  65010. var t7, t8, t9, _this = this,
  65011. t1 = _this.$this,
  65012. oldImporter = t1._importer,
  65013. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  65014. t3 = t1._assertInModule$2(t1.__root, "_root"),
  65015. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  65016. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  65017. oldOutOfOrderImports = t1._outOfOrderImports,
  65018. oldConfiguration = t1._configuration,
  65019. oldInDependency = t1._inDependency,
  65020. t6 = _this.result;
  65021. t1._importer = t6.importer;
  65022. t7 = t1.__stylesheet = _this.stylesheet;
  65023. t8 = _this.loadsUserDefinedModules;
  65024. if (t8) {
  65025. t9 = A.ModifiableCssStylesheet$(t7.span);
  65026. t1.__root = t9;
  65027. t1.__parent = t1._assertInModule$2(t9, "_root");
  65028. t1.__endOfImports = 0;
  65029. t1._outOfOrderImports = null;
  65030. }
  65031. t1._inDependency = t6.isDependency;
  65032. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  65033. if (!t6.get$isEmpty(t6))
  65034. t1._configuration = _this.environment.toImplicitConfiguration$0();
  65035. t1.visitStylesheet$1(t7);
  65036. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  65037. _this.children.__late_helper$_value = t6;
  65038. t1._importer = oldImporter;
  65039. t1.__stylesheet = t2;
  65040. if (t8) {
  65041. t1.__root = t3;
  65042. t1.__parent = t4;
  65043. t1.__endOfImports = t5;
  65044. t1._outOfOrderImports = oldOutOfOrderImports;
  65045. }
  65046. t1._configuration = oldConfiguration;
  65047. t1._inDependency = oldInDependency;
  65048. },
  65049. $signature: 1
  65050. };
  65051. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  65052. call$0() {
  65053. var t1 = this.node;
  65054. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  65055. },
  65056. $signature: 105
  65057. };
  65058. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  65059. call$0() {
  65060. return this.node.get$spanWithoutContent();
  65061. },
  65062. $signature: 24
  65063. };
  65064. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  65065. call$1($content) {
  65066. var t1 = this.$this;
  65067. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  65068. },
  65069. $signature: 269
  65070. };
  65071. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  65072. call$0() {
  65073. var _this = this,
  65074. t1 = _this.$this,
  65075. t2 = t1._environment,
  65076. oldContent = t2._content;
  65077. t2._content = _this.contentCallable;
  65078. new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
  65079. t2._content = oldContent;
  65080. },
  65081. $signature: 1
  65082. };
  65083. A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
  65084. call$0() {
  65085. var t1 = this.$this,
  65086. t2 = t1._environment,
  65087. oldInMixin = t2._inMixin;
  65088. t2._inMixin = true;
  65089. new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
  65090. t2._inMixin = oldInMixin;
  65091. },
  65092. $signature: 0
  65093. };
  65094. A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
  65095. call$0() {
  65096. var t1, t2, t3, t4, _i;
  65097. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  65098. t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
  65099. },
  65100. $signature: 0
  65101. };
  65102. A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
  65103. call$0() {
  65104. return this.statement.accept$1(this.$this);
  65105. },
  65106. $signature: 38
  65107. };
  65108. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  65109. call$1(mediaQueries) {
  65110. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  65111. },
  65112. $signature: 78
  65113. };
  65114. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  65115. call$0() {
  65116. var _this = this,
  65117. t1 = _this.$this,
  65118. t2 = _this.mergedQueries;
  65119. if (t2 == null)
  65120. t2 = _this.queries;
  65121. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  65122. },
  65123. $signature: 1
  65124. };
  65125. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  65126. call$0() {
  65127. var t2, t3, _i,
  65128. t1 = this.$this,
  65129. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65130. if (styleRule == null)
  65131. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65132. t2[_i].accept$1(t1);
  65133. else
  65134. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  65135. },
  65136. $signature: 1
  65137. };
  65138. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  65139. call$0() {
  65140. var t1, t2, t3, _i;
  65141. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65142. t1[_i].accept$1(t3);
  65143. },
  65144. $signature: 1
  65145. };
  65146. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  65147. call$1(node) {
  65148. var t1;
  65149. if (!type$.CssStyleRule._is(node)) {
  65150. t1 = this.mergedSources;
  65151. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  65152. } else
  65153. t1 = true;
  65154. return t1;
  65155. },
  65156. $signature: 7
  65157. };
  65158. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  65159. call$0() {
  65160. var t1, t2, t3, _i;
  65161. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65162. t1[_i].accept$1(t3);
  65163. },
  65164. $signature: 1
  65165. };
  65166. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  65167. call$1(node) {
  65168. return type$.CssStyleRule._is(node);
  65169. },
  65170. $signature: 7
  65171. };
  65172. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  65173. call$0() {
  65174. var t1 = this.$this;
  65175. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  65176. },
  65177. $signature: 1
  65178. };
  65179. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  65180. call$0() {
  65181. var t1, t2, t3, _i;
  65182. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65183. t1[_i].accept$1(t3);
  65184. },
  65185. $signature: 1
  65186. };
  65187. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  65188. call$1(node) {
  65189. return type$.CssStyleRule._is(node);
  65190. },
  65191. $signature: 7
  65192. };
  65193. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  65194. call$1(child) {
  65195. return type$.CssComment._is(child);
  65196. },
  65197. $signature: 129
  65198. };
  65199. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  65200. call$0() {
  65201. var t2, t3, _i,
  65202. t1 = this.$this,
  65203. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65204. if (styleRule == null)
  65205. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65206. t2[_i].accept$1(t1);
  65207. else
  65208. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  65209. },
  65210. $signature: 1
  65211. };
  65212. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  65213. call$0() {
  65214. var t1, t2, t3, _i;
  65215. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  65216. t1[_i].accept$1(t3);
  65217. },
  65218. $signature: 1
  65219. };
  65220. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  65221. call$1(node) {
  65222. return type$.CssStyleRule._is(node);
  65223. },
  65224. $signature: 7
  65225. };
  65226. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  65227. call$0() {
  65228. var t1 = this.override;
  65229. this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  65230. },
  65231. $signature: 1
  65232. };
  65233. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  65234. call$0() {
  65235. var t1 = this.node;
  65236. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  65237. },
  65238. $signature: 38
  65239. };
  65240. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  65241. call$0() {
  65242. var t1 = this.$this,
  65243. t2 = this.node;
  65244. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  65245. },
  65246. $signature: 1
  65247. };
  65248. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  65249. call$1(module) {
  65250. var t1 = this.node;
  65251. this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
  65252. },
  65253. $signature: 63
  65254. };
  65255. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  65256. call$0() {
  65257. return this.node.expression.accept$1(this.$this);
  65258. },
  65259. $signature: 30
  65260. };
  65261. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  65262. call$0() {
  65263. var t1, t2, t3, result;
  65264. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  65265. result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  65266. if (result != null)
  65267. return result;
  65268. }
  65269. return null;
  65270. },
  65271. $signature: 38
  65272. };
  65273. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  65274. call$1(child) {
  65275. return child.accept$1(this.$this);
  65276. },
  65277. $signature: 80
  65278. };
  65279. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  65280. call$0() {
  65281. var right, result, t4, t5,
  65282. t1 = this.node,
  65283. t2 = this.$this,
  65284. left = t1.left.accept$1(t2),
  65285. t3 = t1.operator;
  65286. switch (t3) {
  65287. case B.BinaryOperator_2jN:
  65288. right = t1.right.accept$1(t2);
  65289. return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  65290. case B.BinaryOperator_M6L:
  65291. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  65292. case B.BinaryOperator_SNp:
  65293. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  65294. case B.BinaryOperator_ql5:
  65295. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  65296. case B.BinaryOperator_ViB:
  65297. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  65298. case B.BinaryOperator_cIH:
  65299. return left.greaterThan$1(t1.right.accept$1(t2));
  65300. case B.BinaryOperator_7Tg:
  65301. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  65302. case B.BinaryOperator_U8c:
  65303. return left.lessThan$1(t1.right.accept$1(t2));
  65304. case B.BinaryOperator_kpg:
  65305. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  65306. case B.BinaryOperator_anB:
  65307. return left.plus$1(t1.right.accept$1(t2));
  65308. case B.BinaryOperator_olz:
  65309. return left.minus$1(t1.right.accept$1(t2));
  65310. case B.BinaryOperator_qN2:
  65311. return left.times$1(t1.right.accept$1(t2));
  65312. case B.BinaryOperator_t8B:
  65313. right = t1.right.accept$1(t2);
  65314. result = left.dividedBy$1(right);
  65315. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
  65316. return type$.SassNumber._as(result).withSlash$2(left, right);
  65317. else {
  65318. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  65319. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1));
  65320. t4 = B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(t1);
  65321. t5 = t1.get$span(t1);
  65322. t2._warn$3(string$.Using__o + t3 + " or " + new A.CalculationExpression("calc", A.CalculationExpression__verifyArguments(A._setArrayType([t4], type$.JSArray_Expression)), t5).toString$0(0) + string$.x0a_Morex20, t1.get$span(t1), B.Deprecation_xHK);
  65323. }
  65324. return result;
  65325. }
  65326. case B.BinaryOperator_OTG:
  65327. return left.modulo$1(t1.right.accept$1(t2));
  65328. default:
  65329. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  65330. }
  65331. },
  65332. $signature: 30
  65333. };
  65334. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
  65335. call$1(expression) {
  65336. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_t8B)
  65337. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  65338. else if (expression instanceof A.ParenthesizedExpression)
  65339. return expression.expression.toString$0(0);
  65340. else
  65341. return expression.toString$0(0);
  65342. },
  65343. $signature: 126
  65344. };
  65345. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  65346. call$0() {
  65347. var t1 = this.node;
  65348. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  65349. },
  65350. $signature: 38
  65351. };
  65352. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  65353. call$0() {
  65354. var _this = this,
  65355. t1 = _this.node.operator;
  65356. switch (t1) {
  65357. case B.UnaryOperator_gg4:
  65358. return _this.operand.unaryPlus$0();
  65359. case B.UnaryOperator_TLI:
  65360. return _this.operand.unaryMinus$0();
  65361. case B.UnaryOperator_Ix1:
  65362. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  65363. case B.UnaryOperator_not_not_not:
  65364. return _this.operand.unaryNot$0();
  65365. default:
  65366. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  65367. }
  65368. },
  65369. $signature: 30
  65370. };
  65371. A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
  65372. call$0() {
  65373. var t1 = this.$this,
  65374. t2 = this.node,
  65375. t3 = this.inMinMax;
  65376. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._inSupportsDeclaration);
  65377. },
  65378. $signature: 81
  65379. };
  65380. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  65381. call$1(expression) {
  65382. return expression.accept$1(this.$this);
  65383. },
  65384. $signature: 271
  65385. };
  65386. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  65387. call$0() {
  65388. var t1 = this.node;
  65389. return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  65390. },
  65391. $signature: 105
  65392. };
  65393. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  65394. call$0() {
  65395. var t1 = this.node;
  65396. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  65397. },
  65398. $signature: 30
  65399. };
  65400. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  65401. call$0() {
  65402. var t1 = this.node;
  65403. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  65404. },
  65405. $signature: 30
  65406. };
  65407. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  65408. call$0() {
  65409. var _this = this,
  65410. t1 = _this.$this,
  65411. t2 = _this.callable;
  65412. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  65413. },
  65414. $signature() {
  65415. return this.V._eval$1("0()");
  65416. }
  65417. };
  65418. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  65419. call$0() {
  65420. var _this = this,
  65421. t1 = _this.$this,
  65422. t2 = _this.V;
  65423. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  65424. },
  65425. $signature() {
  65426. return this.V._eval$1("0()");
  65427. }
  65428. };
  65429. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  65430. call$0() {
  65431. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  65432. t1 = _this.$this,
  65433. t2 = _this.evaluated,
  65434. t3 = t2.positional,
  65435. t4 = t2.named,
  65436. t5 = _this.callable.declaration.$arguments,
  65437. t6 = _this.nodeWithSpan;
  65438. t1._verifyArguments$4(t3.length, t4, t5, t6);
  65439. declaredArguments = t5.$arguments;
  65440. t7 = declaredArguments.length;
  65441. minLength = Math.min(t3.length, t7);
  65442. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  65443. t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  65444. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  65445. argument = declaredArguments[i];
  65446. t9 = argument.name;
  65447. value = t4.remove$1(0, t9);
  65448. if (value == null) {
  65449. t10 = argument.defaultValue;
  65450. value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
  65451. }
  65452. t10 = t1._environment;
  65453. t11 = t8.$index(0, t9);
  65454. if (t11 == null) {
  65455. t11 = argument.defaultValue;
  65456. t11.toString;
  65457. t11 = t1._expressionNode$1(t11);
  65458. }
  65459. t10.setLocalVariable$3(t9, value, t11);
  65460. }
  65461. restArgument = t5.restArgument;
  65462. if (restArgument != null) {
  65463. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty8;
  65464. t2 = t2.separator;
  65465. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  65466. t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
  65467. } else
  65468. argumentList = null;
  65469. result = _this.run.call$0();
  65470. if (argumentList == null)
  65471. return result;
  65472. t2 = t4.__js_helper$_length;
  65473. if (t2 === 0)
  65474. return result;
  65475. if (argumentList._wereKeywordsAccessed)
  65476. return result;
  65477. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  65478. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t6.get$span(t6))));
  65479. },
  65480. $signature() {
  65481. return this.V._eval$1("0()");
  65482. }
  65483. };
  65484. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  65485. call$1($name) {
  65486. return "$" + $name;
  65487. },
  65488. $signature: 5
  65489. };
  65490. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  65491. call$0() {
  65492. var t1, t2, t3, t4, _i, $returnValue;
  65493. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  65494. $returnValue = t2[_i].accept$1(t4);
  65495. if ($returnValue instanceof A.Value)
  65496. return $returnValue;
  65497. }
  65498. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  65499. },
  65500. $signature: 30
  65501. };
  65502. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  65503. call$0() {
  65504. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  65505. },
  65506. $signature: 0
  65507. };
  65508. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  65509. call$0() {
  65510. return this.callback.call$1(this.evaluated.positional);
  65511. },
  65512. $signature: 30
  65513. };
  65514. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  65515. call$1($name) {
  65516. return "$" + $name;
  65517. },
  65518. $signature: 5
  65519. };
  65520. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  65521. call$1(value) {
  65522. return value;
  65523. },
  65524. $signature: 36
  65525. };
  65526. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  65527. call$1(value) {
  65528. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  65529. },
  65530. $signature: 36
  65531. };
  65532. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  65533. call$2(key, value) {
  65534. var _this = this,
  65535. t1 = _this.restNodeForSpan;
  65536. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  65537. _this.namedNodes.$indexSet(0, key, t1);
  65538. },
  65539. $signature: 75
  65540. };
  65541. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  65542. call$1(value) {
  65543. return value;
  65544. },
  65545. $signature: 36
  65546. };
  65547. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  65548. call$1(value) {
  65549. var t1 = this.restArgs;
  65550. return new A.ValueExpression(value, t1.get$span(t1));
  65551. },
  65552. $signature: 54
  65553. };
  65554. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  65555. call$1(value) {
  65556. var t1 = this.restArgs;
  65557. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  65558. },
  65559. $signature: 54
  65560. };
  65561. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  65562. call$2(key, value) {
  65563. var _this = this,
  65564. t1 = _this.restArgs;
  65565. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  65566. },
  65567. $signature: 75
  65568. };
  65569. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  65570. call$1(value) {
  65571. var t1 = this.keywordRestArgs;
  65572. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  65573. },
  65574. $signature: 54
  65575. };
  65576. A._EvaluateVisitor__addRestMap_closure.prototype = {
  65577. call$2(key, value) {
  65578. var t2, _this = this,
  65579. t1 = _this.$this;
  65580. if (key instanceof A.SassString)
  65581. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  65582. else {
  65583. t2 = _this.nodeWithSpan;
  65584. 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)));
  65585. }
  65586. },
  65587. $signature: 53
  65588. };
  65589. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  65590. call$0() {
  65591. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  65592. },
  65593. $signature: 0
  65594. };
  65595. A._EvaluateVisitor_visitStringExpression_closure.prototype = {
  65596. call$1(value) {
  65597. var t1, result;
  65598. if (typeof value == "string")
  65599. return value;
  65600. type$.Expression._as(value);
  65601. t1 = this.$this;
  65602. result = value.accept$1(t1);
  65603. return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
  65604. },
  65605. $signature: 59
  65606. };
  65607. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  65608. call$0() {
  65609. var t1, t2, t3, t4;
  65610. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65611. t4 = t1.__internal$_current;
  65612. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  65613. }
  65614. },
  65615. $signature: 1
  65616. };
  65617. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  65618. call$1(node) {
  65619. return type$.CssStyleRule._is(node);
  65620. },
  65621. $signature: 7
  65622. };
  65623. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  65624. call$0() {
  65625. var t1, t2, t3, t4;
  65626. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65627. t4 = t1.__internal$_current;
  65628. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  65629. }
  65630. },
  65631. $signature: 1
  65632. };
  65633. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  65634. call$1(node) {
  65635. return type$.CssStyleRule._is(node);
  65636. },
  65637. $signature: 7
  65638. };
  65639. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  65640. call$1(mediaQueries) {
  65641. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  65642. },
  65643. $signature: 78
  65644. };
  65645. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  65646. call$0() {
  65647. var _this = this,
  65648. t1 = _this.$this,
  65649. t2 = _this.mergedQueries;
  65650. if (t2 == null)
  65651. t2 = _this.node.queries;
  65652. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  65653. },
  65654. $signature: 1
  65655. };
  65656. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  65657. call$0() {
  65658. var t2, t3, t4,
  65659. t1 = this.$this,
  65660. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65661. if (styleRule == null)
  65662. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  65663. t4 = t2.__internal$_current;
  65664. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  65665. }
  65666. else
  65667. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  65668. },
  65669. $signature: 1
  65670. };
  65671. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  65672. call$0() {
  65673. var t1, t2, t3, t4;
  65674. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65675. t4 = t1.__internal$_current;
  65676. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  65677. }
  65678. },
  65679. $signature: 1
  65680. };
  65681. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  65682. call$1(node) {
  65683. var t1;
  65684. if (!type$.CssStyleRule._is(node)) {
  65685. t1 = this.mergedSources;
  65686. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  65687. } else
  65688. t1 = true;
  65689. return t1;
  65690. },
  65691. $signature: 7
  65692. };
  65693. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  65694. call$0() {
  65695. var t1 = this.$this;
  65696. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  65697. },
  65698. $signature: 1
  65699. };
  65700. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  65701. call$0() {
  65702. var t1, t2, t3, t4;
  65703. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65704. t4 = t1.__internal$_current;
  65705. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  65706. }
  65707. },
  65708. $signature: 1
  65709. };
  65710. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  65711. call$1(node) {
  65712. return type$.CssStyleRule._is(node);
  65713. },
  65714. $signature: 7
  65715. };
  65716. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  65717. call$0() {
  65718. var t2, t3, t4,
  65719. t1 = this.$this,
  65720. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  65721. if (styleRule == null)
  65722. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  65723. t4 = t2.__internal$_current;
  65724. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  65725. }
  65726. else
  65727. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  65728. },
  65729. $signature: 1
  65730. };
  65731. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  65732. call$0() {
  65733. var t1, t2, t3, t4;
  65734. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65735. t4 = t1.__internal$_current;
  65736. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  65737. }
  65738. },
  65739. $signature: 1
  65740. };
  65741. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  65742. call$1(node) {
  65743. return type$.CssStyleRule._is(node);
  65744. },
  65745. $signature: 7
  65746. };
  65747. A._EvaluateVisitor__serialize_closure.prototype = {
  65748. call$0() {
  65749. return A.serializeValue(this.value, false, this.quote);
  65750. },
  65751. $signature: 32
  65752. };
  65753. A._EvaluateVisitor__expressionNode_closure.prototype = {
  65754. call$0() {
  65755. var t1 = this.expression;
  65756. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  65757. },
  65758. $signature: 138
  65759. };
  65760. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  65761. call$1(number) {
  65762. var asSlash = number.asSlash;
  65763. if (asSlash != null)
  65764. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  65765. else
  65766. return A.serializeValue(number, true, true);
  65767. },
  65768. $signature: 177
  65769. };
  65770. A._EvaluateVisitor__stackFrame_closure.prototype = {
  65771. call$1(url) {
  65772. var t1 = this.$this._evaluate$_importCache;
  65773. t1 = t1 == null ? null : t1.humanize$1(url);
  65774. return t1 == null ? url : t1;
  65775. },
  65776. $signature: 77
  65777. };
  65778. A._EvaluateVisitor__stackTrace_closure.prototype = {
  65779. call$1(tuple) {
  65780. return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  65781. },
  65782. $signature: 178
  65783. };
  65784. A._ImportedCssVisitor.prototype = {
  65785. visitCssAtRule$1(node) {
  65786. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  65787. this._visitor._addChild$2$through(node, t1);
  65788. },
  65789. visitCssComment$1(node) {
  65790. return this._visitor._addChild$1(node);
  65791. },
  65792. visitCssDeclaration$1(node) {
  65793. },
  65794. visitCssImport$1(node) {
  65795. var t2,
  65796. _s13_ = "_endOfImports",
  65797. t1 = this._visitor;
  65798. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  65799. t1._addChild$1(node);
  65800. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  65801. t1._addChild$1(node);
  65802. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  65803. } else {
  65804. t2 = t1._outOfOrderImports;
  65805. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  65806. }
  65807. },
  65808. visitCssKeyframeBlock$1(node) {
  65809. },
  65810. visitCssMediaRule$1(node) {
  65811. var t1 = this._visitor,
  65812. mediaQueries = t1._mediaQueries;
  65813. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  65814. },
  65815. visitCssStyleRule$1(node) {
  65816. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  65817. },
  65818. visitCssStylesheet$1(node) {
  65819. var t1, t2, t3;
  65820. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  65821. t3 = t1.__internal$_current;
  65822. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  65823. }
  65824. },
  65825. visitCssSupportsRule$1(node) {
  65826. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  65827. }
  65828. };
  65829. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  65830. call$1(node) {
  65831. return type$.CssStyleRule._is(node);
  65832. },
  65833. $signature: 7
  65834. };
  65835. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  65836. call$1(node) {
  65837. var t1;
  65838. if (!type$.CssStyleRule._is(node))
  65839. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  65840. else
  65841. t1 = true;
  65842. return t1;
  65843. },
  65844. $signature: 7
  65845. };
  65846. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  65847. call$1(node) {
  65848. return type$.CssStyleRule._is(node);
  65849. },
  65850. $signature: 7
  65851. };
  65852. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  65853. call$1(node) {
  65854. return type$.CssStyleRule._is(node);
  65855. },
  65856. $signature: 7
  65857. };
  65858. A._EvaluationContext.prototype = {
  65859. get$currentCallableSpan() {
  65860. var callableNode = this._visitor._callableNode;
  65861. if (callableNode != null)
  65862. return callableNode.get$span(callableNode);
  65863. throw A.wrapException(A.StateError$(string$.No_Sasc));
  65864. },
  65865. warn$2(_, message, deprecation) {
  65866. var t1 = this._visitor,
  65867. t2 = t1._importSpan;
  65868. if (t2 == null) {
  65869. t2 = t1._callableNode;
  65870. t2 = t2 == null ? null : t2.get$span(t2);
  65871. }
  65872. if (t2 == null) {
  65873. t2 = this._defaultWarnNodeWithSpan;
  65874. t2 = t2.get$span(t2);
  65875. }
  65876. t1._warn$3(message, t2, deprecation);
  65877. },
  65878. $isEvaluationContext: 1
  65879. };
  65880. A._ArgumentResults.prototype = {};
  65881. A._LoadedStylesheet.prototype = {};
  65882. A.EveryCssVisitor.prototype = {
  65883. visitCssAtRule$1(node) {
  65884. var t1 = node.children;
  65885. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  65886. },
  65887. visitCssComment$1(node) {
  65888. return false;
  65889. },
  65890. visitCssDeclaration$1(node) {
  65891. return false;
  65892. },
  65893. visitCssImport$1(node) {
  65894. return false;
  65895. },
  65896. visitCssKeyframeBlock$1(node) {
  65897. var t1 = node.children;
  65898. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  65899. },
  65900. visitCssMediaRule$1(node) {
  65901. var t1 = node.children;
  65902. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  65903. },
  65904. visitCssStyleRule$1(node) {
  65905. var t1 = node.children;
  65906. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  65907. },
  65908. visitCssStylesheet$1(node) {
  65909. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  65910. },
  65911. visitCssSupportsRule$1(node) {
  65912. var t1 = node.children;
  65913. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  65914. }
  65915. };
  65916. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  65917. call$1(child) {
  65918. return child.accept$1(this.$this);
  65919. },
  65920. $signature: 7
  65921. };
  65922. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  65923. call$1(child) {
  65924. return child.accept$1(this.$this);
  65925. },
  65926. $signature: 7
  65927. };
  65928. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  65929. call$1(child) {
  65930. return child.accept$1(this.$this);
  65931. },
  65932. $signature: 7
  65933. };
  65934. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  65935. call$1(child) {
  65936. return child.accept$1(this.$this);
  65937. },
  65938. $signature: 7
  65939. };
  65940. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  65941. call$1(child) {
  65942. return child.accept$1(this.$this);
  65943. },
  65944. $signature: 7
  65945. };
  65946. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  65947. call$1(child) {
  65948. return child.accept$1(this.$this);
  65949. },
  65950. $signature: 7
  65951. };
  65952. A._MakeExpressionCalculationSafe.prototype = {
  65953. visitCalculationExpression$1(node) {
  65954. return node;
  65955. },
  65956. visitBinaryOperationExpression$1(node) {
  65957. var t1, t2, t3;
  65958. if (node.operator === B.BinaryOperator_OTG) {
  65959. t1 = A._setArrayType([node], type$.JSArray_Expression);
  65960. t2 = node.get$span(node);
  65961. t3 = type$.Expression;
  65962. t2 = new A.FunctionExpression("math", "max", new A.ArgumentInvocation(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty3, type$.String, t3), null, null, t2), node.get$span(node));
  65963. t1 = t2;
  65964. } else
  65965. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(node);
  65966. return t1;
  65967. },
  65968. visitInterpolatedFunctionExpression$1(node) {
  65969. return node;
  65970. },
  65971. visitUnaryOperationExpression$1(node) {
  65972. var t1 = node.operator;
  65973. if (t1 === B.UnaryOperator_gg4)
  65974. return node.operand;
  65975. else if (t1 === B.UnaryOperator_TLI)
  65976. return new A.BinaryOperationExpression(B.BinaryOperator_qN2, new A.NumberExpression(-1, null, node.span), node.operand, false);
  65977. else
  65978. return this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(node);
  65979. }
  65980. };
  65981. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  65982. A._FindDependenciesVisitor.prototype = {
  65983. visitEachRule$1(node) {
  65984. },
  65985. visitForRule$1(node) {
  65986. },
  65987. visitIfRule$1(node) {
  65988. },
  65989. visitWhileRule$1(node) {
  65990. },
  65991. visitUseRule$1(node) {
  65992. var t1 = node.url;
  65993. if (t1.get$scheme() !== "sass")
  65994. this._find_dependencies$_uses.add$1(0, t1);
  65995. else if (t1.toString$0(0) === "sass:meta")
  65996. this._metaNamespaces.add$1(0, node.namespace);
  65997. },
  65998. visitForwardRule$1(node) {
  65999. var t1 = node.url;
  66000. if (t1.get$scheme() !== "sass")
  66001. this._find_dependencies$_forwards.add$1(0, t1);
  66002. },
  66003. visitImportRule$1(node) {
  66004. var t1, t2, t3, _i, $import;
  66005. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  66006. $import = t1[_i];
  66007. if ($import instanceof A.DynamicImport)
  66008. t3.add$1(0, A.Uri_parse($import.urlString));
  66009. }
  66010. },
  66011. visitIncludeRule$1(node) {
  66012. var url, t1, argument, exception;
  66013. if (node.name !== "load-css")
  66014. return;
  66015. if (!this._metaNamespaces.contains$1(0, node.namespace))
  66016. return;
  66017. t1 = node.$arguments.positional;
  66018. if (t1.length === 0)
  66019. return;
  66020. argument = B.JSArray_methods.get$first(t1);
  66021. if (!(argument instanceof A.StringExpression))
  66022. return;
  66023. url = argument.text.get$asPlain();
  66024. try {
  66025. if (url != null)
  66026. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  66027. } catch (exception) {
  66028. if (!type$.FormatException._is(A.unwrapException(exception)))
  66029. throw exception;
  66030. }
  66031. }
  66032. };
  66033. A.DependencyReport.prototype = {};
  66034. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  66035. A.RecursiveStatementVisitor.prototype = {
  66036. visitAtRootRule$1(node) {
  66037. this.visitChildren$1(node.children);
  66038. },
  66039. visitAtRule$1(node) {
  66040. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  66041. },
  66042. visitContentBlock$1(node) {
  66043. return null;
  66044. },
  66045. visitContentRule$1(node) {
  66046. },
  66047. visitDebugRule$1(node) {
  66048. },
  66049. visitDeclaration$1(node) {
  66050. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  66051. },
  66052. visitErrorRule$1(node) {
  66053. },
  66054. visitExtendRule$1(node) {
  66055. },
  66056. visitFunctionRule$1(node) {
  66057. return null;
  66058. },
  66059. visitLoudComment$1(node) {
  66060. },
  66061. visitMediaRule$1(node) {
  66062. return this.visitChildren$1(node.children);
  66063. },
  66064. visitMixinRule$1(node) {
  66065. return null;
  66066. },
  66067. visitReturnRule$1(node) {
  66068. },
  66069. visitSilentComment$1(node) {
  66070. },
  66071. visitStyleRule$1(node) {
  66072. return this.visitChildren$1(node.children);
  66073. },
  66074. visitStylesheet$1(node) {
  66075. return this.visitChildren$1(node.children);
  66076. },
  66077. visitSupportsRule$1(node) {
  66078. return this.visitChildren$1(node.children);
  66079. },
  66080. visitVariableDeclaration$1(node) {
  66081. },
  66082. visitWarnRule$1(node) {
  66083. },
  66084. visitChildren$1(children) {
  66085. var t1;
  66086. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  66087. t1.get$current(t1).accept$1(this);
  66088. }
  66089. };
  66090. A.ReplaceExpressionVisitor.prototype = {
  66091. visitBinaryOperationExpression$1(node) {
  66092. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  66093. },
  66094. visitBooleanExpression$1(node) {
  66095. return node;
  66096. },
  66097. visitColorExpression$1(node) {
  66098. return node;
  66099. },
  66100. visitFunctionExpression$1(node) {
  66101. return new A.FunctionExpression(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  66102. },
  66103. visitIfExpression$1(node) {
  66104. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  66105. },
  66106. visitListExpression$1(node) {
  66107. var t1 = node.contents;
  66108. 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);
  66109. },
  66110. visitMapExpression$1(node) {
  66111. var t1 = node.pairs;
  66112. return new A.MapExpression(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitMapExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Tuple2<Expression,Expression>>")), type$.Tuple2_Expression_Expression), node.span);
  66113. },
  66114. visitNullExpression$1(node) {
  66115. return node;
  66116. },
  66117. visitNumberExpression$1(node) {
  66118. return node;
  66119. },
  66120. visitParenthesizedExpression$1(node) {
  66121. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  66122. },
  66123. visitSelectorExpression$1(node) {
  66124. return node;
  66125. },
  66126. visitStringExpression$1(node) {
  66127. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  66128. },
  66129. visitSupportsExpression$1(node) {
  66130. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  66131. },
  66132. visitUnaryOperationExpression$1(node) {
  66133. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  66134. },
  66135. visitValueExpression$1(node) {
  66136. return node;
  66137. },
  66138. visitVariableExpression$1(node) {
  66139. return node;
  66140. },
  66141. visitArgumentInvocation$1(invocation) {
  66142. var t5, t6, _this = this,
  66143. t1 = invocation.positional,
  66144. t2 = type$.String,
  66145. t3 = type$.Expression,
  66146. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  66147. for (t5 = invocation.named, t5 = t5.get$entries(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  66148. t6 = t5.get$current(t5);
  66149. t4.$indexSet(0, t6.key, t6.value.accept$1(_this));
  66150. }
  66151. t5 = invocation.rest;
  66152. t5 = t5 == null ? null : t5.accept$1(_this);
  66153. t6 = invocation.keywordRest;
  66154. t6 = t6 == null ? null : t6.accept$1(_this);
  66155. 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);
  66156. },
  66157. visitSupportsCondition$1(condition) {
  66158. var _this = this;
  66159. if (condition instanceof A.SupportsOperation)
  66160. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  66161. else if (condition instanceof A.SupportsNegation)
  66162. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  66163. else if (condition instanceof A.SupportsInterpolation)
  66164. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  66165. else if (condition instanceof A.SupportsDeclaration)
  66166. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  66167. else
  66168. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition)));
  66169. },
  66170. visitInterpolation$1(interpolation) {
  66171. var t1 = interpolation.contents;
  66172. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  66173. }
  66174. };
  66175. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  66176. call$1(item) {
  66177. return item.accept$1(this.$this);
  66178. },
  66179. $signature: 127
  66180. };
  66181. A.ReplaceExpressionVisitor_visitMapExpression_closure.prototype = {
  66182. call$1(pair) {
  66183. var t1 = this.$this;
  66184. return new A.Tuple2(pair.item1.accept$1(t1), pair.item2.accept$1(t1), type$.Tuple2_Expression_Expression);
  66185. },
  66186. $signature: 273
  66187. };
  66188. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  66189. call$1(expression) {
  66190. return expression.accept$1(this.$this);
  66191. },
  66192. $signature: 127
  66193. };
  66194. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  66195. call$1(node) {
  66196. return type$.Expression._is(node) ? node.accept$1(this.$this) : node;
  66197. },
  66198. $signature: 82
  66199. };
  66200. A.SelectorSearchVisitor.prototype = {
  66201. visitAttributeSelector$1(attribute) {
  66202. return null;
  66203. },
  66204. visitClassSelector$1(klass) {
  66205. return null;
  66206. },
  66207. visitIDSelector$1(id) {
  66208. return null;
  66209. },
  66210. visitPlaceholderSelector$1(placeholder) {
  66211. return null;
  66212. },
  66213. visitTypeSelector$1(type) {
  66214. return null;
  66215. },
  66216. visitUniversalSelector$1(universal) {
  66217. return null;
  66218. },
  66219. visitComplexSelector$1(complex) {
  66220. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  66221. },
  66222. visitCompoundSelector$1(compound) {
  66223. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  66224. },
  66225. visitPseudoSelector$1(pseudo) {
  66226. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  66227. },
  66228. visitSelectorList$1(list) {
  66229. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  66230. }
  66231. };
  66232. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  66233. call$1(component) {
  66234. return this.$this.visitCompoundSelector$1(component.selector);
  66235. },
  66236. $signature() {
  66237. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  66238. }
  66239. };
  66240. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  66241. call$1(simple) {
  66242. return simple.accept$1(this.$this);
  66243. },
  66244. $signature() {
  66245. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  66246. }
  66247. };
  66248. A.serialize_closure.prototype = {
  66249. call$1(codeUnit) {
  66250. return codeUnit > 127;
  66251. },
  66252. $signature: 51
  66253. };
  66254. A._SerializeVisitor.prototype = {
  66255. visitCssStylesheet$1(node) {
  66256. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  66257. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._inspect, t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = type$.CssComment, t6 = type$.CssParentNode, t7 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
  66258. previous0 = t1.get$current(t1);
  66259. if (t2)
  66260. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  66261. else
  66262. t8 = false;
  66263. if (t8)
  66264. continue;
  66265. if (previous != null) {
  66266. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  66267. t7.writeCharCode$1(59);
  66268. if (_this._isTrailingComment$2(previous0, previous)) {
  66269. if (t4)
  66270. t7.writeCharCode$1(32);
  66271. } else {
  66272. if (t4)
  66273. t7.write$1(0, "\n");
  66274. if (previous.get$isGroupEnd())
  66275. if (t4)
  66276. t7.write$1(0, "\n");
  66277. }
  66278. }
  66279. previous0.accept$1(_this);
  66280. previous = previous0;
  66281. }
  66282. if (previous != null)
  66283. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  66284. else
  66285. t1 = false;
  66286. if (t1)
  66287. t7.writeCharCode$1(59);
  66288. },
  66289. visitCssComment$1(node) {
  66290. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  66291. },
  66292. visitCssAtRule$1(node) {
  66293. var t1, _this = this;
  66294. _this._writeIndentation$0();
  66295. t1 = _this._serialize$_buffer;
  66296. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  66297. if (!node.isChildless) {
  66298. if (_this._style !== B.OutputStyle_1)
  66299. t1.writeCharCode$1(32);
  66300. _this._serialize$_visitChildren$1(node);
  66301. }
  66302. },
  66303. visitCssMediaRule$1(node) {
  66304. var t1, _this = this;
  66305. _this._writeIndentation$0();
  66306. t1 = _this._serialize$_buffer;
  66307. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  66308. if (_this._style !== B.OutputStyle_1)
  66309. t1.writeCharCode$1(32);
  66310. _this._serialize$_visitChildren$1(node);
  66311. },
  66312. visitCssImport$1(node) {
  66313. this._writeIndentation$0();
  66314. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  66315. },
  66316. _writeImportUrl$1(url) {
  66317. var urlContents, maybeQuote, _this = this;
  66318. if (_this._style !== B.OutputStyle_1 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  66319. _this._serialize$_buffer.write$1(0, url);
  66320. return;
  66321. }
  66322. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  66323. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  66324. if (maybeQuote === 39 || maybeQuote === 34)
  66325. _this._serialize$_buffer.write$1(0, urlContents);
  66326. else
  66327. _this._visitQuotedString$1(urlContents);
  66328. },
  66329. visitCssKeyframeBlock$1(node) {
  66330. var t1, _this = this;
  66331. _this._writeIndentation$0();
  66332. t1 = _this._serialize$_buffer;
  66333. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  66334. if (_this._style !== B.OutputStyle_1)
  66335. t1.writeCharCode$1(32);
  66336. _this._serialize$_visitChildren$1(node);
  66337. },
  66338. _visitMediaQuery$1(query) {
  66339. var t2, condition, operator, t3, _this = this,
  66340. t1 = query.modifier;
  66341. if (t1 != null) {
  66342. t2 = _this._serialize$_buffer;
  66343. t2.write$1(0, t1);
  66344. t2.writeCharCode$1(32);
  66345. }
  66346. t1 = query.type;
  66347. if (t1 != null) {
  66348. t2 = _this._serialize$_buffer;
  66349. t2.write$1(0, t1);
  66350. if (query.conditions.length !== 0)
  66351. t2.write$1(0, " and ");
  66352. }
  66353. t1 = query.conditions;
  66354. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  66355. t2 = _this._serialize$_buffer;
  66356. t2.write$1(0, "not ");
  66357. condition = B.JSArray_methods.get$first(t1);
  66358. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  66359. } else {
  66360. operator = query.conjunction ? "and" : "or";
  66361. t2 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  66362. t3 = _this._serialize$_buffer;
  66363. _this._writeBetween$3(t1, t2, t3.get$write(t3));
  66364. }
  66365. },
  66366. visitCssStyleRule$1(node) {
  66367. var t1, _this = this;
  66368. _this._writeIndentation$0();
  66369. t1 = _this._serialize$_buffer;
  66370. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  66371. if (_this._style !== B.OutputStyle_1)
  66372. t1.writeCharCode$1(32);
  66373. _this._serialize$_visitChildren$1(node);
  66374. },
  66375. visitCssSupportsRule$1(node) {
  66376. var t1, _this = this;
  66377. _this._writeIndentation$0();
  66378. t1 = _this._serialize$_buffer;
  66379. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  66380. if (_this._style !== B.OutputStyle_1)
  66381. t1.writeCharCode$1(32);
  66382. _this._serialize$_visitChildren$1(node);
  66383. },
  66384. visitCssDeclaration$1(node) {
  66385. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  66386. _this._writeIndentation$0();
  66387. t1 = node.name;
  66388. _this._serialize$_write$1(t1);
  66389. t2 = _this._serialize$_buffer;
  66390. t2.writeCharCode$1(58);
  66391. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  66392. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  66393. else {
  66394. if (_this._style !== B.OutputStyle_1)
  66395. t2.writeCharCode$1(32);
  66396. try {
  66397. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  66398. } catch (exception) {
  66399. t1 = A.unwrapException(exception);
  66400. if (t1 instanceof A.MultiSpanSassScriptException) {
  66401. error = t1;
  66402. stackTrace = A.getTraceFromException(exception);
  66403. t1 = error.message;
  66404. A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, node.value.span), stackTrace);
  66405. } else if (t1 instanceof A.SassScriptException) {
  66406. error0 = t1;
  66407. stackTrace0 = A.getTraceFromException(exception);
  66408. A.throwWithTrace(new A.SassException(error0.message, node.value.span), stackTrace0);
  66409. } else
  66410. throw exception;
  66411. }
  66412. }
  66413. },
  66414. _writeFoldedValue$1(node) {
  66415. var t1, t2, next, t3,
  66416. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  66417. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  66418. next = scanner.readChar$0();
  66419. if (next !== 10) {
  66420. t2.writeCharCode$1(next);
  66421. continue;
  66422. }
  66423. t2.writeCharCode$1(32);
  66424. while (true) {
  66425. t3 = scanner.peekChar$0();
  66426. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  66427. break;
  66428. scanner.readChar$0();
  66429. }
  66430. }
  66431. },
  66432. _writeReindentedValue$1(node) {
  66433. var t1, _this = this,
  66434. value = type$.SassString._as(node.value.value)._string$_text,
  66435. minimumIndentation = _this._minimumIndentation$1(value);
  66436. if (minimumIndentation == null) {
  66437. _this._serialize$_buffer.write$1(0, value);
  66438. return;
  66439. } else if (minimumIndentation === -1) {
  66440. t1 = _this._serialize$_buffer;
  66441. t1.write$1(0, A.trimAsciiRight(value, true));
  66442. t1.writeCharCode$1(32);
  66443. return;
  66444. }
  66445. t1 = node.name.span;
  66446. t1 = t1.get$start(t1);
  66447. _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  66448. },
  66449. _minimumIndentation$1(text) {
  66450. var character, t2, min, next, min0,
  66451. scanner = A.LineScanner$(text),
  66452. t1 = scanner.string.length;
  66453. while (true) {
  66454. if (scanner._string_scanner$_position !== t1) {
  66455. character = scanner.super$StringScanner$readChar();
  66456. scanner._adjustLineAndColumn$1(character);
  66457. t2 = character !== 10;
  66458. } else
  66459. t2 = false;
  66460. if (!t2)
  66461. break;
  66462. }
  66463. if (scanner._string_scanner$_position === t1)
  66464. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  66465. for (min = null; scanner._string_scanner$_position !== t1;) {
  66466. for (; scanner._string_scanner$_position !== t1;) {
  66467. next = scanner.peekChar$0();
  66468. if (next !== 32 && next !== 9)
  66469. break;
  66470. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  66471. }
  66472. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  66473. continue;
  66474. min0 = scanner._line_scanner$_column;
  66475. min = min == null ? min0 : Math.min(min, min0);
  66476. while (true) {
  66477. if (scanner._string_scanner$_position !== t1) {
  66478. character = scanner.super$StringScanner$readChar();
  66479. scanner._adjustLineAndColumn$1(character);
  66480. t2 = character !== 10;
  66481. } else
  66482. t2 = false;
  66483. if (!t2)
  66484. break;
  66485. }
  66486. }
  66487. return min == null ? -1 : min;
  66488. },
  66489. _writeWithIndent$2(text, minimumIndentation) {
  66490. var t1, t2, t3, character, lineStart, newlines, end,
  66491. scanner = A.LineScanner$(text);
  66492. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  66493. character = scanner.super$StringScanner$readChar();
  66494. scanner._adjustLineAndColumn$1(character);
  66495. if (character === 10)
  66496. break;
  66497. t3.writeCharCode$1(character);
  66498. }
  66499. for (; true;) {
  66500. lineStart = scanner._string_scanner$_position;
  66501. for (newlines = 1; true;) {
  66502. if (scanner._string_scanner$_position === t2) {
  66503. t3.writeCharCode$1(32);
  66504. return;
  66505. }
  66506. character = scanner.super$StringScanner$readChar();
  66507. scanner._adjustLineAndColumn$1(character);
  66508. if (character === 32 || character === 9)
  66509. continue;
  66510. if (character !== 10)
  66511. break;
  66512. lineStart = scanner._string_scanner$_position;
  66513. ++newlines;
  66514. }
  66515. this._writeTimes$2(10, newlines);
  66516. this._writeIndentation$0();
  66517. end = scanner._string_scanner$_position;
  66518. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  66519. for (; true;) {
  66520. if (scanner._string_scanner$_position === t2)
  66521. return;
  66522. character = scanner.super$StringScanner$readChar();
  66523. scanner._adjustLineAndColumn$1(character);
  66524. if (character === 10)
  66525. break;
  66526. t3.writeCharCode$1(character);
  66527. }
  66528. }
  66529. },
  66530. visitCalculation$1(value) {
  66531. var t2, _this = this,
  66532. t1 = _this._serialize$_buffer;
  66533. t1.write$1(0, value.name);
  66534. t1.writeCharCode$1(40);
  66535. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  66536. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  66537. t1.writeCharCode$1(41);
  66538. },
  66539. _writeCalculationValue$1(value) {
  66540. var t1, t2, unit, left, parenthesizeLeft, operatorWhitespace, right, parenthesizeRight, _this = this;
  66541. if (value instanceof A.SassNumber && !isFinite(value._number$_value)) {
  66542. t1 = J.getInterceptor$x(value);
  66543. if (t1.get$numeratorUnits(value).length > 1 || t1.get$denominatorUnits(value).length !== 0) {
  66544. if (!_this._inspect)
  66545. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", null));
  66546. _this._writeNumber$1(value._number$_value);
  66547. _this._serialize$_buffer.write$1(0, value.get$unitString());
  66548. return;
  66549. }
  66550. t2 = value._number$_value;
  66551. if (t2 === 1 / 0)
  66552. _this._serialize$_buffer.write$1(0, "infinity");
  66553. else if (t2 === -1 / 0)
  66554. _this._serialize$_buffer.write$1(0, "-infinity");
  66555. else if (isNaN(t2))
  66556. _this._serialize$_buffer.write$1(0, "NaN");
  66557. unit = A.IterableExtension_get_firstOrNull(t1.get$numeratorUnits(value));
  66558. if (unit != null) {
  66559. t1 = _this._style !== B.OutputStyle_1;
  66560. if (t1)
  66561. _this._serialize$_buffer.writeCharCode$1(32);
  66562. t2 = _this._serialize$_buffer;
  66563. t2.writeCharCode$1(42);
  66564. if (t1)
  66565. t2.writeCharCode$1(32);
  66566. t2.writeCharCode$1(49);
  66567. t2.write$1(0, unit);
  66568. }
  66569. } else if (value instanceof A.Value)
  66570. value.accept$1(_this);
  66571. else if (value instanceof A.CalculationInterpolation)
  66572. _this._serialize$_buffer.write$1(0, value.value);
  66573. else if (value instanceof A.CalculationOperation) {
  66574. left = value.left;
  66575. if (!(left instanceof A.CalculationInterpolation))
  66576. parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
  66577. else
  66578. parenthesizeLeft = true;
  66579. if (parenthesizeLeft)
  66580. _this._serialize$_buffer.writeCharCode$1(40);
  66581. _this._writeCalculationValue$1(left);
  66582. if (parenthesizeLeft)
  66583. _this._serialize$_buffer.writeCharCode$1(41);
  66584. operatorWhitespace = _this._style !== B.OutputStyle_1 || value.operator.precedence === 1;
  66585. if (operatorWhitespace)
  66586. _this._serialize$_buffer.writeCharCode$1(32);
  66587. t1 = _this._serialize$_buffer;
  66588. t2 = value.operator;
  66589. t1.write$1(0, t2.operator);
  66590. if (operatorWhitespace)
  66591. t1.writeCharCode$1(32);
  66592. right = value.right;
  66593. if (!(right instanceof A.CalculationInterpolation))
  66594. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator))) {
  66595. t2 = t2 === B.CalculationOperator_OvN && right instanceof A.SassNumber && !isFinite(right._number$_value) && right.get$hasUnits();
  66596. parenthesizeRight = t2;
  66597. } else
  66598. parenthesizeRight = true;
  66599. else
  66600. parenthesizeRight = true;
  66601. if (parenthesizeRight)
  66602. t1.writeCharCode$1(40);
  66603. _this._writeCalculationValue$1(right);
  66604. if (parenthesizeRight)
  66605. t1.writeCharCode$1(41);
  66606. }
  66607. },
  66608. _parenthesizeCalculationRhs$2(outer, right) {
  66609. if (outer === B.CalculationOperator_OvN)
  66610. return true;
  66611. if (outer === B.CalculationOperator_IyK)
  66612. return false;
  66613. return right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  66614. },
  66615. _writeRgb$1(value) {
  66616. var t3,
  66617. t1 = value._alpha,
  66618. opaque = A.fuzzyEquals(t1, 1),
  66619. t2 = this._serialize$_buffer;
  66620. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  66621. t2.write$1(0, value.get$red(value));
  66622. t3 = this._style === B.OutputStyle_1;
  66623. t2.write$1(0, t3 ? "," : ", ");
  66624. t2.write$1(0, value.get$green(value));
  66625. t2.write$1(0, t3 ? "," : ", ");
  66626. t2.write$1(0, value.get$blue(value));
  66627. if (!opaque) {
  66628. t2.write$1(0, t3 ? "," : ", ");
  66629. this._writeNumber$1(t1);
  66630. }
  66631. t2.writeCharCode$1(41);
  66632. },
  66633. _canUseShortHex$1(color) {
  66634. var t1 = color.get$red(color);
  66635. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  66636. t1 = color.get$green(color);
  66637. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  66638. t1 = color.get$blue(color);
  66639. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  66640. } else
  66641. t1 = false;
  66642. } else
  66643. t1 = false;
  66644. return t1;
  66645. },
  66646. _writeHexComponent$1(color) {
  66647. var t1 = this._serialize$_buffer;
  66648. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  66649. t1.writeCharCode$1(A.hexCharFor(color & 15));
  66650. },
  66651. visitList$1(value) {
  66652. var t2, t3, singleton, t4, t5, _this = this,
  66653. t1 = value._hasBrackets;
  66654. if (t1)
  66655. _this._serialize$_buffer.writeCharCode$1(91);
  66656. else if (value._list$_contents.length === 0) {
  66657. if (!_this._inspect)
  66658. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  66659. _this._serialize$_buffer.write$1(0, "()");
  66660. return;
  66661. }
  66662. t2 = _this._inspect;
  66663. if (t2)
  66664. if (value._list$_contents.length === 1) {
  66665. t3 = value._separator;
  66666. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  66667. singleton = t3;
  66668. } else
  66669. singleton = false;
  66670. else
  66671. singleton = false;
  66672. if (singleton && !t1)
  66673. _this._serialize$_buffer.writeCharCode$1(40);
  66674. t3 = value._list$_contents;
  66675. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  66676. t4 = value._separator;
  66677. t5 = _this._separatorString$1(t4);
  66678. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  66679. if (singleton) {
  66680. t2 = _this._serialize$_buffer;
  66681. t2.write$1(0, t4.separator);
  66682. if (!t1)
  66683. t2.writeCharCode$1(41);
  66684. }
  66685. if (t1)
  66686. _this._serialize$_buffer.writeCharCode$1(93);
  66687. },
  66688. _separatorString$1(separator) {
  66689. switch (separator) {
  66690. case B.ListSeparator_rXA:
  66691. return this._style === B.OutputStyle_1 ? "," : ", ";
  66692. case B.ListSeparator_zg9:
  66693. return this._style === B.OutputStyle_1 ? "/" : " / ";
  66694. case B.ListSeparator_EVt:
  66695. return " ";
  66696. default:
  66697. return "";
  66698. }
  66699. },
  66700. _elementNeedsParens$2(separator, value) {
  66701. var t1;
  66702. if (value instanceof A.SassList) {
  66703. if (value._list$_contents.length < 2)
  66704. return false;
  66705. if (value._hasBrackets)
  66706. return false;
  66707. switch (separator) {
  66708. case B.ListSeparator_rXA:
  66709. return value._separator === B.ListSeparator_rXA;
  66710. case B.ListSeparator_zg9:
  66711. t1 = value._separator;
  66712. return t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  66713. default:
  66714. return value._separator !== B.ListSeparator_undecided_null_undecided;
  66715. }
  66716. }
  66717. return false;
  66718. },
  66719. visitMap$1(map) {
  66720. var t1, t2, _this = this;
  66721. if (!_this._inspect)
  66722. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  66723. t1 = _this._serialize$_buffer;
  66724. t1.writeCharCode$1(40);
  66725. t2 = map._map$_contents;
  66726. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  66727. t1.writeCharCode$1(41);
  66728. },
  66729. _writeMapElement$1(value) {
  66730. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  66731. if (needsParens)
  66732. this._serialize$_buffer.writeCharCode$1(40);
  66733. value.accept$1(this);
  66734. if (needsParens)
  66735. this._serialize$_buffer.writeCharCode$1(41);
  66736. },
  66737. visitNumber$1(value) {
  66738. var t1, _this = this,
  66739. asSlash = value.asSlash;
  66740. if (asSlash != null) {
  66741. _this.visitNumber$1(asSlash.item1);
  66742. _this._serialize$_buffer.writeCharCode$1(47);
  66743. _this.visitNumber$1(asSlash.item2);
  66744. return;
  66745. }
  66746. t1 = value._number$_value;
  66747. if (!isFinite(t1)) {
  66748. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  66749. return;
  66750. }
  66751. _this._writeNumber$1(t1);
  66752. if (!_this._inspect) {
  66753. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  66754. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  66755. if (value.get$numeratorUnits(value).length !== 0)
  66756. _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  66757. } else
  66758. _this._serialize$_buffer.write$1(0, value.get$unitString());
  66759. },
  66760. _writeNumber$1(number) {
  66761. var text, _this = this,
  66762. integer = A.fuzzyAsInt(number);
  66763. if (integer != null) {
  66764. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
  66765. return;
  66766. }
  66767. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  66768. if (text.length < 12) {
  66769. if (_this._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  66770. text = B.JSString_methods.substring$1(text, 1);
  66771. _this._serialize$_buffer.write$1(0, text);
  66772. return;
  66773. }
  66774. _this._writeRounded$1(text);
  66775. },
  66776. _removeExponent$1(text) {
  66777. var buffer, t3, additionalZeroes,
  66778. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  66779. negative = t1 === 45,
  66780. exponent = A._Cell$(),
  66781. t2 = text.length,
  66782. i = 0;
  66783. while (true) {
  66784. if (!(i < t2)) {
  66785. buffer = null;
  66786. break;
  66787. }
  66788. c$0: {
  66789. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  66790. break c$0;
  66791. buffer = new A.StringBuffer("");
  66792. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  66793. if (negative) {
  66794. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  66795. buffer._contents = t1;
  66796. if (i > 3)
  66797. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  66798. } else if (i > 2)
  66799. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  66800. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  66801. break;
  66802. }
  66803. ++i;
  66804. }
  66805. if (buffer == null)
  66806. return text;
  66807. if (exponent._readLocal$0() > 0) {
  66808. t1 = exponent._readLocal$0();
  66809. t2 = buffer._contents;
  66810. t3 = negative ? 1 : 0;
  66811. additionalZeroes = t1 - (t2.length - 1 - t3);
  66812. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  66813. t1 += A.Primitives_stringFromCharCode(48);
  66814. buffer._contents = t1;
  66815. }
  66816. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66817. } else {
  66818. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  66819. t2 = exponent.__late_helper$_name;
  66820. i = -1;
  66821. while (true) {
  66822. t3 = exponent.__late_helper$_value;
  66823. if (t3 === exponent)
  66824. A.throwExpression(A.LateError$localNI(t2));
  66825. if (!(i > t3))
  66826. break;
  66827. t1 += A.Primitives_stringFromCharCode(48);
  66828. --i;
  66829. }
  66830. if (negative) {
  66831. t2 = buffer._contents;
  66832. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  66833. } else
  66834. t2 = buffer;
  66835. t2 = t1 + A.S(t2);
  66836. return t2.charCodeAt(0) == 0 ? t2 : t2;
  66837. }
  66838. },
  66839. _writeRounded$1(text) {
  66840. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  66841. if (B.JSString_methods.endsWith$1(text, ".0")) {
  66842. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  66843. return;
  66844. }
  66845. t1 = text.length;
  66846. digits = new Uint8Array(t1 + 1);
  66847. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  66848. textIndex = negative ? 1 : 0;
  66849. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  66850. if (textIndex === t1) {
  66851. _this._serialize$_buffer.write$1(0, text);
  66852. return;
  66853. }
  66854. textIndex0 = textIndex + 1;
  66855. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  66856. if (codeUnit === 46) {
  66857. textIndex = textIndex0;
  66858. break;
  66859. }
  66860. digitsIndex0 = digitsIndex + 1;
  66861. digits[digitsIndex] = codeUnit - 48;
  66862. }
  66863. indexAfterPrecision = textIndex + 10;
  66864. if (indexAfterPrecision >= t1) {
  66865. _this._serialize$_buffer.write$1(0, text);
  66866. return;
  66867. }
  66868. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  66869. digitsIndex1 = digitsIndex0 + 1;
  66870. textIndex0 = textIndex + 1;
  66871. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  66872. }
  66873. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  66874. for (; true; digitsIndex0 = digitsIndex1) {
  66875. digitsIndex1 = digitsIndex0 - 1;
  66876. newDigit = digits[digitsIndex1] + 1;
  66877. digits[digitsIndex1] = newDigit;
  66878. if (newDigit !== 10)
  66879. break;
  66880. }
  66881. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  66882. digits[digitsIndex0] = 0;
  66883. while (true) {
  66884. t1 = digitsIndex0 > digitsIndex;
  66885. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  66886. break;
  66887. --digitsIndex0;
  66888. }
  66889. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  66890. _this._serialize$_buffer.writeCharCode$1(48);
  66891. return;
  66892. }
  66893. if (negative)
  66894. _this._serialize$_buffer.writeCharCode$1(45);
  66895. if (digits[0] === 0)
  66896. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  66897. else
  66898. writtenIndex = 0;
  66899. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  66900. t2.writeCharCode$1(48 + digits[writtenIndex]);
  66901. if (t1) {
  66902. t2.writeCharCode$1(46);
  66903. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  66904. t2.writeCharCode$1(48 + digits[writtenIndex]);
  66905. }
  66906. },
  66907. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  66908. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  66909. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  66910. if (forceDoubleQuote)
  66911. buffer.writeCharCode$1(34);
  66912. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  66913. char = B.JSString_methods._codeUnitAt$1(string, i);
  66914. switch (char) {
  66915. case 39:
  66916. if (forceDoubleQuote)
  66917. buffer.writeCharCode$1(39);
  66918. else {
  66919. if (includesDoubleQuote) {
  66920. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  66921. return;
  66922. } else
  66923. buffer.writeCharCode$1(39);
  66924. includesSingleQuote = true;
  66925. }
  66926. break;
  66927. case 34:
  66928. if (forceDoubleQuote) {
  66929. buffer.writeCharCode$1(92);
  66930. buffer.writeCharCode$1(34);
  66931. } else {
  66932. if (includesSingleQuote) {
  66933. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  66934. return;
  66935. } else
  66936. buffer.writeCharCode$1(34);
  66937. includesDoubleQuote = true;
  66938. }
  66939. break;
  66940. case 0:
  66941. case 1:
  66942. case 2:
  66943. case 3:
  66944. case 4:
  66945. case 5:
  66946. case 6:
  66947. case 7:
  66948. case 8:
  66949. case 10:
  66950. case 11:
  66951. case 12:
  66952. case 13:
  66953. case 14:
  66954. case 15:
  66955. case 16:
  66956. case 17:
  66957. case 18:
  66958. case 19:
  66959. case 20:
  66960. case 21:
  66961. case 22:
  66962. case 23:
  66963. case 24:
  66964. case 25:
  66965. case 26:
  66966. case 27:
  66967. case 28:
  66968. case 29:
  66969. case 30:
  66970. case 31:
  66971. _this._writeEscape$4(buffer, char, string, i);
  66972. break;
  66973. case 92:
  66974. buffer.writeCharCode$1(92);
  66975. buffer.writeCharCode$1(92);
  66976. break;
  66977. default:
  66978. newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  66979. if (newIndex != null) {
  66980. i = newIndex;
  66981. break;
  66982. }
  66983. buffer.writeCharCode$1(char);
  66984. break;
  66985. }
  66986. }
  66987. if (forceDoubleQuote)
  66988. buffer.writeCharCode$1(34);
  66989. else {
  66990. quote = includesDoubleQuote ? 39 : 34;
  66991. t1 = _this._serialize$_buffer;
  66992. t1.writeCharCode$1(quote);
  66993. t1.write$1(0, buffer);
  66994. t1.writeCharCode$1(quote);
  66995. }
  66996. },
  66997. _visitQuotedString$1(string) {
  66998. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  66999. },
  67000. _visitUnquotedString$1(string) {
  67001. var t1, t2, afterNewline, i, char, newIndex;
  67002. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  67003. char = B.JSString_methods._codeUnitAt$1(string, i);
  67004. switch (char) {
  67005. case 10:
  67006. t2.writeCharCode$1(32);
  67007. afterNewline = true;
  67008. break;
  67009. case 32:
  67010. if (!afterNewline)
  67011. t2.writeCharCode$1(32);
  67012. break;
  67013. default:
  67014. newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
  67015. if (newIndex != null) {
  67016. i = newIndex;
  67017. afterNewline = false;
  67018. break;
  67019. }
  67020. t2.writeCharCode$1(char);
  67021. afterNewline = false;
  67022. break;
  67023. }
  67024. }
  67025. },
  67026. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  67027. var t1;
  67028. if (this._style === B.OutputStyle_1)
  67029. return null;
  67030. if (codeUnit >= 57344 && codeUnit <= 63743) {
  67031. this._writeEscape$4(buffer, codeUnit, string, i);
  67032. return i;
  67033. }
  67034. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  67035. t1 = i + 1;
  67036. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  67037. return t1;
  67038. }
  67039. return null;
  67040. },
  67041. _writeEscape$4(buffer, character, string, i) {
  67042. var t1, next;
  67043. buffer.writeCharCode$1(92);
  67044. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  67045. t1 = i + 1;
  67046. if (string.length === t1)
  67047. return;
  67048. next = B.JSString_methods._codeUnitAt$1(string, t1);
  67049. if (A.isHex(next) || next === 32 || next === 9)
  67050. buffer.writeCharCode$1(32);
  67051. },
  67052. visitAttributeSelector$1(attribute) {
  67053. var value, t2,
  67054. t1 = this._serialize$_buffer;
  67055. t1.writeCharCode$1(91);
  67056. t1.write$1(0, attribute.name);
  67057. value = attribute.value;
  67058. if (value != null) {
  67059. t1.write$1(0, attribute.op);
  67060. if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  67061. t1.write$1(0, value);
  67062. t2 = attribute.modifier;
  67063. if (t2 != null)
  67064. t1.writeCharCode$1(32);
  67065. } else {
  67066. this._visitQuotedString$1(value);
  67067. t2 = attribute.modifier;
  67068. if (t2 != null)
  67069. if (this._style !== B.OutputStyle_1)
  67070. t1.writeCharCode$1(32);
  67071. }
  67072. if (t2 != null)
  67073. t1.write$1(0, t2);
  67074. }
  67075. t1.writeCharCode$1(93);
  67076. },
  67077. visitClassSelector$1(klass) {
  67078. var t1 = this._serialize$_buffer;
  67079. t1.writeCharCode$1(46);
  67080. t1.write$1(0, klass.name);
  67081. },
  67082. visitComplexSelector$1(complex) {
  67083. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  67084. t1 = complex.leadingCombinators;
  67085. _this._writeCombinators$1(t1);
  67086. if (t1.length !== 0 && complex.components.length !== 0)
  67087. if (_this._style !== B.OutputStyle_1)
  67088. _this._serialize$_buffer.writeCharCode$1(32);
  67089. 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) {
  67090. component = t1[i];
  67091. _this.visitCompoundSelector$1(component.selector);
  67092. t7 = component.combinators;
  67093. t8 = t7.length === 0;
  67094. if (!t8)
  67095. if (t6)
  67096. t4.writeCharCode$1(32);
  67097. t9 = t5 ? "" : " ";
  67098. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  67099. if (i !== t3)
  67100. t7 = !t5 || t8;
  67101. else
  67102. t7 = false;
  67103. if (t7)
  67104. t4.writeCharCode$1(32);
  67105. }
  67106. },
  67107. _writeCombinators$1(combinators) {
  67108. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  67109. t2 = this._serialize$_buffer;
  67110. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  67111. },
  67112. visitCompoundSelector$1(compound) {
  67113. var t2, t3, _i,
  67114. t1 = this._serialize$_buffer,
  67115. start = t1.get$length(t1);
  67116. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  67117. t2[_i].accept$1(this);
  67118. if (t1.get$length(t1) === start)
  67119. t1.writeCharCode$1(42);
  67120. },
  67121. visitIDSelector$1(id) {
  67122. var t1 = this._serialize$_buffer;
  67123. t1.writeCharCode$1(35);
  67124. t1.write$1(0, id.name);
  67125. },
  67126. visitSelectorList$1(list) {
  67127. var t1, t2, t3, first, t4, _this = this,
  67128. complexes = list.components;
  67129. 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();) {
  67130. t4 = t1.get$current(t1);
  67131. if (first)
  67132. first = false;
  67133. else {
  67134. t3.writeCharCode$1(44);
  67135. if (t4.lineBreak) {
  67136. if (t2)
  67137. t3.write$1(0, "\n");
  67138. _this._writeIndentation$0();
  67139. } else if (t2)
  67140. t3.writeCharCode$1(32);
  67141. }
  67142. _this.visitComplexSelector$1(t4);
  67143. }
  67144. },
  67145. visitParentSelector$1($parent) {
  67146. var t2,
  67147. t1 = this._serialize$_buffer;
  67148. t1.writeCharCode$1(38);
  67149. t2 = $parent.suffix;
  67150. if (t2 != null)
  67151. t1.write$1(0, t2);
  67152. },
  67153. visitPlaceholderSelector$1(placeholder) {
  67154. var t1 = this._serialize$_buffer;
  67155. t1.writeCharCode$1(37);
  67156. t1.write$1(0, placeholder.name);
  67157. },
  67158. visitPseudoSelector$1(pseudo) {
  67159. var t3, t4, t5,
  67160. innerSelector = pseudo.selector,
  67161. t1 = innerSelector == null,
  67162. t2 = !t1;
  67163. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true))
  67164. return;
  67165. t3 = this._serialize$_buffer;
  67166. t3.writeCharCode$1(58);
  67167. if (!pseudo.isSyntacticClass)
  67168. t3.writeCharCode$1(58);
  67169. t3.write$1(0, pseudo.name);
  67170. t4 = pseudo.argument;
  67171. t5 = t4 == null;
  67172. if (t5 && t1)
  67173. return;
  67174. t3.writeCharCode$1(40);
  67175. if (!t5) {
  67176. t3.write$1(0, t4);
  67177. if (t2)
  67178. t3.writeCharCode$1(32);
  67179. }
  67180. if (t2)
  67181. this.visitSelectorList$1(innerSelector);
  67182. t3.writeCharCode$1(41);
  67183. },
  67184. visitTypeSelector$1(type) {
  67185. this._serialize$_buffer.write$1(0, type.name);
  67186. },
  67187. visitUniversalSelector$1(universal) {
  67188. var t2,
  67189. t1 = universal.namespace;
  67190. if (t1 != null) {
  67191. t2 = this._serialize$_buffer;
  67192. t2.write$1(0, t1);
  67193. t2.writeCharCode$1(124);
  67194. }
  67195. this._serialize$_buffer.writeCharCode$1(42);
  67196. },
  67197. _serialize$_write$1(value) {
  67198. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  67199. },
  67200. _serialize$_visitChildren$1($parent) {
  67201. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  67202. t1 = _this._serialize$_buffer;
  67203. t1.writeCharCode$1(123);
  67204. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = !_this._inspect, t6 = A._instanceType(t2)._precomputed1, t7 = type$.CssComment, t8 = type$.CssParentNode, prePrevious = null, previous = null; t2.moveNext$0();) {
  67205. t9 = t2.__internal$_current;
  67206. previous0 = t9 == null ? t6._as(t9) : t9;
  67207. if (t5)
  67208. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  67209. else
  67210. t9 = false;
  67211. if (t9)
  67212. continue;
  67213. t9 = previous == null;
  67214. if (!t9)
  67215. t10 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  67216. else
  67217. t10 = false;
  67218. if (t10)
  67219. t1.writeCharCode$1(59);
  67220. if (_this._isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  67221. if (t4)
  67222. t1.writeCharCode$1(32);
  67223. savedIndentation = _this._indentation;
  67224. _this._indentation = 0;
  67225. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  67226. _this._indentation = savedIndentation;
  67227. } else {
  67228. if (t4)
  67229. t1.write$1(0, "\n");
  67230. ++_this._indentation;
  67231. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  67232. --_this._indentation;
  67233. }
  67234. prePrevious = previous;
  67235. previous = previous0;
  67236. }
  67237. if (previous != null) {
  67238. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  67239. t1.writeCharCode$1(59);
  67240. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  67241. if (t4)
  67242. t1.writeCharCode$1(32);
  67243. } else {
  67244. _this._writeLineFeed$0();
  67245. _this._writeIndentation$0();
  67246. }
  67247. }
  67248. t1.writeCharCode$1(125);
  67249. },
  67250. _isTrailingComment$2(node, previous) {
  67251. var t1, t2, t3, searchFrom, endOffset, t4, span;
  67252. if (this._style === B.OutputStyle_1)
  67253. return false;
  67254. if (!type$.CssComment._is(node))
  67255. return false;
  67256. t1 = previous.get$span(previous);
  67257. t2 = node.span;
  67258. if (!(J.$eq$(t1.get$file(t1).url, t2.get$file(t2).url) && t1.get$start(t1).offset <= t2.get$start(t2).offset && t1.get$end(t1).offset >= t2.get$end(t2).offset)) {
  67259. t1 = t2.get$start(t2);
  67260. t1 = t1.file.getLine$1(t1.offset);
  67261. t2 = previous.get$span(previous);
  67262. t2 = t2.get$end(t2);
  67263. return t1 === t2.file.getLine$1(t2.offset);
  67264. }
  67265. t1 = t2.get$start(t2);
  67266. t3 = previous.get$span(previous);
  67267. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  67268. if (searchFrom < 0)
  67269. return false;
  67270. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  67271. t1 = previous.get$span(previous);
  67272. t1 = t1.get$file(t1);
  67273. t3 = previous.get$span(previous);
  67274. t3 = t3.get$start(t3);
  67275. t4 = previous.get$span(previous);
  67276. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  67277. t2 = t2.get$start(t2);
  67278. t2 = t2.file.getLine$1(t2.offset);
  67279. t4 = A.FileLocation$_(span.file, span._end);
  67280. return t2 === t4.file.getLine$1(t4.offset);
  67281. },
  67282. _writeLineFeed$0() {
  67283. if (this._style !== B.OutputStyle_1)
  67284. this._serialize$_buffer.write$1(0, "\n");
  67285. },
  67286. _writeIndentation$0() {
  67287. var _this = this;
  67288. if (_this._style === B.OutputStyle_1)
  67289. return;
  67290. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  67291. },
  67292. _writeTimes$2(char, times) {
  67293. var t1, i;
  67294. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  67295. t1.writeCharCode$1(char);
  67296. },
  67297. _writeBetween$1$3(iterable, text, callback) {
  67298. var t1, t2, first, value;
  67299. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  67300. value = t1.get$current(t1);
  67301. if (first)
  67302. first = false;
  67303. else
  67304. t2.write$1(0, text);
  67305. callback.call$1(value);
  67306. }
  67307. },
  67308. _writeBetween$3(iterable, text, callback) {
  67309. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  67310. }
  67311. };
  67312. A._SerializeVisitor_visitCssComment_closure.prototype = {
  67313. call$0() {
  67314. var t2, t3, minimumIndentation,
  67315. t1 = this.$this;
  67316. if (t1._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  67317. return;
  67318. t2 = this.node;
  67319. t3 = t2.text;
  67320. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  67321. return;
  67322. minimumIndentation = t1._minimumIndentation$1(t3);
  67323. if (minimumIndentation == null) {
  67324. t1._writeIndentation$0();
  67325. t1._serialize$_buffer.write$1(0, t3);
  67326. return;
  67327. }
  67328. t2 = t2.span;
  67329. t2 = t2.get$start(t2);
  67330. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  67331. t1._writeIndentation$0();
  67332. t1._writeWithIndent$2(t3, minimumIndentation);
  67333. },
  67334. $signature: 1
  67335. };
  67336. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  67337. call$0() {
  67338. var t3, value,
  67339. t1 = this.$this,
  67340. t2 = t1._serialize$_buffer;
  67341. t2.writeCharCode$1(64);
  67342. t3 = this.node;
  67343. t1._serialize$_write$1(t3.name);
  67344. value = t3.value;
  67345. if (value != null) {
  67346. t2.writeCharCode$1(32);
  67347. t1._serialize$_write$1(value);
  67348. }
  67349. },
  67350. $signature: 1
  67351. };
  67352. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  67353. call$0() {
  67354. var t3, firstQuery, t4, t5,
  67355. t1 = this.$this,
  67356. t2 = t1._serialize$_buffer;
  67357. t2.write$1(0, "@media");
  67358. t3 = this.node.queries;
  67359. firstQuery = B.JSArray_methods.get$first(t3);
  67360. t4 = t1._style === B.OutputStyle_1;
  67361. if (t4)
  67362. if (firstQuery.modifier == null)
  67363. if (firstQuery.type == null) {
  67364. t5 = firstQuery.conditions;
  67365. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  67366. } else
  67367. t5 = true;
  67368. else
  67369. t5 = true;
  67370. else
  67371. t5 = true;
  67372. if (t5)
  67373. t2.writeCharCode$1(32);
  67374. t2 = t4 ? "," : ", ";
  67375. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  67376. },
  67377. $signature: 1
  67378. };
  67379. A._SerializeVisitor_visitCssImport_closure.prototype = {
  67380. call$0() {
  67381. var t3, t4, modifiers,
  67382. t1 = this.$this,
  67383. t2 = t1._serialize$_buffer;
  67384. t2.write$1(0, "@import");
  67385. t3 = t1._style !== B.OutputStyle_1;
  67386. if (t3)
  67387. t2.writeCharCode$1(32);
  67388. t4 = this.node;
  67389. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  67390. modifiers = t4.modifiers;
  67391. if (modifiers != null) {
  67392. if (t3)
  67393. t2.writeCharCode$1(32);
  67394. t2.write$1(0, modifiers);
  67395. }
  67396. },
  67397. $signature: 1
  67398. };
  67399. A._SerializeVisitor_visitCssImport__closure.prototype = {
  67400. call$0() {
  67401. return this.$this._writeImportUrl$1(this.node.url.value);
  67402. },
  67403. $signature: 0
  67404. };
  67405. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  67406. call$0() {
  67407. var t1 = this.$this,
  67408. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  67409. t3 = t1._serialize$_buffer;
  67410. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  67411. },
  67412. $signature: 0
  67413. };
  67414. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  67415. call$0() {
  67416. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  67417. },
  67418. $signature: 0
  67419. };
  67420. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  67421. call$0() {
  67422. var t1 = this.$this,
  67423. t2 = t1._serialize$_buffer;
  67424. t2.write$1(0, "@supports");
  67425. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  67426. t2.writeCharCode$1(32);
  67427. t1._serialize$_write$1(this.node.condition);
  67428. },
  67429. $signature: 1
  67430. };
  67431. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  67432. call$0() {
  67433. var t1 = this.$this,
  67434. t2 = this.node;
  67435. if (t1._style === B.OutputStyle_1)
  67436. t1._writeFoldedValue$1(t2);
  67437. else
  67438. t1._writeReindentedValue$1(t2);
  67439. },
  67440. $signature: 1
  67441. };
  67442. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  67443. call$0() {
  67444. return this.node.value.value.accept$1(this.$this);
  67445. },
  67446. $signature: 0
  67447. };
  67448. A._SerializeVisitor_visitList_closure.prototype = {
  67449. call$1(element) {
  67450. return !element.get$isBlank();
  67451. },
  67452. $signature: 73
  67453. };
  67454. A._SerializeVisitor_visitList_closure0.prototype = {
  67455. call$1(element) {
  67456. var t1 = this.$this,
  67457. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  67458. if (needsParens)
  67459. t1._serialize$_buffer.writeCharCode$1(40);
  67460. element.accept$1(t1);
  67461. if (needsParens)
  67462. t1._serialize$_buffer.writeCharCode$1(41);
  67463. },
  67464. $signature: 50
  67465. };
  67466. A._SerializeVisitor_visitList_closure1.prototype = {
  67467. call$1(element) {
  67468. element.accept$1(this.$this);
  67469. },
  67470. $signature: 50
  67471. };
  67472. A._SerializeVisitor_visitMap_closure.prototype = {
  67473. call$1(entry) {
  67474. var t1 = this.$this;
  67475. t1._writeMapElement$1(entry.key);
  67476. t1._serialize$_buffer.write$1(0, ": ");
  67477. t1._writeMapElement$1(entry.value);
  67478. },
  67479. $signature: 276
  67480. };
  67481. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  67482. call$1(complex) {
  67483. return !complex.accept$1(B._IsInvisibleVisitor_true);
  67484. },
  67485. $signature: 15
  67486. };
  67487. A._SerializeVisitor__write_closure.prototype = {
  67488. call$0() {
  67489. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  67490. },
  67491. $signature: 0
  67492. };
  67493. A._SerializeVisitor__visitChildren_closure.prototype = {
  67494. call$0() {
  67495. return this.child.accept$1(this.$this);
  67496. },
  67497. $signature: 0
  67498. };
  67499. A._SerializeVisitor__visitChildren_closure0.prototype = {
  67500. call$0() {
  67501. this.child.accept$1(this.$this);
  67502. },
  67503. $signature: 0
  67504. };
  67505. A.OutputStyle.prototype = {
  67506. _enumToString$0() {
  67507. return "OutputStyle." + this._name;
  67508. }
  67509. };
  67510. A.LineFeed.prototype = {
  67511. _enumToString$0() {
  67512. return "LineFeed." + this._name;
  67513. },
  67514. toString$0(_) {
  67515. return "lf";
  67516. }
  67517. };
  67518. A.SerializeResult.prototype = {};
  67519. A.StatementSearchVisitor.prototype = {
  67520. visitAtRootRule$1(node) {
  67521. return this.visitChildren$1(node.children);
  67522. },
  67523. visitAtRule$1(node) {
  67524. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  67525. },
  67526. visitContentBlock$1(node) {
  67527. return this.visitChildren$1(node.children);
  67528. },
  67529. visitDebugRule$1(node) {
  67530. return null;
  67531. },
  67532. visitDeclaration$1(node) {
  67533. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  67534. },
  67535. visitEachRule$1(node) {
  67536. return this.visitChildren$1(node.children);
  67537. },
  67538. visitErrorRule$1(node) {
  67539. return null;
  67540. },
  67541. visitExtendRule$1(node) {
  67542. return null;
  67543. },
  67544. visitForRule$1(node) {
  67545. return this.visitChildren$1(node.children);
  67546. },
  67547. visitForwardRule$1(node) {
  67548. return null;
  67549. },
  67550. visitFunctionRule$1(node) {
  67551. return this.visitChildren$1(node.children);
  67552. },
  67553. visitIfRule$1(node) {
  67554. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  67555. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  67556. },
  67557. visitImportRule$1(node) {
  67558. return null;
  67559. },
  67560. visitIncludeRule$1(node) {
  67561. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  67562. },
  67563. visitLoudComment$1(node) {
  67564. return null;
  67565. },
  67566. visitMediaRule$1(node) {
  67567. return this.visitChildren$1(node.children);
  67568. },
  67569. visitMixinRule$1(node) {
  67570. return this.visitChildren$1(node.children);
  67571. },
  67572. visitReturnRule$1(node) {
  67573. return null;
  67574. },
  67575. visitSilentComment$1(node) {
  67576. return null;
  67577. },
  67578. visitStyleRule$1(node) {
  67579. return this.visitChildren$1(node.children);
  67580. },
  67581. visitStylesheet$1(node) {
  67582. return this.visitChildren$1(node.children);
  67583. },
  67584. visitSupportsRule$1(node) {
  67585. return this.visitChildren$1(node.children);
  67586. },
  67587. visitUseRule$1(node) {
  67588. return null;
  67589. },
  67590. visitVariableDeclaration$1(node) {
  67591. return null;
  67592. },
  67593. visitWarnRule$1(node) {
  67594. return null;
  67595. },
  67596. visitWhileRule$1(node) {
  67597. return this.visitChildren$1(node.children);
  67598. },
  67599. visitChildren$1(children) {
  67600. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  67601. }
  67602. };
  67603. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  67604. call$1(clause) {
  67605. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  67606. },
  67607. $signature() {
  67608. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  67609. }
  67610. };
  67611. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  67612. call$1(child) {
  67613. return child.accept$1(this.$this);
  67614. },
  67615. $signature() {
  67616. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  67617. }
  67618. };
  67619. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  67620. call$1(lastClause) {
  67621. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  67622. },
  67623. $signature() {
  67624. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  67625. }
  67626. };
  67627. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  67628. call$1(child) {
  67629. return child.accept$1(this.$this);
  67630. },
  67631. $signature() {
  67632. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  67633. }
  67634. };
  67635. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  67636. call$1(child) {
  67637. return child.accept$1(this.$this);
  67638. },
  67639. $signature() {
  67640. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  67641. }
  67642. };
  67643. A.Entry.prototype = {
  67644. compareTo$1(_, other) {
  67645. var t1, t2,
  67646. res = this.target.compareTo$1(0, other.target);
  67647. if (res !== 0)
  67648. return res;
  67649. t1 = this.source;
  67650. t2 = other.source;
  67651. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  67652. if (res !== 0)
  67653. return res;
  67654. return t1.compareTo$1(0, t2);
  67655. },
  67656. $isComparable: 1
  67657. };
  67658. A.Mapping.prototype = {};
  67659. A.SingleMapping.prototype = {
  67660. toJson$1$includeSourceContents(includeSourceContents) {
  67661. 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,
  67662. buff = new A.StringBuffer("");
  67663. 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) {
  67664. entry = t1[_i];
  67665. nextLine = entry.line;
  67666. if (nextLine > line) {
  67667. for (i = line; i < nextLine; ++i)
  67668. buff._contents += ";";
  67669. line = nextLine;
  67670. column = 0;
  67671. first = true;
  67672. }
  67673. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  67674. t4 = t3.get$current(t3);
  67675. if (!first)
  67676. buff._contents += ",";
  67677. column0 = t4.column;
  67678. t5 = A.encodeVlq(column0 - column);
  67679. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  67680. buff._contents = t5;
  67681. newUrlId = t4.sourceUrlId;
  67682. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  67683. buff._contents = t5;
  67684. srcLine0 = t4.sourceLine;
  67685. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  67686. buff._contents = t5;
  67687. srcColumn0 = t4.sourceColumn;
  67688. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  67689. buff._contents = t5;
  67690. srcNameId0 = t4.sourceNameId;
  67691. if (srcNameId0 == null) {
  67692. srcUrlId = newUrlId;
  67693. srcColumn = srcColumn0;
  67694. srcLine = srcLine0;
  67695. continue;
  67696. }
  67697. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  67698. srcNameId = srcNameId0;
  67699. srcUrlId = newUrlId;
  67700. srcColumn = srcColumn0;
  67701. srcLine = srcLine0;
  67702. }
  67703. }
  67704. t1 = _this.sourceRoot;
  67705. if (t1 == null)
  67706. t1 = "";
  67707. t2 = buff._contents;
  67708. 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);
  67709. t1 = _this.targetUrl;
  67710. if (t1 != null)
  67711. result.$indexSet(0, "file", t1);
  67712. if (includeSourceContents) {
  67713. t1 = _this.files;
  67714. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  67715. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  67716. }
  67717. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  67718. return result;
  67719. },
  67720. toJson$0() {
  67721. return this.toJson$1$includeSourceContents(false);
  67722. },
  67723. toString$0(_) {
  67724. var _this = this,
  67725. t1 = A.getRuntimeType(_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) + "]";
  67726. return t1.charCodeAt(0) == 0 ? t1 : t1;
  67727. }
  67728. };
  67729. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  67730. call$0() {
  67731. return this.urls.__js_helper$_length;
  67732. },
  67733. $signature: 12
  67734. };
  67735. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  67736. call$0() {
  67737. return this.sourceEntry.source.file;
  67738. },
  67739. $signature: 277
  67740. };
  67741. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  67742. call$1(i) {
  67743. return this.files.$index(0, i);
  67744. },
  67745. $signature: 278
  67746. };
  67747. A.SingleMapping_toJson_closure.prototype = {
  67748. call$1(file) {
  67749. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  67750. },
  67751. $signature: 279
  67752. };
  67753. A.SingleMapping_toJson_closure0.prototype = {
  67754. call$2($name, value) {
  67755. this.result.$indexSet(0, $name, value);
  67756. return value;
  67757. },
  67758. $signature: 244
  67759. };
  67760. A.TargetLineEntry.prototype = {
  67761. toString$0(_) {
  67762. return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  67763. }
  67764. };
  67765. A.TargetEntry.prototype = {
  67766. toString$0(_) {
  67767. var _this = this;
  67768. return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  67769. }
  67770. };
  67771. A.SourceFile.prototype = {
  67772. get$length(_) {
  67773. return this._decodedChars.length;
  67774. },
  67775. get$lines() {
  67776. return this._lineStarts.length;
  67777. },
  67778. SourceFile$decoded$2$url(decodedChars, url) {
  67779. var t1, t2, t3, i, c, j;
  67780. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  67781. c = t1[i];
  67782. if (c === 13) {
  67783. j = i + 1;
  67784. if (j >= t2 || t1[j] !== 10)
  67785. c = 10;
  67786. }
  67787. if (c === 10)
  67788. t3.push(i + 1);
  67789. }
  67790. },
  67791. span$2(_, start, end) {
  67792. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  67793. },
  67794. span$1($receiver, start) {
  67795. return this.span$2($receiver, start, null);
  67796. },
  67797. getLine$1(offset) {
  67798. var t1, _this = this;
  67799. if (offset < 0)
  67800. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  67801. else if (offset > _this._decodedChars.length)
  67802. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
  67803. t1 = _this._lineStarts;
  67804. if (offset < B.JSArray_methods.get$first(t1))
  67805. return -1;
  67806. if (offset >= B.JSArray_methods.get$last(t1))
  67807. return t1.length - 1;
  67808. if (_this._isNearCachedLine$1(offset)) {
  67809. t1 = _this._cachedLine;
  67810. t1.toString;
  67811. return t1;
  67812. }
  67813. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  67814. },
  67815. _isNearCachedLine$1(offset) {
  67816. var t2, t3,
  67817. t1 = this._cachedLine;
  67818. if (t1 == null)
  67819. return false;
  67820. t2 = this._lineStarts;
  67821. if (offset < t2[t1])
  67822. return false;
  67823. t3 = t2.length;
  67824. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  67825. return true;
  67826. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  67827. this._cachedLine = t1 + 1;
  67828. return true;
  67829. }
  67830. return false;
  67831. },
  67832. _binarySearch$1(offset) {
  67833. var min, half,
  67834. t1 = this._lineStarts,
  67835. max = t1.length - 1;
  67836. for (min = 0; min < max;) {
  67837. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  67838. if (t1[half] > offset)
  67839. max = half;
  67840. else
  67841. min = half + 1;
  67842. }
  67843. return max;
  67844. },
  67845. getColumn$1(offset) {
  67846. var line, lineStart, _this = this;
  67847. if (offset < 0)
  67848. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  67849. else if (offset > _this._decodedChars.length)
  67850. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
  67851. line = _this.getLine$1(offset);
  67852. lineStart = _this._lineStarts[line];
  67853. if (lineStart > offset)
  67854. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  67855. return offset - lineStart;
  67856. },
  67857. getOffset$1(line) {
  67858. var t1, t2, result, t3;
  67859. if (line < 0)
  67860. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  67861. else {
  67862. t1 = this._lineStarts;
  67863. t2 = t1.length;
  67864. if (line >= t2)
  67865. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  67866. }
  67867. result = t1[line];
  67868. if (result <= this._decodedChars.length) {
  67869. t3 = line + 1;
  67870. t1 = t3 < t2 && result >= t1[t3];
  67871. } else
  67872. t1 = true;
  67873. if (t1)
  67874. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  67875. return result;
  67876. }
  67877. };
  67878. A.FileLocation.prototype = {
  67879. get$sourceUrl(_) {
  67880. return this.file.url;
  67881. },
  67882. get$line() {
  67883. return this.file.getLine$1(this.offset);
  67884. },
  67885. get$column() {
  67886. return this.file.getColumn$1(this.offset);
  67887. },
  67888. FileLocation$_$2(file, offset) {
  67889. var t2,
  67890. t1 = this.offset;
  67891. if (t1 < 0)
  67892. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  67893. else {
  67894. t2 = this.file;
  67895. if (t1 > t2._decodedChars.length)
  67896. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_ + t2.get$length(t2) + "."));
  67897. }
  67898. },
  67899. pointSpan$0() {
  67900. var t1 = this.offset;
  67901. return A._FileSpan$(this.file, t1, t1);
  67902. },
  67903. get$offset() {
  67904. return this.offset;
  67905. }
  67906. };
  67907. A._FileSpan.prototype = {
  67908. get$sourceUrl(_) {
  67909. return this.file.url;
  67910. },
  67911. get$length(_) {
  67912. return this._end - this._file$_start;
  67913. },
  67914. get$start(_) {
  67915. return A.FileLocation$_(this.file, this._file$_start);
  67916. },
  67917. get$end(_) {
  67918. return A.FileLocation$_(this.file, this._end);
  67919. },
  67920. get$text() {
  67921. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  67922. },
  67923. get$context(_) {
  67924. var _this = this,
  67925. t1 = _this.file,
  67926. endOffset = _this._end,
  67927. endLine = t1.getLine$1(endOffset);
  67928. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  67929. if (endOffset - _this._file$_start === 0)
  67930. 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);
  67931. } else
  67932. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  67933. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  67934. },
  67935. _FileSpan$3(file, _start, _end) {
  67936. var t3,
  67937. t1 = this._end,
  67938. t2 = this._file$_start;
  67939. if (t1 < t2)
  67940. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  67941. else {
  67942. t3 = this.file;
  67943. if (t1 > t3._decodedChars.length)
  67944. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
  67945. else if (t2 < 0)
  67946. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  67947. }
  67948. },
  67949. compareTo$1(_, other) {
  67950. var result;
  67951. if (!(other instanceof A._FileSpan))
  67952. return this.super$SourceSpanMixin$compareTo(0, other);
  67953. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  67954. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  67955. },
  67956. $eq(_, other) {
  67957. var _this = this;
  67958. if (other == null)
  67959. return false;
  67960. if (!type$.FileSpan._is(other))
  67961. return _this.super$SourceSpanMixin$$eq(0, other);
  67962. if (!(other instanceof A._FileSpan))
  67963. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  67964. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  67965. },
  67966. get$hashCode(_) {
  67967. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  67968. },
  67969. expand$1(_, other) {
  67970. var t2, t3, _this = this,
  67971. t1 = _this.file;
  67972. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  67973. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  67974. t2 = _this._file$_start;
  67975. t3 = _this._end;
  67976. if (other instanceof A._FileSpan)
  67977. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  67978. else
  67979. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  67980. },
  67981. $isFileSpan: 1,
  67982. $isSourceSpanWithContext: 1,
  67983. get$file(receiver) {
  67984. return this.file;
  67985. }
  67986. };
  67987. A.Highlighter.prototype = {
  67988. highlight$0() {
  67989. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  67990. t1 = _this._lines;
  67991. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  67992. t2 = _this._maxMultilineSpans;
  67993. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  67994. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  67995. line = t1[i];
  67996. if (i > 0) {
  67997. lastLine = t1[i - 1];
  67998. t5 = lastLine.url;
  67999. t6 = line.url;
  68000. if (!J.$eq$(t5, t6)) {
  68001. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  68002. t3._contents += "\n";
  68003. _this._writeFileStart$1(t6);
  68004. } else if (lastLine.number + 1 !== line.number) {
  68005. _this._writeSidebar$1$text("...");
  68006. t3._contents += "\n";
  68007. }
  68008. }
  68009. for (t5 = line.highlights, t6 = new A.ReversedListIterable(t5, A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>")), t6 = new A.ListIterator(t6, t6.get$length(t6)), t7 = A._instanceType(t6)._precomputed1, t8 = line.number, t9 = line.text; t6.moveNext$0();) {
  68010. t10 = t6.__internal$_current;
  68011. if (t10 == null)
  68012. t10 = t7._as(t10);
  68013. t11 = t10.span;
  68014. 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()))) {
  68015. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  68016. if (index < 0)
  68017. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  68018. highlightsByColumn[index] = t10;
  68019. }
  68020. }
  68021. _this._writeSidebar$1$line(t8);
  68022. t3._contents += " ";
  68023. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  68024. if (t2)
  68025. t3._contents += " ";
  68026. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  68027. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  68028. t6 = primary != null;
  68029. if (t6) {
  68030. t7 = primary.span;
  68031. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  68032. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  68033. } else
  68034. _this._writeText$1(t9);
  68035. t3._contents += "\n";
  68036. if (t6)
  68037. _this._writeIndicator$3(line, primary, highlightsByColumn);
  68038. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  68039. highlight = t5[_i];
  68040. if (highlight.isPrimary)
  68041. continue;
  68042. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  68043. }
  68044. }
  68045. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  68046. t1 = t3._contents;
  68047. return t1.charCodeAt(0) == 0 ? t1 : t1;
  68048. },
  68049. _writeFileStart$1(url) {
  68050. var _this = this,
  68051. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  68052. t2 = $._glyphs;
  68053. if (t1)
  68054. _this._writeSidebar$1$end(t2.get$downEnd());
  68055. else {
  68056. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  68057. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  68058. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  68059. }
  68060. _this._highlighter$_buffer._contents += "\n";
  68061. },
  68062. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  68063. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  68064. _box_0.openedOnThisLine = false;
  68065. _box_0.openedOnThisLineColor = null;
  68066. t1 = current == null;
  68067. if (t1)
  68068. currentColor = null;
  68069. else
  68070. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  68071. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  68072. highlight = highlightsByColumn[_i];
  68073. t6 = highlight == null;
  68074. if (t6)
  68075. startLine = null;
  68076. else {
  68077. t7 = highlight.span;
  68078. startLine = t7.get$start(t7).get$line();
  68079. }
  68080. if (t6)
  68081. endLine = null;
  68082. else {
  68083. t7 = highlight.span;
  68084. endLine = t7.get$end(t7).get$line();
  68085. }
  68086. if (t1 && highlight === current) {
  68087. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  68088. foundCurrent = true;
  68089. } else if (foundCurrent)
  68090. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  68091. else if (t6)
  68092. if (_box_0.openedOnThisLine)
  68093. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  68094. else
  68095. t5._contents += " ";
  68096. else {
  68097. t6 = highlight.isPrimary ? t4 : t3;
  68098. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  68099. }
  68100. }
  68101. },
  68102. _writeMultilineHighlights$2(line, highlightsByColumn) {
  68103. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  68104. },
  68105. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  68106. var _this = this;
  68107. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  68108. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  68109. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  68110. },
  68111. _writeIndicator$3(line, highlight, highlightsByColumn) {
  68112. var t2, coversWholeLine, _this = this,
  68113. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  68114. t1 = highlight.span;
  68115. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  68116. _this._writeSidebar$0();
  68117. t1 = _this._highlighter$_buffer;
  68118. t1._contents += " ";
  68119. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68120. if (highlightsByColumn.length !== 0)
  68121. t1._contents += " ";
  68122. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  68123. } else {
  68124. t2 = line.number;
  68125. if (t1.get$start(t1).get$line() === t2) {
  68126. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  68127. return;
  68128. A.replaceFirstNull(highlightsByColumn, highlight);
  68129. _this._writeSidebar$0();
  68130. t1 = _this._highlighter$_buffer;
  68131. t1._contents += " ";
  68132. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68133. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  68134. t1._contents += "\n";
  68135. } else if (t1.get$end(t1).get$line() === t2) {
  68136. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  68137. if (coversWholeLine && highlight.label == null) {
  68138. A.replaceWithNull(highlightsByColumn, highlight);
  68139. return;
  68140. }
  68141. _this._writeSidebar$0();
  68142. _this._highlighter$_buffer._contents += " ";
  68143. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  68144. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  68145. A.replaceWithNull(highlightsByColumn, highlight);
  68146. }
  68147. }
  68148. },
  68149. _writeArrow$3$beginning(line, column, beginning) {
  68150. var t2,
  68151. t1 = beginning ? 0 : 1,
  68152. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  68153. t1 = this._highlighter$_buffer;
  68154. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  68155. t1._contents = t2 + "^";
  68156. },
  68157. _writeArrow$2(line, column) {
  68158. return this._writeArrow$3$beginning(line, column, true);
  68159. },
  68160. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  68161. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  68162. label = highlight.label;
  68163. if (label == null) {
  68164. _this._highlighter$_buffer._contents += "\n";
  68165. return;
  68166. }
  68167. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  68168. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  68169. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  68170. t1 = _this._highlighter$_buffer;
  68171. t1._contents += "\n";
  68172. for (t2 = A.SubListIterable$(lines, 1, null, type$.String), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = highlightsByColumn.length, t4 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  68173. t5 = t2.__internal$_current;
  68174. if (t5 == null)
  68175. t5 = t4._as(t5);
  68176. _this._writeSidebar$0();
  68177. t6 = t1._contents += " ";
  68178. for (_i = 0; _i < t3; ++_i) {
  68179. columnHighlight = highlightsByColumn[_i];
  68180. if (columnHighlight == null || columnHighlight === highlight) {
  68181. t6 += " ";
  68182. t1._contents = t6;
  68183. } else
  68184. t6 = t1._contents += $._glyphs.get$verticalLine();
  68185. }
  68186. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  68187. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  68188. t1._contents += "\n";
  68189. }
  68190. },
  68191. _writeText$1(text) {
  68192. var t1, t2, t3, t4;
  68193. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this._highlighter$_buffer, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68194. t4 = t1.__internal$_current;
  68195. if (t4 == null)
  68196. t4 = t3._as(t4);
  68197. if (t4 === 9)
  68198. t2._contents += B.JSString_methods.$mul(" ", 4);
  68199. else
  68200. t2._contents += A.Primitives_stringFromCharCode(t4);
  68201. }
  68202. },
  68203. _writeSidebar$3$end$line$text(end, line, text) {
  68204. var t1 = {};
  68205. t1.text = text;
  68206. if (line != null)
  68207. t1.text = B.JSInt_methods.toString$0(line + 1);
  68208. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  68209. },
  68210. _writeSidebar$1$end(end) {
  68211. return this._writeSidebar$3$end$line$text(end, null, null);
  68212. },
  68213. _writeSidebar$1$text(text) {
  68214. return this._writeSidebar$3$end$line$text(null, null, text);
  68215. },
  68216. _writeSidebar$1$line(line) {
  68217. return this._writeSidebar$3$end$line$text(null, line, null);
  68218. },
  68219. _writeSidebar$0() {
  68220. return this._writeSidebar$3$end$line$text(null, null, null);
  68221. },
  68222. _countTabs$1(text) {
  68223. var t1, t2, count, t3;
  68224. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();) {
  68225. t3 = t1.__internal$_current;
  68226. if ((t3 == null ? t2._as(t3) : t3) === 9)
  68227. ++count;
  68228. }
  68229. return count;
  68230. },
  68231. _isOnlyWhitespace$1(text) {
  68232. var t1, t2, t3;
  68233. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68234. t3 = t1.__internal$_current;
  68235. if (t3 == null)
  68236. t3 = t2._as(t3);
  68237. if (t3 !== 32 && t3 !== 9)
  68238. return false;
  68239. }
  68240. return true;
  68241. },
  68242. _colorize$1$2$color(callback, color) {
  68243. var result,
  68244. t1 = this._primaryColor != null;
  68245. if (t1 && color != null)
  68246. this._highlighter$_buffer._contents += color;
  68247. result = callback.call$0();
  68248. if (t1 && color != null)
  68249. this._highlighter$_buffer._contents += "\x1b[0m";
  68250. return result;
  68251. },
  68252. _colorize$2$color(callback, color) {
  68253. return this._colorize$1$2$color(callback, color, type$.dynamic);
  68254. }
  68255. };
  68256. A.Highlighter_closure.prototype = {
  68257. call$0() {
  68258. var t1 = this.color,
  68259. t2 = J.getInterceptor$(t1);
  68260. if (t2.$eq(t1, true))
  68261. return "\x1b[31m";
  68262. if (t2.$eq(t1, false))
  68263. return null;
  68264. return A._asStringQ(t1);
  68265. },
  68266. $signature: 43
  68267. };
  68268. A.Highlighter$__closure.prototype = {
  68269. call$1(line) {
  68270. var t1 = line.highlights;
  68271. t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
  68272. return t1.get$length(t1);
  68273. },
  68274. $signature: 280
  68275. };
  68276. A.Highlighter$___closure.prototype = {
  68277. call$1(highlight) {
  68278. var t1 = highlight.span;
  68279. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  68280. },
  68281. $signature: 104
  68282. };
  68283. A.Highlighter$__closure0.prototype = {
  68284. call$1(line) {
  68285. return line.url;
  68286. },
  68287. $signature: 282
  68288. };
  68289. A.Highlighter__collateLines_closure.prototype = {
  68290. call$1(highlight) {
  68291. var t1 = highlight.span;
  68292. t1 = t1.get$sourceUrl(t1);
  68293. return t1 == null ? new A.Object() : t1;
  68294. },
  68295. $signature: 283
  68296. };
  68297. A.Highlighter__collateLines_closure0.prototype = {
  68298. call$2(highlight1, highlight2) {
  68299. return highlight1.span.compareTo$1(0, highlight2.span);
  68300. },
  68301. $signature: 284
  68302. };
  68303. A.Highlighter__collateLines_closure1.prototype = {
  68304. call$1(entry) {
  68305. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
  68306. url = entry.key,
  68307. highlightsForFile = entry.value,
  68308. lines = A._setArrayType([], type$.JSArray__Line);
  68309. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  68310. t4 = t2.get$current(t2).span;
  68311. context = t4.get$context(t4);
  68312. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  68313. t5.toString;
  68314. t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
  68315. linesBeforeSpan = t5.get$length(t5);
  68316. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  68317. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  68318. line = t4[_i];
  68319. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  68320. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  68321. ++lineNumber;
  68322. }
  68323. }
  68324. activeHighlights = A._setArrayType([], t3);
  68325. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  68326. line = lines[_i];
  68327. if (!!activeHighlights.fixed$length)
  68328. A.throwExpression(A.UnsupportedError$("removeWhere"));
  68329. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  68330. oldHighlightLength = activeHighlights.length;
  68331. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68332. t4 = t3.get$current(t3);
  68333. t5 = t4.span;
  68334. if (t5.get$start(t5).get$line() > line.number)
  68335. break;
  68336. activeHighlights.push(t4);
  68337. }
  68338. highlightIndex += activeHighlights.length - oldHighlightLength;
  68339. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  68340. }
  68341. return lines;
  68342. },
  68343. $signature: 285
  68344. };
  68345. A.Highlighter__collateLines__closure.prototype = {
  68346. call$1(highlight) {
  68347. var t1 = highlight.span;
  68348. return t1.get$end(t1).get$line() < this.line.number;
  68349. },
  68350. $signature: 104
  68351. };
  68352. A.Highlighter_highlight_closure.prototype = {
  68353. call$1(highlight) {
  68354. return highlight.isPrimary;
  68355. },
  68356. $signature: 104
  68357. };
  68358. A.Highlighter__writeFileStart_closure.prototype = {
  68359. call$0() {
  68360. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  68361. return null;
  68362. },
  68363. $signature: 0
  68364. };
  68365. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  68366. call$0() {
  68367. var t1 = $._glyphs;
  68368. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  68369. this.$this._highlighter$_buffer._contents += t1;
  68370. },
  68371. $signature: 1
  68372. };
  68373. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  68374. call$0() {
  68375. var t1 = $._glyphs;
  68376. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  68377. this.$this._highlighter$_buffer._contents += t1;
  68378. },
  68379. $signature: 1
  68380. };
  68381. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  68382. call$0() {
  68383. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  68384. return null;
  68385. },
  68386. $signature: 0
  68387. };
  68388. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  68389. call$0() {
  68390. var _this = this,
  68391. t1 = _this._box_0,
  68392. t2 = t1.openedOnThisLine,
  68393. t3 = $._glyphs,
  68394. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  68395. if (_this.current != null)
  68396. _this.$this._highlighter$_buffer._contents += vertical;
  68397. else {
  68398. t2 = _this.line;
  68399. t3 = t2.number;
  68400. if (_this.startLine === t3) {
  68401. t2 = _this.$this;
  68402. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  68403. t1.openedOnThisLine = true;
  68404. if (t1.openedOnThisLineColor == null)
  68405. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  68406. } else {
  68407. if (_this.endLine === t3) {
  68408. t3 = _this.highlight.span;
  68409. t2 = t3.get$end(t3).get$column() === t2.text.length;
  68410. } else
  68411. t2 = false;
  68412. t3 = _this.$this;
  68413. if (t2) {
  68414. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  68415. t3._highlighter$_buffer._contents += t1;
  68416. } else
  68417. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  68418. }
  68419. }
  68420. },
  68421. $signature: 1
  68422. };
  68423. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  68424. call$0() {
  68425. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  68426. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  68427. },
  68428. $signature: 1
  68429. };
  68430. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  68431. call$0() {
  68432. this.$this._highlighter$_buffer._contents += this.vertical;
  68433. },
  68434. $signature: 1
  68435. };
  68436. A.Highlighter__writeHighlightedText_closure.prototype = {
  68437. call$0() {
  68438. var _this = this;
  68439. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  68440. },
  68441. $signature: 0
  68442. };
  68443. A.Highlighter__writeIndicator_closure.prototype = {
  68444. call$0() {
  68445. var startColumn, endColumn, tabsBefore, tabsInside,
  68446. t1 = this.$this,
  68447. t2 = t1._highlighter$_buffer,
  68448. t3 = t2._contents,
  68449. t4 = this.highlight,
  68450. t5 = t4.span;
  68451. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  68452. startColumn = t5.get$start(t5).get$column();
  68453. endColumn = t5.get$end(t5).get$column();
  68454. t5 = this.line.text;
  68455. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  68456. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  68457. startColumn += tabsBefore * 3;
  68458. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  68459. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  68460. return t4.length - t3.length;
  68461. },
  68462. $signature: 12
  68463. };
  68464. A.Highlighter__writeIndicator_closure0.prototype = {
  68465. call$0() {
  68466. var t1 = this.highlight.span;
  68467. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  68468. },
  68469. $signature: 0
  68470. };
  68471. A.Highlighter__writeIndicator_closure1.prototype = {
  68472. call$0() {
  68473. var t4, _this = this,
  68474. t1 = _this.$this,
  68475. t2 = t1._highlighter$_buffer,
  68476. t3 = t2._contents;
  68477. if (_this.coversWholeLine)
  68478. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  68479. else {
  68480. t4 = _this.highlight.span;
  68481. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  68482. }
  68483. return t2._contents.length - t3.length;
  68484. },
  68485. $signature: 12
  68486. };
  68487. A.Highlighter__writeLabel_closure.prototype = {
  68488. call$0() {
  68489. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  68490. return null;
  68491. },
  68492. $signature: 0
  68493. };
  68494. A.Highlighter__writeLabel_closure0.prototype = {
  68495. call$0() {
  68496. this.$this._highlighter$_buffer._contents += " " + this.text;
  68497. return null;
  68498. },
  68499. $signature: 0
  68500. };
  68501. A.Highlighter__writeSidebar_closure.prototype = {
  68502. call$0() {
  68503. var t1 = this.$this,
  68504. t2 = t1._highlighter$_buffer,
  68505. t3 = this._box_0.text;
  68506. if (t3 == null)
  68507. t3 = "";
  68508. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  68509. t1 = this.end;
  68510. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  68511. },
  68512. $signature: 1
  68513. };
  68514. A._Highlight.prototype = {
  68515. toString$0(_) {
  68516. var t1 = this.isPrimary ? "" + "primary " : "",
  68517. t2 = this.span;
  68518. 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());
  68519. t1 = this.label;
  68520. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  68521. return t1.charCodeAt(0) == 0 ? t1 : t1;
  68522. }
  68523. };
  68524. A._Highlight_closure.prototype = {
  68525. call$0() {
  68526. var t2, t3, t4, t5,
  68527. t1 = this.span;
  68528. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  68529. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  68530. t3 = t1.get$end(t1).get$offset();
  68531. t4 = t1.get$sourceUrl(t1);
  68532. t5 = A.countCodeUnits(t1.get$text(), 10);
  68533. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  68534. }
  68535. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  68536. },
  68537. $signature: 286
  68538. };
  68539. A._Line.prototype = {
  68540. toString$0(_) {
  68541. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  68542. }
  68543. };
  68544. A.SourceLocation.prototype = {
  68545. distance$1(other) {
  68546. var t1 = this.sourceUrl;
  68547. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  68548. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  68549. return Math.abs(this.offset - other.get$offset());
  68550. },
  68551. compareTo$1(_, other) {
  68552. var t1 = this.sourceUrl;
  68553. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  68554. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  68555. return this.offset - other.get$offset();
  68556. },
  68557. $eq(_, other) {
  68558. if (other == null)
  68559. return false;
  68560. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  68561. },
  68562. get$hashCode(_) {
  68563. var t1 = this.sourceUrl;
  68564. t1 = t1 == null ? null : t1.get$hashCode(t1);
  68565. if (t1 == null)
  68566. t1 = 0;
  68567. return t1 + this.offset;
  68568. },
  68569. toString$0(_) {
  68570. var _this = this,
  68571. t1 = A.getRuntimeType(_this).toString$0(0),
  68572. source = _this.sourceUrl;
  68573. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  68574. },
  68575. $isComparable: 1,
  68576. get$sourceUrl(receiver) {
  68577. return this.sourceUrl;
  68578. },
  68579. get$offset() {
  68580. return this.offset;
  68581. },
  68582. get$line() {
  68583. return this.line;
  68584. },
  68585. get$column() {
  68586. return this.column;
  68587. }
  68588. };
  68589. A.SourceLocationMixin.prototype = {
  68590. distance$1(other) {
  68591. var _this = this;
  68592. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  68593. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  68594. return Math.abs(_this.offset - other.get$offset());
  68595. },
  68596. compareTo$1(_, other) {
  68597. var _this = this;
  68598. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  68599. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  68600. return _this.offset - other.get$offset();
  68601. },
  68602. $eq(_, other) {
  68603. if (other == null)
  68604. return false;
  68605. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  68606. },
  68607. get$hashCode(_) {
  68608. var t1 = this.file.url;
  68609. t1 = t1 == null ? null : t1.get$hashCode(t1);
  68610. if (t1 == null)
  68611. t1 = 0;
  68612. return t1 + this.offset;
  68613. },
  68614. toString$0(_) {
  68615. var t1 = A.getRuntimeType(this).toString$0(0),
  68616. t2 = this.offset,
  68617. t3 = this.file,
  68618. source = t3.url;
  68619. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  68620. },
  68621. $isComparable: 1,
  68622. $isSourceLocation: 1
  68623. };
  68624. A.SourceSpanBase.prototype = {
  68625. SourceSpanBase$3(start, end, text) {
  68626. var t3,
  68627. t1 = this.end,
  68628. t2 = this.start;
  68629. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  68630. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  68631. else if (t1.get$offset() < t2.get$offset())
  68632. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  68633. else {
  68634. t3 = this.text;
  68635. if (t3.length !== t2.distance$1(t1))
  68636. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  68637. }
  68638. },
  68639. get$start(receiver) {
  68640. return this.start;
  68641. },
  68642. get$end(receiver) {
  68643. return this.end;
  68644. },
  68645. get$text() {
  68646. return this.text;
  68647. }
  68648. };
  68649. A.SourceSpanException.prototype = {
  68650. get$message(_) {
  68651. return this._span_exception$_message;
  68652. },
  68653. get$span(_) {
  68654. return this._span;
  68655. },
  68656. toString$1$color(_, color) {
  68657. var _this = this;
  68658. _this.get$span(_this);
  68659. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  68660. },
  68661. toString$0($receiver) {
  68662. return this.toString$1$color($receiver, null);
  68663. },
  68664. $isException: 1
  68665. };
  68666. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  68667. get$source() {
  68668. return this.source;
  68669. }
  68670. };
  68671. A.MultiSourceSpanException.prototype = {
  68672. toString$0(_) {
  68673. var _this = this;
  68674. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  68675. },
  68676. get$primaryLabel() {
  68677. return this.primaryLabel;
  68678. },
  68679. get$secondarySpans() {
  68680. return this.secondarySpans;
  68681. }
  68682. };
  68683. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  68684. A.SourceSpanMixin.prototype = {
  68685. get$sourceUrl(_) {
  68686. var t1 = this.get$start(this);
  68687. return t1.get$sourceUrl(t1);
  68688. },
  68689. get$length(_) {
  68690. var _this = this;
  68691. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  68692. },
  68693. compareTo$1(_, other) {
  68694. var _this = this,
  68695. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  68696. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  68697. },
  68698. message$2$color(_, message, color) {
  68699. var t2, highlight, _this = this,
  68700. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  68701. if (_this.get$sourceUrl(_this) != null) {
  68702. t2 = _this.get$sourceUrl(_this);
  68703. t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
  68704. t1 = t2;
  68705. }
  68706. t1 += ": " + message;
  68707. highlight = _this.highlight$1$color(color);
  68708. if (highlight.length !== 0)
  68709. t1 = t1 + "\n" + highlight;
  68710. return t1.charCodeAt(0) == 0 ? t1 : t1;
  68711. },
  68712. message$1($receiver, message) {
  68713. return this.message$2$color($receiver, message, null);
  68714. },
  68715. highlight$1$color(color) {
  68716. var _this = this;
  68717. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  68718. return "";
  68719. return A.Highlighter$(_this, color).highlight$0();
  68720. },
  68721. $eq(_, other) {
  68722. var _this = this;
  68723. if (other == null)
  68724. return false;
  68725. 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));
  68726. },
  68727. get$hashCode(_) {
  68728. var _this = this;
  68729. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  68730. },
  68731. toString$0(_) {
  68732. var _this = this;
  68733. return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  68734. },
  68735. $isComparable: 1,
  68736. $isSourceSpan: 1
  68737. };
  68738. A.SourceSpanWithContext.prototype = {
  68739. get$context(_) {
  68740. return this._context;
  68741. }
  68742. };
  68743. A.Chain.prototype = {
  68744. toTrace$0() {
  68745. var t1 = this.traces;
  68746. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  68747. },
  68748. toString$0(_) {
  68749. var t1 = this.traces,
  68750. t2 = A._arrayInstanceType(t1);
  68751. 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_____);
  68752. },
  68753. $isStackTrace: 1
  68754. };
  68755. A.Chain_Chain$parse_closure.prototype = {
  68756. call$1(line) {
  68757. return line.length !== 0;
  68758. },
  68759. $signature: 8
  68760. };
  68761. A.Chain_toTrace_closure.prototype = {
  68762. call$1(trace) {
  68763. return trace.get$frames();
  68764. },
  68765. $signature: 287
  68766. };
  68767. A.Chain_toString_closure0.prototype = {
  68768. call$1(trace) {
  68769. var t1 = trace.get$frames();
  68770. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  68771. },
  68772. $signature: 288
  68773. };
  68774. A.Chain_toString__closure0.prototype = {
  68775. call$1(frame) {
  68776. return frame.get$location().length;
  68777. },
  68778. $signature: 183
  68779. };
  68780. A.Chain_toString_closure.prototype = {
  68781. call$1(trace) {
  68782. var t1 = trace.get$frames();
  68783. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  68784. },
  68785. $signature: 290
  68786. };
  68787. A.Chain_toString__closure.prototype = {
  68788. call$1(frame) {
  68789. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  68790. },
  68791. $signature: 184
  68792. };
  68793. A.Frame.prototype = {
  68794. get$isCore() {
  68795. return this.uri.get$scheme() === "dart";
  68796. },
  68797. get$library() {
  68798. var t1 = this.uri;
  68799. if (t1.get$scheme() === "data")
  68800. return "data:...";
  68801. return $.$get$context().prettyUri$1(t1);
  68802. },
  68803. get$$package() {
  68804. var t1 = this.uri;
  68805. if (t1.get$scheme() !== "package")
  68806. return null;
  68807. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  68808. },
  68809. get$location() {
  68810. var t2, _this = this,
  68811. t1 = _this.line;
  68812. if (t1 == null)
  68813. return _this.get$library();
  68814. t2 = _this.column;
  68815. if (t2 == null)
  68816. return _this.get$library() + " " + A.S(t1);
  68817. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  68818. },
  68819. toString$0(_) {
  68820. return this.get$location() + " in " + A.S(this.member);
  68821. },
  68822. get$uri() {
  68823. return this.uri;
  68824. },
  68825. get$line() {
  68826. return this.line;
  68827. },
  68828. get$column() {
  68829. return this.column;
  68830. },
  68831. get$member() {
  68832. return this.member;
  68833. }
  68834. };
  68835. A.Frame_Frame$parseVM_closure.prototype = {
  68836. call$0() {
  68837. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  68838. t1 = this.frame;
  68839. if (t1 === "...")
  68840. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  68841. match = $.$get$_vmFrame().firstMatch$1(t1);
  68842. if (match == null)
  68843. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  68844. t1 = match._match;
  68845. t2 = t1[1];
  68846. t2.toString;
  68847. t3 = $.$get$_asyncBody();
  68848. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  68849. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  68850. t2 = t1[2];
  68851. t3 = t2;
  68852. t3.toString;
  68853. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  68854. uri = A.Uri_Uri$dataFromString("", _null, _null);
  68855. else {
  68856. t2 = t2;
  68857. t2.toString;
  68858. uri = A.Uri_parse(t2);
  68859. }
  68860. lineAndColumn = t1[3].split(":");
  68861. t1 = lineAndColumn.length;
  68862. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  68863. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  68864. },
  68865. $signature: 69
  68866. };
  68867. A.Frame_Frame$parseV8_closure.prototype = {
  68868. call$0() {
  68869. var t2, t3, _s4_ = "<fn>",
  68870. t1 = this.frame,
  68871. match = $.$get$_v8Frame().firstMatch$1(t1);
  68872. if (match == null)
  68873. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  68874. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  68875. t2 = match._match;
  68876. t3 = t2[2];
  68877. if (t3 != null) {
  68878. t3 = t3;
  68879. t3.toString;
  68880. t2 = t2[1];
  68881. t2.toString;
  68882. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  68883. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  68884. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  68885. } else {
  68886. t2 = t2[3];
  68887. t2.toString;
  68888. return t1.call$2(t2, _s4_);
  68889. }
  68890. },
  68891. $signature: 69
  68892. };
  68893. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  68894. call$2($location, member) {
  68895. var t2, urlMatch, uri, line, columnMatch, _null = null,
  68896. t1 = $.$get$_v8EvalLocation(),
  68897. evalMatch = t1.firstMatch$1($location);
  68898. for (; evalMatch != null; $location = t2) {
  68899. t2 = evalMatch._match[1];
  68900. t2.toString;
  68901. evalMatch = t1.firstMatch$1(t2);
  68902. }
  68903. if ($location === "native")
  68904. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  68905. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  68906. if (urlMatch == null)
  68907. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  68908. t1 = urlMatch._match;
  68909. t2 = t1[1];
  68910. t2.toString;
  68911. uri = A.Frame__uriOrPathToUri(t2);
  68912. t2 = t1[2];
  68913. t2.toString;
  68914. line = A.int_parse(t2, _null);
  68915. columnMatch = t1[3];
  68916. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  68917. },
  68918. $signature: 293
  68919. };
  68920. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  68921. call$0() {
  68922. var t2, member, uri, line, _null = null,
  68923. t1 = this.frame,
  68924. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  68925. if (match == null)
  68926. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  68927. t1 = match._match;
  68928. t2 = t1[1];
  68929. t2.toString;
  68930. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  68931. t2 = t1[2];
  68932. t2.toString;
  68933. uri = A.Frame__uriOrPathToUri(t2);
  68934. t1 = t1[3];
  68935. t1.toString;
  68936. line = A.int_parse(t1, _null);
  68937. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  68938. },
  68939. $signature: 69
  68940. };
  68941. A.Frame_Frame$parseFirefox_closure.prototype = {
  68942. call$0() {
  68943. var t2, t3, t4, uri, member, line, column, _null = null,
  68944. t1 = this.frame,
  68945. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  68946. if (match == null)
  68947. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  68948. t2 = match._match;
  68949. t3 = t2[3];
  68950. t4 = t3;
  68951. t4.toString;
  68952. if (B.JSString_methods.contains$1(t4, " line "))
  68953. return A.Frame_Frame$_parseFirefoxEval(t1);
  68954. t1 = t3;
  68955. t1.toString;
  68956. uri = A.Frame__uriOrPathToUri(t1);
  68957. member = t2[1];
  68958. if (member != null) {
  68959. t1 = t2[2];
  68960. t1.toString;
  68961. t1 = B.JSString_methods.allMatches$1("/", t1);
  68962. member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
  68963. if (member === "")
  68964. member = "<fn>";
  68965. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  68966. } else
  68967. member = "<fn>";
  68968. t1 = t2[4];
  68969. if (t1 === "")
  68970. line = _null;
  68971. else {
  68972. t1 = t1;
  68973. t1.toString;
  68974. line = A.int_parse(t1, _null);
  68975. }
  68976. t1 = t2[5];
  68977. if (t1 == null || t1 === "")
  68978. column = _null;
  68979. else {
  68980. t1 = t1;
  68981. t1.toString;
  68982. column = A.int_parse(t1, _null);
  68983. }
  68984. return new A.Frame(uri, line, column, member);
  68985. },
  68986. $signature: 69
  68987. };
  68988. A.Frame_Frame$parseFriendly_closure.prototype = {
  68989. call$0() {
  68990. var t2, uri, line, column, _null = null,
  68991. t1 = this.frame,
  68992. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  68993. if (match == null)
  68994. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  68995. t1 = match._match;
  68996. t2 = t1[1];
  68997. if (t2 === "data:...")
  68998. uri = A.Uri_Uri$dataFromString("", _null, _null);
  68999. else {
  69000. t2 = t2;
  69001. t2.toString;
  69002. uri = A.Uri_parse(t2);
  69003. }
  69004. if (uri.get$scheme() === "") {
  69005. t2 = $.$get$context();
  69006. 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));
  69007. }
  69008. t2 = t1[2];
  69009. if (t2 == null)
  69010. line = _null;
  69011. else {
  69012. t2 = t2;
  69013. t2.toString;
  69014. line = A.int_parse(t2, _null);
  69015. }
  69016. t2 = t1[3];
  69017. if (t2 == null)
  69018. column = _null;
  69019. else {
  69020. t2 = t2;
  69021. t2.toString;
  69022. column = A.int_parse(t2, _null);
  69023. }
  69024. return new A.Frame(uri, line, column, t1[4]);
  69025. },
  69026. $signature: 69
  69027. };
  69028. A.LazyTrace.prototype = {
  69029. get$_lazy_trace$_trace() {
  69030. var result, _this = this,
  69031. value = _this.__LazyTrace__trace_FI;
  69032. if (value === $) {
  69033. result = _this._thunk.call$0();
  69034. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  69035. _this.__LazyTrace__trace_FI = result;
  69036. value = result;
  69037. }
  69038. return value;
  69039. },
  69040. get$frames() {
  69041. return this.get$_lazy_trace$_trace().get$frames();
  69042. },
  69043. get$terse() {
  69044. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  69045. },
  69046. toString$0(_) {
  69047. return this.get$_lazy_trace$_trace().toString$0(0);
  69048. },
  69049. $isStackTrace: 1,
  69050. $isTrace: 1
  69051. };
  69052. A.LazyTrace_terse_closure.prototype = {
  69053. call$0() {
  69054. return this.$this.get$_lazy_trace$_trace().get$terse();
  69055. },
  69056. $signature: 158
  69057. };
  69058. A.Trace.prototype = {
  69059. get$terse() {
  69060. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  69061. },
  69062. foldFrames$2$terse(predicate, terse) {
  69063. var newFrames, t1, t2, t3, _box_0 = {};
  69064. _box_0.predicate = predicate;
  69065. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  69066. newFrames = A._setArrayType([], type$.JSArray_Frame);
  69067. for (t1 = this.frames, t1 = new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  69068. t3 = t1.__internal$_current;
  69069. if (t3 == null)
  69070. t3 = t2._as(t3);
  69071. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  69072. newFrames.push(t3);
  69073. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  69074. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  69075. }
  69076. t1 = type$.MappedListIterable_Frame_Frame;
  69077. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  69078. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  69079. B.JSArray_methods.removeAt$1(newFrames, 0);
  69080. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  69081. },
  69082. toString$0(_) {
  69083. var t1 = this.frames,
  69084. t2 = A._arrayInstanceType(t1);
  69085. 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);
  69086. },
  69087. $isStackTrace: 1,
  69088. get$frames() {
  69089. return this.frames;
  69090. }
  69091. };
  69092. A.Trace_Trace$from_closure.prototype = {
  69093. call$0() {
  69094. return A.Trace_Trace$parse(this.trace.toString$0(0));
  69095. },
  69096. $signature: 158
  69097. };
  69098. A.Trace__parseVM_closure.prototype = {
  69099. call$1(line) {
  69100. return line.length !== 0;
  69101. },
  69102. $signature: 8
  69103. };
  69104. A.Trace$parseV8_closure.prototype = {
  69105. call$1(line) {
  69106. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  69107. },
  69108. $signature: 8
  69109. };
  69110. A.Trace$parseJSCore_closure.prototype = {
  69111. call$1(line) {
  69112. return line !== "\tat ";
  69113. },
  69114. $signature: 8
  69115. };
  69116. A.Trace$parseFirefox_closure.prototype = {
  69117. call$1(line) {
  69118. return line.length !== 0 && line !== "[native code]";
  69119. },
  69120. $signature: 8
  69121. };
  69122. A.Trace$parseFriendly_closure.prototype = {
  69123. call$1(line) {
  69124. return !B.JSString_methods.startsWith$1(line, "=====");
  69125. },
  69126. $signature: 8
  69127. };
  69128. A.Trace_terse_closure.prototype = {
  69129. call$1(_) {
  69130. return false;
  69131. },
  69132. $signature: 186
  69133. };
  69134. A.Trace_foldFrames_closure.prototype = {
  69135. call$1(frame) {
  69136. var t1;
  69137. if (this.oldPredicate.call$1(frame))
  69138. return true;
  69139. if (frame.get$isCore())
  69140. return true;
  69141. if (frame.get$$package() === "stack_trace")
  69142. return true;
  69143. t1 = frame.get$member();
  69144. t1.toString;
  69145. if (!B.JSString_methods.contains$1(t1, "<async>"))
  69146. return false;
  69147. return frame.get$line() == null;
  69148. },
  69149. $signature: 186
  69150. };
  69151. A.Trace_foldFrames_closure0.prototype = {
  69152. call$1(frame) {
  69153. var t1, t2;
  69154. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  69155. return frame;
  69156. t1 = frame.get$library();
  69157. t2 = $.$get$_terseRegExp();
  69158. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  69159. },
  69160. $signature: 296
  69161. };
  69162. A.Trace_toString_closure0.prototype = {
  69163. call$1(frame) {
  69164. return frame.get$location().length;
  69165. },
  69166. $signature: 183
  69167. };
  69168. A.Trace_toString_closure.prototype = {
  69169. call$1(frame) {
  69170. if (frame instanceof A.UnparsedFrame)
  69171. return frame.toString$0(0) + "\n";
  69172. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  69173. },
  69174. $signature: 184
  69175. };
  69176. A.UnparsedFrame.prototype = {
  69177. toString$0(_) {
  69178. return this.member;
  69179. },
  69180. $isFrame: 1,
  69181. get$uri() {
  69182. return this.uri;
  69183. },
  69184. get$line() {
  69185. return null;
  69186. },
  69187. get$column() {
  69188. return null;
  69189. },
  69190. get$isCore() {
  69191. return false;
  69192. },
  69193. get$library() {
  69194. return "unparsed";
  69195. },
  69196. get$$package() {
  69197. return null;
  69198. },
  69199. get$location() {
  69200. return "unparsed";
  69201. },
  69202. get$member() {
  69203. return this.member;
  69204. }
  69205. };
  69206. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  69207. call$0() {
  69208. var t2, subscription, t3, t4, _this = this, t1 = {};
  69209. t1.valuesDone = false;
  69210. t2 = _this.controller;
  69211. 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));
  69212. t3 = _this._box_1;
  69213. t3.subscription = subscription;
  69214. t2.set$onPause(subscription.get$pause(subscription));
  69215. t4 = t3.subscription;
  69216. t2.set$onResume(t4.get$resume(t4));
  69217. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  69218. },
  69219. $signature: 0
  69220. };
  69221. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  69222. call$1(value) {
  69223. return this.handleData.call$2(value, this.controller);
  69224. },
  69225. $signature() {
  69226. return this.S._eval$1("~(0)");
  69227. }
  69228. };
  69229. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  69230. call$2(error, stackTrace) {
  69231. this.handleError.call$3(error, stackTrace, this.controller);
  69232. },
  69233. $signature: 62
  69234. };
  69235. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  69236. call$0() {
  69237. this._box_0.valuesDone = true;
  69238. this.handleDone.call$1(this.controller);
  69239. },
  69240. $signature: 0
  69241. };
  69242. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  69243. call$0() {
  69244. var t1 = this._box_1,
  69245. toCancel = t1.subscription;
  69246. t1.subscription = null;
  69247. if (!this._box_0.valuesDone)
  69248. return toCancel.cancel$0();
  69249. return null;
  69250. },
  69251. $signature: 251
  69252. };
  69253. A.RateLimit__debounceAggregate_closure.prototype = {
  69254. call$2(value, sink) {
  69255. var _this = this,
  69256. t1 = _this._box_0,
  69257. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  69258. t3 = t1.timer;
  69259. if (t3 != null)
  69260. t3.cancel$0();
  69261. t1.soFar = _this.collect.call$2(value, t1.soFar);
  69262. t1.hasPending = true;
  69263. if (t1.timer == null && _this.leading) {
  69264. t1.emittedLatestAsLeading = true;
  69265. t2.call$0();
  69266. } else
  69267. t1.emittedLatestAsLeading = false;
  69268. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  69269. },
  69270. $signature() {
  69271. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  69272. }
  69273. };
  69274. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  69275. call$0() {
  69276. var t1 = this._box_0,
  69277. t2 = t1.soFar;
  69278. if (t2 == null)
  69279. t2 = this.S._as(t2);
  69280. this.sink.add$1(0, t2);
  69281. t1.soFar = null;
  69282. t1.hasPending = false;
  69283. },
  69284. $signature: 0
  69285. };
  69286. A.RateLimit__debounceAggregate__closure.prototype = {
  69287. call$0() {
  69288. var t1 = this._box_0,
  69289. t2 = t1.emittedLatestAsLeading;
  69290. if (!t2)
  69291. this.emit.call$0();
  69292. if (t1.shouldClose)
  69293. this.sink.close$0(0);
  69294. t1.timer = null;
  69295. },
  69296. $signature: 0
  69297. };
  69298. A.RateLimit__debounceAggregate_closure0.prototype = {
  69299. call$1(sink) {
  69300. var t1 = this._box_0;
  69301. if (t1.hasPending && this.trailing)
  69302. t1.shouldClose = true;
  69303. else {
  69304. t1 = t1.timer;
  69305. if (t1 != null)
  69306. t1.cancel$0();
  69307. sink.close$0(0);
  69308. }
  69309. },
  69310. $signature() {
  69311. return this.S._eval$1("~(EventSink<0>)");
  69312. }
  69313. };
  69314. A.StringScannerException.prototype = {
  69315. get$source() {
  69316. return A._asString(this.source);
  69317. }
  69318. };
  69319. A.LineScanner.prototype = {
  69320. scanChar$1(character) {
  69321. if (!this.super$StringScanner$scanChar(character))
  69322. return false;
  69323. this._adjustLineAndColumn$1(character);
  69324. return true;
  69325. },
  69326. _adjustLineAndColumn$1(character) {
  69327. var t1, _this = this;
  69328. if (character !== 10)
  69329. t1 = character === 13 && _this.peekChar$0() !== 10;
  69330. else
  69331. t1 = true;
  69332. if (t1) {
  69333. ++_this._line_scanner$_line;
  69334. _this._line_scanner$_column = 0;
  69335. } else {
  69336. t1 = _this._line_scanner$_column;
  69337. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  69338. }
  69339. },
  69340. scan$1(pattern) {
  69341. var t1, newlines, t2, _this = this;
  69342. if (!_this.super$StringScanner$scan(pattern))
  69343. return false;
  69344. t1 = _this.get$lastMatch();
  69345. newlines = _this._newlinesIn$1(t1.pattern);
  69346. t1 = _this._line_scanner$_line;
  69347. t2 = newlines.length;
  69348. _this._line_scanner$_line = t1 + t2;
  69349. if (t2 === 0) {
  69350. t1 = _this._line_scanner$_column;
  69351. t2 = _this.get$lastMatch();
  69352. _this._line_scanner$_column = t1 + t2.pattern.length;
  69353. } else {
  69354. t1 = _this.get$lastMatch();
  69355. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  69356. }
  69357. return true;
  69358. },
  69359. _newlinesIn$1(text) {
  69360. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  69361. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  69362. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  69363. B.JSArray_methods.removeLast$0(newlines);
  69364. return newlines;
  69365. }
  69366. };
  69367. A.SpanScanner.prototype = {
  69368. set$state(state) {
  69369. if (state._scanner !== this)
  69370. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  69371. this.set$position(state.position);
  69372. },
  69373. spanFrom$2(startState, endState) {
  69374. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  69375. return this._sourceFile.span$2(0, startState.position, endPosition);
  69376. },
  69377. spanFrom$1(startState) {
  69378. return this.spanFrom$2(startState, null);
  69379. },
  69380. matches$1(pattern) {
  69381. var t1, t2, _this = this;
  69382. if (!_this.super$StringScanner$matches(pattern))
  69383. return false;
  69384. t1 = _this._string_scanner$_position;
  69385. t2 = _this.get$lastMatch();
  69386. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  69387. return true;
  69388. },
  69389. error$3$length$position(_, message, $length, position) {
  69390. var match, t2, _this = this,
  69391. t1 = _this.string;
  69392. A.validateErrorArgs(t1, null, position, $length);
  69393. match = position == null && $length == null ? _this.get$lastMatch() : null;
  69394. if (position == null)
  69395. position = match == null ? _this._string_scanner$_position : match.start;
  69396. if ($length == null)
  69397. if (match == null)
  69398. $length = 0;
  69399. else {
  69400. t2 = match.start;
  69401. $length = t2 + match.pattern.length - t2;
  69402. }
  69403. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  69404. },
  69405. error$1($receiver, message) {
  69406. return this.error$3$length$position($receiver, message, null, null);
  69407. },
  69408. error$2$position($receiver, message, position) {
  69409. return this.error$3$length$position($receiver, message, null, position);
  69410. },
  69411. error$2$length($receiver, message, $length) {
  69412. return this.error$3$length$position($receiver, message, $length, null);
  69413. }
  69414. };
  69415. A._SpanScannerState.prototype = {};
  69416. A.StringScanner.prototype = {
  69417. set$position(position) {
  69418. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  69419. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  69420. this._string_scanner$_position = position;
  69421. this._lastMatch = null;
  69422. },
  69423. get$lastMatch() {
  69424. var _this = this;
  69425. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  69426. _this._lastMatch = null;
  69427. return _this._lastMatch;
  69428. },
  69429. readChar$0() {
  69430. var _this = this,
  69431. t1 = _this._string_scanner$_position,
  69432. t2 = _this.string;
  69433. if (t1 === t2.length)
  69434. _this.error$3$length$position(0, "expected more input.", 0, t1);
  69435. return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
  69436. },
  69437. peekChar$1(offset) {
  69438. var index;
  69439. if (offset == null)
  69440. offset = 0;
  69441. index = this._string_scanner$_position + offset;
  69442. if (index < 0 || index >= this.string.length)
  69443. return null;
  69444. return B.JSString_methods.codeUnitAt$1(this.string, index);
  69445. },
  69446. peekChar$0() {
  69447. return this.peekChar$1(null);
  69448. },
  69449. scanChar$1(character) {
  69450. var t1, t2, t3, t4, _this = this;
  69451. if (character >= 65536 && character <= 1114111) {
  69452. t1 = _this._string_scanner$_position;
  69453. t2 = t1 + 1;
  69454. t3 = _this.string;
  69455. if (t2 < t3.length) {
  69456. t4 = character - 65536;
  69457. t2 = B.JSString_methods.codeUnitAt$1(t3, t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || B.JSString_methods.codeUnitAt$1(t3, t2) !== (t4 & 1023) + 56320;
  69458. } else
  69459. t2 = true;
  69460. if (t2)
  69461. return false;
  69462. else {
  69463. _this._string_scanner$_position = t1 + 2;
  69464. return true;
  69465. }
  69466. } else {
  69467. t1 = _this._string_scanner$_position;
  69468. t2 = _this.string;
  69469. if (t1 === t2.length)
  69470. return false;
  69471. if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
  69472. return false;
  69473. _this._string_scanner$_position = t1 + 1;
  69474. return true;
  69475. }
  69476. },
  69477. expectChar$2$name(character, $name) {
  69478. if (this.scanChar$1(character))
  69479. return;
  69480. if ($name == null)
  69481. if (character === 92)
  69482. $name = '"\\"';
  69483. else
  69484. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  69485. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  69486. },
  69487. expectChar$1(character) {
  69488. return this.expectChar$2$name(character, null);
  69489. },
  69490. scan$1(pattern) {
  69491. var t1, _this = this,
  69492. success = _this.matches$1(pattern);
  69493. if (success) {
  69494. t1 = _this._lastMatch;
  69495. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  69496. }
  69497. return success;
  69498. },
  69499. expect$1(pattern) {
  69500. var t1, $name;
  69501. if (this.scan$1(pattern))
  69502. return;
  69503. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  69504. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  69505. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  69506. },
  69507. expectDone$0() {
  69508. var t1 = this._string_scanner$_position;
  69509. if (t1 === this.string.length)
  69510. return;
  69511. this.error$3$length$position(0, "expected no more input.", 0, t1);
  69512. },
  69513. matches$1(pattern) {
  69514. var _this = this,
  69515. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  69516. _this._lastMatch = t1;
  69517. _this._lastMatchPosition = _this._string_scanner$_position;
  69518. return t1 != null;
  69519. },
  69520. substring$1(_, start) {
  69521. var end = this._string_scanner$_position;
  69522. return B.JSString_methods.substring$2(this.string, start, end);
  69523. },
  69524. error$3$length$position(_, message, $length, position) {
  69525. var t1 = this.string;
  69526. A.validateErrorArgs(t1, null, position, $length);
  69527. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  69528. }
  69529. };
  69530. A.AsciiGlyphSet.prototype = {
  69531. glyphOrAscii$2(glyph, alternative) {
  69532. return alternative;
  69533. },
  69534. get$horizontalLine() {
  69535. return "-";
  69536. },
  69537. get$verticalLine() {
  69538. return "|";
  69539. },
  69540. get$topLeftCorner() {
  69541. return ",";
  69542. },
  69543. get$bottomLeftCorner() {
  69544. return "'";
  69545. },
  69546. get$cross() {
  69547. return "+";
  69548. },
  69549. get$upEnd() {
  69550. return "'";
  69551. },
  69552. get$downEnd() {
  69553. return ",";
  69554. },
  69555. get$horizontalLineBold() {
  69556. return "=";
  69557. }
  69558. };
  69559. A.UnicodeGlyphSet.prototype = {
  69560. glyphOrAscii$2(glyph, alternative) {
  69561. return glyph;
  69562. },
  69563. get$horizontalLine() {
  69564. return "\u2500";
  69565. },
  69566. get$verticalLine() {
  69567. return "\u2502";
  69568. },
  69569. get$topLeftCorner() {
  69570. return "\u250c";
  69571. },
  69572. get$bottomLeftCorner() {
  69573. return "\u2514";
  69574. },
  69575. get$cross() {
  69576. return "\u253c";
  69577. },
  69578. get$upEnd() {
  69579. return "\u2575";
  69580. },
  69581. get$downEnd() {
  69582. return "\u2577";
  69583. },
  69584. get$horizontalLineBold() {
  69585. return "\u2501";
  69586. }
  69587. };
  69588. A.Tuple2.prototype = {
  69589. toString$0(_) {
  69590. return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
  69591. },
  69592. $eq(_, other) {
  69593. if (other == null)
  69594. return false;
  69595. return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
  69596. },
  69597. get$hashCode(_) {
  69598. return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), B.C_SentinelValue, B.C_SentinelValue);
  69599. }
  69600. };
  69601. A.Tuple3.prototype = {
  69602. toString$0(_) {
  69603. return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
  69604. },
  69605. $eq(_, other) {
  69606. if (other == null)
  69607. return false;
  69608. return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
  69609. },
  69610. get$hashCode(_) {
  69611. var t1 = this.item2,
  69612. t2 = this.item3;
  69613. return A.Object_hash(A.Primitives_objectHashCode(this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), B.C_SentinelValue);
  69614. }
  69615. };
  69616. A.Tuple4.prototype = {
  69617. toString$0(_) {
  69618. var _this = this;
  69619. return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
  69620. },
  69621. $eq(_, other) {
  69622. var _this = this;
  69623. if (other == null)
  69624. return false;
  69625. return other instanceof A.Tuple4 && other.item1.$eq(0, _this.item1) && other.item2 === _this.item2 && other.item3 === _this.item3 && J.$eq$(other.item4, _this.item4);
  69626. },
  69627. get$hashCode(_) {
  69628. var _this = this,
  69629. t1 = _this.item1;
  69630. return A.Object_hash(t1.get$hashCode(t1), B.JSBool_methods.get$hashCode(_this.item2), A.Primitives_objectHashCode(_this.item3), J.get$hashCode$(_this.item4));
  69631. }
  69632. };
  69633. A.WatchEvent.prototype = {
  69634. toString$0(_) {
  69635. return this.type.toString$0(0) + " " + this.path;
  69636. }
  69637. };
  69638. A.ChangeType.prototype = {
  69639. toString$0(_) {
  69640. return this._watch_event$_name;
  69641. }
  69642. };
  69643. A.AnySelectorVisitor0.prototype = {
  69644. visitComplexSelector$1(complex) {
  69645. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  69646. },
  69647. visitCompoundSelector$1(compound) {
  69648. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  69649. },
  69650. visitPseudoSelector$1(pseudo) {
  69651. var selector = pseudo.selector;
  69652. return selector == null ? false : this.visitSelectorList$1(selector);
  69653. },
  69654. visitSelectorList$1(list) {
  69655. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  69656. },
  69657. visitAttributeSelector$1(attribute) {
  69658. return false;
  69659. },
  69660. visitClassSelector$1(klass) {
  69661. return false;
  69662. },
  69663. visitIDSelector$1(id) {
  69664. return false;
  69665. },
  69666. visitParentSelector$1($parent) {
  69667. return false;
  69668. },
  69669. visitPlaceholderSelector$1(placeholder) {
  69670. return false;
  69671. },
  69672. visitTypeSelector$1(type) {
  69673. return false;
  69674. },
  69675. visitUniversalSelector$1(universal) {
  69676. return false;
  69677. }
  69678. };
  69679. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  69680. call$1(component) {
  69681. return this.$this.visitCompoundSelector$1(component.selector);
  69682. },
  69683. $signature: 46
  69684. };
  69685. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  69686. call$1(simple) {
  69687. return simple.accept$1(this.$this);
  69688. },
  69689. $signature: 14
  69690. };
  69691. A.SupportsAnything0.prototype = {
  69692. toString$0(_) {
  69693. return "(" + this.contents.toString$0(0) + ")";
  69694. },
  69695. $isAstNode0: 1,
  69696. get$span(receiver) {
  69697. return this.span;
  69698. }
  69699. };
  69700. A.Argument0.prototype = {
  69701. toString$0(_) {
  69702. var t1 = this.defaultValue,
  69703. t2 = this.name;
  69704. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  69705. },
  69706. $isAstNode0: 1,
  69707. get$span(receiver) {
  69708. return this.span;
  69709. }
  69710. };
  69711. A.ArgumentDeclaration0.prototype = {
  69712. get$spanWithName() {
  69713. var t3, t4,
  69714. t1 = this.span,
  69715. t2 = t1.file,
  69716. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  69717. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  69718. while (true) {
  69719. if (i > 0) {
  69720. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  69721. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  69722. } else
  69723. t3 = false;
  69724. if (!t3)
  69725. break;
  69726. --i;
  69727. }
  69728. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  69729. if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
  69730. return t1;
  69731. --i;
  69732. while (true) {
  69733. if (i >= 0) {
  69734. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  69735. if (t3 !== 95) {
  69736. if (!(t3 >= 97 && t3 <= 122))
  69737. t4 = t3 >= 65 && t3 <= 90;
  69738. else
  69739. t4 = true;
  69740. t4 = t4 || t3 >= 128;
  69741. } else
  69742. t4 = true;
  69743. if (!t4)
  69744. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  69745. else
  69746. t3 = true;
  69747. } else
  69748. t3 = false;
  69749. if (!t3)
  69750. break;
  69751. --i;
  69752. }
  69753. t3 = i + 1;
  69754. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  69755. if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
  69756. return t1;
  69757. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  69758. },
  69759. verify$2(positional, names) {
  69760. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  69761. _s10_ = "invocation",
  69762. _s8_ = "argument";
  69763. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  69764. argument = t1[i];
  69765. if (i < positional) {
  69766. t4 = argument.name;
  69767. if (t3.containsKey$1(t4))
  69768. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  69769. } else {
  69770. t4 = argument.name;
  69771. if (t3.containsKey$1(t4))
  69772. ++namedUsed;
  69773. else if (argument.defaultValue == null)
  69774. 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)));
  69775. }
  69776. }
  69777. if (_this.restArgument != null)
  69778. return;
  69779. if (positional > t2) {
  69780. t1 = names.get$isEmpty(names) ? "" : "positional ";
  69781. 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)));
  69782. }
  69783. if (namedUsed < t3.get$length(t3)) {
  69784. t2 = type$.String;
  69785. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  69786. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  69787. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + A.S(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)));
  69788. }
  69789. },
  69790. _argument_declaration$_originalArgumentName$1($name) {
  69791. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  69792. if ($name === this.restArgument) {
  69793. t1 = this.span;
  69794. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  69795. 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, "."));
  69796. }
  69797. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  69798. argument = t1[_i];
  69799. if (argument.name === $name) {
  69800. t1 = argument.defaultValue;
  69801. t2 = argument.span;
  69802. t3 = t2.file;
  69803. t4 = t2._file$_start;
  69804. t2 = t2._end;
  69805. if (t1 == null) {
  69806. t1 = t3._decodedChars;
  69807. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  69808. } else {
  69809. t1 = t3._decodedChars;
  69810. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  69811. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  69812. end = A._lastNonWhitespace0(t1, false);
  69813. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  69814. }
  69815. return t1;
  69816. }
  69817. }
  69818. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  69819. },
  69820. matches$2(positional, names) {
  69821. var t1, t2, t3, namedUsed, i, argument;
  69822. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  69823. argument = t1[i];
  69824. if (i < positional) {
  69825. if (t3.containsKey$1(argument.name))
  69826. return false;
  69827. } else if (t3.containsKey$1(argument.name))
  69828. ++namedUsed;
  69829. else if (argument.defaultValue == null)
  69830. return false;
  69831. }
  69832. if (this.restArgument != null)
  69833. return true;
  69834. if (positional > t2)
  69835. return false;
  69836. if (namedUsed < t3.get$length(t3))
  69837. return false;
  69838. return true;
  69839. },
  69840. toString$0(_) {
  69841. var t2, t3, _i,
  69842. t1 = A._setArrayType([], type$.JSArray_String);
  69843. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  69844. t1.push("$" + A.S(t2[_i]));
  69845. t2 = this.restArgument;
  69846. if (t2 != null)
  69847. t1.push("$" + t2 + "...");
  69848. return B.JSArray_methods.join$1(t1, ", ");
  69849. },
  69850. $isAstNode0: 1,
  69851. get$span(receiver) {
  69852. return this.span;
  69853. }
  69854. };
  69855. A.ArgumentDeclaration_verify_closure1.prototype = {
  69856. call$1(argument) {
  69857. return argument.name;
  69858. },
  69859. $signature: 300
  69860. };
  69861. A.ArgumentDeclaration_verify_closure2.prototype = {
  69862. call$1($name) {
  69863. return "$" + $name;
  69864. },
  69865. $signature: 5
  69866. };
  69867. A.ArgumentInvocation0.prototype = {
  69868. get$isEmpty(_) {
  69869. var t1;
  69870. if (this.positional.length === 0) {
  69871. t1 = this.named;
  69872. t1 = t1.get$isEmpty(t1) && this.rest == null;
  69873. } else
  69874. t1 = false;
  69875. return t1;
  69876. },
  69877. toString$0(_) {
  69878. var t2, t3, _i, _this = this,
  69879. rest = _this.rest,
  69880. keywordRest = _this.keywordRest,
  69881. t1 = A._setArrayType([], type$.JSArray_String);
  69882. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  69883. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  69884. for (t2 = _this.named, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  69885. t3 = t2.get$current(t2);
  69886. t1.push("$" + A.S(t3.key) + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3.value));
  69887. }
  69888. if (rest != null)
  69889. t1.push(_this._argument_invocation$_parenthesizeArgument$1(rest) + "...");
  69890. if (keywordRest != null)
  69891. t1.push(_this._argument_invocation$_parenthesizeArgument$1(keywordRest) + "...");
  69892. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  69893. },
  69894. _argument_invocation$_parenthesizeArgument$1(argument) {
  69895. return argument instanceof A.ListExpression0 && argument.separator === B.ListSeparator_rXA0 && !argument.hasBrackets && argument.contents.length > 1 ? "(" + argument.toString$0(0) + ")" : argument.toString$0(0);
  69896. },
  69897. $isAstNode0: 1,
  69898. get$span(receiver) {
  69899. return this.span;
  69900. }
  69901. };
  69902. A.argumentListClass_closure.prototype = {
  69903. call$0() {
  69904. var t1 = type$.JSClass,
  69905. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  69906. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  69907. 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);
  69908. return jsClass;
  69909. },
  69910. $signature: 25
  69911. };
  69912. A.argumentListClass__closure.prototype = {
  69913. call$4($self, contents, keywords, separator) {
  69914. var t3,
  69915. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  69916. t2 = type$.Value_2;
  69917. t1 = J.cast$1$0$ax(t1, t2);
  69918. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  69919. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  69920. },
  69921. call$3($self, contents, keywords) {
  69922. return this.call$4($self, contents, keywords, ",");
  69923. },
  69924. "call*": "call$4",
  69925. $requiredArgCount: 3,
  69926. $defaultValues() {
  69927. return [","];
  69928. },
  69929. $signature: 605
  69930. };
  69931. A.argumentListClass__closure0.prototype = {
  69932. call$1($self) {
  69933. $self._argument_list$_wereKeywordsAccessed = true;
  69934. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  69935. },
  69936. $signature: 303
  69937. };
  69938. A.SassArgumentList0.prototype = {};
  69939. A.JSArray1.prototype = {};
  69940. A.AsyncImporter0.prototype = {};
  69941. A.NodeToDartAsyncImporter.prototype = {
  69942. canonicalize$1(_, url) {
  69943. return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
  69944. },
  69945. canonicalize$body$NodeToDartAsyncImporter(_, url) {
  69946. var $async$goto = 0,
  69947. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  69948. $async$returnValue, $async$self = this, t1, result;
  69949. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69950. if ($async$errorCode === 1)
  69951. return A._asyncRethrow($async$result, $async$completer);
  69952. while (true)
  69953. switch ($async$goto) {
  69954. case 0:
  69955. // Function start
  69956. result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  69957. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  69958. break;
  69959. case 3:
  69960. // then
  69961. $async$goto = 5;
  69962. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  69963. case 5:
  69964. // returning from await.
  69965. result = $async$result;
  69966. case 4:
  69967. // join
  69968. if (result == null) {
  69969. $async$returnValue = null;
  69970. // goto return
  69971. $async$goto = 1;
  69972. break;
  69973. }
  69974. t1 = self.URL;
  69975. if (result instanceof t1) {
  69976. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  69977. // goto return
  69978. $async$goto = 1;
  69979. break;
  69980. }
  69981. A.jsThrow(new self.Error(string$.The_ca));
  69982. case 1:
  69983. // return
  69984. return A._asyncReturn($async$returnValue, $async$completer);
  69985. }
  69986. });
  69987. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  69988. },
  69989. load$1(_, url) {
  69990. return this.load$body$NodeToDartAsyncImporter(0, url);
  69991. },
  69992. load$body$NodeToDartAsyncImporter(_, url) {
  69993. var $async$goto = 0,
  69994. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
  69995. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  69996. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69997. if ($async$errorCode === 1)
  69998. return A._asyncRethrow($async$result, $async$completer);
  69999. while (true)
  70000. switch ($async$goto) {
  70001. case 0:
  70002. // Function start
  70003. result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
  70004. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  70005. break;
  70006. case 3:
  70007. // then
  70008. $async$goto = 5;
  70009. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  70010. case 5:
  70011. // returning from await.
  70012. result = $async$result;
  70013. case 4:
  70014. // join
  70015. if (result == null) {
  70016. $async$returnValue = null;
  70017. // goto return
  70018. $async$goto = 1;
  70019. break;
  70020. }
  70021. type$.NodeImporterResult._as(result);
  70022. t1 = J.getInterceptor$x(result);
  70023. contents = t1.get$contents(result);
  70024. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  70025. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  70026. syntax = t1.get$syntax(result);
  70027. if (contents == null || syntax == null)
  70028. A.jsThrow(new self.Error(string$.The_lo));
  70029. t2 = A.parseSyntax(syntax);
  70030. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  70031. // goto return
  70032. $async$goto = 1;
  70033. break;
  70034. case 1:
  70035. // return
  70036. return A._asyncReturn($async$returnValue, $async$completer);
  70037. }
  70038. });
  70039. return A._asyncStartSync($async$load$1, $async$completer);
  70040. }
  70041. };
  70042. A.AsyncBuiltInCallable0.prototype = {
  70043. callbackFor$2(positional, names) {
  70044. return new A.Tuple2(this._async_built_in0$_arguments, this._async_built_in0$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2);
  70045. },
  70046. $isAsyncCallable0: 1,
  70047. get$name(receiver) {
  70048. return this.name;
  70049. }
  70050. };
  70051. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  70052. call$1($arguments) {
  70053. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  70054. },
  70055. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  70056. var $async$goto = 0,
  70057. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  70058. $async$returnValue, $async$self = this;
  70059. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70060. if ($async$errorCode === 1)
  70061. return A._asyncRethrow($async$result, $async$completer);
  70062. while (true)
  70063. switch ($async$goto) {
  70064. case 0:
  70065. // Function start
  70066. $async$goto = 3;
  70067. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  70068. case 3:
  70069. // returning from await.
  70070. $async$returnValue = B.C__SassNull0;
  70071. // goto return
  70072. $async$goto = 1;
  70073. break;
  70074. case 1:
  70075. // return
  70076. return A._asyncReturn($async$returnValue, $async$completer);
  70077. }
  70078. });
  70079. return A._asyncStartSync($async$call$1, $async$completer);
  70080. },
  70081. $signature: 89
  70082. };
  70083. A._compileStylesheet_closure2.prototype = {
  70084. call$1(url) {
  70085. 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$_core$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  70086. },
  70087. $signature: 5
  70088. };
  70089. A.AsyncEnvironment0.prototype = {
  70090. closure$0() {
  70091. var t4, t5, t6, _this = this,
  70092. t1 = _this._async_environment0$_forwardedModules,
  70093. t2 = _this._async_environment0$_nestedForwardedModules,
  70094. t3 = _this._async_environment0$_variables;
  70095. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  70096. t4 = _this._async_environment0$_variableNodes;
  70097. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  70098. t5 = _this._async_environment0$_functions;
  70099. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  70100. t6 = _this._async_environment0$_mixins;
  70101. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  70102. 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);
  70103. },
  70104. addModule$3$namespace(module, nodeWithSpan, namespace) {
  70105. var t1, t2, span, _this = this;
  70106. if (namespace == null) {
  70107. _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  70108. _this._async_environment0$_allModules.push(module);
  70109. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
  70110. t2 = t1.get$current(t1);
  70111. if (module.get$variables().containsKey$1(t2))
  70112. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  70113. }
  70114. } else {
  70115. t1 = _this._async_environment0$_modules;
  70116. if (t1.containsKey$1(namespace)) {
  70117. t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
  70118. span = t1 == null ? null : t1.span;
  70119. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70120. if (span != null)
  70121. t1.$indexSet(0, span, "original @use");
  70122. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  70123. }
  70124. t1.$indexSet(0, namespace, module);
  70125. _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  70126. _this._async_environment0$_allModules.push(module);
  70127. }
  70128. },
  70129. forwardModule$2(module, rule) {
  70130. var view, t1, t2, _this = this,
  70131. forwardedModules = _this._async_environment0$_forwardedModules;
  70132. if (forwardedModules == null)
  70133. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70134. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  70135. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  70136. t2 = t1.__js_helper$_current;
  70137. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  70138. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  70139. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  70140. }
  70141. _this._async_environment0$_allModules.push(module);
  70142. forwardedModules.$indexSet(0, view, rule);
  70143. },
  70144. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  70145. var larger, smaller, t1, t2, $name, span;
  70146. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  70147. larger = oldMembers;
  70148. smaller = newMembers;
  70149. } else {
  70150. larger = newMembers;
  70151. smaller = oldMembers;
  70152. }
  70153. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  70154. $name = t1.get$current(t1);
  70155. if (!larger.containsKey$1($name))
  70156. continue;
  70157. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  70158. continue;
  70159. if (t2)
  70160. $name = "$" + $name;
  70161. t1 = this._async_environment0$_forwardedModules;
  70162. if (t1 == null)
  70163. span = null;
  70164. else {
  70165. t1 = t1.$index(0, oldModule);
  70166. span = t1 == null ? null : J.get$span$z(t1);
  70167. }
  70168. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70169. if (span != null)
  70170. t1.$indexSet(0, span, "original @forward");
  70171. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  70172. }
  70173. },
  70174. importForwards$1(module) {
  70175. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  70176. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  70177. if (forwarded == null)
  70178. return;
  70179. forwardedModules = _this._async_environment0$_forwardedModules;
  70180. if (forwardedModules != null) {
  70181. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70182. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
  70183. t4 = t2.get$current(t2);
  70184. t5 = t4.key;
  70185. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  70186. t1.$indexSet(0, t5, t4.value);
  70187. }
  70188. forwarded = t1;
  70189. } else
  70190. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  70191. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  70192. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  70193. t3 = t2._eval$1("Iterable.E");
  70194. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
  70195. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
  70196. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
  70197. t2 = _this._async_environment0$_variables;
  70198. t3 = t2.length;
  70199. if (t3 === 1) {
  70200. for (t1 = _this._async_environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  70201. entry = t3[_i];
  70202. module = entry.key;
  70203. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  70204. if (shadowed != null) {
  70205. t1.remove$1(0, module);
  70206. t6 = shadowed.variables;
  70207. if (t6.get$isEmpty(t6)) {
  70208. t6 = shadowed.functions;
  70209. if (t6.get$isEmpty(t6)) {
  70210. t6 = shadowed.mixins;
  70211. if (t6.get$isEmpty(t6)) {
  70212. t6 = shadowed._shadowed_view0$_inner;
  70213. t6 = t6.get$css(t6);
  70214. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  70215. } else
  70216. t6 = false;
  70217. } else
  70218. t6 = false;
  70219. } else
  70220. t6 = false;
  70221. if (!t6)
  70222. t1.$indexSet(0, shadowed, entry.value);
  70223. }
  70224. }
  70225. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  70226. entry = t3[_i];
  70227. module = entry.key;
  70228. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  70229. if (shadowed != null) {
  70230. forwardedModules.remove$1(0, module);
  70231. t6 = shadowed.variables;
  70232. if (t6.get$isEmpty(t6)) {
  70233. t6 = shadowed.functions;
  70234. if (t6.get$isEmpty(t6)) {
  70235. t6 = shadowed.mixins;
  70236. if (t6.get$isEmpty(t6)) {
  70237. t6 = shadowed._shadowed_view0$_inner;
  70238. t6 = t6.get$css(t6);
  70239. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  70240. } else
  70241. t6 = false;
  70242. } else
  70243. t6 = false;
  70244. } else
  70245. t6 = false;
  70246. if (!t6)
  70247. forwardedModules.$indexSet(0, shadowed, entry.value);
  70248. }
  70249. }
  70250. t1.addAll$1(0, forwarded);
  70251. forwardedModules.addAll$1(0, forwarded);
  70252. } else {
  70253. t4 = _this._async_environment0$_nestedForwardedModules;
  70254. if (t4 == null) {
  70255. _length = t3 - 1;
  70256. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  70257. for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  70258. _list[_i] = A._setArrayType([], t3);
  70259. _this._async_environment0$_nestedForwardedModules = _list;
  70260. t3 = _list;
  70261. } else
  70262. t3 = t4;
  70263. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  70264. }
  70265. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment0$_variableIndices, t4 = _this._async_environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70266. t6 = t1._collection$_current;
  70267. if (t6 == null)
  70268. t6 = t5._as(t6);
  70269. t3.remove$1(0, t6);
  70270. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  70271. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  70272. }
  70273. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment0$_functionIndices, t3 = _this._async_environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70274. t5 = t1._collection$_current;
  70275. if (t5 == null)
  70276. t5 = t4._as(t5);
  70277. t2.remove$1(0, t5);
  70278. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  70279. }
  70280. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70281. t5 = t1._collection$_current;
  70282. if (t5 == null)
  70283. t5 = t4._as(t5);
  70284. t2.remove$1(0, t5);
  70285. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  70286. }
  70287. },
  70288. getVariable$2$namespace($name, namespace) {
  70289. var t1, index, _this = this;
  70290. if (namespace != null)
  70291. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  70292. if (_this._async_environment0$_lastVariableName === $name) {
  70293. t1 = _this._async_environment0$_lastVariableIndex;
  70294. t1.toString;
  70295. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  70296. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70297. }
  70298. t1 = _this._async_environment0$_variableIndices;
  70299. index = t1.$index(0, $name);
  70300. if (index != null) {
  70301. _this._async_environment0$_lastVariableName = $name;
  70302. _this._async_environment0$_lastVariableIndex = index;
  70303. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  70304. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70305. }
  70306. index = _this._async_environment0$_variableIndex$1($name);
  70307. if (index == null)
  70308. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  70309. _this._async_environment0$_lastVariableName = $name;
  70310. _this._async_environment0$_lastVariableIndex = index;
  70311. t1.$indexSet(0, $name, index);
  70312. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  70313. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  70314. },
  70315. getVariable$1($name) {
  70316. return this.getVariable$2$namespace($name, null);
  70317. },
  70318. _async_environment0$_getVariableFromGlobalModule$1($name) {
  70319. return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  70320. },
  70321. getVariableNode$2$namespace($name, namespace) {
  70322. var t1, index, _this = this;
  70323. if (namespace != null)
  70324. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  70325. if (_this._async_environment0$_lastVariableName === $name) {
  70326. t1 = _this._async_environment0$_lastVariableIndex;
  70327. t1.toString;
  70328. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  70329. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70330. }
  70331. t1 = _this._async_environment0$_variableIndices;
  70332. index = t1.$index(0, $name);
  70333. if (index != null) {
  70334. _this._async_environment0$_lastVariableName = $name;
  70335. _this._async_environment0$_lastVariableIndex = index;
  70336. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  70337. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70338. }
  70339. index = _this._async_environment0$_variableIndex$1($name);
  70340. if (index == null)
  70341. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  70342. _this._async_environment0$_lastVariableName = $name;
  70343. _this._async_environment0$_lastVariableIndex = index;
  70344. t1.$indexSet(0, $name, index);
  70345. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  70346. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  70347. },
  70348. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  70349. var t1, t2, value;
  70350. 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();) {
  70351. t1 = t2._currentIterator;
  70352. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  70353. if (value != null)
  70354. return value;
  70355. }
  70356. return null;
  70357. },
  70358. globalVariableExists$2$namespace($name, namespace) {
  70359. if (namespace != null)
  70360. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  70361. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  70362. return true;
  70363. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  70364. },
  70365. globalVariableExists$1($name) {
  70366. return this.globalVariableExists$2$namespace($name, null);
  70367. },
  70368. _async_environment0$_variableIndex$1($name) {
  70369. var t1, i;
  70370. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  70371. if (t1[i].containsKey$1($name))
  70372. return i;
  70373. return null;
  70374. },
  70375. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  70376. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  70377. if (namespace != null) {
  70378. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  70379. return;
  70380. }
  70381. if (global || _this._async_environment0$_variables.length === 1) {
  70382. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  70383. t1 = _this._async_environment0$_variables;
  70384. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  70385. moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
  70386. if (moduleWithName != null) {
  70387. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  70388. return;
  70389. }
  70390. }
  70391. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  70392. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  70393. return;
  70394. }
  70395. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  70396. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  70397. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70398. t3 = t1.__internal$_current;
  70399. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  70400. t5 = t3.__internal$_current;
  70401. if (t5 == null)
  70402. t5 = t4._as(t5);
  70403. if (t5.get$variables().containsKey$1($name)) {
  70404. t5.setVariable$3($name, value, nodeWithSpan);
  70405. return;
  70406. }
  70407. }
  70408. }
  70409. if (_this._async_environment0$_lastVariableName === $name) {
  70410. t1 = _this._async_environment0$_lastVariableIndex;
  70411. t1.toString;
  70412. index = t1;
  70413. } else
  70414. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  70415. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  70416. index = _this._async_environment0$_variables.length - 1;
  70417. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  70418. }
  70419. _this._async_environment0$_lastVariableName = $name;
  70420. _this._async_environment0$_lastVariableIndex = index;
  70421. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  70422. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  70423. },
  70424. setVariable$4$global($name, value, nodeWithSpan, global) {
  70425. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  70426. },
  70427. setLocalVariable$3($name, value, nodeWithSpan) {
  70428. var index, _this = this,
  70429. t1 = _this._async_environment0$_variables,
  70430. t2 = t1.length;
  70431. _this._async_environment0$_lastVariableName = $name;
  70432. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  70433. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  70434. J.$indexSet$ax(t1[index], $name, value);
  70435. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  70436. },
  70437. getFunction$2$namespace($name, namespace) {
  70438. var t1, index, _this = this;
  70439. if (namespace != null) {
  70440. t1 = _this._async_environment0$_getModule$1(namespace);
  70441. return t1.get$functions(t1).$index(0, $name);
  70442. }
  70443. t1 = _this._async_environment0$_functionIndices;
  70444. index = t1.$index(0, $name);
  70445. if (index != null) {
  70446. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  70447. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  70448. }
  70449. index = _this._async_environment0$_functionIndex$1($name);
  70450. if (index == null)
  70451. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  70452. t1.$indexSet(0, $name, index);
  70453. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  70454. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  70455. },
  70456. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  70457. return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  70458. },
  70459. _async_environment0$_functionIndex$1($name) {
  70460. var t1, i;
  70461. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  70462. if (t1[i].containsKey$1($name))
  70463. return i;
  70464. return null;
  70465. },
  70466. getMixin$2$namespace($name, namespace) {
  70467. var t1, index, _this = this;
  70468. if (namespace != null)
  70469. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  70470. t1 = _this._async_environment0$_mixinIndices;
  70471. index = t1.$index(0, $name);
  70472. if (index != null) {
  70473. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  70474. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  70475. }
  70476. index = _this._async_environment0$_mixinIndex$1($name);
  70477. if (index == null)
  70478. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  70479. t1.$indexSet(0, $name, index);
  70480. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  70481. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  70482. },
  70483. _async_environment0$_getMixinFromGlobalModule$1($name) {
  70484. return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  70485. },
  70486. _async_environment0$_mixinIndex$1($name) {
  70487. var t1, i;
  70488. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  70489. if (t1[i].containsKey$1($name))
  70490. return i;
  70491. return null;
  70492. },
  70493. withContent$2($content, callback) {
  70494. return this.withContent$body$AsyncEnvironment0($content, callback);
  70495. },
  70496. withContent$body$AsyncEnvironment0($content, callback) {
  70497. var $async$goto = 0,
  70498. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  70499. $async$self = this, oldContent;
  70500. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70501. if ($async$errorCode === 1)
  70502. return A._asyncRethrow($async$result, $async$completer);
  70503. while (true)
  70504. switch ($async$goto) {
  70505. case 0:
  70506. // Function start
  70507. oldContent = $async$self._async_environment0$_content;
  70508. $async$self._async_environment0$_content = $content;
  70509. $async$goto = 2;
  70510. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  70511. case 2:
  70512. // returning from await.
  70513. $async$self._async_environment0$_content = oldContent;
  70514. // implicit return
  70515. return A._asyncReturn(null, $async$completer);
  70516. }
  70517. });
  70518. return A._asyncStartSync($async$withContent$2, $async$completer);
  70519. },
  70520. asMixin$1(callback) {
  70521. var $async$goto = 0,
  70522. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  70523. $async$self = this, oldInMixin;
  70524. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70525. if ($async$errorCode === 1)
  70526. return A._asyncRethrow($async$result, $async$completer);
  70527. while (true)
  70528. switch ($async$goto) {
  70529. case 0:
  70530. // Function start
  70531. oldInMixin = $async$self._async_environment0$_inMixin;
  70532. $async$self._async_environment0$_inMixin = true;
  70533. $async$goto = 2;
  70534. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  70535. case 2:
  70536. // returning from await.
  70537. $async$self._async_environment0$_inMixin = oldInMixin;
  70538. // implicit return
  70539. return A._asyncReturn(null, $async$completer);
  70540. }
  70541. });
  70542. return A._asyncStartSync($async$asMixin$1, $async$completer);
  70543. },
  70544. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  70545. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  70546. },
  70547. scope$1$1(callback, $T) {
  70548. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  70549. },
  70550. scope$1$2$when(callback, when, $T) {
  70551. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  70552. },
  70553. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  70554. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  70555. },
  70556. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  70557. var $async$goto = 0,
  70558. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70559. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  70560. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70561. if ($async$errorCode === 1) {
  70562. $async$currentError = $async$result;
  70563. $async$goto = $async$handler;
  70564. }
  70565. while (true)
  70566. switch ($async$goto) {
  70567. case 0:
  70568. // Function start
  70569. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  70570. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  70571. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  70572. $async$goto = !when ? 3 : 4;
  70573. break;
  70574. case 3:
  70575. // then
  70576. $async$handler = 5;
  70577. $async$goto = 8;
  70578. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  70579. case 8:
  70580. // returning from await.
  70581. t1 = $async$result;
  70582. $async$returnValue = t1;
  70583. $async$next = [1];
  70584. // goto finally
  70585. $async$goto = 6;
  70586. break;
  70587. $async$next.push(7);
  70588. // goto finally
  70589. $async$goto = 6;
  70590. break;
  70591. case 5:
  70592. // uncaught
  70593. $async$next = [2];
  70594. case 6:
  70595. // finally
  70596. $async$handler = 2;
  70597. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  70598. // goto the next finally handler
  70599. $async$goto = $async$next.pop();
  70600. break;
  70601. case 7:
  70602. // after finally
  70603. case 4:
  70604. // join
  70605. t1 = $async$self._async_environment0$_variables;
  70606. t2 = type$.String;
  70607. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  70608. t3 = $async$self._async_environment0$_variableNodes;
  70609. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  70610. t4 = $async$self._async_environment0$_functions;
  70611. t5 = type$.AsyncCallable_2;
  70612. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  70613. t6 = $async$self._async_environment0$_mixins;
  70614. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  70615. t5 = $async$self._async_environment0$_nestedForwardedModules;
  70616. if (t5 != null)
  70617. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  70618. $async$handler = 9;
  70619. $async$goto = 12;
  70620. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  70621. case 12:
  70622. // returning from await.
  70623. t2 = $async$result;
  70624. $async$returnValue = t2;
  70625. $async$next = [1];
  70626. // goto finally
  70627. $async$goto = 10;
  70628. break;
  70629. $async$next.push(11);
  70630. // goto finally
  70631. $async$goto = 10;
  70632. break;
  70633. case 9:
  70634. // uncaught
  70635. $async$next = [2];
  70636. case 10:
  70637. // finally
  70638. $async$handler = 2;
  70639. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  70640. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  70641. 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();) {
  70642. $name = t1.get$current(t1);
  70643. t2.remove$1(0, $name);
  70644. }
  70645. B.JSArray_methods.removeLast$0(t3);
  70646. 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();) {
  70647. name0 = t1.get$current(t1);
  70648. t2.remove$1(0, name0);
  70649. }
  70650. 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();) {
  70651. name1 = t1.get$current(t1);
  70652. t2.remove$1(0, name1);
  70653. }
  70654. t1 = $async$self._async_environment0$_nestedForwardedModules;
  70655. if (t1 != null)
  70656. t1.pop();
  70657. // goto the next finally handler
  70658. $async$goto = $async$next.pop();
  70659. break;
  70660. case 11:
  70661. // after finally
  70662. case 1:
  70663. // return
  70664. return A._asyncReturn($async$returnValue, $async$completer);
  70665. case 2:
  70666. // rethrow
  70667. return A._asyncRethrow($async$currentError, $async$completer);
  70668. }
  70669. });
  70670. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  70671. },
  70672. toImplicitConfiguration$0() {
  70673. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  70674. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  70675. for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  70676. values = t1[i];
  70677. nodes = t2[i];
  70678. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  70679. t4 = t3.get$current(t3);
  70680. t5 = t4.key;
  70681. t4 = t4.value;
  70682. t6 = nodes.$index(0, t5);
  70683. t6.toString;
  70684. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  70685. }
  70686. }
  70687. return new A.Configuration0(configuration, null);
  70688. },
  70689. toModule$2(css, extensionStore) {
  70690. return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  70691. },
  70692. toDummyModule$0() {
  70693. 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.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  70694. },
  70695. _async_environment0$_getModule$1(namespace) {
  70696. var module = this._async_environment0$_modules.$index(0, namespace);
  70697. if (module != null)
  70698. return module;
  70699. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  70700. },
  70701. _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
  70702. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  70703. nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
  70704. if (nestedForwardedModules != null)
  70705. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70706. t3 = t1.__internal$_current;
  70707. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  70708. t5 = t3.__internal$_current;
  70709. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  70710. if (value != null)
  70711. return value;
  70712. }
  70713. }
  70714. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  70715. value = callback.call$1(t1.__js_helper$_current);
  70716. if (value != null)
  70717. return value;
  70718. }
  70719. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  70720. t4 = t2.__js_helper$_current;
  70721. valueInModule = callback.call$1(t4);
  70722. if (valueInModule == null)
  70723. continue;
  70724. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  70725. if (identityFromModule.$eq(0, identity))
  70726. continue;
  70727. if (value != null) {
  70728. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  70729. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70730. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  70731. t4 = t1.get$current(t1);
  70732. if (t4 != null)
  70733. t2.$indexSet(0, t4, t3);
  70734. }
  70735. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  70736. }
  70737. identity = identityFromModule;
  70738. value = valueInModule;
  70739. }
  70740. return value;
  70741. }
  70742. };
  70743. A.AsyncEnvironment_importForwards_closure2.prototype = {
  70744. call$1(module) {
  70745. var t1 = module.get$variables();
  70746. return t1.get$keys(t1);
  70747. },
  70748. $signature: 114
  70749. };
  70750. A.AsyncEnvironment_importForwards_closure3.prototype = {
  70751. call$1(module) {
  70752. var t1 = module.get$functions(module);
  70753. return t1.get$keys(t1);
  70754. },
  70755. $signature: 114
  70756. };
  70757. A.AsyncEnvironment_importForwards_closure4.prototype = {
  70758. call$1(module) {
  70759. var t1 = module.get$mixins();
  70760. return t1.get$keys(t1);
  70761. },
  70762. $signature: 114
  70763. };
  70764. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  70765. call$1(module) {
  70766. return module.get$variables().$index(0, this.name);
  70767. },
  70768. $signature: 306
  70769. };
  70770. A.AsyncEnvironment_setVariable_closure2.prototype = {
  70771. call$0() {
  70772. var t1 = this.$this;
  70773. t1._async_environment0$_lastVariableName = this.name;
  70774. return t1._async_environment0$_lastVariableIndex = 0;
  70775. },
  70776. $signature: 12
  70777. };
  70778. A.AsyncEnvironment_setVariable_closure3.prototype = {
  70779. call$1(module) {
  70780. return module.get$variables().containsKey$1(this.name) ? module : null;
  70781. },
  70782. $signature: 307
  70783. };
  70784. A.AsyncEnvironment_setVariable_closure4.prototype = {
  70785. call$0() {
  70786. var t1 = this.$this,
  70787. t2 = t1._async_environment0$_variableIndex$1(this.name);
  70788. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  70789. },
  70790. $signature: 12
  70791. };
  70792. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  70793. call$1(module) {
  70794. return module.get$functions(module).$index(0, this.name);
  70795. },
  70796. $signature: 188
  70797. };
  70798. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  70799. call$1(module) {
  70800. return module.get$mixins().$index(0, this.name);
  70801. },
  70802. $signature: 188
  70803. };
  70804. A.AsyncEnvironment_toModule_closure0.prototype = {
  70805. call$1(modules) {
  70806. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  70807. },
  70808. $signature: 189
  70809. };
  70810. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  70811. call$1(modules) {
  70812. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  70813. },
  70814. $signature: 189
  70815. };
  70816. A.AsyncEnvironment__fromOneModule_closure0.prototype = {
  70817. call$1(entry) {
  70818. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
  70819. },
  70820. $signature: 310
  70821. };
  70822. A.AsyncEnvironment__fromOneModule__closure0.prototype = {
  70823. call$1(_) {
  70824. return J.get$span$z(this.entry.value);
  70825. },
  70826. $signature() {
  70827. return this.T._eval$1("FileSpan(0)");
  70828. }
  70829. };
  70830. A._EnvironmentModule2.prototype = {
  70831. get$url(_) {
  70832. var t1 = this.css;
  70833. return t1.get$span(t1).file.url;
  70834. },
  70835. setVariable$3($name, value, nodeWithSpan) {
  70836. var t1, t2,
  70837. module = this._async_environment0$_modulesByVariable.$index(0, $name);
  70838. if (module != null) {
  70839. module.setVariable$3($name, value, nodeWithSpan);
  70840. return;
  70841. }
  70842. t1 = this._async_environment0$_environment;
  70843. t2 = t1._async_environment0$_variables;
  70844. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  70845. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  70846. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  70847. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  70848. return;
  70849. },
  70850. variableIdentity$1($name) {
  70851. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  70852. return module == null ? this : module.variableIdentity$1($name);
  70853. },
  70854. cloneCss$0() {
  70855. var newCssAndExtensionStore, _this = this;
  70856. if (!_this.transitivelyContainsCss)
  70857. return _this;
  70858. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  70859. return A._EnvironmentModule$_2(_this._async_environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  70860. },
  70861. toString$0(_) {
  70862. var t1 = this.css;
  70863. if (t1.get$span(t1).file.url == null)
  70864. t1 = "<unknown url>";
  70865. else {
  70866. t1 = t1.get$span(t1);
  70867. t1 = $.$get$context().prettyUri$1(t1.file.url);
  70868. }
  70869. return t1;
  70870. },
  70871. $isModule0: 1,
  70872. get$upstream() {
  70873. return this.upstream;
  70874. },
  70875. get$variables() {
  70876. return this.variables;
  70877. },
  70878. get$variableNodes() {
  70879. return this.variableNodes;
  70880. },
  70881. get$functions(receiver) {
  70882. return this.functions;
  70883. },
  70884. get$mixins() {
  70885. return this.mixins;
  70886. },
  70887. get$extensionStore() {
  70888. return this.extensionStore;
  70889. },
  70890. get$css(receiver) {
  70891. return this.css;
  70892. },
  70893. get$transitivelyContainsCss() {
  70894. return this.transitivelyContainsCss;
  70895. },
  70896. get$transitivelyContainsExtensions() {
  70897. return this.transitivelyContainsExtensions;
  70898. }
  70899. };
  70900. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  70901. call$1(module) {
  70902. return module.get$variables();
  70903. },
  70904. $signature: 311
  70905. };
  70906. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  70907. call$1(module) {
  70908. return module.get$variableNodes();
  70909. },
  70910. $signature: 312
  70911. };
  70912. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  70913. call$1(module) {
  70914. return module.get$functions(module);
  70915. },
  70916. $signature: 190
  70917. };
  70918. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  70919. call$1(module) {
  70920. return module.get$mixins();
  70921. },
  70922. $signature: 190
  70923. };
  70924. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  70925. call$1(module) {
  70926. return module.get$transitivelyContainsCss();
  70927. },
  70928. $signature: 102
  70929. };
  70930. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  70931. call$1(module) {
  70932. return module.get$transitivelyContainsExtensions();
  70933. },
  70934. $signature: 102
  70935. };
  70936. A._EvaluateVisitor2.prototype = {
  70937. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  70938. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  70939. _s20_ = "$name, $module: null",
  70940. _s9_ = "sass:meta",
  70941. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  70942. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure35(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure36(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure37(_this))], t1),
  70943. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
  70944. t1 = type$.AsyncBuiltInCallable_2;
  70945. t2 = A.List_List$of($.$get$global6(), true, t1);
  70946. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  70947. B.JSArray_methods.addAll$1(t2, metaFunctions);
  70948. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  70949. 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) {
  70950. module = t1[_i];
  70951. t3.$indexSet(0, module.url, module);
  70952. }
  70953. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  70954. B.JSArray_methods.addAll$1(t1, functions);
  70955. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  70956. B.JSArray_methods.addAll$1(t1, metaFunctions);
  70957. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  70958. $function = t1[_i];
  70959. t4 = J.get$name$x($function);
  70960. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  70961. }
  70962. },
  70963. run$2(_, importer, node) {
  70964. return this.run$body$_EvaluateVisitor0(0, importer, node);
  70965. },
  70966. run$body$_EvaluateVisitor0(_, importer, node) {
  70967. var $async$goto = 0,
  70968. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  70969. $async$returnValue, $async$self = this, t1;
  70970. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70971. if ($async$errorCode === 1)
  70972. return A._asyncRethrow($async$result, $async$completer);
  70973. while (true)
  70974. switch ($async$goto) {
  70975. case 0:
  70976. // Function start
  70977. t1 = type$.nullable_Object;
  70978. $async$returnValue = 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_EvaluateResult_2);
  70979. // goto return
  70980. $async$goto = 1;
  70981. break;
  70982. case 1:
  70983. // return
  70984. return A._asyncReturn($async$returnValue, $async$completer);
  70985. }
  70986. });
  70987. return A._asyncStartSync($async$run$2, $async$completer);
  70988. },
  70989. _async_evaluate0$_assertInModule$1$2(value, $name) {
  70990. if (value != null)
  70991. return value;
  70992. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  70993. },
  70994. _async_evaluate0$_assertInModule$2(value, $name) {
  70995. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  70996. },
  70997. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  70998. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  70999. },
  71000. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  71001. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  71002. },
  71003. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  71004. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  71005. },
  71006. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71007. var $async$goto = 0,
  71008. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71009. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  71010. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71011. if ($async$errorCode === 1)
  71012. return A._asyncRethrow($async$result, $async$completer);
  71013. while (true)
  71014. switch ($async$goto) {
  71015. case 0:
  71016. // Function start
  71017. builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  71018. $async$goto = builtInModule != null ? 3 : 4;
  71019. break;
  71020. case 3:
  71021. // then
  71022. if (configuration instanceof A.ExplicitConfiguration0) {
  71023. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  71024. t2 = configuration.nodeWithSpan;
  71025. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  71026. }
  71027. $async$goto = 5;
  71028. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(callback, builtInModule), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  71029. case 5:
  71030. // returning from await.
  71031. // goto return
  71032. $async$goto = 1;
  71033. break;
  71034. case 4:
  71035. // join
  71036. $async$goto = 6;
  71037. 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);
  71038. case 6:
  71039. // returning from await.
  71040. case 1:
  71041. // return
  71042. return A._asyncReturn($async$returnValue, $async$completer);
  71043. }
  71044. });
  71045. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  71046. },
  71047. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71048. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  71049. },
  71050. _async_evaluate0$_execute$2(importer, stylesheet) {
  71051. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  71052. },
  71053. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71054. var $async$goto = 0,
  71055. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  71056. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
  71057. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71058. if ($async$errorCode === 1)
  71059. return A._asyncRethrow($async$result, $async$completer);
  71060. while (true)
  71061. switch ($async$goto) {
  71062. case 0:
  71063. // Function start
  71064. url = stylesheet.span.file.url;
  71065. t1 = $async$self._async_evaluate0$_modules;
  71066. alreadyLoaded = t1.$index(0, url);
  71067. if (alreadyLoaded != null) {
  71068. t1 = configuration == null;
  71069. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  71070. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  71071. t3 = t2._configuration$__originalConfiguration;
  71072. t2 = t3 == null ? t2 : t3;
  71073. t3 = currentConfiguration._configuration$__originalConfiguration;
  71074. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  71075. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  71076. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  71077. existingSpan = t2 == null ? null : J.get$span$z(t2);
  71078. if (t1) {
  71079. t1 = currentConfiguration.nodeWithSpan;
  71080. configurationSpan = t1.get$span(t1);
  71081. } else
  71082. configurationSpan = null;
  71083. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71084. if (existingSpan != null)
  71085. t1.$indexSet(0, existingSpan, "original load");
  71086. if (configurationSpan != null)
  71087. t1.$indexSet(0, configurationSpan, "configuration");
  71088. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  71089. }
  71090. $async$returnValue = alreadyLoaded;
  71091. // goto return
  71092. $async$goto = 1;
  71093. break;
  71094. }
  71095. environment = A.AsyncEnvironment$0();
  71096. css = A._Cell$();
  71097. extensionStore = A.ExtensionStore$0();
  71098. $async$goto = 3;
  71099. return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
  71100. case 3:
  71101. // returning from await.
  71102. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  71103. if (url != null) {
  71104. t1.$indexSet(0, url, module);
  71105. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  71106. if (nodeWithSpan != null)
  71107. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  71108. }
  71109. $async$returnValue = module;
  71110. // goto return
  71111. $async$goto = 1;
  71112. break;
  71113. case 1:
  71114. // return
  71115. return A._asyncReturn($async$returnValue, $async$completer);
  71116. }
  71117. });
  71118. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  71119. },
  71120. _async_evaluate0$_addOutOfOrderImports$0() {
  71121. var t1, t2, _this = this, _s5_ = "_root",
  71122. _s13_ = "_endOfImports",
  71123. outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
  71124. if (outOfOrderImports == null)
  71125. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71126. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71127. 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("ListMixin.E")), true, type$.ModifiableCssNode_2);
  71128. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  71129. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  71130. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  71131. return t1;
  71132. },
  71133. _async_evaluate0$_combineCss$2$clone(root, clone) {
  71134. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  71135. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
  71136. selectors = root.get$extensionStore().get$simpleSelectors();
  71137. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
  71138. if (unsatisfiedExtension != null)
  71139. _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  71140. return root.get$css(root);
  71141. }
  71142. sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
  71143. if (clone) {
  71144. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
  71145. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
  71146. }
  71147. _this._async_evaluate0$_extendModules$1(sortedModules);
  71148. t1 = type$.JSArray_CssNode_2;
  71149. imports = A._setArrayType([], t1);
  71150. css = A._setArrayType([], t1);
  71151. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  71152. t3 = t1.__internal$_current;
  71153. if (t3 == null)
  71154. t3 = t2._as(t3);
  71155. t3 = t3.get$css(t3);
  71156. statements = t3.get$children(t3);
  71157. index = _this._async_evaluate0$_indexAfterImports$1(statements);
  71158. t3 = J.getInterceptor$ax(statements);
  71159. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  71160. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  71161. }
  71162. t1 = B.JSArray_methods.$add(imports, css);
  71163. t2 = root.get$css(root);
  71164. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  71165. },
  71166. _async_evaluate0$_combineCss$1(root) {
  71167. return this._async_evaluate0$_combineCss$2$clone(root, false);
  71168. },
  71169. _async_evaluate0$_extendModules$1(sortedModules) {
  71170. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  71171. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  71172. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  71173. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  71174. t2 = t1.get$current(t1);
  71175. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  71176. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  71177. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  71178. t3 = t2.get$extensionStore().get$addExtensions();
  71179. if ($self != null)
  71180. t3.call$1($self);
  71181. t3 = t2.get$extensionStore();
  71182. if (t3.get$isEmpty(t3))
  71183. continue;
  71184. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  71185. upstream = t3[_i];
  71186. url = upstream.get$url(upstream);
  71187. if (url == null)
  71188. continue;
  71189. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
  71190. }
  71191. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  71192. }
  71193. if (unsatisfiedExtensions._collection$_length !== 0)
  71194. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  71195. },
  71196. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  71197. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  71198. },
  71199. _async_evaluate0$_topologicalModules$1(root) {
  71200. var t1 = type$.Module_AsyncCallable_2,
  71201. sorted = A.QueueList$(null, t1);
  71202. new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  71203. return sorted;
  71204. },
  71205. _async_evaluate0$_indexAfterImports$1(statements) {
  71206. var t1, t2, t3, lastImport, i, statement;
  71207. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  71208. statement = t1.$index(statements, i);
  71209. if (t3._is(statement))
  71210. lastImport = i;
  71211. else if (!t2._is(statement))
  71212. break;
  71213. }
  71214. return lastImport + 1;
  71215. },
  71216. visitStylesheet$1(node) {
  71217. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  71218. },
  71219. visitStylesheet$body$_EvaluateVisitor0(node) {
  71220. var $async$goto = 0,
  71221. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71222. $async$returnValue, $async$self = this, t1, t2, _i;
  71223. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71224. if ($async$errorCode === 1)
  71225. return A._asyncRethrow($async$result, $async$completer);
  71226. while (true)
  71227. switch ($async$goto) {
  71228. case 0:
  71229. // Function start
  71230. t1 = node.children, t2 = t1.length, _i = 0;
  71231. case 3:
  71232. // for condition
  71233. if (!(_i < t2)) {
  71234. // goto after for
  71235. $async$goto = 5;
  71236. break;
  71237. }
  71238. $async$goto = 6;
  71239. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  71240. case 6:
  71241. // returning from await.
  71242. case 4:
  71243. // for update
  71244. ++_i;
  71245. // goto for condition
  71246. $async$goto = 3;
  71247. break;
  71248. case 5:
  71249. // after for
  71250. $async$returnValue = null;
  71251. // goto return
  71252. $async$goto = 1;
  71253. break;
  71254. case 1:
  71255. // return
  71256. return A._asyncReturn($async$returnValue, $async$completer);
  71257. }
  71258. });
  71259. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  71260. },
  71261. visitAtRootRule$1(node) {
  71262. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  71263. },
  71264. visitAtRootRule$body$_EvaluateVisitor0(node) {
  71265. var $async$goto = 0,
  71266. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71267. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1;
  71268. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71269. if ($async$errorCode === 1)
  71270. return A._asyncRethrow($async$result, $async$completer);
  71271. while (true)
  71272. switch ($async$goto) {
  71273. case 0:
  71274. // Function start
  71275. unparsedQuery = node.query;
  71276. $async$goto = unparsedQuery != null ? 3 : 5;
  71277. break;
  71278. case 3:
  71279. // then
  71280. $async$temp1 = A;
  71281. $async$goto = 6;
  71282. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  71283. case 6:
  71284. // returning from await.
  71285. $async$result = $async$temp1.AtRootQueryParser$0($async$result.item1, $async$self._async_evaluate0$_logger, null).parse$0();
  71286. // goto join
  71287. $async$goto = 4;
  71288. break;
  71289. case 5:
  71290. // else
  71291. $async$result = B.AtRootQuery_UsS0;
  71292. case 4:
  71293. // join
  71294. query = $async$result;
  71295. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  71296. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  71297. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  71298. if (!query.excludes$1($parent))
  71299. included.push($parent);
  71300. grandparent = $parent._node0$_parent;
  71301. if (grandparent == null)
  71302. throw A.wrapException(A.StateError$(string$.CssNod));
  71303. }
  71304. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  71305. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  71306. break;
  71307. case 7:
  71308. // then
  71309. $async$goto = 9;
  71310. 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);
  71311. case 9:
  71312. // returning from await.
  71313. $async$returnValue = null;
  71314. // goto return
  71315. $async$goto = 1;
  71316. break;
  71317. case 8:
  71318. // join
  71319. if (included.length !== 0) {
  71320. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  71321. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  71322. t3 = t1.__internal$_current;
  71323. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  71324. copy.addChild$1(outerCopy);
  71325. }
  71326. root.addChild$1(outerCopy);
  71327. } else
  71328. innerCopy = root;
  71329. $async$goto = 10;
  71330. 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);
  71331. case 10:
  71332. // returning from await.
  71333. $async$returnValue = null;
  71334. // goto return
  71335. $async$goto = 1;
  71336. break;
  71337. case 1:
  71338. // return
  71339. return A._asyncReturn($async$returnValue, $async$completer);
  71340. }
  71341. });
  71342. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  71343. },
  71344. _async_evaluate0$_trimIncluded$1(nodes) {
  71345. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  71346. _s22_ = " to be an ancestor of ";
  71347. if (nodes.length === 0)
  71348. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  71349. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  71350. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  71351. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  71352. grandparent = $parent._node0$_parent;
  71353. if (grandparent == null)
  71354. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71355. }
  71356. if (innermostContiguous == null)
  71357. innermostContiguous = i;
  71358. grandparent = $parent._node0$_parent;
  71359. if (grandparent == null)
  71360. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71361. }
  71362. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  71363. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  71364. innermostContiguous.toString;
  71365. root = nodes[innermostContiguous];
  71366. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  71367. return root;
  71368. },
  71369. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  71370. var _this = this,
  71371. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  71372. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  71373. if (t1 !== query.include)
  71374. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  71375. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  71376. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  71377. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  71378. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  71379. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  71380. },
  71381. visitContentBlock$1(node) {
  71382. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  71383. },
  71384. visitContentRule$1(node) {
  71385. return this.visitContentRule$body$_EvaluateVisitor0(node);
  71386. },
  71387. visitContentRule$body$_EvaluateVisitor0(node) {
  71388. var $async$goto = 0,
  71389. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71390. $async$returnValue, $async$self = this, $content;
  71391. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71392. if ($async$errorCode === 1)
  71393. return A._asyncRethrow($async$result, $async$completer);
  71394. while (true)
  71395. switch ($async$goto) {
  71396. case 0:
  71397. // Function start
  71398. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  71399. if ($content == null) {
  71400. $async$returnValue = null;
  71401. // goto return
  71402. $async$goto = 1;
  71403. break;
  71404. }
  71405. $async$goto = 3;
  71406. 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);
  71407. case 3:
  71408. // returning from await.
  71409. $async$returnValue = null;
  71410. // goto return
  71411. $async$goto = 1;
  71412. break;
  71413. case 1:
  71414. // return
  71415. return A._asyncReturn($async$returnValue, $async$completer);
  71416. }
  71417. });
  71418. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  71419. },
  71420. visitDebugRule$1(node) {
  71421. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  71422. },
  71423. visitDebugRule$body$_EvaluateVisitor0(node) {
  71424. var $async$goto = 0,
  71425. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71426. $async$returnValue, $async$self = this, value, t1;
  71427. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71428. if ($async$errorCode === 1)
  71429. return A._asyncRethrow($async$result, $async$completer);
  71430. while (true)
  71431. switch ($async$goto) {
  71432. case 0:
  71433. // Function start
  71434. $async$goto = 3;
  71435. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  71436. case 3:
  71437. // returning from await.
  71438. value = $async$result;
  71439. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  71440. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  71441. $async$returnValue = null;
  71442. // goto return
  71443. $async$goto = 1;
  71444. break;
  71445. case 1:
  71446. // return
  71447. return A._asyncReturn($async$returnValue, $async$completer);
  71448. }
  71449. });
  71450. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  71451. },
  71452. visitDeclaration$1(node) {
  71453. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  71454. },
  71455. visitDeclaration$body$_EvaluateVisitor0(node) {
  71456. var $async$goto = 0,
  71457. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71458. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  71459. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71460. if ($async$errorCode === 1)
  71461. return A._asyncRethrow($async$result, $async$completer);
  71462. while (true)
  71463. switch ($async$goto) {
  71464. case 0:
  71465. // Function start
  71466. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  71467. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  71468. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  71469. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  71470. t1 = node.name;
  71471. $async$goto = 3;
  71472. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  71473. case 3:
  71474. // returning from await.
  71475. $name = $async$result;
  71476. t2 = $async$self._async_evaluate0$_declarationName;
  71477. if (t2 != null)
  71478. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  71479. t2 = node.value;
  71480. $async$goto = 4;
  71481. return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
  71482. case 4:
  71483. // returning from await.
  71484. cssValue = $async$result;
  71485. t3 = cssValue != null;
  71486. if (t3) {
  71487. t4 = cssValue.value;
  71488. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  71489. } else
  71490. t4 = false;
  71491. if (t4) {
  71492. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  71493. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  71494. if ($async$self._async_evaluate0$_sourceMap) {
  71495. t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
  71496. t2 = t2 == null ? null : J.get$span$z(t2);
  71497. } else
  71498. t2 = null;
  71499. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  71500. } else if (J.startsWith$1$s($name.value, "--") && t3)
  71501. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.span));
  71502. children = node.children;
  71503. $async$goto = children != null ? 5 : 6;
  71504. break;
  71505. case 5:
  71506. // then
  71507. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  71508. $async$self._async_evaluate0$_declarationName = $name.value;
  71509. $async$goto = 7;
  71510. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure6($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  71511. case 7:
  71512. // returning from await.
  71513. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  71514. case 6:
  71515. // join
  71516. $async$returnValue = null;
  71517. // goto return
  71518. $async$goto = 1;
  71519. break;
  71520. case 1:
  71521. // return
  71522. return A._asyncReturn($async$returnValue, $async$completer);
  71523. }
  71524. });
  71525. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  71526. },
  71527. visitEachRule$1(node) {
  71528. return this.visitEachRule$body$_EvaluateVisitor0(node);
  71529. },
  71530. visitEachRule$body$_EvaluateVisitor0(node) {
  71531. var $async$goto = 0,
  71532. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71533. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  71534. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71535. if ($async$errorCode === 1)
  71536. return A._asyncRethrow($async$result, $async$completer);
  71537. while (true)
  71538. switch ($async$goto) {
  71539. case 0:
  71540. // Function start
  71541. t1 = node.list;
  71542. $async$goto = 3;
  71543. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  71544. case 3:
  71545. // returning from await.
  71546. list = $async$result;
  71547. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  71548. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
  71549. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, setVariables, node), true, type$.nullable_Value_2);
  71550. // goto return
  71551. $async$goto = 1;
  71552. break;
  71553. case 1:
  71554. // return
  71555. return A._asyncReturn($async$returnValue, $async$completer);
  71556. }
  71557. });
  71558. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  71559. },
  71560. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  71561. var i,
  71562. list = value.get$asList(),
  71563. t1 = variables.length,
  71564. minLength = Math.min(t1, list.length);
  71565. for (i = 0; i < minLength; ++i)
  71566. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  71567. for (i = minLength; i < t1; ++i)
  71568. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  71569. },
  71570. visitErrorRule$1(node) {
  71571. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  71572. },
  71573. visitErrorRule$body$_EvaluateVisitor0(node) {
  71574. var $async$goto = 0,
  71575. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71576. $async$self = this, $async$temp1, $async$temp2;
  71577. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71578. if ($async$errorCode === 1)
  71579. return A._asyncRethrow($async$result, $async$completer);
  71580. while (true)
  71581. switch ($async$goto) {
  71582. case 0:
  71583. // Function start
  71584. $async$temp1 = A;
  71585. $async$temp2 = J;
  71586. $async$goto = 2;
  71587. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  71588. case 2:
  71589. // returning from await.
  71590. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  71591. // implicit return
  71592. return A._asyncReturn(null, $async$completer);
  71593. }
  71594. });
  71595. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  71596. },
  71597. visitExtendRule$1(node) {
  71598. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  71599. },
  71600. visitExtendRule$body$_EvaluateVisitor0(node) {
  71601. var $async$goto = 0,
  71602. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71603. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, targetText, targetMap, compound, styleRule;
  71604. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71605. if ($async$errorCode === 1)
  71606. return A._asyncRethrow($async$result, $async$completer);
  71607. while (true)
  71608. switch ($async$goto) {
  71609. case 0:
  71610. // Function start
  71611. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  71612. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  71613. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  71614. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  71615. complex = t1[_i];
  71616. if (!complex.accept$1(B._IsBogusVisitor_true0))
  71617. continue;
  71618. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  71619. complex.accept$1(visitor);
  71620. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  71621. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  71622. $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_XV6);
  71623. }
  71624. $async$goto = 3;
  71625. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  71626. case 3:
  71627. // returning from await.
  71628. tuple = $async$result;
  71629. targetText = tuple.item1;
  71630. targetMap = tuple.item2;
  71631. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, true, targetMap, $async$self._async_evaluate0$_logger).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  71632. complex = t1[_i];
  71633. if (complex.leadingCombinators.length === 0) {
  71634. t4 = complex.components;
  71635. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  71636. } else
  71637. t4 = false;
  71638. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  71639. if (compound == null)
  71640. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span));
  71641. t4 = compound.components;
  71642. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  71643. if (t5 == null)
  71644. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span));
  71645. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  71646. }
  71647. $async$returnValue = null;
  71648. // goto return
  71649. $async$goto = 1;
  71650. break;
  71651. case 1:
  71652. // return
  71653. return A._asyncReturn($async$returnValue, $async$completer);
  71654. }
  71655. });
  71656. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  71657. },
  71658. visitAtRule$1(node) {
  71659. return this.visitAtRule$body$_EvaluateVisitor0(node);
  71660. },
  71661. visitAtRule$body$_EvaluateVisitor0(node) {
  71662. var $async$goto = 0,
  71663. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71664. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  71665. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71666. if ($async$errorCode === 1)
  71667. return A._asyncRethrow($async$result, $async$completer);
  71668. while (true)
  71669. switch ($async$goto) {
  71670. case 0:
  71671. // Function start
  71672. if ($async$self._async_evaluate0$_declarationName != null)
  71673. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  71674. $async$goto = 3;
  71675. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  71676. case 3:
  71677. // returning from await.
  71678. $name = $async$result;
  71679. $async$goto = 4;
  71680. return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
  71681. case 4:
  71682. // returning from await.
  71683. value = $async$result;
  71684. children = node.children;
  71685. if (children == null) {
  71686. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  71687. $async$returnValue = null;
  71688. // goto return
  71689. $async$goto = 1;
  71690. break;
  71691. }
  71692. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  71693. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  71694. if (A.unvendor0($name.value) === "keyframes")
  71695. $async$self._async_evaluate0$_inKeyframes = true;
  71696. else
  71697. $async$self._async_evaluate0$_inUnknownAtRule = true;
  71698. $async$goto = 5;
  71699. 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);
  71700. case 5:
  71701. // returning from await.
  71702. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  71703. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  71704. $async$returnValue = null;
  71705. // goto return
  71706. $async$goto = 1;
  71707. break;
  71708. case 1:
  71709. // return
  71710. return A._asyncReturn($async$returnValue, $async$completer);
  71711. }
  71712. });
  71713. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  71714. },
  71715. visitForRule$1(node) {
  71716. return this.visitForRule$body$_EvaluateVisitor0(node);
  71717. },
  71718. visitForRule$body$_EvaluateVisitor0(node) {
  71719. var $async$goto = 0,
  71720. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71721. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  71722. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71723. if ($async$errorCode === 1)
  71724. return A._asyncRethrow($async$result, $async$completer);
  71725. while (true)
  71726. switch ($async$goto) {
  71727. case 0:
  71728. // Function start
  71729. t1 = {};
  71730. t2 = node.from;
  71731. t3 = type$.SassNumber_2;
  71732. $async$goto = 3;
  71733. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  71734. case 3:
  71735. // returning from await.
  71736. fromNumber = $async$result;
  71737. t4 = node.to;
  71738. $async$goto = 4;
  71739. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  71740. case 4:
  71741. // returning from await.
  71742. toNumber = $async$result;
  71743. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  71744. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  71745. direction = from > to ? -1 : 1;
  71746. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  71747. $async$returnValue = null;
  71748. // goto return
  71749. $async$goto = 1;
  71750. break;
  71751. }
  71752. $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);
  71753. // goto return
  71754. $async$goto = 1;
  71755. break;
  71756. case 1:
  71757. // return
  71758. return A._asyncReturn($async$returnValue, $async$completer);
  71759. }
  71760. });
  71761. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  71762. },
  71763. visitForwardRule$1(node) {
  71764. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  71765. },
  71766. visitForwardRule$body$_EvaluateVisitor0(node) {
  71767. var $async$goto = 0,
  71768. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71769. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  71770. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71771. if ($async$errorCode === 1)
  71772. return A._asyncRethrow($async$result, $async$completer);
  71773. while (true)
  71774. switch ($async$goto) {
  71775. case 0:
  71776. // Function start
  71777. oldConfiguration = $async$self._async_evaluate0$_configuration;
  71778. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  71779. t1 = node.configuration;
  71780. t2 = t1.length;
  71781. t3 = node.url;
  71782. $async$goto = t2 !== 0 ? 3 : 5;
  71783. break;
  71784. case 3:
  71785. // then
  71786. $async$goto = 6;
  71787. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  71788. case 6:
  71789. // returning from await.
  71790. newConfiguration = $async$result;
  71791. $async$goto = 7;
  71792. 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);
  71793. case 7:
  71794. // returning from await.
  71795. t3 = type$.String;
  71796. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  71797. for (_i = 0; _i < t2; ++_i) {
  71798. variable = t1[_i];
  71799. if (!variable.isGuarded)
  71800. t4.add$1(0, variable.name);
  71801. }
  71802. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  71803. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  71804. for (_i = 0; _i < t2; ++_i)
  71805. t3.add$1(0, t1[_i].name);
  71806. 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) {
  71807. $name = t2[_i];
  71808. if (!t3.contains$1(0, $name))
  71809. if (!t1.get$isEmpty(t1))
  71810. t1.remove$1(0, $name);
  71811. }
  71812. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  71813. // goto join
  71814. $async$goto = 4;
  71815. break;
  71816. case 5:
  71817. // else
  71818. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  71819. $async$goto = 8;
  71820. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  71821. case 8:
  71822. // returning from await.
  71823. $async$self._async_evaluate0$_configuration = oldConfiguration;
  71824. case 4:
  71825. // join
  71826. $async$returnValue = null;
  71827. // goto return
  71828. $async$goto = 1;
  71829. break;
  71830. case 1:
  71831. // return
  71832. return A._asyncReturn($async$returnValue, $async$completer);
  71833. }
  71834. });
  71835. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  71836. },
  71837. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  71838. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  71839. },
  71840. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  71841. var $async$goto = 0,
  71842. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  71843. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  71844. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71845. if ($async$errorCode === 1)
  71846. return A._asyncRethrow($async$result, $async$completer);
  71847. while (true)
  71848. switch ($async$goto) {
  71849. case 0:
  71850. // Function start
  71851. t1 = configuration._configuration$_values;
  71852. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  71853. t2 = node.configuration, t3 = t2.length, _i = 0;
  71854. case 3:
  71855. // for condition
  71856. if (!(_i < t3)) {
  71857. // goto after for
  71858. $async$goto = 5;
  71859. break;
  71860. }
  71861. variable = t2[_i];
  71862. if (variable.isGuarded) {
  71863. t4 = variable.name;
  71864. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  71865. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  71866. newValues.$indexSet(0, t4, t5);
  71867. // goto for update
  71868. $async$goto = 4;
  71869. break;
  71870. }
  71871. }
  71872. t4 = variable.expression;
  71873. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
  71874. $async$temp1 = newValues;
  71875. $async$temp2 = variable.name;
  71876. $async$temp3 = A;
  71877. $async$goto = 6;
  71878. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
  71879. case 6:
  71880. // returning from await.
  71881. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  71882. case 4:
  71883. // for update
  71884. ++_i;
  71885. // goto for condition
  71886. $async$goto = 3;
  71887. break;
  71888. case 5:
  71889. // after for
  71890. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  71891. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  71892. // goto return
  71893. $async$goto = 1;
  71894. break;
  71895. } else {
  71896. $async$returnValue = new A.Configuration0(newValues, null);
  71897. // goto return
  71898. $async$goto = 1;
  71899. break;
  71900. }
  71901. case 1:
  71902. // return
  71903. return A._asyncReturn($async$returnValue, $async$completer);
  71904. }
  71905. });
  71906. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  71907. },
  71908. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  71909. var t1, t2, t3, t4, _i, $name;
  71910. 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) {
  71911. $name = t2[_i];
  71912. if (except.contains$1(0, $name))
  71913. continue;
  71914. if (!t4.containsKey$1($name))
  71915. if (!t1.get$isEmpty(t1))
  71916. t1.remove$1(0, $name);
  71917. }
  71918. },
  71919. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  71920. var t1, entry;
  71921. if (!(configuration instanceof A.ExplicitConfiguration0))
  71922. return;
  71923. t1 = configuration._configuration$_values;
  71924. if (t1.get$isEmpty(t1))
  71925. return;
  71926. t1 = t1.get$entries(t1);
  71927. entry = t1.get$first(t1);
  71928. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  71929. throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
  71930. },
  71931. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  71932. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  71933. },
  71934. visitFunctionRule$1(node) {
  71935. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  71936. },
  71937. visitFunctionRule$body$_EvaluateVisitor0(node) {
  71938. var $async$goto = 0,
  71939. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71940. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  71941. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71942. if ($async$errorCode === 1)
  71943. return A._asyncRethrow($async$result, $async$completer);
  71944. while (true)
  71945. switch ($async$goto) {
  71946. case 0:
  71947. // Function start
  71948. t1 = $async$self._async_evaluate0$_environment;
  71949. t2 = t1.closure$0();
  71950. t3 = $async$self._async_evaluate0$_inDependency;
  71951. t4 = t1._async_environment0$_functions;
  71952. index = t4.length - 1;
  71953. t5 = node.name;
  71954. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  71955. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  71956. $async$returnValue = null;
  71957. // goto return
  71958. $async$goto = 1;
  71959. break;
  71960. case 1:
  71961. // return
  71962. return A._asyncReturn($async$returnValue, $async$completer);
  71963. }
  71964. });
  71965. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  71966. },
  71967. visitIfRule$1(node) {
  71968. return this.visitIfRule$body$_EvaluateVisitor0(node);
  71969. },
  71970. visitIfRule$body$_EvaluateVisitor0(node) {
  71971. var $async$goto = 0,
  71972. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71973. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  71974. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71975. if ($async$errorCode === 1)
  71976. return A._asyncRethrow($async$result, $async$completer);
  71977. while (true)
  71978. switch ($async$goto) {
  71979. case 0:
  71980. // Function start
  71981. _box_0 = {};
  71982. _box_0.clause = node.lastClause;
  71983. t1 = node.clauses, t2 = t1.length, _i = 0;
  71984. case 3:
  71985. // for condition
  71986. if (!(_i < t2)) {
  71987. // goto after for
  71988. $async$goto = 5;
  71989. break;
  71990. }
  71991. clauseToCheck = t1[_i];
  71992. $async$goto = 6;
  71993. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  71994. case 6:
  71995. // returning from await.
  71996. if ($async$result.get$isTruthy()) {
  71997. _box_0.clause = clauseToCheck;
  71998. // goto after for
  71999. $async$goto = 5;
  72000. break;
  72001. }
  72002. case 4:
  72003. // for update
  72004. ++_i;
  72005. // goto for condition
  72006. $async$goto = 3;
  72007. break;
  72008. case 5:
  72009. // after for
  72010. t1 = _box_0.clause;
  72011. if (t1 == null) {
  72012. $async$returnValue = null;
  72013. // goto return
  72014. $async$goto = 1;
  72015. break;
  72016. }
  72017. $async$goto = 7;
  72018. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure2(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value_2), $async$visitIfRule$1);
  72019. case 7:
  72020. // returning from await.
  72021. $async$returnValue = $async$result;
  72022. // goto return
  72023. $async$goto = 1;
  72024. break;
  72025. case 1:
  72026. // return
  72027. return A._asyncReturn($async$returnValue, $async$completer);
  72028. }
  72029. });
  72030. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  72031. },
  72032. visitImportRule$1(node) {
  72033. return this.visitImportRule$body$_EvaluateVisitor0(node);
  72034. },
  72035. visitImportRule$body$_EvaluateVisitor0(node) {
  72036. var $async$goto = 0,
  72037. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72038. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  72039. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72040. if ($async$errorCode === 1)
  72041. return A._asyncRethrow($async$result, $async$completer);
  72042. while (true)
  72043. switch ($async$goto) {
  72044. case 0:
  72045. // Function start
  72046. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  72047. case 3:
  72048. // for condition
  72049. if (!(_i < t2)) {
  72050. // goto after for
  72051. $async$goto = 5;
  72052. break;
  72053. }
  72054. $import = t1[_i];
  72055. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  72056. break;
  72057. case 6:
  72058. // then
  72059. $async$goto = 9;
  72060. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  72061. case 9:
  72062. // returning from await.
  72063. // goto join
  72064. $async$goto = 7;
  72065. break;
  72066. case 8:
  72067. // else
  72068. $async$goto = 10;
  72069. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  72070. case 10:
  72071. // returning from await.
  72072. case 7:
  72073. // join
  72074. case 4:
  72075. // for update
  72076. ++_i;
  72077. // goto for condition
  72078. $async$goto = 3;
  72079. break;
  72080. case 5:
  72081. // after for
  72082. $async$returnValue = null;
  72083. // goto return
  72084. $async$goto = 1;
  72085. break;
  72086. case 1:
  72087. // return
  72088. return A._asyncReturn($async$returnValue, $async$completer);
  72089. }
  72090. });
  72091. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  72092. },
  72093. _async_evaluate0$_visitDynamicImport$1($import) {
  72094. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  72095. },
  72096. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  72097. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  72098. },
  72099. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  72100. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  72101. },
  72102. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  72103. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  72104. },
  72105. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  72106. var $async$goto = 0,
  72107. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
  72108. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  72109. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72110. if ($async$errorCode === 1) {
  72111. $async$currentError = $async$result;
  72112. $async$goto = $async$handler;
  72113. }
  72114. while (true)
  72115. switch ($async$goto) {
  72116. case 0:
  72117. // Function start
  72118. baseUrl = baseUrl;
  72119. $async$handler = 4;
  72120. $async$self._async_evaluate0$_importSpan = span;
  72121. importCache = $async$self._async_evaluate0$_importCache;
  72122. $async$goto = importCache != null ? 7 : 9;
  72123. break;
  72124. case 7:
  72125. // then
  72126. if (baseUrl == null)
  72127. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  72128. $async$goto = 10;
  72129. 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);
  72130. case 10:
  72131. // returning from await.
  72132. tuple = $async$result;
  72133. $async$goto = tuple != null ? 11 : 12;
  72134. break;
  72135. case 11:
  72136. // then
  72137. isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
  72138. t1 = tuple.item1;
  72139. t2 = tuple.item2;
  72140. t3 = tuple.item3;
  72141. t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
  72142. $async$goto = 13;
  72143. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  72144. case 13:
  72145. // returning from await.
  72146. stylesheet = $async$result;
  72147. if (stylesheet != null) {
  72148. $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
  72149. t1 = tuple.item1;
  72150. $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
  72151. $async$next = [1];
  72152. // goto finally
  72153. $async$goto = 5;
  72154. break;
  72155. }
  72156. case 12:
  72157. // join
  72158. // goto join
  72159. $async$goto = 8;
  72160. break;
  72161. case 9:
  72162. // else
  72163. t1 = baseUrl;
  72164. $async$goto = 14;
  72165. 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);
  72166. case 14:
  72167. // returning from await.
  72168. result = $async$result;
  72169. if (result != null) {
  72170. t1 = $async$self._async_evaluate0$_loadedUrls;
  72171. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  72172. $async$returnValue = result;
  72173. $async$next = [1];
  72174. // goto finally
  72175. $async$goto = 5;
  72176. break;
  72177. }
  72178. case 8:
  72179. // join
  72180. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  72181. throw A.wrapException(string$.x22packa);
  72182. else
  72183. throw A.wrapException("Can't find stylesheet to import.");
  72184. $async$next.push(6);
  72185. // goto finally
  72186. $async$goto = 5;
  72187. break;
  72188. case 4:
  72189. // catch
  72190. $async$handler = 3;
  72191. $async$exception = $async$currentError;
  72192. t1 = A.unwrapException($async$exception);
  72193. if (t1 instanceof A.SassException0)
  72194. throw $async$exception;
  72195. else if (t1 instanceof A.ArgumentError) {
  72196. error = t1;
  72197. stackTrace = A.getTraceFromException($async$exception);
  72198. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), stackTrace);
  72199. } else {
  72200. error0 = t1;
  72201. stackTrace0 = A.getTraceFromException($async$exception);
  72202. message = null;
  72203. try {
  72204. message = A._asString(J.get$message$x(error0));
  72205. } catch (exception) {
  72206. message0 = J.toString$0$(error0);
  72207. message = message0;
  72208. }
  72209. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
  72210. }
  72211. $async$next.push(6);
  72212. // goto finally
  72213. $async$goto = 5;
  72214. break;
  72215. case 3:
  72216. // uncaught
  72217. $async$next = [2];
  72218. case 5:
  72219. // finally
  72220. $async$handler = 2;
  72221. $async$self._async_evaluate0$_importSpan = null;
  72222. // goto the next finally handler
  72223. $async$goto = $async$next.pop();
  72224. break;
  72225. case 6:
  72226. // after finally
  72227. case 1:
  72228. // return
  72229. return A._asyncReturn($async$returnValue, $async$completer);
  72230. case 2:
  72231. // rethrow
  72232. return A._asyncRethrow($async$currentError, $async$completer);
  72233. }
  72234. });
  72235. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  72236. },
  72237. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  72238. return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
  72239. },
  72240. _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
  72241. var $async$goto = 0,
  72242. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
  72243. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  72244. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72245. if ($async$errorCode === 1)
  72246. return A._asyncRethrow($async$result, $async$completer);
  72247. while (true)
  72248. switch ($async$goto) {
  72249. case 0:
  72250. // Function start
  72251. t1 = $async$self._async_evaluate0$_nodeImporter;
  72252. result = t1.loadRelative$3(originalUrl, previous, forImport);
  72253. $async$goto = result != null ? 3 : 5;
  72254. break;
  72255. case 3:
  72256. // then
  72257. isDependency = $async$self._async_evaluate0$_inDependency;
  72258. // goto join
  72259. $async$goto = 4;
  72260. break;
  72261. case 5:
  72262. // else
  72263. $async$goto = 6;
  72264. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  72265. case 6:
  72266. // returning from await.
  72267. result = $async$result;
  72268. if (result == null) {
  72269. $async$returnValue = null;
  72270. // goto return
  72271. $async$goto = 1;
  72272. break;
  72273. }
  72274. isDependency = true;
  72275. case 4:
  72276. // join
  72277. url = result.item2;
  72278. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  72279. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  72280. $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  72281. // goto return
  72282. $async$goto = 1;
  72283. break;
  72284. case 1:
  72285. // return
  72286. return A._asyncReturn($async$returnValue, $async$completer);
  72287. }
  72288. });
  72289. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  72290. },
  72291. _async_evaluate0$_visitStaticImport$1($import) {
  72292. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  72293. },
  72294. _visitStaticImport$body$_EvaluateVisitor0($import) {
  72295. var $async$goto = 0,
  72296. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72297. $async$self = this, t1, node, $async$temp1, $async$temp2;
  72298. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72299. if ($async$errorCode === 1)
  72300. return A._asyncRethrow($async$result, $async$completer);
  72301. while (true)
  72302. switch ($async$goto) {
  72303. case 0:
  72304. // Function start
  72305. $async$temp1 = A;
  72306. $async$goto = 2;
  72307. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  72308. case 2:
  72309. // returning from await.
  72310. $async$temp2 = $async$result;
  72311. $async$goto = 3;
  72312. return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
  72313. case 3:
  72314. // returning from await.
  72315. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  72316. 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"))
  72317. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  72318. 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)) {
  72319. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  72320. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72321. } else {
  72322. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  72323. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  72324. }
  72325. // implicit return
  72326. return A._asyncReturn(null, $async$completer);
  72327. }
  72328. });
  72329. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  72330. },
  72331. visitIncludeRule$1(node) {
  72332. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  72333. },
  72334. visitIncludeRule$body$_EvaluateVisitor0(node) {
  72335. var $async$goto = 0,
  72336. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72337. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  72338. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72339. if ($async$errorCode === 1)
  72340. return A._asyncRethrow($async$result, $async$completer);
  72341. while (true)
  72342. switch ($async$goto) {
  72343. case 0:
  72344. // Function start
  72345. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
  72346. if (mixin == null)
  72347. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
  72348. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
  72349. $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
  72350. break;
  72351. case 3:
  72352. // then
  72353. if (node.content != null)
  72354. throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
  72355. $async$goto = 6;
  72356. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  72357. case 6:
  72358. // returning from await.
  72359. // goto join
  72360. $async$goto = 4;
  72361. break;
  72362. case 5:
  72363. // else
  72364. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
  72365. break;
  72366. case 7:
  72367. // then
  72368. t1 = node.content;
  72369. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  72370. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
  72371. $async$goto = 10;
  72372. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure13($async$self, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure14($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
  72373. case 10:
  72374. // returning from await.
  72375. // goto join
  72376. $async$goto = 8;
  72377. break;
  72378. case 9:
  72379. // else
  72380. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  72381. case 8:
  72382. // join
  72383. case 4:
  72384. // join
  72385. $async$returnValue = null;
  72386. // goto return
  72387. $async$goto = 1;
  72388. break;
  72389. case 1:
  72390. // return
  72391. return A._asyncReturn($async$returnValue, $async$completer);
  72392. }
  72393. });
  72394. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  72395. },
  72396. visitMixinRule$1(node) {
  72397. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  72398. },
  72399. visitMixinRule$body$_EvaluateVisitor0(node) {
  72400. var $async$goto = 0,
  72401. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72402. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  72403. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72404. if ($async$errorCode === 1)
  72405. return A._asyncRethrow($async$result, $async$completer);
  72406. while (true)
  72407. switch ($async$goto) {
  72408. case 0:
  72409. // Function start
  72410. t1 = $async$self._async_evaluate0$_environment;
  72411. t2 = t1.closure$0();
  72412. t3 = $async$self._async_evaluate0$_inDependency;
  72413. t4 = t1._async_environment0$_mixins;
  72414. index = t4.length - 1;
  72415. t5 = node.name;
  72416. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  72417. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  72418. $async$returnValue = null;
  72419. // goto return
  72420. $async$goto = 1;
  72421. break;
  72422. case 1:
  72423. // return
  72424. return A._asyncReturn($async$returnValue, $async$completer);
  72425. }
  72426. });
  72427. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  72428. },
  72429. visitLoudComment$1(node) {
  72430. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  72431. },
  72432. visitLoudComment$body$_EvaluateVisitor0(node) {
  72433. var $async$goto = 0,
  72434. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72435. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  72436. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72437. if ($async$errorCode === 1)
  72438. return A._asyncRethrow($async$result, $async$completer);
  72439. while (true)
  72440. switch ($async$goto) {
  72441. case 0:
  72442. // Function start
  72443. if ($async$self._async_evaluate0$_inFunction) {
  72444. $async$returnValue = null;
  72445. // goto return
  72446. $async$goto = 1;
  72447. break;
  72448. }
  72449. 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))
  72450. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72451. t1 = node.text;
  72452. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  72453. $async$temp2 = A;
  72454. $async$goto = 3;
  72455. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  72456. case 3:
  72457. // returning from await.
  72458. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  72459. $async$returnValue = null;
  72460. // goto return
  72461. $async$goto = 1;
  72462. break;
  72463. case 1:
  72464. // return
  72465. return A._asyncReturn($async$returnValue, $async$completer);
  72466. }
  72467. });
  72468. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  72469. },
  72470. visitMediaRule$1(node) {
  72471. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  72472. },
  72473. visitMediaRule$body$_EvaluateVisitor0(node) {
  72474. var $async$goto = 0,
  72475. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72476. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  72477. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72478. if ($async$errorCode === 1)
  72479. return A._asyncRethrow($async$result, $async$completer);
  72480. while (true)
  72481. switch ($async$goto) {
  72482. case 0:
  72483. // Function start
  72484. if ($async$self._async_evaluate0$_declarationName != null)
  72485. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  72486. $async$goto = 3;
  72487. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  72488. case 3:
  72489. // returning from await.
  72490. queries = $async$result;
  72491. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  72492. t1 = mergedQueries == null;
  72493. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  72494. $async$returnValue = null;
  72495. // goto return
  72496. $async$goto = 1;
  72497. break;
  72498. }
  72499. if (t1)
  72500. mergedSources = B.Set_empty4;
  72501. else {
  72502. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  72503. t2.toString;
  72504. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  72505. t3 = $async$self._async_evaluate0$_mediaQueries;
  72506. t3.toString;
  72507. t2.addAll$1(0, t3);
  72508. t2.addAll$1(0, queries);
  72509. mergedSources = t2;
  72510. }
  72511. t1 = t1 ? queries : mergedQueries;
  72512. $async$goto = 4;
  72513. 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);
  72514. case 4:
  72515. // returning from await.
  72516. $async$returnValue = null;
  72517. // goto return
  72518. $async$goto = 1;
  72519. break;
  72520. case 1:
  72521. // return
  72522. return A._asyncReturn($async$returnValue, $async$completer);
  72523. }
  72524. });
  72525. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  72526. },
  72527. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  72528. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  72529. },
  72530. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  72531. var $async$goto = 0,
  72532. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  72533. $async$returnValue, $async$self = this, tuple;
  72534. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72535. if ($async$errorCode === 1)
  72536. return A._asyncRethrow($async$result, $async$completer);
  72537. while (true)
  72538. switch ($async$goto) {
  72539. case 0:
  72540. // Function start
  72541. $async$goto = 3;
  72542. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  72543. case 3:
  72544. // returning from await.
  72545. tuple = $async$result;
  72546. $async$returnValue = A.CssMediaQuery_parseList0(tuple.item1, tuple.item2, $async$self._async_evaluate0$_logger);
  72547. // goto return
  72548. $async$goto = 1;
  72549. break;
  72550. case 1:
  72551. // return
  72552. return A._asyncReturn($async$returnValue, $async$completer);
  72553. }
  72554. });
  72555. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  72556. },
  72557. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  72558. var t1, t2, t3, t4, t5, result,
  72559. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  72560. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  72561. t4 = t1.get$current(t1);
  72562. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  72563. result = t4.merge$1(t5.get$current(t5));
  72564. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  72565. continue;
  72566. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  72567. return null;
  72568. queries.push(t3._as(result).query);
  72569. }
  72570. }
  72571. return queries;
  72572. },
  72573. visitReturnRule$1(node) {
  72574. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  72575. },
  72576. visitReturnRule$body$_EvaluateVisitor0(node) {
  72577. var $async$goto = 0,
  72578. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72579. $async$returnValue, $async$self = this, t1;
  72580. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72581. if ($async$errorCode === 1)
  72582. return A._asyncRethrow($async$result, $async$completer);
  72583. while (true)
  72584. switch ($async$goto) {
  72585. case 0:
  72586. // Function start
  72587. t1 = node.expression;
  72588. $async$goto = 3;
  72589. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  72590. case 3:
  72591. // returning from await.
  72592. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  72593. // goto return
  72594. $async$goto = 1;
  72595. break;
  72596. case 1:
  72597. // return
  72598. return A._asyncReturn($async$returnValue, $async$completer);
  72599. }
  72600. });
  72601. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  72602. },
  72603. visitSilentComment$1(node) {
  72604. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  72605. },
  72606. visitSilentComment$body$_EvaluateVisitor0(node) {
  72607. var $async$goto = 0,
  72608. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72609. $async$returnValue;
  72610. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72611. if ($async$errorCode === 1)
  72612. return A._asyncRethrow($async$result, $async$completer);
  72613. while (true)
  72614. switch ($async$goto) {
  72615. case 0:
  72616. // Function start
  72617. $async$returnValue = null;
  72618. // goto return
  72619. $async$goto = 1;
  72620. break;
  72621. case 1:
  72622. // return
  72623. return A._asyncReturn($async$returnValue, $async$completer);
  72624. }
  72625. });
  72626. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  72627. },
  72628. visitStyleRule$1(node) {
  72629. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  72630. },
  72631. visitStyleRule$body$_EvaluateVisitor0(node) {
  72632. var $async$goto = 0,
  72633. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72634. $async$returnValue, $async$self = this, t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  72635. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72636. if ($async$errorCode === 1)
  72637. return A._asyncRethrow($async$result, $async$completer);
  72638. while (true)
  72639. switch ($async$goto) {
  72640. case 0:
  72641. // Function start
  72642. if ($async$self._async_evaluate0$_declarationName != null)
  72643. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  72644. t1 = node.selector;
  72645. $async$goto = 3;
  72646. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  72647. case 3:
  72648. // returning from await.
  72649. tuple = $async$result;
  72650. selectorText = tuple.item1;
  72651. selectorMap = tuple.item2;
  72652. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  72653. break;
  72654. case 4:
  72655. // then
  72656. $async$goto = 6;
  72657. 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);
  72658. case 6:
  72659. // returning from await.
  72660. $async$returnValue = null;
  72661. // goto return
  72662. $async$goto = 1;
  72663. break;
  72664. case 5:
  72665. // join
  72666. t1 = A.SelectorList_SelectorList$parse0(selectorText, !$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, !$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, selectorMap, $async$self._async_evaluate0$_logger);
  72667. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72668. t2 = t2 == null ? null : t2.originalSelector;
  72669. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule);
  72670. 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, parsedSelector);
  72671. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  72672. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  72673. $async$goto = 7;
  72674. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure16($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure17(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  72675. case 7:
  72676. // returning from await.
  72677. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72678. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  72679. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  72680. complex = t1[_i];
  72681. if (!complex.accept$1(B._IsBogusVisitor_true0))
  72682. continue;
  72683. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  72684. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  72685. complex.accept$1(visitor);
  72686. $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_XV6);
  72687. } else if (complex.leadingCombinators.length !== 0) {
  72688. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  72689. complex.accept$1(visitor);
  72690. $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_XV6);
  72691. } else {
  72692. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  72693. complex.accept$1(visitor);
  72694. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  72695. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  72696. t8 = A.SpanExtensions_trimRight0(complex.span);
  72697. if (t5.get$length(t5) === 0)
  72698. A.throwExpression(A.IterableElementError_noElement());
  72699. t9 = J.get$span$z(t5.$index(0, 0));
  72700. $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_XV6);
  72701. }
  72702. }
  72703. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  72704. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72705. t1 = !t1.get$isEmpty(t1);
  72706. } else
  72707. t1 = false;
  72708. if (t1) {
  72709. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72710. t1.get$last(t1).isGroupEnd = true;
  72711. }
  72712. $async$returnValue = null;
  72713. // goto return
  72714. $async$goto = 1;
  72715. break;
  72716. case 1:
  72717. // return
  72718. return A._asyncReturn($async$returnValue, $async$completer);
  72719. }
  72720. });
  72721. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  72722. },
  72723. visitSupportsRule$1(node) {
  72724. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  72725. },
  72726. visitSupportsRule$body$_EvaluateVisitor0(node) {
  72727. var $async$goto = 0,
  72728. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72729. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  72730. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72731. if ($async$errorCode === 1)
  72732. return A._asyncRethrow($async$result, $async$completer);
  72733. while (true)
  72734. switch ($async$goto) {
  72735. case 0:
  72736. // Function start
  72737. if ($async$self._async_evaluate0$_declarationName != null)
  72738. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  72739. t1 = node.condition;
  72740. $async$temp1 = A;
  72741. $async$temp2 = A;
  72742. $async$goto = 4;
  72743. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  72744. case 4:
  72745. // returning from await.
  72746. $async$goto = 3;
  72747. 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);
  72748. case 3:
  72749. // returning from await.
  72750. $async$returnValue = null;
  72751. // goto return
  72752. $async$goto = 1;
  72753. break;
  72754. case 1:
  72755. // return
  72756. return A._asyncReturn($async$returnValue, $async$completer);
  72757. }
  72758. });
  72759. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  72760. },
  72761. _async_evaluate0$_visitSupportsCondition$1(condition) {
  72762. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  72763. },
  72764. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  72765. var $async$goto = 0,
  72766. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72767. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  72768. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72769. if ($async$errorCode === 1)
  72770. return A._asyncRethrow($async$result, $async$completer);
  72771. while (true)
  72772. switch ($async$goto) {
  72773. case 0:
  72774. // Function start
  72775. $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
  72776. break;
  72777. case 3:
  72778. // then
  72779. t1 = condition.operator;
  72780. $async$temp1 = A;
  72781. $async$goto = 6;
  72782. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  72783. case 6:
  72784. // returning from await.
  72785. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  72786. $async$temp2 = A;
  72787. $async$goto = 7;
  72788. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  72789. case 7:
  72790. // returning from await.
  72791. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  72792. // goto return
  72793. $async$goto = 1;
  72794. break;
  72795. // goto join
  72796. $async$goto = 4;
  72797. break;
  72798. case 5:
  72799. // else
  72800. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
  72801. break;
  72802. case 8:
  72803. // then
  72804. $async$temp1 = A;
  72805. $async$goto = 11;
  72806. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  72807. case 11:
  72808. // returning from await.
  72809. $async$returnValue = "not " + $async$temp1.S($async$result);
  72810. // goto return
  72811. $async$goto = 1;
  72812. break;
  72813. // goto join
  72814. $async$goto = 9;
  72815. break;
  72816. case 10:
  72817. // else
  72818. $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
  72819. break;
  72820. case 12:
  72821. // then
  72822. $async$goto = 15;
  72823. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  72824. case 15:
  72825. // returning from await.
  72826. $async$returnValue = $async$result;
  72827. // goto return
  72828. $async$goto = 1;
  72829. break;
  72830. // goto join
  72831. $async$goto = 13;
  72832. break;
  72833. case 14:
  72834. // else
  72835. $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
  72836. break;
  72837. case 16:
  72838. // then
  72839. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  72840. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  72841. $async$temp1 = A;
  72842. $async$goto = 19;
  72843. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  72844. case 19:
  72845. // returning from await.
  72846. t1 = $async$temp1.S($async$result);
  72847. t2 = condition.get$isCustomProperty() ? "" : " ";
  72848. $async$temp1 = A;
  72849. $async$goto = 20;
  72850. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
  72851. case 20:
  72852. // returning from await.
  72853. t3 = $async$temp1.S($async$result);
  72854. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  72855. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  72856. // goto return
  72857. $async$goto = 1;
  72858. break;
  72859. // goto join
  72860. $async$goto = 17;
  72861. break;
  72862. case 18:
  72863. // else
  72864. $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
  72865. break;
  72866. case 21:
  72867. // then
  72868. $async$temp1 = A;
  72869. $async$goto = 24;
  72870. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  72871. case 24:
  72872. // returning from await.
  72873. $async$temp1 = $async$temp1.S($async$result) + "(";
  72874. $async$temp2 = A;
  72875. $async$goto = 25;
  72876. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  72877. case 25:
  72878. // returning from await.
  72879. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  72880. // goto return
  72881. $async$goto = 1;
  72882. break;
  72883. // goto join
  72884. $async$goto = 22;
  72885. break;
  72886. case 23:
  72887. // else
  72888. $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
  72889. break;
  72890. case 26:
  72891. // then
  72892. $async$temp1 = A;
  72893. $async$goto = 29;
  72894. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  72895. case 29:
  72896. // returning from await.
  72897. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  72898. // goto return
  72899. $async$goto = 1;
  72900. break;
  72901. // goto join
  72902. $async$goto = 27;
  72903. break;
  72904. case 28:
  72905. // else
  72906. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  72907. case 27:
  72908. // join
  72909. case 22:
  72910. // join
  72911. case 17:
  72912. // join
  72913. case 13:
  72914. // join
  72915. case 9:
  72916. // join
  72917. case 4:
  72918. // join
  72919. case 1:
  72920. // return
  72921. return A._asyncReturn($async$returnValue, $async$completer);
  72922. }
  72923. });
  72924. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  72925. },
  72926. _async_evaluate0$_parenthesize$2(condition, operator) {
  72927. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  72928. },
  72929. _async_evaluate0$_parenthesize$1(condition) {
  72930. return this._async_evaluate0$_parenthesize$2(condition, null);
  72931. },
  72932. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  72933. var $async$goto = 0,
  72934. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72935. $async$returnValue, $async$self = this, t1, $async$temp1;
  72936. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72937. if ($async$errorCode === 1)
  72938. return A._asyncRethrow($async$result, $async$completer);
  72939. while (true)
  72940. switch ($async$goto) {
  72941. case 0:
  72942. // Function start
  72943. if (!(condition instanceof A.SupportsNegation0))
  72944. if (condition instanceof A.SupportsOperation0)
  72945. t1 = operator == null || operator !== condition.operator;
  72946. else
  72947. t1 = false;
  72948. else
  72949. t1 = true;
  72950. $async$goto = t1 ? 3 : 5;
  72951. break;
  72952. case 3:
  72953. // then
  72954. $async$temp1 = A;
  72955. $async$goto = 6;
  72956. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  72957. case 6:
  72958. // returning from await.
  72959. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  72960. // goto return
  72961. $async$goto = 1;
  72962. break;
  72963. // goto join
  72964. $async$goto = 4;
  72965. break;
  72966. case 5:
  72967. // else
  72968. $async$goto = 7;
  72969. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  72970. case 7:
  72971. // returning from await.
  72972. $async$returnValue = $async$result;
  72973. // goto return
  72974. $async$goto = 1;
  72975. break;
  72976. case 4:
  72977. // join
  72978. case 1:
  72979. // return
  72980. return A._asyncReturn($async$returnValue, $async$completer);
  72981. }
  72982. });
  72983. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  72984. },
  72985. visitVariableDeclaration$1(node) {
  72986. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  72987. },
  72988. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  72989. var $async$goto = 0,
  72990. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  72991. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  72992. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72993. if ($async$errorCode === 1)
  72994. return A._asyncRethrow($async$result, $async$completer);
  72995. while (true)
  72996. switch ($async$goto) {
  72997. case 0:
  72998. // Function start
  72999. if (node.isGuarded) {
  73000. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  73001. t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
  73002. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  73003. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  73004. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
  73005. $async$returnValue = null;
  73006. // goto return
  73007. $async$goto = 1;
  73008. break;
  73009. }
  73010. }
  73011. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  73012. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  73013. $async$returnValue = null;
  73014. // goto return
  73015. $async$goto = 1;
  73016. break;
  73017. }
  73018. }
  73019. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  73020. 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.";
  73021. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  73022. }
  73023. t1 = node.expression;
  73024. $async$temp1 = node;
  73025. $async$temp2 = A;
  73026. $async$temp3 = node;
  73027. $async$goto = 3;
  73028. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  73029. case 3:
  73030. // returning from await.
  73031. $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)));
  73032. $async$returnValue = null;
  73033. // goto return
  73034. $async$goto = 1;
  73035. break;
  73036. case 1:
  73037. // return
  73038. return A._asyncReturn($async$returnValue, $async$completer);
  73039. }
  73040. });
  73041. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  73042. },
  73043. visitUseRule$1(node) {
  73044. return this.visitUseRule$body$_EvaluateVisitor0(node);
  73045. },
  73046. visitUseRule$body$_EvaluateVisitor0(node) {
  73047. var $async$goto = 0,
  73048. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73049. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  73050. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73051. if ($async$errorCode === 1)
  73052. return A._asyncRethrow($async$result, $async$completer);
  73053. while (true)
  73054. switch ($async$goto) {
  73055. case 0:
  73056. // Function start
  73057. t1 = node.configuration;
  73058. t2 = t1.length;
  73059. $async$goto = t2 !== 0 ? 3 : 5;
  73060. break;
  73061. case 3:
  73062. // then
  73063. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  73064. _i = 0;
  73065. case 6:
  73066. // for condition
  73067. if (!(_i < t2)) {
  73068. // goto after for
  73069. $async$goto = 8;
  73070. break;
  73071. }
  73072. variable = t1[_i];
  73073. t3 = variable.expression;
  73074. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
  73075. $async$temp1 = values;
  73076. $async$temp2 = variable.name;
  73077. $async$temp3 = A;
  73078. $async$goto = 9;
  73079. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  73080. case 9:
  73081. // returning from await.
  73082. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  73083. case 7:
  73084. // for update
  73085. ++_i;
  73086. // goto for condition
  73087. $async$goto = 6;
  73088. break;
  73089. case 8:
  73090. // after for
  73091. configuration = new A.ExplicitConfiguration0(node, values, null);
  73092. // goto join
  73093. $async$goto = 4;
  73094. break;
  73095. case 5:
  73096. // else
  73097. configuration = B.Configuration_Map_empty_null0;
  73098. case 4:
  73099. // join
  73100. $async$goto = 10;
  73101. 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);
  73102. case 10:
  73103. // returning from await.
  73104. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  73105. $async$returnValue = null;
  73106. // goto return
  73107. $async$goto = 1;
  73108. break;
  73109. case 1:
  73110. // return
  73111. return A._asyncReturn($async$returnValue, $async$completer);
  73112. }
  73113. });
  73114. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  73115. },
  73116. visitWarnRule$1(node) {
  73117. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  73118. },
  73119. visitWarnRule$body$_EvaluateVisitor0(node) {
  73120. var $async$goto = 0,
  73121. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73122. $async$returnValue, $async$self = this, value, t1;
  73123. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73124. if ($async$errorCode === 1)
  73125. return A._asyncRethrow($async$result, $async$completer);
  73126. while (true)
  73127. switch ($async$goto) {
  73128. case 0:
  73129. // Function start
  73130. $async$goto = 3;
  73131. 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);
  73132. case 3:
  73133. // returning from await.
  73134. value = $async$result;
  73135. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  73136. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  73137. $async$returnValue = null;
  73138. // goto return
  73139. $async$goto = 1;
  73140. break;
  73141. case 1:
  73142. // return
  73143. return A._asyncReturn($async$returnValue, $async$completer);
  73144. }
  73145. });
  73146. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  73147. },
  73148. visitWhileRule$1(node) {
  73149. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  73150. },
  73151. visitBinaryOperationExpression$1(node) {
  73152. return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
  73153. },
  73154. visitValueExpression$1(node) {
  73155. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  73156. },
  73157. visitValueExpression$body$_EvaluateVisitor0(node) {
  73158. var $async$goto = 0,
  73159. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73160. $async$returnValue;
  73161. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73162. if ($async$errorCode === 1)
  73163. return A._asyncRethrow($async$result, $async$completer);
  73164. while (true)
  73165. switch ($async$goto) {
  73166. case 0:
  73167. // Function start
  73168. $async$returnValue = node.value;
  73169. // goto return
  73170. $async$goto = 1;
  73171. break;
  73172. case 1:
  73173. // return
  73174. return A._asyncReturn($async$returnValue, $async$completer);
  73175. }
  73176. });
  73177. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  73178. },
  73179. visitVariableExpression$1(node) {
  73180. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  73181. },
  73182. visitVariableExpression$body$_EvaluateVisitor0(node) {
  73183. var $async$goto = 0,
  73184. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73185. $async$returnValue, $async$self = this, result;
  73186. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73187. if ($async$errorCode === 1)
  73188. return A._asyncRethrow($async$result, $async$completer);
  73189. while (true)
  73190. switch ($async$goto) {
  73191. case 0:
  73192. // Function start
  73193. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  73194. if (result != null) {
  73195. $async$returnValue = result;
  73196. // goto return
  73197. $async$goto = 1;
  73198. break;
  73199. }
  73200. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  73201. case 1:
  73202. // return
  73203. return A._asyncReturn($async$returnValue, $async$completer);
  73204. }
  73205. });
  73206. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  73207. },
  73208. visitUnaryOperationExpression$1(node) {
  73209. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  73210. },
  73211. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  73212. var $async$goto = 0,
  73213. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73214. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  73215. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73216. if ($async$errorCode === 1)
  73217. return A._asyncRethrow($async$result, $async$completer);
  73218. while (true)
  73219. switch ($async$goto) {
  73220. case 0:
  73221. // Function start
  73222. $async$temp1 = node;
  73223. $async$temp2 = A;
  73224. $async$temp3 = node;
  73225. $async$goto = 3;
  73226. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  73227. case 3:
  73228. // returning from await.
  73229. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  73230. // goto return
  73231. $async$goto = 1;
  73232. break;
  73233. case 1:
  73234. // return
  73235. return A._asyncReturn($async$returnValue, $async$completer);
  73236. }
  73237. });
  73238. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  73239. },
  73240. visitBooleanExpression$1(node) {
  73241. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  73242. },
  73243. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  73244. var $async$goto = 0,
  73245. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  73246. $async$returnValue;
  73247. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73248. if ($async$errorCode === 1)
  73249. return A._asyncRethrow($async$result, $async$completer);
  73250. while (true)
  73251. switch ($async$goto) {
  73252. case 0:
  73253. // Function start
  73254. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73255. // goto return
  73256. $async$goto = 1;
  73257. break;
  73258. case 1:
  73259. // return
  73260. return A._asyncReturn($async$returnValue, $async$completer);
  73261. }
  73262. });
  73263. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  73264. },
  73265. visitIfExpression$1(node) {
  73266. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  73267. },
  73268. visitIfExpression$body$_EvaluateVisitor0(node) {
  73269. var $async$goto = 0,
  73270. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73271. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  73272. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73273. if ($async$errorCode === 1)
  73274. return A._asyncRethrow($async$result, $async$completer);
  73275. while (true)
  73276. switch ($async$goto) {
  73277. case 0:
  73278. // Function start
  73279. $async$goto = 3;
  73280. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  73281. case 3:
  73282. // returning from await.
  73283. pair = $async$result;
  73284. positional = pair.item1;
  73285. named = pair.item2;
  73286. t1 = J.getInterceptor$asx(positional);
  73287. $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  73288. if (t1.get$length(positional) > 0)
  73289. condition = t1.$index(positional, 0);
  73290. else {
  73291. t2 = named.$index(0, "condition");
  73292. t2.toString;
  73293. condition = t2;
  73294. }
  73295. if (t1.get$length(positional) > 1)
  73296. ifTrue = t1.$index(positional, 1);
  73297. else {
  73298. t2 = named.$index(0, "if-true");
  73299. t2.toString;
  73300. ifTrue = t2;
  73301. }
  73302. if (t1.get$length(positional) > 2)
  73303. ifFalse = t1.$index(positional, 2);
  73304. else {
  73305. t1 = named.$index(0, "if-false");
  73306. t1.toString;
  73307. ifFalse = t1;
  73308. }
  73309. $async$goto = 4;
  73310. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  73311. case 4:
  73312. // returning from await.
  73313. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  73314. $async$goto = 5;
  73315. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  73316. case 5:
  73317. // returning from await.
  73318. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  73319. // goto return
  73320. $async$goto = 1;
  73321. break;
  73322. case 1:
  73323. // return
  73324. return A._asyncReturn($async$returnValue, $async$completer);
  73325. }
  73326. });
  73327. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  73328. },
  73329. visitNullExpression$1(node) {
  73330. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  73331. },
  73332. visitNullExpression$body$_EvaluateVisitor0(node) {
  73333. var $async$goto = 0,
  73334. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73335. $async$returnValue;
  73336. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73337. if ($async$errorCode === 1)
  73338. return A._asyncRethrow($async$result, $async$completer);
  73339. while (true)
  73340. switch ($async$goto) {
  73341. case 0:
  73342. // Function start
  73343. $async$returnValue = B.C__SassNull0;
  73344. // goto return
  73345. $async$goto = 1;
  73346. break;
  73347. case 1:
  73348. // return
  73349. return A._asyncReturn($async$returnValue, $async$completer);
  73350. }
  73351. });
  73352. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  73353. },
  73354. visitNumberExpression$1(node) {
  73355. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  73356. },
  73357. visitNumberExpression$body$_EvaluateVisitor0(node) {
  73358. var $async$goto = 0,
  73359. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  73360. $async$returnValue;
  73361. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73362. if ($async$errorCode === 1)
  73363. return A._asyncRethrow($async$result, $async$completer);
  73364. while (true)
  73365. switch ($async$goto) {
  73366. case 0:
  73367. // Function start
  73368. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  73369. // goto return
  73370. $async$goto = 1;
  73371. break;
  73372. case 1:
  73373. // return
  73374. return A._asyncReturn($async$returnValue, $async$completer);
  73375. }
  73376. });
  73377. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  73378. },
  73379. visitParenthesizedExpression$1(node) {
  73380. return node.expression.accept$1(this);
  73381. },
  73382. visitCalculationExpression$1(node) {
  73383. return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
  73384. },
  73385. visitCalculationExpression$body$_EvaluateVisitor0(node) {
  73386. var $async$goto = 0,
  73387. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73388. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  73389. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73390. if ($async$errorCode === 1)
  73391. return A._asyncRethrow($async$result, $async$completer);
  73392. while (true)
  73393. $async$outer:
  73394. switch ($async$goto) {
  73395. case 0:
  73396. // Function start
  73397. t1 = A._setArrayType([], type$.JSArray_Object);
  73398. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  73399. case 3:
  73400. // for condition
  73401. if (!(_i < t3)) {
  73402. // goto after for
  73403. $async$goto = 5;
  73404. break;
  73405. }
  73406. argument = t2[_i];
  73407. $async$temp1 = t1;
  73408. $async$goto = 6;
  73409. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  73410. case 6:
  73411. // returning from await.
  73412. $async$temp1.push($async$result);
  73413. case 4:
  73414. // for update
  73415. ++_i;
  73416. // goto for condition
  73417. $async$goto = 3;
  73418. break;
  73419. case 5:
  73420. // after for
  73421. $arguments = t1;
  73422. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  73423. $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  73424. // goto return
  73425. $async$goto = 1;
  73426. break;
  73427. }
  73428. try {
  73429. switch (t4) {
  73430. case "calc":
  73431. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  73432. $async$returnValue = t1;
  73433. // goto return
  73434. $async$goto = 1;
  73435. break $async$outer;
  73436. case "min":
  73437. t1 = A.SassCalculation_min0($arguments);
  73438. $async$returnValue = t1;
  73439. // goto return
  73440. $async$goto = 1;
  73441. break $async$outer;
  73442. case "max":
  73443. t1 = A.SassCalculation_max0($arguments);
  73444. $async$returnValue = t1;
  73445. // goto return
  73446. $async$goto = 1;
  73447. break $async$outer;
  73448. case "clamp":
  73449. t1 = J.$index$asx($arguments, 0);
  73450. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  73451. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  73452. $async$returnValue = t1;
  73453. // goto return
  73454. $async$goto = 1;
  73455. break $async$outer;
  73456. default:
  73457. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  73458. throw A.wrapException(t1);
  73459. }
  73460. } catch (exception) {
  73461. t1 = A.unwrapException(exception);
  73462. if (t1 instanceof A.SassScriptException0) {
  73463. error = t1;
  73464. stackTrace = A.getTraceFromException(exception);
  73465. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  73466. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
  73467. } else
  73468. throw exception;
  73469. }
  73470. case 1:
  73471. // return
  73472. return A._asyncReturn($async$returnValue, $async$completer);
  73473. }
  73474. });
  73475. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  73476. },
  73477. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  73478. var i, t1, arg, number1, j, number2;
  73479. for (i = 0; t1 = args.length, i < t1; ++i) {
  73480. arg = args[i];
  73481. if (!(arg instanceof A.SassNumber0))
  73482. continue;
  73483. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  73484. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  73485. }
  73486. for (i = 0; i < t1 - 1; ++i) {
  73487. number1 = args[i];
  73488. if (!(number1 instanceof A.SassNumber0))
  73489. continue;
  73490. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  73491. number2 = args[j];
  73492. if (!(number2 instanceof A.SassNumber0))
  73493. continue;
  73494. if (number1.hasPossiblyCompatibleUnits$1(number2))
  73495. continue;
  73496. 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]))));
  73497. }
  73498. }
  73499. },
  73500. _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  73501. return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
  73502. },
  73503. _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
  73504. var $async$goto = 0,
  73505. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  73506. $async$returnValue, $async$self = this, inner, result, t1, text, $async$temp1;
  73507. var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73508. if ($async$errorCode === 1)
  73509. return A._asyncRethrow($async$result, $async$completer);
  73510. while (true)
  73511. $async$outer:
  73512. switch ($async$goto) {
  73513. case 0:
  73514. // Function start
  73515. $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
  73516. break;
  73517. case 3:
  73518. // then
  73519. inner = node.expression;
  73520. $async$goto = 6;
  73521. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  73522. case 6:
  73523. // returning from await.
  73524. result = $async$result;
  73525. if (inner instanceof A.FunctionExpression0)
  73526. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  73527. else
  73528. t1 = false;
  73529. $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  73530. // goto return
  73531. $async$goto = 1;
  73532. break;
  73533. // goto join
  73534. $async$goto = 4;
  73535. break;
  73536. case 5:
  73537. // else
  73538. $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
  73539. break;
  73540. case 7:
  73541. // then
  73542. t1 = node.text;
  73543. text = t1.get$asPlain();
  73544. $async$goto = text == null ? 10 : 11;
  73545. break;
  73546. case 10:
  73547. // then
  73548. $async$temp1 = A;
  73549. $async$goto = 12;
  73550. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  73551. case 12:
  73552. // returning from await.
  73553. $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
  73554. // goto return
  73555. $async$goto = 1;
  73556. break;
  73557. case 11:
  73558. // join
  73559. switch (text.toLowerCase()) {
  73560. case "pi":
  73561. $async$returnValue = A.SassNumber_SassNumber0(3.141592653589793, null);
  73562. // goto return
  73563. $async$goto = 1;
  73564. break $async$outer;
  73565. case "e":
  73566. $async$returnValue = A.SassNumber_SassNumber0(2.718281828459045, null);
  73567. // goto return
  73568. $async$goto = 1;
  73569. break $async$outer;
  73570. case "infinity":
  73571. $async$returnValue = A.SassNumber_SassNumber0(1 / 0, null);
  73572. // goto return
  73573. $async$goto = 1;
  73574. break $async$outer;
  73575. case "-infinity":
  73576. $async$returnValue = A.SassNumber_SassNumber0(-1 / 0, null);
  73577. // goto return
  73578. $async$goto = 1;
  73579. break $async$outer;
  73580. case "nan":
  73581. $async$returnValue = A.SassNumber_SassNumber0(0 / 0, null);
  73582. // goto return
  73583. $async$goto = 1;
  73584. break $async$outer;
  73585. default:
  73586. $async$returnValue = new A.SassString0(text, false);
  73587. // goto return
  73588. $async$goto = 1;
  73589. break $async$outer;
  73590. }
  73591. // goto join
  73592. $async$goto = 8;
  73593. break;
  73594. case 9:
  73595. // else
  73596. $async$goto = node instanceof A.BinaryOperationExpression0 ? 13 : 15;
  73597. break;
  73598. case 13:
  73599. // then
  73600. $async$goto = 16;
  73601. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure2($async$self, node, inMinMax), type$.Object), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  73602. case 16:
  73603. // returning from await.
  73604. $async$returnValue = $async$result;
  73605. // goto return
  73606. $async$goto = 1;
  73607. break;
  73608. // goto join
  73609. $async$goto = 14;
  73610. break;
  73611. case 15:
  73612. // else
  73613. $async$goto = 17;
  73614. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  73615. case 17:
  73616. // returning from await.
  73617. result = $async$result;
  73618. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
  73619. $async$returnValue = result;
  73620. // goto return
  73621. $async$goto = 1;
  73622. break;
  73623. }
  73624. if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
  73625. $async$returnValue = result;
  73626. // goto return
  73627. $async$goto = 1;
  73628. break;
  73629. }
  73630. throw A.wrapException($async$self._async_evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  73631. case 14:
  73632. // join
  73633. case 8:
  73634. // join
  73635. case 4:
  73636. // join
  73637. case 1:
  73638. // return
  73639. return A._asyncReturn($async$returnValue, $async$completer);
  73640. }
  73641. });
  73642. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
  73643. },
  73644. _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  73645. switch (operator) {
  73646. case B.BinaryOperator_anB0:
  73647. return B.CalculationOperator_IyK0;
  73648. case B.BinaryOperator_olz0:
  73649. return B.CalculationOperator_2bx0;
  73650. case B.BinaryOperator_qN20:
  73651. return B.CalculationOperator_jFr0;
  73652. case B.BinaryOperator_t8B0:
  73653. return B.CalculationOperator_OvN0;
  73654. default:
  73655. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  73656. }
  73657. },
  73658. visitColorExpression$1(node) {
  73659. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  73660. },
  73661. visitColorExpression$body$_EvaluateVisitor0(node) {
  73662. var $async$goto = 0,
  73663. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  73664. $async$returnValue;
  73665. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73666. if ($async$errorCode === 1)
  73667. return A._asyncRethrow($async$result, $async$completer);
  73668. while (true)
  73669. switch ($async$goto) {
  73670. case 0:
  73671. // Function start
  73672. $async$returnValue = node.value;
  73673. // goto return
  73674. $async$goto = 1;
  73675. break;
  73676. case 1:
  73677. // return
  73678. return A._asyncReturn($async$returnValue, $async$completer);
  73679. }
  73680. });
  73681. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  73682. },
  73683. visitListExpression$1(node) {
  73684. return this.visitListExpression$body$_EvaluateVisitor0(node);
  73685. },
  73686. visitListExpression$body$_EvaluateVisitor0(node) {
  73687. var $async$goto = 0,
  73688. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  73689. $async$returnValue, $async$self = this, $async$temp1;
  73690. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73691. if ($async$errorCode === 1)
  73692. return A._asyncRethrow($async$result, $async$completer);
  73693. while (true)
  73694. switch ($async$goto) {
  73695. case 0:
  73696. // Function start
  73697. $async$temp1 = A;
  73698. $async$goto = 3;
  73699. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  73700. case 3:
  73701. // returning from await.
  73702. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  73703. // goto return
  73704. $async$goto = 1;
  73705. break;
  73706. case 1:
  73707. // return
  73708. return A._asyncReturn($async$returnValue, $async$completer);
  73709. }
  73710. });
  73711. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  73712. },
  73713. visitMapExpression$1(node) {
  73714. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  73715. },
  73716. visitMapExpression$body$_EvaluateVisitor0(node) {
  73717. var $async$goto = 0,
  73718. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  73719. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  73720. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73721. if ($async$errorCode === 1)
  73722. return A._asyncRethrow($async$result, $async$completer);
  73723. while (true)
  73724. switch ($async$goto) {
  73725. case 0:
  73726. // Function start
  73727. t1 = type$.Value_2;
  73728. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73729. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  73730. t2 = node.pairs, t3 = t2.length, _i = 0;
  73731. case 3:
  73732. // for condition
  73733. if (!(_i < t3)) {
  73734. // goto after for
  73735. $async$goto = 5;
  73736. break;
  73737. }
  73738. pair = t2[_i];
  73739. t4 = pair.item1;
  73740. $async$goto = 6;
  73741. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  73742. case 6:
  73743. // returning from await.
  73744. keyValue = $async$result;
  73745. $async$goto = 7;
  73746. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  73747. case 7:
  73748. // returning from await.
  73749. valueValue = $async$result;
  73750. if (map.$index(0, keyValue) != null) {
  73751. t1 = keyNodes.$index(0, keyValue);
  73752. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  73753. t1 = J.getInterceptor$z(t4);
  73754. t2 = t1.get$span(t4);
  73755. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  73756. if (oldValueSpan != null)
  73757. t3.$indexSet(0, oldValueSpan, "first key");
  73758. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
  73759. }
  73760. map.$indexSet(0, keyValue, valueValue);
  73761. keyNodes.$indexSet(0, keyValue, t4);
  73762. case 4:
  73763. // for update
  73764. ++_i;
  73765. // goto for condition
  73766. $async$goto = 3;
  73767. break;
  73768. case 5:
  73769. // after for
  73770. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  73771. // goto return
  73772. $async$goto = 1;
  73773. break;
  73774. case 1:
  73775. // return
  73776. return A._asyncReturn($async$returnValue, $async$completer);
  73777. }
  73778. });
  73779. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  73780. },
  73781. visitFunctionExpression$1(node) {
  73782. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  73783. },
  73784. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  73785. var $async$goto = 0,
  73786. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73787. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  73788. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73789. if ($async$errorCode === 1)
  73790. return A._asyncRethrow($async$result, $async$completer);
  73791. while (true)
  73792. switch ($async$goto) {
  73793. case 0:
  73794. // Function start
  73795. t1 = {};
  73796. $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
  73797. t1.$function = $function;
  73798. if ($function == null) {
  73799. if (node.namespace != null)
  73800. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  73801. t1.$function = new A.PlainCssCallable0(node.originalName);
  73802. }
  73803. oldInFunction = $async$self._async_evaluate0$_inFunction;
  73804. $async$self._async_evaluate0$_inFunction = true;
  73805. $async$goto = 3;
  73806. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure6(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
  73807. case 3:
  73808. // returning from await.
  73809. result = $async$result;
  73810. $async$self._async_evaluate0$_inFunction = oldInFunction;
  73811. $async$returnValue = result;
  73812. // goto return
  73813. $async$goto = 1;
  73814. break;
  73815. case 1:
  73816. // return
  73817. return A._asyncReturn($async$returnValue, $async$completer);
  73818. }
  73819. });
  73820. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  73821. },
  73822. visitInterpolatedFunctionExpression$1(node) {
  73823. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  73824. },
  73825. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  73826. var $async$goto = 0,
  73827. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73828. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  73829. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73830. if ($async$errorCode === 1)
  73831. return A._asyncRethrow($async$result, $async$completer);
  73832. while (true)
  73833. switch ($async$goto) {
  73834. case 0:
  73835. // Function start
  73836. $async$goto = 3;
  73837. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  73838. case 3:
  73839. // returning from await.
  73840. t1 = $async$result;
  73841. oldInFunction = $async$self._async_evaluate0$_inFunction;
  73842. $async$self._async_evaluate0$_inFunction = true;
  73843. $async$goto = 4;
  73844. 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);
  73845. case 4:
  73846. // returning from await.
  73847. result = $async$result;
  73848. $async$self._async_evaluate0$_inFunction = oldInFunction;
  73849. $async$returnValue = result;
  73850. // goto return
  73851. $async$goto = 1;
  73852. break;
  73853. case 1:
  73854. // return
  73855. return A._asyncReturn($async$returnValue, $async$completer);
  73856. }
  73857. });
  73858. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  73859. },
  73860. _async_evaluate0$_getFunction$2$namespace($name, namespace) {
  73861. var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
  73862. if (local != null || namespace != null)
  73863. return local;
  73864. return this._async_evaluate0$_builtInFunctions.$index(0, $name);
  73865. },
  73866. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  73867. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  73868. },
  73869. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  73870. var $async$goto = 0,
  73871. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73872. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  73873. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73874. if ($async$errorCode === 1)
  73875. return A._asyncRethrow($async$result, $async$completer);
  73876. while (true)
  73877. switch ($async$goto) {
  73878. case 0:
  73879. // Function start
  73880. $async$goto = 3;
  73881. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  73882. case 3:
  73883. // returning from await.
  73884. evaluated = $async$result;
  73885. $name = callable.declaration.name;
  73886. if ($name !== "@content")
  73887. $name += "()";
  73888. oldCallable = $async$self._async_evaluate0$_currentCallable;
  73889. $async$self._async_evaluate0$_currentCallable = callable;
  73890. $async$goto = 4;
  73891. 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);
  73892. case 4:
  73893. // returning from await.
  73894. result = $async$result;
  73895. $async$self._async_evaluate0$_currentCallable = oldCallable;
  73896. $async$returnValue = result;
  73897. // goto return
  73898. $async$goto = 1;
  73899. break;
  73900. case 1:
  73901. // return
  73902. return A._asyncReturn($async$returnValue, $async$completer);
  73903. }
  73904. });
  73905. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  73906. },
  73907. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  73908. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  73909. },
  73910. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  73911. var $async$goto = 0,
  73912. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73913. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, exception, $async$exception, $async$temp1, $async$temp2;
  73914. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73915. if ($async$errorCode === 1) {
  73916. $async$currentError = $async$result;
  73917. $async$goto = $async$handler;
  73918. }
  73919. while (true)
  73920. switch ($async$goto) {
  73921. case 0:
  73922. // Function start
  73923. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  73924. break;
  73925. case 3:
  73926. // then
  73927. $async$goto = 6;
  73928. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  73929. case 6:
  73930. // returning from await.
  73931. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  73932. // goto return
  73933. $async$goto = 1;
  73934. break;
  73935. // goto join
  73936. $async$goto = 4;
  73937. break;
  73938. case 5:
  73939. // else
  73940. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  73941. break;
  73942. case 7:
  73943. // then
  73944. $async$goto = 10;
  73945. 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);
  73946. case 10:
  73947. // returning from await.
  73948. $async$returnValue = $async$result;
  73949. // goto return
  73950. $async$goto = 1;
  73951. break;
  73952. // goto join
  73953. $async$goto = 8;
  73954. break;
  73955. case 9:
  73956. // else
  73957. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  73958. break;
  73959. case 11:
  73960. // then
  73961. t1 = $arguments.named;
  73962. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  73963. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  73964. buffer = new A.StringBuffer(callable.name + "(");
  73965. $async$handler = 15;
  73966. first = true;
  73967. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  73968. case 18:
  73969. // for condition
  73970. if (!(_i < t2)) {
  73971. // goto after for
  73972. $async$goto = 20;
  73973. break;
  73974. }
  73975. argument = t1[_i];
  73976. if (first)
  73977. first = false;
  73978. else
  73979. buffer._contents += ", ";
  73980. $async$temp1 = buffer;
  73981. $async$temp2 = A;
  73982. $async$goto = 21;
  73983. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  73984. case 21:
  73985. // returning from await.
  73986. $async$temp1._contents += $async$temp2.S($async$result);
  73987. case 19:
  73988. // for update
  73989. ++_i;
  73990. // goto for condition
  73991. $async$goto = 18;
  73992. break;
  73993. case 20:
  73994. // after for
  73995. restArg = $arguments.rest;
  73996. $async$goto = restArg != null ? 22 : 23;
  73997. break;
  73998. case 22:
  73999. // then
  74000. $async$goto = 24;
  74001. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  74002. case 24:
  74003. // returning from await.
  74004. rest = $async$result;
  74005. if (!first)
  74006. buffer._contents += ", ";
  74007. buffer._contents += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  74008. case 23:
  74009. // join
  74010. $async$handler = 2;
  74011. // goto after finally
  74012. $async$goto = 17;
  74013. break;
  74014. case 15:
  74015. // catch
  74016. $async$handler = 14;
  74017. $async$exception = $async$currentError;
  74018. t1 = A.unwrapException($async$exception);
  74019. if (type$.SassRuntimeException_2._is(t1)) {
  74020. error = t1;
  74021. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  74022. throw $async$exception;
  74023. 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)));
  74024. } else
  74025. throw $async$exception;
  74026. // goto after finally
  74027. $async$goto = 17;
  74028. break;
  74029. case 14:
  74030. // uncaught
  74031. // goto rethrow
  74032. $async$goto = 2;
  74033. break;
  74034. case 17:
  74035. // after finally
  74036. buffer._contents += A.Primitives_stringFromCharCode(41);
  74037. t1 = buffer._contents;
  74038. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  74039. // goto return
  74040. $async$goto = 1;
  74041. break;
  74042. // goto join
  74043. $async$goto = 12;
  74044. break;
  74045. case 13:
  74046. // else
  74047. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  74048. case 12:
  74049. // join
  74050. case 8:
  74051. // join
  74052. case 4:
  74053. // join
  74054. case 1:
  74055. // return
  74056. return A._asyncReturn($async$returnValue, $async$completer);
  74057. case 2:
  74058. // rethrow
  74059. return A._asyncRethrow($async$currentError, $async$completer);
  74060. }
  74061. });
  74062. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  74063. },
  74064. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  74065. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  74066. },
  74067. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  74068. var $async$goto = 0,
  74069. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74070. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, evaluated, oldCallableNode, $async$exception;
  74071. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74072. if ($async$errorCode === 1) {
  74073. $async$currentError = $async$result;
  74074. $async$goto = $async$handler;
  74075. }
  74076. while (true)
  74077. switch ($async$goto) {
  74078. case 0:
  74079. // Function start
  74080. $async$goto = 3;
  74081. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  74082. case 3:
  74083. // returning from await.
  74084. evaluated = $async$result;
  74085. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  74086. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  74087. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  74088. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  74089. overload = tuple.item1;
  74090. callback = tuple.item2;
  74091. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(overload, evaluated, namedSet));
  74092. declaredArguments = overload.$arguments;
  74093. i = evaluated.positional.length, t1 = declaredArguments.length;
  74094. case 4:
  74095. // for condition
  74096. if (!(i < t1)) {
  74097. // goto after for
  74098. $async$goto = 6;
  74099. break;
  74100. }
  74101. argument = declaredArguments[i];
  74102. t2 = evaluated.positional;
  74103. t3 = evaluated.named.remove$1(0, argument.name);
  74104. $async$goto = t3 == null ? 7 : 8;
  74105. break;
  74106. case 7:
  74107. // then
  74108. t3 = argument.defaultValue;
  74109. $async$goto = 9;
  74110. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
  74111. case 9:
  74112. // returning from await.
  74113. t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
  74114. case 8:
  74115. // join
  74116. t2.push(t3);
  74117. case 5:
  74118. // for update
  74119. ++i;
  74120. // goto for condition
  74121. $async$goto = 4;
  74122. break;
  74123. case 6:
  74124. // after for
  74125. if (overload.restArgument != null) {
  74126. if (evaluated.positional.length > t1) {
  74127. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  74128. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  74129. } else
  74130. rest = B.List_empty19;
  74131. t1 = evaluated.named;
  74132. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  74133. evaluated.positional.push(argumentList);
  74134. } else
  74135. argumentList = null;
  74136. result = null;
  74137. $async$handler = 11;
  74138. $async$goto = 14;
  74139. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure9(callback, evaluated), type$.Value_2), $async$_async_evaluate0$_runBuiltInCallable$3);
  74140. case 14:
  74141. // returning from await.
  74142. result = $async$result;
  74143. $async$handler = 2;
  74144. // goto after finally
  74145. $async$goto = 13;
  74146. break;
  74147. case 11:
  74148. // catch
  74149. $async$handler = 10;
  74150. $async$exception = $async$currentError;
  74151. t1 = A.unwrapException($async$exception);
  74152. if (t1 instanceof A.SassException0)
  74153. throw $async$exception;
  74154. else {
  74155. error = t1;
  74156. stackTrace = A.getTraceFromException($async$exception);
  74157. message = null;
  74158. try {
  74159. message = A._asString(J.get$message$x(error));
  74160. } catch (exception) {
  74161. message0 = J.toString$0$(error);
  74162. message = message0;
  74163. }
  74164. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  74165. }
  74166. // goto after finally
  74167. $async$goto = 13;
  74168. break;
  74169. case 10:
  74170. // uncaught
  74171. // goto rethrow
  74172. $async$goto = 2;
  74173. break;
  74174. case 13:
  74175. // after finally
  74176. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  74177. if (argumentList == null) {
  74178. $async$returnValue = result;
  74179. // goto return
  74180. $async$goto = 1;
  74181. break;
  74182. }
  74183. if (evaluated.named.__js_helper$_length === 0) {
  74184. $async$returnValue = result;
  74185. // goto return
  74186. $async$goto = 1;
  74187. break;
  74188. }
  74189. if (argumentList._argument_list$_wereKeywordsAccessed) {
  74190. $async$returnValue = result;
  74191. // goto return
  74192. $async$goto = 1;
  74193. break;
  74194. }
  74195. t1 = evaluated.named;
  74196. t1 = t1.get$keys(t1);
  74197. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  74198. t2 = evaluated.named;
  74199. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure10(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  74200. case 1:
  74201. // return
  74202. return A._asyncReturn($async$returnValue, $async$completer);
  74203. case 2:
  74204. // rethrow
  74205. return A._asyncRethrow($async$currentError, $async$completer);
  74206. }
  74207. });
  74208. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  74209. },
  74210. _async_evaluate0$_evaluateArguments$1($arguments) {
  74211. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  74212. },
  74213. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  74214. var $async$goto = 0,
  74215. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
  74216. $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  74217. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74218. if ($async$errorCode === 1)
  74219. return A._asyncRethrow($async$result, $async$completer);
  74220. while (true)
  74221. switch ($async$goto) {
  74222. case 0:
  74223. // Function start
  74224. positional = A._setArrayType([], type$.JSArray_Value_2);
  74225. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  74226. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  74227. case 3:
  74228. // for condition
  74229. if (!(_i < t2)) {
  74230. // goto after for
  74231. $async$goto = 5;
  74232. break;
  74233. }
  74234. expression = t1[_i];
  74235. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  74236. $async$temp1 = positional;
  74237. $async$goto = 6;
  74238. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74239. case 6:
  74240. // returning from await.
  74241. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  74242. positionalNodes.push(nodeForSpan);
  74243. case 4:
  74244. // for update
  74245. ++_i;
  74246. // goto for condition
  74247. $async$goto = 3;
  74248. break;
  74249. case 5:
  74250. // after for
  74251. t1 = type$.String;
  74252. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  74253. t2 = type$.AstNode_2;
  74254. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74255. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  74256. case 7:
  74257. // for condition
  74258. if (!t3.moveNext$0()) {
  74259. // goto after for
  74260. $async$goto = 8;
  74261. break;
  74262. }
  74263. t4 = t3.get$current(t3);
  74264. t5 = t4.value;
  74265. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  74266. t4 = t4.key;
  74267. $async$temp1 = named;
  74268. $async$temp2 = t4;
  74269. $async$goto = 9;
  74270. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74271. case 9:
  74272. // returning from await.
  74273. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  74274. namedNodes.$indexSet(0, t4, nodeForSpan);
  74275. // goto for condition
  74276. $async$goto = 7;
  74277. break;
  74278. case 8:
  74279. // after for
  74280. restArgs = $arguments.rest;
  74281. if (restArgs == null) {
  74282. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  74283. // goto return
  74284. $async$goto = 1;
  74285. break;
  74286. }
  74287. $async$goto = 10;
  74288. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74289. case 10:
  74290. // returning from await.
  74291. rest = $async$result;
  74292. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  74293. if (rest instanceof A.SassMap0) {
  74294. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  74295. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74296. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  74297. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  74298. namedNodes.addAll$1(0, t3);
  74299. separator = B.ListSeparator_undecided_null_undecided0;
  74300. } else if (rest instanceof A.SassList0) {
  74301. t3 = rest._list1$_contents;
  74302. 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>")));
  74303. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  74304. separator = rest._list1$_separator;
  74305. if (rest instanceof A.SassArgumentList0) {
  74306. rest._argument_list$_wereKeywordsAccessed = true;
  74307. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  74308. }
  74309. } else {
  74310. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  74311. positionalNodes.push(restNodeForSpan);
  74312. separator = B.ListSeparator_undecided_null_undecided0;
  74313. }
  74314. keywordRestArgs = $arguments.keywordRest;
  74315. if (keywordRestArgs == null) {
  74316. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  74317. // goto return
  74318. $async$goto = 1;
  74319. break;
  74320. }
  74321. $async$goto = 11;
  74322. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  74323. case 11:
  74324. // returning from await.
  74325. keywordRest = $async$result;
  74326. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  74327. if (keywordRest instanceof A.SassMap0) {
  74328. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  74329. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  74330. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  74331. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  74332. namedNodes.addAll$1(0, t1);
  74333. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  74334. // goto return
  74335. $async$goto = 1;
  74336. break;
  74337. } else
  74338. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  74339. case 1:
  74340. // return
  74341. return A._asyncReturn($async$returnValue, $async$completer);
  74342. }
  74343. });
  74344. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  74345. },
  74346. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  74347. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  74348. },
  74349. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  74350. var $async$goto = 0,
  74351. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
  74352. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  74353. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74354. if ($async$errorCode === 1)
  74355. return A._asyncRethrow($async$result, $async$completer);
  74356. while (true)
  74357. switch ($async$goto) {
  74358. case 0:
  74359. // Function start
  74360. t1 = invocation.$arguments;
  74361. restArgs_ = t1.rest;
  74362. if (restArgs_ == null) {
  74363. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74364. // goto return
  74365. $async$goto = 1;
  74366. break;
  74367. }
  74368. t2 = t1.positional;
  74369. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  74370. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  74371. $async$goto = 3;
  74372. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  74373. case 3:
  74374. // returning from await.
  74375. rest = $async$result;
  74376. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  74377. if (rest instanceof A.SassMap0)
  74378. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  74379. else if (rest instanceof A.SassList0) {
  74380. t2 = rest._list1$_contents;
  74381. 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>")));
  74382. if (rest instanceof A.SassArgumentList0) {
  74383. rest._argument_list$_wereKeywordsAccessed = true;
  74384. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  74385. }
  74386. } else
  74387. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  74388. keywordRestArgs_ = t1.keywordRest;
  74389. if (keywordRestArgs_ == null) {
  74390. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74391. // goto return
  74392. $async$goto = 1;
  74393. break;
  74394. }
  74395. $async$goto = 4;
  74396. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  74397. case 4:
  74398. // returning from await.
  74399. keywordRest = $async$result;
  74400. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  74401. if (keywordRest instanceof A.SassMap0) {
  74402. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  74403. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  74404. // goto return
  74405. $async$goto = 1;
  74406. break;
  74407. } else
  74408. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  74409. case 1:
  74410. // return
  74411. return A._asyncReturn($async$returnValue, $async$completer);
  74412. }
  74413. });
  74414. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  74415. },
  74416. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  74417. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  74418. },
  74419. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  74420. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  74421. },
  74422. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  74423. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  74424. },
  74425. visitSelectorExpression$1(node) {
  74426. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  74427. },
  74428. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  74429. var $async$goto = 0,
  74430. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  74431. $async$returnValue, $async$self = this, t1;
  74432. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74433. if ($async$errorCode === 1)
  74434. return A._asyncRethrow($async$result, $async$completer);
  74435. while (true)
  74436. switch ($async$goto) {
  74437. case 0:
  74438. // Function start
  74439. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  74440. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  74441. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  74442. // goto return
  74443. $async$goto = 1;
  74444. break;
  74445. case 1:
  74446. // return
  74447. return A._asyncReturn($async$returnValue, $async$completer);
  74448. }
  74449. });
  74450. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  74451. },
  74452. visitStringExpression$1(node) {
  74453. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  74454. },
  74455. visitStringExpression$body$_EvaluateVisitor0(node) {
  74456. var $async$goto = 0,
  74457. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  74458. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  74459. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74460. if ($async$errorCode === 1)
  74461. return A._asyncRethrow($async$result, $async$completer);
  74462. while (true)
  74463. switch ($async$goto) {
  74464. case 0:
  74465. // Function start
  74466. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  74467. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  74468. $async$temp1 = J;
  74469. $async$goto = 3;
  74470. return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  74471. case 3:
  74472. // returning from await.
  74473. t1 = $async$temp1.join$0$ax($async$result);
  74474. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  74475. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  74476. // goto return
  74477. $async$goto = 1;
  74478. break;
  74479. case 1:
  74480. // return
  74481. return A._asyncReturn($async$returnValue, $async$completer);
  74482. }
  74483. });
  74484. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  74485. },
  74486. visitSupportsExpression$1(expression) {
  74487. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  74488. },
  74489. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  74490. var $async$goto = 0,
  74491. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  74492. $async$returnValue, $async$self = this, $async$temp1;
  74493. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74494. if ($async$errorCode === 1)
  74495. return A._asyncRethrow($async$result, $async$completer);
  74496. while (true)
  74497. switch ($async$goto) {
  74498. case 0:
  74499. // Function start
  74500. $async$temp1 = A;
  74501. $async$goto = 3;
  74502. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  74503. case 3:
  74504. // returning from await.
  74505. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  74506. // goto return
  74507. $async$goto = 1;
  74508. break;
  74509. case 1:
  74510. // return
  74511. return A._asyncReturn($async$returnValue, $async$completer);
  74512. }
  74513. });
  74514. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  74515. },
  74516. visitCssAtRule$1(node) {
  74517. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  74518. },
  74519. visitCssAtRule$body$_EvaluateVisitor0(node) {
  74520. var $async$goto = 0,
  74521. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74522. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  74523. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74524. if ($async$errorCode === 1)
  74525. return A._asyncRethrow($async$result, $async$completer);
  74526. while (true)
  74527. switch ($async$goto) {
  74528. case 0:
  74529. // Function start
  74530. if ($async$self._async_evaluate0$_declarationName != null)
  74531. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  74532. if (node.isChildless) {
  74533. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  74534. // goto return
  74535. $async$goto = 1;
  74536. break;
  74537. }
  74538. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  74539. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  74540. t1 = node.name;
  74541. if (A.unvendor0(t1.value) === "keyframes")
  74542. $async$self._async_evaluate0$_inKeyframes = true;
  74543. else
  74544. $async$self._async_evaluate0$_inUnknownAtRule = true;
  74545. $async$goto = 3;
  74546. 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);
  74547. case 3:
  74548. // returning from await.
  74549. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  74550. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  74551. case 1:
  74552. // return
  74553. return A._asyncReturn($async$returnValue, $async$completer);
  74554. }
  74555. });
  74556. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  74557. },
  74558. visitCssComment$1(node) {
  74559. return this.visitCssComment$body$_EvaluateVisitor0(node);
  74560. },
  74561. visitCssComment$body$_EvaluateVisitor0(node) {
  74562. var $async$goto = 0,
  74563. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74564. $async$self = this;
  74565. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74566. if ($async$errorCode === 1)
  74567. return A._asyncRethrow($async$result, $async$completer);
  74568. while (true)
  74569. switch ($async$goto) {
  74570. case 0:
  74571. // Function start
  74572. 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))
  74573. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  74574. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  74575. // implicit return
  74576. return A._asyncReturn(null, $async$completer);
  74577. }
  74578. });
  74579. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  74580. },
  74581. visitCssDeclaration$1(node) {
  74582. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  74583. },
  74584. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  74585. var $async$goto = 0,
  74586. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74587. $async$self = this, t1;
  74588. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74589. if ($async$errorCode === 1)
  74590. return A._asyncRethrow($async$result, $async$completer);
  74591. while (true)
  74592. switch ($async$goto) {
  74593. case 0:
  74594. // Function start
  74595. t1 = node.name;
  74596. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.value, "--"), node.valueSpanForMap));
  74597. // implicit return
  74598. return A._asyncReturn(null, $async$completer);
  74599. }
  74600. });
  74601. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  74602. },
  74603. visitCssImport$1(node) {
  74604. return this.visitCssImport$body$_EvaluateVisitor0(node);
  74605. },
  74606. visitCssImport$body$_EvaluateVisitor0(node) {
  74607. var $async$goto = 0,
  74608. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74609. $async$self = this, t1, modifiableNode;
  74610. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74611. if ($async$errorCode === 1)
  74612. return A._asyncRethrow($async$result, $async$completer);
  74613. while (true)
  74614. switch ($async$goto) {
  74615. case 0:
  74616. // Function start
  74617. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  74618. 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"))
  74619. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  74620. 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)) {
  74621. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  74622. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  74623. } else {
  74624. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  74625. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  74626. }
  74627. // implicit return
  74628. return A._asyncReturn(null, $async$completer);
  74629. }
  74630. });
  74631. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  74632. },
  74633. visitCssKeyframeBlock$1(node) {
  74634. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  74635. },
  74636. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  74637. var $async$goto = 0,
  74638. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74639. $async$self = this;
  74640. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74641. if ($async$errorCode === 1)
  74642. return A._asyncRethrow($async$result, $async$completer);
  74643. while (true)
  74644. switch ($async$goto) {
  74645. case 0:
  74646. // Function start
  74647. $async$goto = 2;
  74648. 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);
  74649. case 2:
  74650. // returning from await.
  74651. // implicit return
  74652. return A._asyncReturn(null, $async$completer);
  74653. }
  74654. });
  74655. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  74656. },
  74657. visitCssMediaRule$1(node) {
  74658. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  74659. },
  74660. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  74661. var $async$goto = 0,
  74662. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74663. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  74664. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74665. if ($async$errorCode === 1)
  74666. return A._asyncRethrow($async$result, $async$completer);
  74667. while (true)
  74668. switch ($async$goto) {
  74669. case 0:
  74670. // Function start
  74671. if ($async$self._async_evaluate0$_declarationName != null)
  74672. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  74673. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  74674. t1 = mergedQueries == null;
  74675. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  74676. // goto return
  74677. $async$goto = 1;
  74678. break;
  74679. }
  74680. if (t1)
  74681. mergedSources = B.Set_empty4;
  74682. else {
  74683. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  74684. t2.toString;
  74685. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  74686. t3 = $async$self._async_evaluate0$_mediaQueries;
  74687. t3.toString;
  74688. t2.addAll$1(0, t3);
  74689. t2.addAll$1(0, node.queries);
  74690. mergedSources = t2;
  74691. }
  74692. t1 = t1 ? node.queries : mergedQueries;
  74693. $async$goto = 3;
  74694. 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);
  74695. case 3:
  74696. // returning from await.
  74697. case 1:
  74698. // return
  74699. return A._asyncReturn($async$returnValue, $async$completer);
  74700. }
  74701. });
  74702. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  74703. },
  74704. visitCssStyleRule$1(node) {
  74705. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  74706. },
  74707. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  74708. var $async$goto = 0,
  74709. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74710. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule;
  74711. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74712. if ($async$errorCode === 1)
  74713. return A._asyncRethrow($async$result, $async$completer);
  74714. while (true)
  74715. switch ($async$goto) {
  74716. case 0:
  74717. // Function start
  74718. if ($async$self._async_evaluate0$_declarationName != null)
  74719. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  74720. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  74721. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  74722. t2 = node._style_rule0$_selector._box0$_inner.value;
  74723. t3 = styleRule == null;
  74724. t4 = t3 ? null : styleRule.originalSelector;
  74725. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  74726. 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, originalSelector);
  74727. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  74728. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  74729. $async$goto = 2;
  74730. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  74731. case 2:
  74732. // returning from await.
  74733. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74734. if (t3) {
  74735. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  74736. t1 = !t1.get$isEmpty(t1);
  74737. } else
  74738. t1 = false;
  74739. if (t1) {
  74740. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  74741. t1.get$last(t1).isGroupEnd = true;
  74742. }
  74743. // implicit return
  74744. return A._asyncReturn(null, $async$completer);
  74745. }
  74746. });
  74747. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  74748. },
  74749. visitCssStylesheet$1(node) {
  74750. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  74751. },
  74752. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  74753. var $async$goto = 0,
  74754. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74755. $async$self = this, t1;
  74756. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74757. if ($async$errorCode === 1)
  74758. return A._asyncRethrow($async$result, $async$completer);
  74759. while (true)
  74760. switch ($async$goto) {
  74761. case 0:
  74762. // Function start
  74763. t1 = J.get$iterator$ax(node.get$children(node));
  74764. case 2:
  74765. // for condition
  74766. if (!t1.moveNext$0()) {
  74767. // goto after for
  74768. $async$goto = 3;
  74769. break;
  74770. }
  74771. $async$goto = 4;
  74772. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  74773. case 4:
  74774. // returning from await.
  74775. // goto for condition
  74776. $async$goto = 2;
  74777. break;
  74778. case 3:
  74779. // after for
  74780. // implicit return
  74781. return A._asyncReturn(null, $async$completer);
  74782. }
  74783. });
  74784. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  74785. },
  74786. visitCssSupportsRule$1(node) {
  74787. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  74788. },
  74789. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  74790. var $async$goto = 0,
  74791. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74792. $async$self = this;
  74793. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74794. if ($async$errorCode === 1)
  74795. return A._asyncRethrow($async$result, $async$completer);
  74796. while (true)
  74797. switch ($async$goto) {
  74798. case 0:
  74799. // Function start
  74800. if ($async$self._async_evaluate0$_declarationName != null)
  74801. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  74802. $async$goto = 2;
  74803. 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);
  74804. case 2:
  74805. // returning from await.
  74806. // implicit return
  74807. return A._asyncReturn(null, $async$completer);
  74808. }
  74809. });
  74810. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  74811. },
  74812. _async_evaluate0$_handleReturn$1$2(list, callback) {
  74813. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  74814. },
  74815. _async_evaluate0$_handleReturn$2(list, callback) {
  74816. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  74817. },
  74818. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  74819. var $async$goto = 0,
  74820. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  74821. $async$returnValue, t1, _i, result;
  74822. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74823. if ($async$errorCode === 1)
  74824. return A._asyncRethrow($async$result, $async$completer);
  74825. while (true)
  74826. switch ($async$goto) {
  74827. case 0:
  74828. // Function start
  74829. t1 = list.length, _i = 0;
  74830. case 3:
  74831. // for condition
  74832. if (!(_i < list.length)) {
  74833. // goto after for
  74834. $async$goto = 5;
  74835. break;
  74836. }
  74837. $async$goto = 6;
  74838. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  74839. case 6:
  74840. // returning from await.
  74841. result = $async$result;
  74842. if (result != null) {
  74843. $async$returnValue = result;
  74844. // goto return
  74845. $async$goto = 1;
  74846. break;
  74847. }
  74848. case 4:
  74849. // for update
  74850. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  74851. // goto for condition
  74852. $async$goto = 3;
  74853. break;
  74854. case 5:
  74855. // after for
  74856. $async$returnValue = null;
  74857. // goto return
  74858. $async$goto = 1;
  74859. break;
  74860. case 1:
  74861. // return
  74862. return A._asyncReturn($async$returnValue, $async$completer);
  74863. }
  74864. });
  74865. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  74866. },
  74867. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  74868. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  74869. },
  74870. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  74871. var $async$goto = 0,
  74872. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  74873. $async$returnValue, $async$self = this, result, oldEnvironment;
  74874. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74875. if ($async$errorCode === 1)
  74876. return A._asyncRethrow($async$result, $async$completer);
  74877. while (true)
  74878. switch ($async$goto) {
  74879. case 0:
  74880. // Function start
  74881. oldEnvironment = $async$self._async_evaluate0$_environment;
  74882. $async$self._async_evaluate0$_environment = environment;
  74883. $async$goto = 3;
  74884. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  74885. case 3:
  74886. // returning from await.
  74887. result = $async$result;
  74888. $async$self._async_evaluate0$_environment = oldEnvironment;
  74889. $async$returnValue = result;
  74890. // goto return
  74891. $async$goto = 1;
  74892. break;
  74893. case 1:
  74894. // return
  74895. return A._asyncReturn($async$returnValue, $async$completer);
  74896. }
  74897. });
  74898. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  74899. },
  74900. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  74901. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  74902. },
  74903. _async_evaluate0$_interpolationToValue$1(interpolation) {
  74904. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  74905. },
  74906. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  74907. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  74908. },
  74909. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  74910. var $async$goto = 0,
  74911. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  74912. $async$returnValue, $async$self = this, result, t1;
  74913. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74914. if ($async$errorCode === 1)
  74915. return A._asyncRethrow($async$result, $async$completer);
  74916. while (true)
  74917. switch ($async$goto) {
  74918. case 0:
  74919. // Function start
  74920. $async$goto = 3;
  74921. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  74922. case 3:
  74923. // returning from await.
  74924. result = $async$result;
  74925. t1 = trim ? A.trimAscii0(result, true) : result;
  74926. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  74927. // goto return
  74928. $async$goto = 1;
  74929. break;
  74930. case 1:
  74931. // return
  74932. return A._asyncReturn($async$returnValue, $async$completer);
  74933. }
  74934. });
  74935. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  74936. },
  74937. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  74938. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  74939. },
  74940. _async_evaluate0$_performInterpolation$1(interpolation) {
  74941. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  74942. },
  74943. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  74944. var $async$goto = 0,
  74945. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74946. $async$returnValue, $async$self = this;
  74947. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74948. if ($async$errorCode === 1)
  74949. return A._asyncRethrow($async$result, $async$completer);
  74950. while (true)
  74951. switch ($async$goto) {
  74952. case 0:
  74953. // Function start
  74954. $async$goto = 3;
  74955. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  74956. case 3:
  74957. // returning from await.
  74958. $async$returnValue = $async$result.item1;
  74959. // goto return
  74960. $async$goto = 1;
  74961. break;
  74962. case 1:
  74963. // return
  74964. return A._asyncReturn($async$returnValue, $async$completer);
  74965. }
  74966. });
  74967. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  74968. },
  74969. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  74970. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  74971. },
  74972. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  74973. var $async$goto = 0,
  74974. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_String_InterpolationMap_2),
  74975. $async$returnValue, $async$self = this, tuple, t1, t2;
  74976. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74977. if ($async$errorCode === 1)
  74978. return A._asyncRethrow($async$result, $async$completer);
  74979. while (true)
  74980. switch ($async$goto) {
  74981. case 0:
  74982. // Function start
  74983. $async$goto = 3;
  74984. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  74985. case 3:
  74986. // returning from await.
  74987. tuple = $async$result;
  74988. t1 = tuple.item1;
  74989. t2 = tuple.item2;
  74990. t2.toString;
  74991. $async$returnValue = new A.Tuple2(t1, t2, type$.Tuple2_String_InterpolationMap_2);
  74992. // goto return
  74993. $async$goto = 1;
  74994. break;
  74995. case 1:
  74996. // return
  74997. return A._asyncReturn($async$returnValue, $async$completer);
  74998. }
  74999. });
  75000. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  75001. },
  75002. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  75003. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, true, warnForColor);
  75004. },
  75005. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  75006. var $async$goto = 0,
  75007. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_String_and_nullable_InterpolationMap_2),
  75008. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, targetLocations, oldInSupportsDeclaration;
  75009. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75010. if ($async$errorCode === 1)
  75011. return A._asyncRethrow($async$result, $async$completer);
  75012. while (true)
  75013. switch ($async$goto) {
  75014. case 0:
  75015. // Function start
  75016. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation);
  75017. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  75018. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  75019. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = type$.JSArray_Object, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  75020. case 3:
  75021. // for condition
  75022. if (!(_i < t2)) {
  75023. // goto after for
  75024. $async$goto = 5;
  75025. break;
  75026. }
  75027. value = t1[_i];
  75028. if (!first)
  75029. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  75030. if (typeof value == "string") {
  75031. t7 += value;
  75032. // goto for update
  75033. $async$goto = 4;
  75034. break;
  75035. }
  75036. t3._as(value);
  75037. $async$goto = 6;
  75038. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  75039. case 6:
  75040. // returning from await.
  75041. result = $async$result;
  75042. if (warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  75043. t8 = A._setArrayType([""], t4);
  75044. result0 = A.List_List$from(t8, false, t6);
  75045. result0.fixed$length = Array;
  75046. result0.immutable$list = Array;
  75047. result0 = new A.Interpolation0(result0, t5);
  75048. result0.Interpolation$20(t8, t5);
  75049. t8 = $.$get$namesByColor0();
  75050. $async$self._async_evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_anB0, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  75051. }
  75052. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  75053. case 4:
  75054. // for update
  75055. ++_i, first = false;
  75056. // goto for condition
  75057. $async$goto = 3;
  75058. break;
  75059. case 5:
  75060. // after for
  75061. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  75062. t1 = A.InterpolationMap$0(interpolation, targetLocations);
  75063. $async$returnValue = new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap_2);
  75064. // goto return
  75065. $async$goto = 1;
  75066. break;
  75067. case 1:
  75068. // return
  75069. return A._asyncReturn($async$returnValue, $async$completer);
  75070. }
  75071. });
  75072. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  75073. },
  75074. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  75075. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  75076. },
  75077. _async_evaluate0$_evaluateToCss$1(expression) {
  75078. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  75079. },
  75080. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  75081. var $async$goto = 0,
  75082. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  75083. $async$returnValue, $async$self = this;
  75084. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75085. if ($async$errorCode === 1)
  75086. return A._asyncRethrow($async$result, $async$completer);
  75087. while (true)
  75088. switch ($async$goto) {
  75089. case 0:
  75090. // Function start
  75091. $async$goto = 3;
  75092. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
  75093. case 3:
  75094. // returning from await.
  75095. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  75096. // goto return
  75097. $async$goto = 1;
  75098. break;
  75099. case 1:
  75100. // return
  75101. return A._asyncReturn($async$returnValue, $async$completer);
  75102. }
  75103. });
  75104. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  75105. },
  75106. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  75107. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  75108. },
  75109. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  75110. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  75111. },
  75112. _async_evaluate0$_expressionNode$1(expression) {
  75113. var t1;
  75114. if (expression instanceof A.VariableExpression0) {
  75115. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  75116. return t1 == null ? expression : t1;
  75117. } else
  75118. return expression;
  75119. },
  75120. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  75121. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  75122. },
  75123. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  75124. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  75125. },
  75126. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  75127. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  75128. },
  75129. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  75130. var $async$goto = 0,
  75131. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75132. $async$returnValue, $async$self = this, t1, result;
  75133. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75134. if ($async$errorCode === 1)
  75135. return A._asyncRethrow($async$result, $async$completer);
  75136. while (true)
  75137. switch ($async$goto) {
  75138. case 0:
  75139. // Function start
  75140. $async$self._async_evaluate0$_addChild$2$through(node, through);
  75141. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  75142. $async$self._async_evaluate0$__parent = node;
  75143. $async$goto = 3;
  75144. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  75145. case 3:
  75146. // returning from await.
  75147. result = $async$result;
  75148. $async$self._async_evaluate0$__parent = t1;
  75149. $async$returnValue = result;
  75150. // goto return
  75151. $async$goto = 1;
  75152. break;
  75153. case 1:
  75154. // return
  75155. return A._asyncReturn($async$returnValue, $async$completer);
  75156. }
  75157. });
  75158. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  75159. },
  75160. _async_evaluate0$_addChild$2$through(node, through) {
  75161. var grandparent, t1,
  75162. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  75163. if (through != null) {
  75164. for (; through.call$1($parent); $parent = grandparent) {
  75165. grandparent = $parent._node0$_parent;
  75166. if (grandparent == null)
  75167. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  75168. }
  75169. if ($parent.get$hasFollowingSibling()) {
  75170. grandparent = $parent._node0$_parent;
  75171. t1 = grandparent.children;
  75172. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  75173. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  75174. else {
  75175. $parent = $parent.copyWithoutChildren$0();
  75176. grandparent.addChild$1($parent);
  75177. }
  75178. }
  75179. }
  75180. $parent.addChild$1(node);
  75181. },
  75182. _async_evaluate0$_addChild$1(node) {
  75183. return this._async_evaluate0$_addChild$2$through(node, null);
  75184. },
  75185. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  75186. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  75187. },
  75188. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  75189. var $async$goto = 0,
  75190. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75191. $async$returnValue, $async$self = this, result, oldRule;
  75192. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75193. if ($async$errorCode === 1)
  75194. return A._asyncRethrow($async$result, $async$completer);
  75195. while (true)
  75196. switch ($async$goto) {
  75197. case 0:
  75198. // Function start
  75199. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  75200. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  75201. $async$goto = 3;
  75202. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  75203. case 3:
  75204. // returning from await.
  75205. result = $async$result;
  75206. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  75207. $async$returnValue = result;
  75208. // goto return
  75209. $async$goto = 1;
  75210. break;
  75211. case 1:
  75212. // return
  75213. return A._asyncReturn($async$returnValue, $async$completer);
  75214. }
  75215. });
  75216. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  75217. },
  75218. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  75219. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  75220. },
  75221. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  75222. var $async$goto = 0,
  75223. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75224. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  75225. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75226. if ($async$errorCode === 1)
  75227. return A._asyncRethrow($async$result, $async$completer);
  75228. while (true)
  75229. switch ($async$goto) {
  75230. case 0:
  75231. // Function start
  75232. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  75233. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  75234. $async$self._async_evaluate0$_mediaQueries = queries;
  75235. $async$self._async_evaluate0$_mediaQuerySources = sources;
  75236. $async$goto = 3;
  75237. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  75238. case 3:
  75239. // returning from await.
  75240. result = $async$result;
  75241. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  75242. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  75243. $async$returnValue = result;
  75244. // goto return
  75245. $async$goto = 1;
  75246. break;
  75247. case 1:
  75248. // return
  75249. return A._asyncReturn($async$returnValue, $async$completer);
  75250. }
  75251. });
  75252. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  75253. },
  75254. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  75255. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  75256. },
  75257. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  75258. var $async$goto = 0,
  75259. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75260. $async$returnValue, $async$self = this, oldMember, result, t1;
  75261. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75262. if ($async$errorCode === 1)
  75263. return A._asyncRethrow($async$result, $async$completer);
  75264. while (true)
  75265. switch ($async$goto) {
  75266. case 0:
  75267. // Function start
  75268. t1 = $async$self._async_evaluate0$_stack;
  75269. t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  75270. oldMember = $async$self._async_evaluate0$_member;
  75271. $async$self._async_evaluate0$_member = member;
  75272. $async$goto = 3;
  75273. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  75274. case 3:
  75275. // returning from await.
  75276. result = $async$result;
  75277. $async$self._async_evaluate0$_member = oldMember;
  75278. t1.pop();
  75279. $async$returnValue = result;
  75280. // goto return
  75281. $async$goto = 1;
  75282. break;
  75283. case 1:
  75284. // return
  75285. return A._asyncReturn($async$returnValue, $async$completer);
  75286. }
  75287. });
  75288. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  75289. },
  75290. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  75291. if (value instanceof A.SassNumber0 && value.asSlash != null)
  75292. 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_wWh);
  75293. return value.withoutSlash$0();
  75294. },
  75295. _async_evaluate0$_stackFrame$2(member, span) {
  75296. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  75297. },
  75298. _async_evaluate0$_stackTrace$1(span) {
  75299. var _this = this,
  75300. t1 = _this._async_evaluate0$_stack;
  75301. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure2(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  75302. if (span != null)
  75303. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  75304. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  75305. },
  75306. _async_evaluate0$_stackTrace$0() {
  75307. return this._async_evaluate0$_stackTrace$1(null);
  75308. },
  75309. _async_evaluate0$_warn$3(message, span, deprecation) {
  75310. var t1, trace, _this = this;
  75311. if (_this._async_evaluate0$_quietDeps)
  75312. if (!_this._async_evaluate0$_inDependency) {
  75313. t1 = _this._async_evaluate0$_currentCallable;
  75314. t1 = t1 == null ? null : t1.inDependency;
  75315. t1 = t1 === true;
  75316. } else
  75317. t1 = true;
  75318. else
  75319. t1 = false;
  75320. if (t1)
  75321. return;
  75322. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  75323. return;
  75324. trace = _this._async_evaluate0$_stackTrace$1(span);
  75325. t1 = _this._async_evaluate0$_logger;
  75326. if (deprecation == null)
  75327. t1.warn$3$span$trace(0, message, span, trace);
  75328. else
  75329. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  75330. },
  75331. _async_evaluate0$_warn$2(message, span) {
  75332. return this._async_evaluate0$_warn$3(message, span, null);
  75333. },
  75334. _async_evaluate0$_exception$2(message, span) {
  75335. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
  75336. return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
  75337. },
  75338. _async_evaluate0$_exception$1(message) {
  75339. return this._async_evaluate0$_exception$2(message, null);
  75340. },
  75341. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  75342. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
  75343. return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  75344. },
  75345. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  75346. var error, stackTrace, t1, exception,
  75347. addStackFrame = true;
  75348. try {
  75349. t1 = callback.call$0();
  75350. return t1;
  75351. } catch (exception) {
  75352. t1 = A.unwrapException(exception);
  75353. if (t1 instanceof A.SassScriptException0) {
  75354. error = t1;
  75355. stackTrace = A.getTraceFromException(exception);
  75356. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  75357. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  75358. } else
  75359. throw exception;
  75360. }
  75361. },
  75362. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  75363. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  75364. },
  75365. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  75366. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  75367. },
  75368. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  75369. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  75370. },
  75371. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  75372. var $async$goto = 0,
  75373. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75374. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  75375. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75376. if ($async$errorCode === 1) {
  75377. $async$currentError = $async$result;
  75378. $async$goto = $async$handler;
  75379. }
  75380. while (true)
  75381. switch ($async$goto) {
  75382. case 0:
  75383. // Function start
  75384. $async$handler = 4;
  75385. $async$goto = 7;
  75386. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  75387. case 7:
  75388. // returning from await.
  75389. t1 = $async$result;
  75390. $async$returnValue = t1;
  75391. // goto return
  75392. $async$goto = 1;
  75393. break;
  75394. $async$handler = 2;
  75395. // goto after finally
  75396. $async$goto = 6;
  75397. break;
  75398. case 4:
  75399. // catch
  75400. $async$handler = 3;
  75401. $async$exception = $async$currentError;
  75402. t1 = A.unwrapException($async$exception);
  75403. if (t1 instanceof A.SassScriptException0) {
  75404. error = t1;
  75405. stackTrace = A.getTraceFromException($async$exception);
  75406. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  75407. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  75408. } else
  75409. throw $async$exception;
  75410. // goto after finally
  75411. $async$goto = 6;
  75412. break;
  75413. case 3:
  75414. // uncaught
  75415. // goto rethrow
  75416. $async$goto = 2;
  75417. break;
  75418. case 6:
  75419. // after finally
  75420. case 1:
  75421. // return
  75422. return A._asyncReturn($async$returnValue, $async$completer);
  75423. case 2:
  75424. // rethrow
  75425. return A._asyncRethrow($async$currentError, $async$completer);
  75426. }
  75427. });
  75428. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  75429. },
  75430. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  75431. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  75432. },
  75433. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  75434. var $async$goto = 0,
  75435. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75436. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  75437. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75438. if ($async$errorCode === 1) {
  75439. $async$currentError = $async$result;
  75440. $async$goto = $async$handler;
  75441. }
  75442. while (true)
  75443. switch ($async$goto) {
  75444. case 0:
  75445. // Function start
  75446. $async$handler = 4;
  75447. $async$goto = 7;
  75448. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionTrace$1$1);
  75449. case 7:
  75450. // returning from await.
  75451. t1 = $async$result;
  75452. $async$returnValue = t1;
  75453. // goto return
  75454. $async$goto = 1;
  75455. break;
  75456. $async$handler = 2;
  75457. // goto after finally
  75458. $async$goto = 6;
  75459. break;
  75460. case 4:
  75461. // catch
  75462. $async$handler = 3;
  75463. $async$exception = $async$currentError;
  75464. t1 = A.unwrapException($async$exception);
  75465. if (type$.SassRuntimeException_2._is(t1))
  75466. throw $async$exception;
  75467. else if (t1 instanceof A.SassException0) {
  75468. error = t1;
  75469. stackTrace = A.getTraceFromException($async$exception);
  75470. t1 = error;
  75471. t2 = J.getInterceptor$z(t1);
  75472. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  75473. } else
  75474. throw $async$exception;
  75475. // goto after finally
  75476. $async$goto = 6;
  75477. break;
  75478. case 3:
  75479. // uncaught
  75480. // goto rethrow
  75481. $async$goto = 2;
  75482. break;
  75483. case 6:
  75484. // after finally
  75485. case 1:
  75486. // return
  75487. return A._asyncReturn($async$returnValue, $async$completer);
  75488. case 2:
  75489. // rethrow
  75490. return A._asyncRethrow($async$currentError, $async$completer);
  75491. }
  75492. });
  75493. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  75494. },
  75495. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  75496. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  75497. },
  75498. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  75499. var $async$goto = 0,
  75500. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75501. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  75502. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75503. if ($async$errorCode === 1) {
  75504. $async$currentError = $async$result;
  75505. $async$goto = $async$handler;
  75506. }
  75507. while (true)
  75508. switch ($async$goto) {
  75509. case 0:
  75510. // Function start
  75511. $async$handler = 4;
  75512. $async$goto = 7;
  75513. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  75514. case 7:
  75515. // returning from await.
  75516. t1 = $async$result;
  75517. $async$returnValue = t1;
  75518. // goto return
  75519. $async$goto = 1;
  75520. break;
  75521. $async$handler = 2;
  75522. // goto after finally
  75523. $async$goto = 6;
  75524. break;
  75525. case 4:
  75526. // catch
  75527. $async$handler = 3;
  75528. $async$exception = $async$currentError;
  75529. t1 = A.unwrapException($async$exception);
  75530. if (type$.SassRuntimeException_2._is(t1)) {
  75531. error = t1;
  75532. stackTrace = A.getTraceFromException($async$exception);
  75533. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  75534. throw $async$exception;
  75535. t1 = error._span_exception$_message;
  75536. t2 = nodeWithSpan.get$span(nodeWithSpan);
  75537. A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  75538. } else
  75539. throw $async$exception;
  75540. // goto after finally
  75541. $async$goto = 6;
  75542. break;
  75543. case 3:
  75544. // uncaught
  75545. // goto rethrow
  75546. $async$goto = 2;
  75547. break;
  75548. case 6:
  75549. // after finally
  75550. case 1:
  75551. // return
  75552. return A._asyncReturn($async$returnValue, $async$completer);
  75553. case 2:
  75554. // rethrow
  75555. return A._asyncRethrow($async$currentError, $async$completer);
  75556. }
  75557. });
  75558. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  75559. }
  75560. };
  75561. A._EvaluateVisitor_closure29.prototype = {
  75562. call$1($arguments) {
  75563. var module, t2,
  75564. t1 = J.getInterceptor$asx($arguments),
  75565. variable = t1.$index($arguments, 0).assertString$1("name");
  75566. t1 = t1.$index($arguments, 1).get$realNull();
  75567. module = t1 == null ? null : t1.assertString$1("module");
  75568. t1 = this.$this._async_evaluate0$_environment;
  75569. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  75570. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75571. },
  75572. $signature: 20
  75573. };
  75574. A._EvaluateVisitor_closure30.prototype = {
  75575. call$1($arguments) {
  75576. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  75577. t1 = this.$this._async_evaluate0$_environment;
  75578. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75579. },
  75580. $signature: 20
  75581. };
  75582. A._EvaluateVisitor_closure31.prototype = {
  75583. call$1($arguments) {
  75584. var module, t2, t3, t4,
  75585. t1 = J.getInterceptor$asx($arguments),
  75586. variable = t1.$index($arguments, 0).assertString$1("name");
  75587. t1 = t1.$index($arguments, 1).get$realNull();
  75588. module = t1 == null ? null : t1.assertString$1("module");
  75589. t1 = this.$this;
  75590. t2 = t1._async_evaluate0$_environment;
  75591. t3 = variable._string0$_text;
  75592. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  75593. 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;
  75594. },
  75595. $signature: 20
  75596. };
  75597. A._EvaluateVisitor_closure32.prototype = {
  75598. call$1($arguments) {
  75599. var module, t2,
  75600. t1 = J.getInterceptor$asx($arguments),
  75601. variable = t1.$index($arguments, 0).assertString$1("name");
  75602. t1 = t1.$index($arguments, 1).get$realNull();
  75603. module = t1 == null ? null : t1.assertString$1("module");
  75604. t1 = this.$this._async_evaluate0$_environment;
  75605. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  75606. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75607. },
  75608. $signature: 20
  75609. };
  75610. A._EvaluateVisitor_closure33.prototype = {
  75611. call$1($arguments) {
  75612. var t1 = this.$this._async_evaluate0$_environment;
  75613. if (!t1._async_environment0$_inMixin)
  75614. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  75615. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75616. },
  75617. $signature: 20
  75618. };
  75619. A._EvaluateVisitor_closure34.prototype = {
  75620. call$1($arguments) {
  75621. var t2, t3, t4,
  75622. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  75623. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  75624. if (module == null)
  75625. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  75626. t1 = type$.Value_2;
  75627. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  75628. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  75629. t4 = t3.get$current(t3);
  75630. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  75631. }
  75632. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  75633. },
  75634. $signature: 35
  75635. };
  75636. A._EvaluateVisitor_closure35.prototype = {
  75637. call$1($arguments) {
  75638. var t2, t3, t4,
  75639. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  75640. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  75641. if (module == null)
  75642. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  75643. t1 = type$.Value_2;
  75644. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  75645. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  75646. t4 = t3.get$current(t3);
  75647. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  75648. }
  75649. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  75650. },
  75651. $signature: 35
  75652. };
  75653. A._EvaluateVisitor_closure36.prototype = {
  75654. call$1($arguments) {
  75655. var module, callable, t2,
  75656. t1 = J.getInterceptor$asx($arguments),
  75657. $name = t1.$index($arguments, 0).assertString$1("name"),
  75658. css = t1.$index($arguments, 1).get$isTruthy();
  75659. t1 = t1.$index($arguments, 2).get$realNull();
  75660. module = t1 == null ? null : t1.assertString$1("module");
  75661. if (css && module != null)
  75662. throw A.wrapException(string$.x24css_a);
  75663. if (css)
  75664. callable = new A.PlainCssCallable0($name._string0$_text);
  75665. else {
  75666. t1 = this.$this;
  75667. t2 = t1._async_evaluate0$_callableNode;
  75668. t2.toString;
  75669. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  75670. }
  75671. if (callable != null)
  75672. return new A.SassFunction0(callable);
  75673. throw A.wrapException("Function not found: " + $name.toString$0(0));
  75674. },
  75675. $signature: 192
  75676. };
  75677. A._EvaluateVisitor__closure10.prototype = {
  75678. call$0() {
  75679. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  75680. t2 = this.module;
  75681. t2 = t2 == null ? null : t2._string0$_text;
  75682. return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
  75683. },
  75684. $signature: 124
  75685. };
  75686. A._EvaluateVisitor_closure37.prototype = {
  75687. call$1($arguments) {
  75688. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  75689. },
  75690. $call$body$_EvaluateVisitor_closure2($arguments) {
  75691. var $async$goto = 0,
  75692. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  75693. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  75694. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75695. if ($async$errorCode === 1)
  75696. return A._asyncRethrow($async$result, $async$completer);
  75697. while (true)
  75698. switch ($async$goto) {
  75699. case 0:
  75700. // Function start
  75701. t1 = J.getInterceptor$asx($arguments);
  75702. $function = t1.$index($arguments, 0);
  75703. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  75704. t1 = $async$self.$this;
  75705. t2 = t1._async_evaluate0$_callableNode;
  75706. t2.toString;
  75707. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  75708. t4 = type$.String;
  75709. t5 = type$.Expression_2;
  75710. t6 = t2.get$span(t2);
  75711. t7 = t2.get$span(t2);
  75712. args._argument_list$_wereKeywordsAccessed = true;
  75713. t8 = args._argument_list$_keywords;
  75714. if (t8.get$isEmpty(t8))
  75715. t2 = null;
  75716. else {
  75717. t9 = type$.Value_2;
  75718. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  75719. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  75720. t11 = t8.get$current(t8);
  75721. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  75722. }
  75723. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  75724. }
  75725. 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);
  75726. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  75727. break;
  75728. case 3:
  75729. // then
  75730. t2 = $function.toString$0(0);
  75731. A.EvaluationContext_current0().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_4iQ);
  75732. callableNode = t1._async_evaluate0$_callableNode;
  75733. $async$goto = 5;
  75734. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  75735. case 5:
  75736. // returning from await.
  75737. $async$returnValue = $async$result;
  75738. // goto return
  75739. $async$goto = 1;
  75740. break;
  75741. case 4:
  75742. // join
  75743. t2 = $function.assertFunction$1("function");
  75744. t3 = t1._async_evaluate0$_callableNode;
  75745. t3.toString;
  75746. $async$goto = 6;
  75747. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  75748. case 6:
  75749. // returning from await.
  75750. t3 = $async$result;
  75751. $async$returnValue = t3;
  75752. // goto return
  75753. $async$goto = 1;
  75754. break;
  75755. case 1:
  75756. // return
  75757. return A._asyncReturn($async$returnValue, $async$completer);
  75758. }
  75759. });
  75760. return A._asyncStartSync($async$call$1, $async$completer);
  75761. },
  75762. $signature: 89
  75763. };
  75764. A._EvaluateVisitor_closure38.prototype = {
  75765. call$1($arguments) {
  75766. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  75767. },
  75768. $call$body$_EvaluateVisitor_closure1($arguments) {
  75769. var $async$goto = 0,
  75770. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75771. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  75772. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75773. if ($async$errorCode === 1)
  75774. return A._asyncRethrow($async$result, $async$completer);
  75775. while (true)
  75776. switch ($async$goto) {
  75777. case 0:
  75778. // Function start
  75779. t1 = J.getInterceptor$asx($arguments);
  75780. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  75781. t1 = t1.$index($arguments, 1).get$realNull();
  75782. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  75783. t1 = $async$self.$this;
  75784. t2 = t1._async_evaluate0$_callableNode;
  75785. t2.toString;
  75786. if (withMap != null) {
  75787. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  75788. withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
  75789. configuration = new A.ExplicitConfiguration0(t2, values, null);
  75790. } else
  75791. configuration = B.Configuration_Map_empty_null0;
  75792. t3 = t2.get$span(t2);
  75793. $async$goto = 2;
  75794. return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure9(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  75795. case 2:
  75796. // returning from await.
  75797. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  75798. // implicit return
  75799. return A._asyncReturn(null, $async$completer);
  75800. }
  75801. });
  75802. return A._asyncStartSync($async$call$1, $async$completer);
  75803. },
  75804. $signature: 321
  75805. };
  75806. A._EvaluateVisitor__closure8.prototype = {
  75807. call$2(variable, value) {
  75808. var t1 = variable.assertString$1("with key"),
  75809. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  75810. t1 = this.values;
  75811. if (t1.containsKey$1($name))
  75812. throw A.wrapException("The variable $" + $name + " was configured twice.");
  75813. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  75814. },
  75815. $signature: 49
  75816. };
  75817. A._EvaluateVisitor__closure9.prototype = {
  75818. call$1(module) {
  75819. var t1 = this.$this;
  75820. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  75821. },
  75822. $signature: 195
  75823. };
  75824. A._EvaluateVisitor_run_closure2.prototype = {
  75825. call$0() {
  75826. var $async$goto = 0,
  75827. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  75828. $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
  75829. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75830. if ($async$errorCode === 1)
  75831. return A._asyncRethrow($async$result, $async$completer);
  75832. while (true)
  75833. switch ($async$goto) {
  75834. case 0:
  75835. // Function start
  75836. t1 = $async$self.node;
  75837. url = t1.span.file.url;
  75838. if (url != null) {
  75839. t2 = $async$self.$this;
  75840. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  75841. if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  75842. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  75843. }
  75844. t2 = $async$self.$this;
  75845. $async$temp1 = A;
  75846. $async$temp2 = t2;
  75847. $async$goto = 3;
  75848. 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);
  75849. case 3:
  75850. // returning from await.
  75851. $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
  75852. // goto return
  75853. $async$goto = 1;
  75854. break;
  75855. case 1:
  75856. // return
  75857. return A._asyncReturn($async$returnValue, $async$completer);
  75858. }
  75859. });
  75860. return A._asyncStartSync($async$call$0, $async$completer);
  75861. },
  75862. $signature: 324
  75863. };
  75864. A._EvaluateVisitor_run__closure2.prototype = {
  75865. call$0() {
  75866. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  75867. },
  75868. $signature: 325
  75869. };
  75870. A._EvaluateVisitor__loadModule_closure5.prototype = {
  75871. call$0() {
  75872. return this.callback.call$1(this.builtInModule);
  75873. },
  75874. $signature: 0
  75875. };
  75876. A._EvaluateVisitor__loadModule_closure6.prototype = {
  75877. call$0() {
  75878. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  75879. },
  75880. $call$body$_EvaluateVisitor__loadModule_closure0() {
  75881. var $async$goto = 0,
  75882. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75883. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, message, t1, t2, t3, result, stylesheet, canonicalUrl, $async$temp1;
  75884. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75885. if ($async$errorCode === 1) {
  75886. $async$currentError = $async$result;
  75887. $async$goto = $async$handler;
  75888. }
  75889. while (true)
  75890. switch ($async$goto) {
  75891. case 0:
  75892. // Function start
  75893. t1 = {};
  75894. t2 = $async$self.$this;
  75895. t3 = $async$self.nodeWithSpan;
  75896. $async$goto = 2;
  75897. 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);
  75898. case 2:
  75899. // returning from await.
  75900. result = $async$result;
  75901. stylesheet = result.stylesheet;
  75902. canonicalUrl = stylesheet.span.file.url;
  75903. if (canonicalUrl != null && t2._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  75904. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  75905. t1 = A.NullableExtension_andThen0(t2._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  75906. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  75907. }
  75908. if (canonicalUrl != null)
  75909. t2._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t3);
  75910. oldInDependency = t2._async_evaluate0$_inDependency;
  75911. t2._async_evaluate0$_inDependency = result.isDependency;
  75912. t1.module = null;
  75913. $async$handler = 3;
  75914. $async$temp1 = t1;
  75915. $async$goto = 6;
  75916. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  75917. case 6:
  75918. // returning from await.
  75919. $async$temp1.module = $async$result;
  75920. $async$next.push(5);
  75921. // goto finally
  75922. $async$goto = 4;
  75923. break;
  75924. case 3:
  75925. // uncaught
  75926. $async$next = [1];
  75927. case 4:
  75928. // finally
  75929. $async$handler = 1;
  75930. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  75931. t2._async_evaluate0$_inDependency = oldInDependency;
  75932. // goto the next finally handler
  75933. $async$goto = $async$next.pop();
  75934. break;
  75935. case 5:
  75936. // after finally
  75937. $async$goto = 7;
  75938. return A._asyncAwait(t2._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure6(t1, $async$self.callback), false, type$.void), $async$call$0);
  75939. case 7:
  75940. // returning from await.
  75941. // implicit return
  75942. return A._asyncReturn(null, $async$completer);
  75943. case 1:
  75944. // rethrow
  75945. return A._asyncRethrow($async$currentError, $async$completer);
  75946. }
  75947. });
  75948. return A._asyncStartSync($async$call$0, $async$completer);
  75949. },
  75950. $signature: 2
  75951. };
  75952. A._EvaluateVisitor__loadModule__closure5.prototype = {
  75953. call$1(previousLoad) {
  75954. 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));
  75955. },
  75956. $signature: 96
  75957. };
  75958. A._EvaluateVisitor__loadModule__closure6.prototype = {
  75959. call$0() {
  75960. return this.callback.call$1(this._box_0.module);
  75961. },
  75962. $signature: 0
  75963. };
  75964. A._EvaluateVisitor__execute_closure2.prototype = {
  75965. call$0() {
  75966. var $async$goto = 0,
  75967. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75968. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  75969. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75970. if ($async$errorCode === 1)
  75971. return A._asyncRethrow($async$result, $async$completer);
  75972. while (true)
  75973. switch ($async$goto) {
  75974. case 0:
  75975. // Function start
  75976. t1 = $async$self.$this;
  75977. oldImporter = t1._async_evaluate0$_importer;
  75978. oldStylesheet = t1._async_evaluate0$__stylesheet;
  75979. oldRoot = t1._async_evaluate0$__root;
  75980. oldParent = t1._async_evaluate0$__parent;
  75981. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  75982. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  75983. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  75984. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  75985. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  75986. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  75987. oldDeclarationName = t1._async_evaluate0$_declarationName;
  75988. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  75989. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  75990. oldConfiguration = t1._async_evaluate0$_configuration;
  75991. t1._async_evaluate0$_importer = $async$self.importer;
  75992. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  75993. t4 = t3.span;
  75994. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  75995. t1._async_evaluate0$__endOfImports = 0;
  75996. t1._async_evaluate0$_outOfOrderImports = null;
  75997. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  75998. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  75999. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  76000. t6 = $async$self.configuration;
  76001. if (t6 != null)
  76002. t1._async_evaluate0$_configuration = t6;
  76003. $async$goto = 2;
  76004. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  76005. case 2:
  76006. // returning from await.
  76007. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  76008. $async$self.css.__late_helper$_value = t3;
  76009. t1._async_evaluate0$_importer = oldImporter;
  76010. t1._async_evaluate0$__stylesheet = oldStylesheet;
  76011. t1._async_evaluate0$__root = oldRoot;
  76012. t1._async_evaluate0$__parent = oldParent;
  76013. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  76014. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  76015. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  76016. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  76017. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  76018. t1._async_evaluate0$_declarationName = oldDeclarationName;
  76019. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  76020. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  76021. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  76022. t1._async_evaluate0$_configuration = oldConfiguration;
  76023. // implicit return
  76024. return A._asyncReturn(null, $async$completer);
  76025. }
  76026. });
  76027. return A._asyncStartSync($async$call$0, $async$completer);
  76028. },
  76029. $signature: 2
  76030. };
  76031. A._EvaluateVisitor__combineCss_closure8.prototype = {
  76032. call$1(module) {
  76033. return module.get$transitivelyContainsCss();
  76034. },
  76035. $signature: 102
  76036. };
  76037. A._EvaluateVisitor__combineCss_closure9.prototype = {
  76038. call$1(target) {
  76039. return !this.selectors.contains$1(0, target);
  76040. },
  76041. $signature: 14
  76042. };
  76043. A._EvaluateVisitor__combineCss_closure10.prototype = {
  76044. call$1(module) {
  76045. return module.cloneCss$0();
  76046. },
  76047. $signature: 327
  76048. };
  76049. A._EvaluateVisitor__extendModules_closure5.prototype = {
  76050. call$1(target) {
  76051. return !this.originalSelectors.contains$1(0, target);
  76052. },
  76053. $signature: 14
  76054. };
  76055. A._EvaluateVisitor__extendModules_closure6.prototype = {
  76056. call$0() {
  76057. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  76058. },
  76059. $signature: 196
  76060. };
  76061. A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
  76062. call$1(module) {
  76063. var t1, t2, t3, _i, upstream;
  76064. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76065. upstream = t1[_i];
  76066. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  76067. this.call$1(upstream);
  76068. }
  76069. this.sorted.addFirst$1(module);
  76070. },
  76071. $signature: 195
  76072. };
  76073. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  76074. call$0() {
  76075. var $async$goto = 0,
  76076. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76077. $async$self = this, t1, t2, t3, _i;
  76078. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76079. if ($async$errorCode === 1)
  76080. return A._asyncRethrow($async$result, $async$completer);
  76081. while (true)
  76082. switch ($async$goto) {
  76083. case 0:
  76084. // Function start
  76085. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76086. case 2:
  76087. // for condition
  76088. if (!(_i < t2)) {
  76089. // goto after for
  76090. $async$goto = 4;
  76091. break;
  76092. }
  76093. $async$goto = 5;
  76094. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76095. case 5:
  76096. // returning from await.
  76097. case 3:
  76098. // for update
  76099. ++_i;
  76100. // goto for condition
  76101. $async$goto = 2;
  76102. break;
  76103. case 4:
  76104. // after for
  76105. // implicit return
  76106. return A._asyncReturn(null, $async$completer);
  76107. }
  76108. });
  76109. return A._asyncStartSync($async$call$0, $async$completer);
  76110. },
  76111. $signature: 2
  76112. };
  76113. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  76114. call$0() {
  76115. var $async$goto = 0,
  76116. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76117. $async$self = this, t1, t2, t3, _i;
  76118. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76119. if ($async$errorCode === 1)
  76120. return A._asyncRethrow($async$result, $async$completer);
  76121. while (true)
  76122. switch ($async$goto) {
  76123. case 0:
  76124. // Function start
  76125. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76126. case 2:
  76127. // for condition
  76128. if (!(_i < t2)) {
  76129. // goto after for
  76130. $async$goto = 4;
  76131. break;
  76132. }
  76133. $async$goto = 5;
  76134. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76135. case 5:
  76136. // returning from await.
  76137. case 3:
  76138. // for update
  76139. ++_i;
  76140. // goto for condition
  76141. $async$goto = 2;
  76142. break;
  76143. case 4:
  76144. // after for
  76145. // implicit return
  76146. return A._asyncReturn(null, $async$completer);
  76147. }
  76148. });
  76149. return A._asyncStartSync($async$call$0, $async$completer);
  76150. },
  76151. $signature: 39
  76152. };
  76153. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  76154. call$1(callback) {
  76155. var $async$goto = 0,
  76156. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76157. $async$self = this, t1, t2;
  76158. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76159. if ($async$errorCode === 1)
  76160. return A._asyncRethrow($async$result, $async$completer);
  76161. while (true)
  76162. switch ($async$goto) {
  76163. case 0:
  76164. // Function start
  76165. t1 = $async$self.$this;
  76166. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  76167. t1._async_evaluate0$__parent = $async$self.newParent;
  76168. $async$goto = 2;
  76169. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  76170. case 2:
  76171. // returning from await.
  76172. t1._async_evaluate0$__parent = t2;
  76173. // implicit return
  76174. return A._asyncReturn(null, $async$completer);
  76175. }
  76176. });
  76177. return A._asyncStartSync($async$call$1, $async$completer);
  76178. },
  76179. $signature: 31
  76180. };
  76181. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  76182. call$1(callback) {
  76183. var $async$goto = 0,
  76184. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76185. $async$self = this, t1, oldAtRootExcludingStyleRule;
  76186. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76187. if ($async$errorCode === 1)
  76188. return A._asyncRethrow($async$result, $async$completer);
  76189. while (true)
  76190. switch ($async$goto) {
  76191. case 0:
  76192. // Function start
  76193. t1 = $async$self.$this;
  76194. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  76195. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  76196. $async$goto = 2;
  76197. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76198. case 2:
  76199. // returning from await.
  76200. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  76201. // implicit return
  76202. return A._asyncReturn(null, $async$completer);
  76203. }
  76204. });
  76205. return A._asyncStartSync($async$call$1, $async$completer);
  76206. },
  76207. $signature: 31
  76208. };
  76209. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  76210. call$1(callback) {
  76211. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  76212. },
  76213. $signature: 31
  76214. };
  76215. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  76216. call$0() {
  76217. return this.innerScope.call$1(this.callback);
  76218. },
  76219. $signature: 2
  76220. };
  76221. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  76222. call$1(callback) {
  76223. var $async$goto = 0,
  76224. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76225. $async$self = this, t1, wasInKeyframes;
  76226. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76227. if ($async$errorCode === 1)
  76228. return A._asyncRethrow($async$result, $async$completer);
  76229. while (true)
  76230. switch ($async$goto) {
  76231. case 0:
  76232. // Function start
  76233. t1 = $async$self.$this;
  76234. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  76235. t1._async_evaluate0$_inKeyframes = false;
  76236. $async$goto = 2;
  76237. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76238. case 2:
  76239. // returning from await.
  76240. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  76241. // implicit return
  76242. return A._asyncReturn(null, $async$completer);
  76243. }
  76244. });
  76245. return A._asyncStartSync($async$call$1, $async$completer);
  76246. },
  76247. $signature: 31
  76248. };
  76249. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  76250. call$1($parent) {
  76251. return type$.CssAtRule_2._is($parent);
  76252. },
  76253. $signature: 197
  76254. };
  76255. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  76256. call$1(callback) {
  76257. var $async$goto = 0,
  76258. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76259. $async$self = this, t1, wasInUnknownAtRule;
  76260. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76261. if ($async$errorCode === 1)
  76262. return A._asyncRethrow($async$result, $async$completer);
  76263. while (true)
  76264. switch ($async$goto) {
  76265. case 0:
  76266. // Function start
  76267. t1 = $async$self.$this;
  76268. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  76269. t1._async_evaluate0$_inUnknownAtRule = false;
  76270. $async$goto = 2;
  76271. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  76272. case 2:
  76273. // returning from await.
  76274. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  76275. // implicit return
  76276. return A._asyncReturn(null, $async$completer);
  76277. }
  76278. });
  76279. return A._asyncStartSync($async$call$1, $async$completer);
  76280. },
  76281. $signature: 31
  76282. };
  76283. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  76284. call$0() {
  76285. var $async$goto = 0,
  76286. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76287. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  76288. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76289. if ($async$errorCode === 1)
  76290. return A._asyncRethrow($async$result, $async$completer);
  76291. while (true)
  76292. switch ($async$goto) {
  76293. case 0:
  76294. // Function start
  76295. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76296. case 3:
  76297. // for condition
  76298. if (!(_i < t2)) {
  76299. // goto after for
  76300. $async$goto = 5;
  76301. break;
  76302. }
  76303. $async$goto = 6;
  76304. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76305. case 6:
  76306. // returning from await.
  76307. case 4:
  76308. // for update
  76309. ++_i;
  76310. // goto for condition
  76311. $async$goto = 3;
  76312. break;
  76313. case 5:
  76314. // after for
  76315. $async$returnValue = null;
  76316. // goto return
  76317. $async$goto = 1;
  76318. break;
  76319. case 1:
  76320. // return
  76321. return A._asyncReturn($async$returnValue, $async$completer);
  76322. }
  76323. });
  76324. return A._asyncStartSync($async$call$0, $async$completer);
  76325. },
  76326. $signature: 2
  76327. };
  76328. A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
  76329. call$1(value) {
  76330. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
  76331. },
  76332. $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
  76333. var $async$goto = 0,
  76334. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
  76335. $async$returnValue, $async$self = this, $async$temp1;
  76336. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76337. if ($async$errorCode === 1)
  76338. return A._asyncRethrow($async$result, $async$completer);
  76339. while (true)
  76340. switch ($async$goto) {
  76341. case 0:
  76342. // Function start
  76343. $async$temp1 = A;
  76344. $async$goto = 3;
  76345. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  76346. case 3:
  76347. // returning from await.
  76348. $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
  76349. // goto return
  76350. $async$goto = 1;
  76351. break;
  76352. case 1:
  76353. // return
  76354. return A._asyncReturn($async$returnValue, $async$completer);
  76355. }
  76356. });
  76357. return A._asyncStartSync($async$call$1, $async$completer);
  76358. },
  76359. $signature: 330
  76360. };
  76361. A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
  76362. call$0() {
  76363. var $async$goto = 0,
  76364. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76365. $async$self = this, t1, t2, t3, _i;
  76366. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76367. if ($async$errorCode === 1)
  76368. return A._asyncRethrow($async$result, $async$completer);
  76369. while (true)
  76370. switch ($async$goto) {
  76371. case 0:
  76372. // Function start
  76373. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76374. case 2:
  76375. // for condition
  76376. if (!(_i < t2)) {
  76377. // goto after for
  76378. $async$goto = 4;
  76379. break;
  76380. }
  76381. $async$goto = 5;
  76382. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76383. case 5:
  76384. // returning from await.
  76385. case 3:
  76386. // for update
  76387. ++_i;
  76388. // goto for condition
  76389. $async$goto = 2;
  76390. break;
  76391. case 4:
  76392. // after for
  76393. // implicit return
  76394. return A._asyncReturn(null, $async$completer);
  76395. }
  76396. });
  76397. return A._asyncStartSync($async$call$0, $async$completer);
  76398. },
  76399. $signature: 2
  76400. };
  76401. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  76402. call$1(value) {
  76403. var t1 = this.$this,
  76404. t2 = this.nodeWithSpan;
  76405. return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  76406. },
  76407. $signature: 52
  76408. };
  76409. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  76410. call$1(value) {
  76411. return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  76412. },
  76413. $signature: 52
  76414. };
  76415. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  76416. call$0() {
  76417. var _this = this,
  76418. t1 = _this.$this;
  76419. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  76420. },
  76421. $signature: 68
  76422. };
  76423. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  76424. call$1(element) {
  76425. var t1;
  76426. this.setVariables.call$1(element);
  76427. t1 = this.$this;
  76428. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  76429. },
  76430. $signature: 333
  76431. };
  76432. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  76433. call$1(child) {
  76434. return child.accept$1(this.$this);
  76435. },
  76436. $signature: 79
  76437. };
  76438. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  76439. call$1(value) {
  76440. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  76441. },
  76442. $signature: 335
  76443. };
  76444. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  76445. call$0() {
  76446. var $async$goto = 0,
  76447. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76448. $async$self = this, t2, t3, _i, t1, styleRule;
  76449. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76450. if ($async$errorCode === 1)
  76451. return A._asyncRethrow($async$result, $async$completer);
  76452. while (true)
  76453. switch ($async$goto) {
  76454. case 0:
  76455. // Function start
  76456. t1 = $async$self.$this;
  76457. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76458. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  76459. break;
  76460. case 2:
  76461. // then
  76462. t2 = $async$self.children, t3 = t2.length, _i = 0;
  76463. case 5:
  76464. // for condition
  76465. if (!(_i < t3)) {
  76466. // goto after for
  76467. $async$goto = 7;
  76468. break;
  76469. }
  76470. $async$goto = 8;
  76471. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  76472. case 8:
  76473. // returning from await.
  76474. case 6:
  76475. // for update
  76476. ++_i;
  76477. // goto for condition
  76478. $async$goto = 5;
  76479. break;
  76480. case 7:
  76481. // after for
  76482. // goto join
  76483. $async$goto = 3;
  76484. break;
  76485. case 4:
  76486. // else
  76487. $async$goto = 9;
  76488. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  76489. case 9:
  76490. // returning from await.
  76491. case 3:
  76492. // join
  76493. // implicit return
  76494. return A._asyncReturn(null, $async$completer);
  76495. }
  76496. });
  76497. return A._asyncStartSync($async$call$0, $async$completer);
  76498. },
  76499. $signature: 2
  76500. };
  76501. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  76502. call$0() {
  76503. var $async$goto = 0,
  76504. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76505. $async$self = this, t1, t2, t3, _i;
  76506. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76507. if ($async$errorCode === 1)
  76508. return A._asyncRethrow($async$result, $async$completer);
  76509. while (true)
  76510. switch ($async$goto) {
  76511. case 0:
  76512. // Function start
  76513. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  76514. case 2:
  76515. // for condition
  76516. if (!(_i < t2)) {
  76517. // goto after for
  76518. $async$goto = 4;
  76519. break;
  76520. }
  76521. $async$goto = 5;
  76522. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  76523. case 5:
  76524. // returning from await.
  76525. case 3:
  76526. // for update
  76527. ++_i;
  76528. // goto for condition
  76529. $async$goto = 2;
  76530. break;
  76531. case 4:
  76532. // after for
  76533. // implicit return
  76534. return A._asyncReturn(null, $async$completer);
  76535. }
  76536. });
  76537. return A._asyncStartSync($async$call$0, $async$completer);
  76538. },
  76539. $signature: 2
  76540. };
  76541. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  76542. call$1(node) {
  76543. return type$.CssStyleRule_2._is(node);
  76544. },
  76545. $signature: 6
  76546. };
  76547. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  76548. call$0() {
  76549. var $async$goto = 0,
  76550. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  76551. $async$returnValue, $async$self = this;
  76552. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76553. if ($async$errorCode === 1)
  76554. return A._asyncRethrow($async$result, $async$completer);
  76555. while (true)
  76556. switch ($async$goto) {
  76557. case 0:
  76558. // Function start
  76559. $async$goto = 3;
  76560. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  76561. case 3:
  76562. // returning from await.
  76563. $async$returnValue = $async$result.assertNumber$0();
  76564. // goto return
  76565. $async$goto = 1;
  76566. break;
  76567. case 1:
  76568. // return
  76569. return A._asyncReturn($async$returnValue, $async$completer);
  76570. }
  76571. });
  76572. return A._asyncStartSync($async$call$0, $async$completer);
  76573. },
  76574. $signature: 199
  76575. };
  76576. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  76577. call$0() {
  76578. var $async$goto = 0,
  76579. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  76580. $async$returnValue, $async$self = this;
  76581. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76582. if ($async$errorCode === 1)
  76583. return A._asyncRethrow($async$result, $async$completer);
  76584. while (true)
  76585. switch ($async$goto) {
  76586. case 0:
  76587. // Function start
  76588. $async$goto = 3;
  76589. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  76590. case 3:
  76591. // returning from await.
  76592. $async$returnValue = $async$result.assertNumber$0();
  76593. // goto return
  76594. $async$goto = 1;
  76595. break;
  76596. case 1:
  76597. // return
  76598. return A._asyncReturn($async$returnValue, $async$completer);
  76599. }
  76600. });
  76601. return A._asyncStartSync($async$call$0, $async$completer);
  76602. },
  76603. $signature: 199
  76604. };
  76605. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  76606. call$0() {
  76607. return this.fromNumber.assertInt$0();
  76608. },
  76609. $signature: 12
  76610. };
  76611. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  76612. call$0() {
  76613. var t1 = this.fromNumber;
  76614. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  76615. },
  76616. $signature: 12
  76617. };
  76618. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  76619. call$0() {
  76620. var $async$goto = 0,
  76621. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  76622. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  76623. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76624. if ($async$errorCode === 1)
  76625. return A._asyncRethrow($async$result, $async$completer);
  76626. while (true)
  76627. switch ($async$goto) {
  76628. case 0:
  76629. // Function start
  76630. t1 = $async$self.$this;
  76631. t2 = $async$self.node;
  76632. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  76633. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  76634. case 3:
  76635. // for condition
  76636. if (!(i !== t3.to)) {
  76637. // goto after for
  76638. $async$goto = 5;
  76639. break;
  76640. }
  76641. t7 = t1._async_evaluate0$_environment;
  76642. t8 = t6.get$numeratorUnits(t6);
  76643. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  76644. $async$goto = 6;
  76645. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  76646. case 6:
  76647. // returning from await.
  76648. result = $async$result;
  76649. if (result != null) {
  76650. $async$returnValue = result;
  76651. // goto return
  76652. $async$goto = 1;
  76653. break;
  76654. }
  76655. case 4:
  76656. // for update
  76657. i += t4;
  76658. // goto for condition
  76659. $async$goto = 3;
  76660. break;
  76661. case 5:
  76662. // after for
  76663. $async$returnValue = null;
  76664. // goto return
  76665. $async$goto = 1;
  76666. break;
  76667. case 1:
  76668. // return
  76669. return A._asyncReturn($async$returnValue, $async$completer);
  76670. }
  76671. });
  76672. return A._asyncStartSync($async$call$0, $async$completer);
  76673. },
  76674. $signature: 68
  76675. };
  76676. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  76677. call$1(child) {
  76678. return child.accept$1(this.$this);
  76679. },
  76680. $signature: 79
  76681. };
  76682. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  76683. call$1(module) {
  76684. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  76685. },
  76686. $signature: 112
  76687. };
  76688. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  76689. call$1(module) {
  76690. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  76691. },
  76692. $signature: 112
  76693. };
  76694. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  76695. call$0() {
  76696. var t1 = this.$this;
  76697. return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
  76698. },
  76699. $signature: 68
  76700. };
  76701. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  76702. call$1(child) {
  76703. return child.accept$1(this.$this);
  76704. },
  76705. $signature: 79
  76706. };
  76707. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  76708. call$0() {
  76709. var $async$goto = 0,
  76710. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76711. $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
  76712. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76713. if ($async$errorCode === 1)
  76714. return A._asyncRethrow($async$result, $async$completer);
  76715. while (true)
  76716. switch ($async$goto) {
  76717. case 0:
  76718. // Function start
  76719. t1 = $async$self.$this;
  76720. t2 = $async$self.$import;
  76721. $async$goto = 3;
  76722. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  76723. case 3:
  76724. // returning from await.
  76725. result = $async$result;
  76726. stylesheet = result.stylesheet;
  76727. url = stylesheet.span.file.url;
  76728. if (url != null) {
  76729. t3 = t1._async_evaluate0$_activeModules;
  76730. if (t3.containsKey$1(url)) {
  76731. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  76732. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  76733. }
  76734. t3.$indexSet(0, url, t2);
  76735. }
  76736. t2 = stylesheet._stylesheet1$_uses;
  76737. t3 = type$.UnmodifiableListView_UseRule_2;
  76738. t4 = new A.UnmodifiableListView(t2, t3);
  76739. if (t4.get$length(t4) === 0) {
  76740. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  76741. t4 = t4.get$length(t4) === 0;
  76742. } else
  76743. t4 = false;
  76744. $async$goto = t4 ? 4 : 5;
  76745. break;
  76746. case 4:
  76747. // then
  76748. oldImporter = t1._async_evaluate0$_importer;
  76749. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  76750. oldInDependency = t1._async_evaluate0$_inDependency;
  76751. t1._async_evaluate0$_importer = result.importer;
  76752. t1._async_evaluate0$__stylesheet = stylesheet;
  76753. t1._async_evaluate0$_inDependency = result.isDependency;
  76754. $async$goto = 6;
  76755. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  76756. case 6:
  76757. // returning from await.
  76758. t1._async_evaluate0$_importer = oldImporter;
  76759. t1._async_evaluate0$__stylesheet = t2;
  76760. t1._async_evaluate0$_inDependency = oldInDependency;
  76761. t1._async_evaluate0$_activeModules.remove$1(0, url);
  76762. // goto return
  76763. $async$goto = 1;
  76764. break;
  76765. case 5:
  76766. // join
  76767. t2 = new A.UnmodifiableListView(t2, t3);
  76768. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  76769. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  76770. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  76771. } else
  76772. loadsUserDefinedModules = true;
  76773. children = A._Cell$();
  76774. t2 = t1._async_evaluate0$_environment;
  76775. t3 = type$.String;
  76776. t4 = type$.Module_AsyncCallable_2;
  76777. t5 = type$.AstNode_2;
  76778. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  76779. t7 = t2._async_environment0$_variables;
  76780. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  76781. t8 = t2._async_environment0$_variableNodes;
  76782. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  76783. t9 = t2._async_environment0$_functions;
  76784. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  76785. t10 = t2._async_environment0$_mixins;
  76786. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  76787. 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);
  76788. $async$goto = 7;
  76789. return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  76790. case 7:
  76791. // returning from await.
  76792. module = environment.toDummyModule$0();
  76793. t1._async_evaluate0$_environment.importForwards$1(module);
  76794. $async$goto = loadsUserDefinedModules ? 8 : 9;
  76795. break;
  76796. case 8:
  76797. // then
  76798. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  76799. break;
  76800. case 10:
  76801. // then
  76802. $async$goto = 12;
  76803. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  76804. case 12:
  76805. // returning from await.
  76806. case 11:
  76807. // join
  76808. visitor = new A._ImportedCssVisitor2(t1);
  76809. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  76810. t2.get$current(t2).accept$1(visitor);
  76811. case 9:
  76812. // join
  76813. t1._async_evaluate0$_activeModules.remove$1(0, url);
  76814. case 1:
  76815. // return
  76816. return A._asyncReturn($async$returnValue, $async$completer);
  76817. }
  76818. });
  76819. return A._asyncStartSync($async$call$0, $async$completer);
  76820. },
  76821. $signature: 39
  76822. };
  76823. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  76824. call$1(previousLoad) {
  76825. 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));
  76826. },
  76827. $signature: 96
  76828. };
  76829. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  76830. call$1(rule) {
  76831. return rule.url.get$scheme() !== "sass";
  76832. },
  76833. $signature: 201
  76834. };
  76835. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  76836. call$1(rule) {
  76837. return rule.url.get$scheme() !== "sass";
  76838. },
  76839. $signature: 202
  76840. };
  76841. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  76842. call$0() {
  76843. var $async$goto = 0,
  76844. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76845. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  76846. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76847. if ($async$errorCode === 1)
  76848. return A._asyncRethrow($async$result, $async$completer);
  76849. while (true)
  76850. switch ($async$goto) {
  76851. case 0:
  76852. // Function start
  76853. t1 = $async$self.$this;
  76854. oldImporter = t1._async_evaluate0$_importer;
  76855. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  76856. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  76857. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  76858. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  76859. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  76860. oldConfiguration = t1._async_evaluate0$_configuration;
  76861. oldInDependency = t1._async_evaluate0$_inDependency;
  76862. t6 = $async$self.result;
  76863. t1._async_evaluate0$_importer = t6.importer;
  76864. t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  76865. t8 = $async$self.loadsUserDefinedModules;
  76866. if (t8) {
  76867. t9 = A.ModifiableCssStylesheet$0(t7.span);
  76868. t1._async_evaluate0$__root = t9;
  76869. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
  76870. t1._async_evaluate0$__endOfImports = 0;
  76871. t1._async_evaluate0$_outOfOrderImports = null;
  76872. }
  76873. t1._async_evaluate0$_inDependency = t6.isDependency;
  76874. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  76875. if (!t6.get$isEmpty(t6))
  76876. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  76877. $async$goto = 2;
  76878. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  76879. case 2:
  76880. // returning from await.
  76881. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  76882. $async$self.children.__late_helper$_value = t6;
  76883. t1._async_evaluate0$_importer = oldImporter;
  76884. t1._async_evaluate0$__stylesheet = t2;
  76885. if (t8) {
  76886. t1._async_evaluate0$__root = t3;
  76887. t1._async_evaluate0$__parent = t4;
  76888. t1._async_evaluate0$__endOfImports = t5;
  76889. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  76890. }
  76891. t1._async_evaluate0$_configuration = oldConfiguration;
  76892. t1._async_evaluate0$_inDependency = oldInDependency;
  76893. // implicit return
  76894. return A._asyncReturn(null, $async$completer);
  76895. }
  76896. });
  76897. return A._asyncStartSync($async$call$0, $async$completer);
  76898. },
  76899. $signature: 2
  76900. };
  76901. A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
  76902. call$0() {
  76903. var t1 = this.node;
  76904. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  76905. },
  76906. $signature: 124
  76907. };
  76908. A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
  76909. call$0() {
  76910. return this.node.get$spanWithoutContent();
  76911. },
  76912. $signature: 24
  76913. };
  76914. A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
  76915. call$1($content) {
  76916. var t1 = this.$this;
  76917. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  76918. },
  76919. $signature: 341
  76920. };
  76921. A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
  76922. call$0() {
  76923. var $async$goto = 0,
  76924. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76925. $async$self = this, t1;
  76926. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76927. if ($async$errorCode === 1)
  76928. return A._asyncRethrow($async$result, $async$completer);
  76929. while (true)
  76930. switch ($async$goto) {
  76931. case 0:
  76932. // Function start
  76933. t1 = $async$self.$this;
  76934. $async$goto = 2;
  76935. return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  76936. case 2:
  76937. // returning from await.
  76938. // implicit return
  76939. return A._asyncReturn(null, $async$completer);
  76940. }
  76941. });
  76942. return A._asyncStartSync($async$call$0, $async$completer);
  76943. },
  76944. $signature: 2
  76945. };
  76946. A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
  76947. call$0() {
  76948. var $async$goto = 0,
  76949. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76950. $async$self = this, t1;
  76951. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76952. if ($async$errorCode === 1)
  76953. return A._asyncRethrow($async$result, $async$completer);
  76954. while (true)
  76955. switch ($async$goto) {
  76956. case 0:
  76957. // Function start
  76958. t1 = $async$self.$this;
  76959. $async$goto = 2;
  76960. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  76961. case 2:
  76962. // returning from await.
  76963. // implicit return
  76964. return A._asyncReturn(null, $async$completer);
  76965. }
  76966. });
  76967. return A._asyncStartSync($async$call$0, $async$completer);
  76968. },
  76969. $signature: 39
  76970. };
  76971. A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
  76972. call$0() {
  76973. var $async$goto = 0,
  76974. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  76975. $async$self = this, t1, t2, t3, t4, t5, _i;
  76976. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76977. if ($async$errorCode === 1)
  76978. return A._asyncRethrow($async$result, $async$completer);
  76979. while (true)
  76980. switch ($async$goto) {
  76981. case 0:
  76982. // Function start
  76983. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
  76984. case 2:
  76985. // for condition
  76986. if (!(_i < t2)) {
  76987. // goto after for
  76988. $async$goto = 4;
  76989. break;
  76990. }
  76991. $async$goto = 5;
  76992. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
  76993. case 5:
  76994. // returning from await.
  76995. case 3:
  76996. // for update
  76997. ++_i;
  76998. // goto for condition
  76999. $async$goto = 2;
  77000. break;
  77001. case 4:
  77002. // after for
  77003. // implicit return
  77004. return A._asyncReturn(null, $async$completer);
  77005. }
  77006. });
  77007. return A._asyncStartSync($async$call$0, $async$completer);
  77008. },
  77009. $signature: 39
  77010. };
  77011. A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
  77012. call$0() {
  77013. return this.statement.accept$1(this.$this);
  77014. },
  77015. $signature: 68
  77016. };
  77017. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  77018. call$1(mediaQueries) {
  77019. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  77020. },
  77021. $signature: 91
  77022. };
  77023. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  77024. call$0() {
  77025. var $async$goto = 0,
  77026. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77027. $async$self = this, t1, t2;
  77028. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77029. if ($async$errorCode === 1)
  77030. return A._asyncRethrow($async$result, $async$completer);
  77031. while (true)
  77032. switch ($async$goto) {
  77033. case 0:
  77034. // Function start
  77035. t1 = $async$self.$this;
  77036. t2 = $async$self.mergedQueries;
  77037. if (t2 == null)
  77038. t2 = $async$self.queries;
  77039. $async$goto = 2;
  77040. 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);
  77041. case 2:
  77042. // returning from await.
  77043. // implicit return
  77044. return A._asyncReturn(null, $async$completer);
  77045. }
  77046. });
  77047. return A._asyncStartSync($async$call$0, $async$completer);
  77048. },
  77049. $signature: 2
  77050. };
  77051. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  77052. call$0() {
  77053. var $async$goto = 0,
  77054. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77055. $async$self = this, t2, t3, _i, t1, styleRule;
  77056. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77057. if ($async$errorCode === 1)
  77058. return A._asyncRethrow($async$result, $async$completer);
  77059. while (true)
  77060. switch ($async$goto) {
  77061. case 0:
  77062. // Function start
  77063. t1 = $async$self.$this;
  77064. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  77065. $async$goto = styleRule == null ? 2 : 4;
  77066. break;
  77067. case 2:
  77068. // then
  77069. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  77070. case 5:
  77071. // for condition
  77072. if (!(_i < t3)) {
  77073. // goto after for
  77074. $async$goto = 7;
  77075. break;
  77076. }
  77077. $async$goto = 8;
  77078. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  77079. case 8:
  77080. // returning from await.
  77081. case 6:
  77082. // for update
  77083. ++_i;
  77084. // goto for condition
  77085. $async$goto = 5;
  77086. break;
  77087. case 7:
  77088. // after for
  77089. // goto join
  77090. $async$goto = 3;
  77091. break;
  77092. case 4:
  77093. // else
  77094. $async$goto = 9;
  77095. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  77096. case 9:
  77097. // returning from await.
  77098. case 3:
  77099. // join
  77100. // implicit return
  77101. return A._asyncReturn(null, $async$completer);
  77102. }
  77103. });
  77104. return A._asyncStartSync($async$call$0, $async$completer);
  77105. },
  77106. $signature: 2
  77107. };
  77108. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  77109. call$0() {
  77110. var $async$goto = 0,
  77111. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77112. $async$self = this, t1, t2, t3, _i;
  77113. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77114. if ($async$errorCode === 1)
  77115. return A._asyncRethrow($async$result, $async$completer);
  77116. while (true)
  77117. switch ($async$goto) {
  77118. case 0:
  77119. // Function start
  77120. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77121. case 2:
  77122. // for condition
  77123. if (!(_i < t2)) {
  77124. // goto after for
  77125. $async$goto = 4;
  77126. break;
  77127. }
  77128. $async$goto = 5;
  77129. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77130. case 5:
  77131. // returning from await.
  77132. case 3:
  77133. // for update
  77134. ++_i;
  77135. // goto for condition
  77136. $async$goto = 2;
  77137. break;
  77138. case 4:
  77139. // after for
  77140. // implicit return
  77141. return A._asyncReturn(null, $async$completer);
  77142. }
  77143. });
  77144. return A._asyncStartSync($async$call$0, $async$completer);
  77145. },
  77146. $signature: 2
  77147. };
  77148. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  77149. call$1(node) {
  77150. var t1;
  77151. if (!type$.CssStyleRule_2._is(node)) {
  77152. t1 = this.mergedSources;
  77153. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  77154. } else
  77155. t1 = true;
  77156. return t1;
  77157. },
  77158. $signature: 6
  77159. };
  77160. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  77161. call$0() {
  77162. var $async$goto = 0,
  77163. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77164. $async$self = this, t1, t2, t3, _i;
  77165. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77166. if ($async$errorCode === 1)
  77167. return A._asyncRethrow($async$result, $async$completer);
  77168. while (true)
  77169. switch ($async$goto) {
  77170. case 0:
  77171. // Function start
  77172. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77173. case 2:
  77174. // for condition
  77175. if (!(_i < t2)) {
  77176. // goto after for
  77177. $async$goto = 4;
  77178. break;
  77179. }
  77180. $async$goto = 5;
  77181. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77182. case 5:
  77183. // returning from await.
  77184. case 3:
  77185. // for update
  77186. ++_i;
  77187. // goto for condition
  77188. $async$goto = 2;
  77189. break;
  77190. case 4:
  77191. // after for
  77192. // implicit return
  77193. return A._asyncReturn(null, $async$completer);
  77194. }
  77195. });
  77196. return A._asyncStartSync($async$call$0, $async$completer);
  77197. },
  77198. $signature: 2
  77199. };
  77200. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  77201. call$1(node) {
  77202. return type$.CssStyleRule_2._is(node);
  77203. },
  77204. $signature: 6
  77205. };
  77206. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  77207. call$0() {
  77208. var $async$goto = 0,
  77209. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77210. $async$self = this, t1;
  77211. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77212. if ($async$errorCode === 1)
  77213. return A._asyncRethrow($async$result, $async$completer);
  77214. while (true)
  77215. switch ($async$goto) {
  77216. case 0:
  77217. // Function start
  77218. t1 = $async$self.$this;
  77219. $async$goto = 2;
  77220. 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);
  77221. case 2:
  77222. // returning from await.
  77223. // implicit return
  77224. return A._asyncReturn(null, $async$completer);
  77225. }
  77226. });
  77227. return A._asyncStartSync($async$call$0, $async$completer);
  77228. },
  77229. $signature: 2
  77230. };
  77231. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  77232. call$0() {
  77233. var $async$goto = 0,
  77234. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77235. $async$self = this, t1, t2, t3, _i;
  77236. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77237. if ($async$errorCode === 1)
  77238. return A._asyncRethrow($async$result, $async$completer);
  77239. while (true)
  77240. switch ($async$goto) {
  77241. case 0:
  77242. // Function start
  77243. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77244. case 2:
  77245. // for condition
  77246. if (!(_i < t2)) {
  77247. // goto after for
  77248. $async$goto = 4;
  77249. break;
  77250. }
  77251. $async$goto = 5;
  77252. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77253. case 5:
  77254. // returning from await.
  77255. case 3:
  77256. // for update
  77257. ++_i;
  77258. // goto for condition
  77259. $async$goto = 2;
  77260. break;
  77261. case 4:
  77262. // after for
  77263. // implicit return
  77264. return A._asyncReturn(null, $async$completer);
  77265. }
  77266. });
  77267. return A._asyncStartSync($async$call$0, $async$completer);
  77268. },
  77269. $signature: 2
  77270. };
  77271. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  77272. call$1(node) {
  77273. return type$.CssStyleRule_2._is(node);
  77274. },
  77275. $signature: 6
  77276. };
  77277. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  77278. call$1(child) {
  77279. return type$.CssComment_2._is(child);
  77280. },
  77281. $signature: 103
  77282. };
  77283. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  77284. call$0() {
  77285. var $async$goto = 0,
  77286. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77287. $async$self = this, t2, t3, _i, t1, styleRule;
  77288. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77289. if ($async$errorCode === 1)
  77290. return A._asyncRethrow($async$result, $async$completer);
  77291. while (true)
  77292. switch ($async$goto) {
  77293. case 0:
  77294. // Function start
  77295. t1 = $async$self.$this;
  77296. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  77297. $async$goto = styleRule == null ? 2 : 4;
  77298. break;
  77299. case 2:
  77300. // then
  77301. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  77302. case 5:
  77303. // for condition
  77304. if (!(_i < t3)) {
  77305. // goto after for
  77306. $async$goto = 7;
  77307. break;
  77308. }
  77309. $async$goto = 8;
  77310. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  77311. case 8:
  77312. // returning from await.
  77313. case 6:
  77314. // for update
  77315. ++_i;
  77316. // goto for condition
  77317. $async$goto = 5;
  77318. break;
  77319. case 7:
  77320. // after for
  77321. // goto join
  77322. $async$goto = 3;
  77323. break;
  77324. case 4:
  77325. // else
  77326. $async$goto = 9;
  77327. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  77328. case 9:
  77329. // returning from await.
  77330. case 3:
  77331. // join
  77332. // implicit return
  77333. return A._asyncReturn(null, $async$completer);
  77334. }
  77335. });
  77336. return A._asyncStartSync($async$call$0, $async$completer);
  77337. },
  77338. $signature: 2
  77339. };
  77340. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  77341. call$0() {
  77342. var $async$goto = 0,
  77343. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  77344. $async$self = this, t1, t2, t3, _i;
  77345. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77346. if ($async$errorCode === 1)
  77347. return A._asyncRethrow($async$result, $async$completer);
  77348. while (true)
  77349. switch ($async$goto) {
  77350. case 0:
  77351. // Function start
  77352. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  77353. case 2:
  77354. // for condition
  77355. if (!(_i < t2)) {
  77356. // goto after for
  77357. $async$goto = 4;
  77358. break;
  77359. }
  77360. $async$goto = 5;
  77361. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  77362. case 5:
  77363. // returning from await.
  77364. case 3:
  77365. // for update
  77366. ++_i;
  77367. // goto for condition
  77368. $async$goto = 2;
  77369. break;
  77370. case 4:
  77371. // after for
  77372. // implicit return
  77373. return A._asyncReturn(null, $async$completer);
  77374. }
  77375. });
  77376. return A._asyncStartSync($async$call$0, $async$completer);
  77377. },
  77378. $signature: 2
  77379. };
  77380. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  77381. call$1(node) {
  77382. return type$.CssStyleRule_2._is(node);
  77383. },
  77384. $signature: 6
  77385. };
  77386. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  77387. call$0() {
  77388. var t1 = this.override;
  77389. this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  77390. },
  77391. $signature: 1
  77392. };
  77393. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  77394. call$0() {
  77395. var t1 = this.node;
  77396. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  77397. },
  77398. $signature: 40
  77399. };
  77400. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  77401. call$0() {
  77402. var t1 = this.$this,
  77403. t2 = this.node;
  77404. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  77405. },
  77406. $signature: 1
  77407. };
  77408. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  77409. call$1(module) {
  77410. var t1 = this.node;
  77411. this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  77412. },
  77413. $signature: 112
  77414. };
  77415. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  77416. call$0() {
  77417. return this.node.expression.accept$1(this.$this);
  77418. },
  77419. $signature: 71
  77420. };
  77421. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  77422. call$0() {
  77423. var $async$goto = 0,
  77424. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  77425. $async$returnValue, $async$self = this, t1, t2, t3, result;
  77426. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77427. if ($async$errorCode === 1)
  77428. return A._asyncRethrow($async$result, $async$completer);
  77429. while (true)
  77430. switch ($async$goto) {
  77431. case 0:
  77432. // Function start
  77433. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  77434. case 3:
  77435. // for condition
  77436. $async$goto = 5;
  77437. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  77438. case 5:
  77439. // returning from await.
  77440. if (!$async$result.get$isTruthy()) {
  77441. // goto after for
  77442. $async$goto = 4;
  77443. break;
  77444. }
  77445. $async$goto = 6;
  77446. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  77447. case 6:
  77448. // returning from await.
  77449. result = $async$result;
  77450. if (result != null) {
  77451. $async$returnValue = result;
  77452. // goto return
  77453. $async$goto = 1;
  77454. break;
  77455. }
  77456. // goto for condition
  77457. $async$goto = 3;
  77458. break;
  77459. case 4:
  77460. // after for
  77461. $async$returnValue = null;
  77462. // goto return
  77463. $async$goto = 1;
  77464. break;
  77465. case 1:
  77466. // return
  77467. return A._asyncReturn($async$returnValue, $async$completer);
  77468. }
  77469. });
  77470. return A._asyncStartSync($async$call$0, $async$completer);
  77471. },
  77472. $signature: 68
  77473. };
  77474. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  77475. call$1(child) {
  77476. return child.accept$1(this.$this);
  77477. },
  77478. $signature: 79
  77479. };
  77480. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  77481. call$0() {
  77482. var $async$goto = 0,
  77483. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  77484. $async$returnValue, $async$self = this, right, result, t4, t5, t1, t2, left, t3, $async$temp1;
  77485. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77486. if ($async$errorCode === 1)
  77487. return A._asyncRethrow($async$result, $async$completer);
  77488. while (true)
  77489. switch ($async$goto) {
  77490. case 0:
  77491. // Function start
  77492. t1 = $async$self.node;
  77493. t2 = $async$self.$this;
  77494. $async$goto = 3;
  77495. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  77496. case 3:
  77497. // returning from await.
  77498. left = $async$result;
  77499. t3 = t1.operator;
  77500. case 4:
  77501. // switch
  77502. switch (t3) {
  77503. case B.BinaryOperator_2jN0:
  77504. // goto case
  77505. $async$goto = 6;
  77506. break;
  77507. case B.BinaryOperator_M6L0:
  77508. // goto case
  77509. $async$goto = 7;
  77510. break;
  77511. case B.BinaryOperator_SNp0:
  77512. // goto case
  77513. $async$goto = 8;
  77514. break;
  77515. case B.BinaryOperator_ql50:
  77516. // goto case
  77517. $async$goto = 9;
  77518. break;
  77519. case B.BinaryOperator_ViB0:
  77520. // goto case
  77521. $async$goto = 10;
  77522. break;
  77523. case B.BinaryOperator_cIH0:
  77524. // goto case
  77525. $async$goto = 11;
  77526. break;
  77527. case B.BinaryOperator_7Tg0:
  77528. // goto case
  77529. $async$goto = 12;
  77530. break;
  77531. case B.BinaryOperator_U8c0:
  77532. // goto case
  77533. $async$goto = 13;
  77534. break;
  77535. case B.BinaryOperator_kpg0:
  77536. // goto case
  77537. $async$goto = 14;
  77538. break;
  77539. case B.BinaryOperator_anB0:
  77540. // goto case
  77541. $async$goto = 15;
  77542. break;
  77543. case B.BinaryOperator_olz0:
  77544. // goto case
  77545. $async$goto = 16;
  77546. break;
  77547. case B.BinaryOperator_qN20:
  77548. // goto case
  77549. $async$goto = 17;
  77550. break;
  77551. case B.BinaryOperator_t8B0:
  77552. // goto case
  77553. $async$goto = 18;
  77554. break;
  77555. case B.BinaryOperator_OTG0:
  77556. // goto case
  77557. $async$goto = 19;
  77558. break;
  77559. default:
  77560. // goto default
  77561. $async$goto = 20;
  77562. break;
  77563. }
  77564. break;
  77565. case 6:
  77566. // case
  77567. $async$goto = 21;
  77568. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77569. case 21:
  77570. // returning from await.
  77571. right = $async$result;
  77572. $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  77573. // goto return
  77574. $async$goto = 1;
  77575. break;
  77576. case 7:
  77577. // case
  77578. $async$goto = left.get$isTruthy() ? 22 : 24;
  77579. break;
  77580. case 22:
  77581. // then
  77582. $async$result = left;
  77583. // goto join
  77584. $async$goto = 23;
  77585. break;
  77586. case 24:
  77587. // else
  77588. $async$goto = 25;
  77589. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77590. case 25:
  77591. // returning from await.
  77592. case 23:
  77593. // join
  77594. $async$returnValue = $async$result;
  77595. // goto return
  77596. $async$goto = 1;
  77597. break;
  77598. case 8:
  77599. // case
  77600. $async$goto = left.get$isTruthy() ? 26 : 28;
  77601. break;
  77602. case 26:
  77603. // then
  77604. $async$goto = 29;
  77605. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77606. case 29:
  77607. // returning from await.
  77608. // goto join
  77609. $async$goto = 27;
  77610. break;
  77611. case 28:
  77612. // else
  77613. $async$result = left;
  77614. case 27:
  77615. // join
  77616. $async$returnValue = $async$result;
  77617. // goto return
  77618. $async$goto = 1;
  77619. break;
  77620. case 9:
  77621. // case
  77622. $async$temp1 = left;
  77623. $async$goto = 30;
  77624. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77625. case 30:
  77626. // returning from await.
  77627. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  77628. // goto return
  77629. $async$goto = 1;
  77630. break;
  77631. case 10:
  77632. // case
  77633. $async$temp1 = left;
  77634. $async$goto = 31;
  77635. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77636. case 31:
  77637. // returning from await.
  77638. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  77639. // goto return
  77640. $async$goto = 1;
  77641. break;
  77642. case 11:
  77643. // case
  77644. $async$temp1 = left;
  77645. $async$goto = 32;
  77646. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77647. case 32:
  77648. // returning from await.
  77649. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  77650. // goto return
  77651. $async$goto = 1;
  77652. break;
  77653. case 12:
  77654. // case
  77655. $async$temp1 = left;
  77656. $async$goto = 33;
  77657. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77658. case 33:
  77659. // returning from await.
  77660. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  77661. // goto return
  77662. $async$goto = 1;
  77663. break;
  77664. case 13:
  77665. // case
  77666. $async$temp1 = left;
  77667. $async$goto = 34;
  77668. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77669. case 34:
  77670. // returning from await.
  77671. $async$returnValue = $async$temp1.lessThan$1($async$result);
  77672. // goto return
  77673. $async$goto = 1;
  77674. break;
  77675. case 14:
  77676. // case
  77677. $async$temp1 = left;
  77678. $async$goto = 35;
  77679. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77680. case 35:
  77681. // returning from await.
  77682. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  77683. // goto return
  77684. $async$goto = 1;
  77685. break;
  77686. case 15:
  77687. // case
  77688. $async$temp1 = left;
  77689. $async$goto = 36;
  77690. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77691. case 36:
  77692. // returning from await.
  77693. $async$returnValue = $async$temp1.plus$1($async$result);
  77694. // goto return
  77695. $async$goto = 1;
  77696. break;
  77697. case 16:
  77698. // case
  77699. $async$temp1 = left;
  77700. $async$goto = 37;
  77701. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77702. case 37:
  77703. // returning from await.
  77704. $async$returnValue = $async$temp1.minus$1($async$result);
  77705. // goto return
  77706. $async$goto = 1;
  77707. break;
  77708. case 17:
  77709. // case
  77710. $async$temp1 = left;
  77711. $async$goto = 38;
  77712. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77713. case 38:
  77714. // returning from await.
  77715. $async$returnValue = $async$temp1.times$1($async$result);
  77716. // goto return
  77717. $async$goto = 1;
  77718. break;
  77719. case 18:
  77720. // case
  77721. $async$goto = 39;
  77722. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77723. case 39:
  77724. // returning from await.
  77725. right = $async$result;
  77726. result = left.dividedBy$1(right);
  77727. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  77728. $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
  77729. // goto return
  77730. $async$goto = 1;
  77731. break;
  77732. } else {
  77733. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  77734. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1));
  77735. t4 = B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(t1);
  77736. t5 = t1.get$span(t1);
  77737. t2._async_evaluate0$_warn$3(string$.Using__o + t3 + " or " + new A.CalculationExpression0("calc", A.CalculationExpression__verifyArguments0(A._setArrayType([t4], type$.JSArray_Expression_2)), t5).toString$0(0) + string$.x0a_Morex20, t1.get$span(t1), B.Deprecation_wWh);
  77738. }
  77739. $async$returnValue = result;
  77740. // goto return
  77741. $async$goto = 1;
  77742. break;
  77743. }
  77744. case 19:
  77745. // case
  77746. $async$temp1 = left;
  77747. $async$goto = 40;
  77748. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  77749. case 40:
  77750. // returning from await.
  77751. $async$returnValue = $async$temp1.modulo$1($async$result);
  77752. // goto return
  77753. $async$goto = 1;
  77754. break;
  77755. case 20:
  77756. // default
  77757. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  77758. case 5:
  77759. // after switch
  77760. case 1:
  77761. // return
  77762. return A._asyncReturn($async$returnValue, $async$completer);
  77763. }
  77764. });
  77765. return A._asyncStartSync($async$call$0, $async$completer);
  77766. },
  77767. $signature: 71
  77768. };
  77769. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
  77770. call$1(expression) {
  77771. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_t8B0)
  77772. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  77773. else if (expression instanceof A.ParenthesizedExpression0)
  77774. return expression.expression.toString$0(0);
  77775. else
  77776. return expression.toString$0(0);
  77777. },
  77778. $signature: 106
  77779. };
  77780. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  77781. call$0() {
  77782. var t1 = this.node;
  77783. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  77784. },
  77785. $signature: 40
  77786. };
  77787. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  77788. call$0() {
  77789. var _this = this,
  77790. t1 = _this.node.operator;
  77791. switch (t1) {
  77792. case B.UnaryOperator_gg40:
  77793. return _this.operand.unaryPlus$0();
  77794. case B.UnaryOperator_TLI0:
  77795. return _this.operand.unaryMinus$0();
  77796. case B.UnaryOperator_Ix10:
  77797. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  77798. case B.UnaryOperator_not_not_not0:
  77799. return _this.operand.unaryNot$0();
  77800. default:
  77801. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  77802. }
  77803. },
  77804. $signature: 42
  77805. };
  77806. A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
  77807. call$0() {
  77808. var $async$goto = 0,
  77809. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  77810. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  77811. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77812. if ($async$errorCode === 1)
  77813. return A._asyncRethrow($async$result, $async$completer);
  77814. while (true)
  77815. switch ($async$goto) {
  77816. case 0:
  77817. // Function start
  77818. t1 = $async$self.$this;
  77819. t2 = $async$self.node;
  77820. t3 = $async$self.inMinMax;
  77821. $async$temp1 = A;
  77822. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
  77823. $async$goto = 3;
  77824. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  77825. case 3:
  77826. // returning from await.
  77827. $async$temp3 = $async$result;
  77828. $async$goto = 4;
  77829. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  77830. case 4:
  77831. // returning from await.
  77832. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  77833. // goto return
  77834. $async$goto = 1;
  77835. break;
  77836. case 1:
  77837. // return
  77838. return A._asyncReturn($async$returnValue, $async$completer);
  77839. }
  77840. });
  77841. return A._asyncStartSync($async$call$0, $async$completer);
  77842. },
  77843. $signature: 173
  77844. };
  77845. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  77846. call$1(expression) {
  77847. return expression.accept$1(this.$this);
  77848. },
  77849. $signature: 348
  77850. };
  77851. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  77852. call$0() {
  77853. var t1 = this.node;
  77854. return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  77855. },
  77856. $signature: 124
  77857. };
  77858. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  77859. call$0() {
  77860. var t1 = this.node;
  77861. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  77862. },
  77863. $signature: 71
  77864. };
  77865. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  77866. call$0() {
  77867. var t1 = this.node;
  77868. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  77869. },
  77870. $signature: 71
  77871. };
  77872. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  77873. call$0() {
  77874. var _this = this,
  77875. t1 = _this.$this,
  77876. t2 = _this.callable,
  77877. t3 = _this.V;
  77878. 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);
  77879. },
  77880. $signature() {
  77881. return this.V._eval$1("Future<0>()");
  77882. }
  77883. };
  77884. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  77885. call$0() {
  77886. var _this = this,
  77887. t1 = _this.$this,
  77888. t2 = _this.V;
  77889. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  77890. },
  77891. $signature() {
  77892. return this.V._eval$1("Future<0>()");
  77893. }
  77894. };
  77895. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  77896. call$0() {
  77897. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  77898. },
  77899. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  77900. var $async$goto = 0,
  77901. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  77902. $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
  77903. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77904. if ($async$errorCode === 1)
  77905. return A._asyncRethrow($async$result, $async$completer);
  77906. while (true)
  77907. switch ($async$goto) {
  77908. case 0:
  77909. // Function start
  77910. t1 = $async$self.$this;
  77911. t2 = $async$self.evaluated;
  77912. t3 = t2.positional;
  77913. t4 = t2.named;
  77914. t5 = $async$self.callable.declaration.$arguments;
  77915. t6 = $async$self.nodeWithSpan;
  77916. t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  77917. declaredArguments = t5.$arguments;
  77918. t7 = declaredArguments.length;
  77919. minLength = Math.min(t3.length, t7);
  77920. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  77921. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  77922. i = t3.length, t8 = t2.namedNodes;
  77923. case 3:
  77924. // for condition
  77925. if (!(i < t7)) {
  77926. // goto after for
  77927. $async$goto = 5;
  77928. break;
  77929. }
  77930. argument = declaredArguments[i];
  77931. t9 = argument.name;
  77932. value = t4.remove$1(0, t9);
  77933. $async$goto = value == null ? 6 : 7;
  77934. break;
  77935. case 6:
  77936. // then
  77937. t10 = argument.defaultValue;
  77938. $async$temp1 = t1;
  77939. $async$goto = 8;
  77940. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  77941. case 8:
  77942. // returning from await.
  77943. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
  77944. case 7:
  77945. // join
  77946. t10 = t1._async_evaluate0$_environment;
  77947. t11 = t8.$index(0, t9);
  77948. if (t11 == null) {
  77949. t11 = argument.defaultValue;
  77950. t11.toString;
  77951. t11 = t1._async_evaluate0$_expressionNode$1(t11);
  77952. }
  77953. t10.setLocalVariable$3(t9, value, t11);
  77954. case 4:
  77955. // for update
  77956. ++i;
  77957. // goto for condition
  77958. $async$goto = 3;
  77959. break;
  77960. case 5:
  77961. // after for
  77962. restArgument = t5.restArgument;
  77963. if (restArgument != null) {
  77964. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  77965. t2 = t2.separator;
  77966. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  77967. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  77968. } else
  77969. argumentList = null;
  77970. $async$goto = 9;
  77971. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  77972. case 9:
  77973. // returning from await.
  77974. result = $async$result;
  77975. if (argumentList == null) {
  77976. $async$returnValue = result;
  77977. // goto return
  77978. $async$goto = 1;
  77979. break;
  77980. }
  77981. t2 = t4.__js_helper$_length;
  77982. if (t2 === 0) {
  77983. $async$returnValue = result;
  77984. // goto return
  77985. $async$goto = 1;
  77986. break;
  77987. }
  77988. if (argumentList._argument_list$_wereKeywordsAccessed) {
  77989. $async$returnValue = result;
  77990. // goto return
  77991. $async$goto = 1;
  77992. break;
  77993. }
  77994. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  77995. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t6.get$span(t6))));
  77996. case 1:
  77997. // return
  77998. return A._asyncReturn($async$returnValue, $async$completer);
  77999. }
  78000. });
  78001. return A._asyncStartSync($async$call$0, $async$completer);
  78002. },
  78003. $signature() {
  78004. return this.V._eval$1("Future<0>()");
  78005. }
  78006. };
  78007. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  78008. call$1($name) {
  78009. return "$" + $name;
  78010. },
  78011. $signature: 5
  78012. };
  78013. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  78014. call$0() {
  78015. var $async$goto = 0,
  78016. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  78017. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  78018. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78019. if ($async$errorCode === 1)
  78020. return A._asyncRethrow($async$result, $async$completer);
  78021. while (true)
  78022. switch ($async$goto) {
  78023. case 0:
  78024. // Function start
  78025. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  78026. case 3:
  78027. // for condition
  78028. if (!(_i < t3)) {
  78029. // goto after for
  78030. $async$goto = 5;
  78031. break;
  78032. }
  78033. $async$goto = 6;
  78034. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  78035. case 6:
  78036. // returning from await.
  78037. $returnValue = $async$result;
  78038. if ($returnValue instanceof A.Value0) {
  78039. $async$returnValue = $returnValue;
  78040. // goto return
  78041. $async$goto = 1;
  78042. break;
  78043. }
  78044. case 4:
  78045. // for update
  78046. ++_i;
  78047. // goto for condition
  78048. $async$goto = 3;
  78049. break;
  78050. case 5:
  78051. // after for
  78052. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  78053. case 1:
  78054. // return
  78055. return A._asyncReturn($async$returnValue, $async$completer);
  78056. }
  78057. });
  78058. return A._asyncStartSync($async$call$0, $async$completer);
  78059. },
  78060. $signature: 71
  78061. };
  78062. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  78063. call$0() {
  78064. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  78065. },
  78066. $signature: 0
  78067. };
  78068. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  78069. call$0() {
  78070. return this.callback.call$1(this.evaluated.positional);
  78071. },
  78072. $signature: 349
  78073. };
  78074. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  78075. call$1($name) {
  78076. return "$" + $name;
  78077. },
  78078. $signature: 5
  78079. };
  78080. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  78081. call$1(value) {
  78082. return value;
  78083. },
  78084. $signature: 41
  78085. };
  78086. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  78087. call$1(value) {
  78088. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  78089. },
  78090. $signature: 41
  78091. };
  78092. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  78093. call$2(key, value) {
  78094. var _this = this,
  78095. t1 = _this.restNodeForSpan;
  78096. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  78097. _this.namedNodes.$indexSet(0, key, t1);
  78098. },
  78099. $signature: 99
  78100. };
  78101. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  78102. call$1(value) {
  78103. return value;
  78104. },
  78105. $signature: 41
  78106. };
  78107. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  78108. call$1(value) {
  78109. var t1 = this.restArgs;
  78110. return new A.ValueExpression0(value, t1.get$span(t1));
  78111. },
  78112. $signature: 55
  78113. };
  78114. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  78115. call$1(value) {
  78116. var t1 = this.restArgs;
  78117. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  78118. },
  78119. $signature: 55
  78120. };
  78121. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  78122. call$2(key, value) {
  78123. var _this = this,
  78124. t1 = _this.restArgs;
  78125. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  78126. },
  78127. $signature: 99
  78128. };
  78129. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  78130. call$1(value) {
  78131. var t1 = this.keywordRestArgs;
  78132. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  78133. },
  78134. $signature: 55
  78135. };
  78136. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  78137. call$2(key, value) {
  78138. var t2, _this = this,
  78139. t1 = _this.$this;
  78140. if (key instanceof A.SassString0)
  78141. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  78142. else {
  78143. t2 = _this.nodeWithSpan;
  78144. 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)));
  78145. }
  78146. },
  78147. $signature: 49
  78148. };
  78149. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  78150. call$0() {
  78151. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  78152. },
  78153. $signature: 0
  78154. };
  78155. A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
  78156. call$1(value) {
  78157. var $async$goto = 0,
  78158. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  78159. $async$returnValue, $async$self = this, t1, result;
  78160. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78161. if ($async$errorCode === 1)
  78162. return A._asyncRethrow($async$result, $async$completer);
  78163. while (true)
  78164. switch ($async$goto) {
  78165. case 0:
  78166. // Function start
  78167. if (typeof value == "string") {
  78168. $async$returnValue = value;
  78169. // goto return
  78170. $async$goto = 1;
  78171. break;
  78172. }
  78173. type$.Expression_2._as(value);
  78174. t1 = $async$self.$this;
  78175. $async$goto = 3;
  78176. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  78177. case 3:
  78178. // returning from await.
  78179. result = $async$result;
  78180. $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
  78181. // goto return
  78182. $async$goto = 1;
  78183. break;
  78184. case 1:
  78185. // return
  78186. return A._asyncReturn($async$returnValue, $async$completer);
  78187. }
  78188. });
  78189. return A._asyncStartSync($async$call$1, $async$completer);
  78190. },
  78191. $signature: 175
  78192. };
  78193. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  78194. call$0() {
  78195. var $async$goto = 0,
  78196. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78197. $async$self = this, t1, t2, t3, t4;
  78198. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78199. if ($async$errorCode === 1)
  78200. return A._asyncRethrow($async$result, $async$completer);
  78201. while (true)
  78202. switch ($async$goto) {
  78203. case 0:
  78204. // Function start
  78205. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78206. case 2:
  78207. // for condition
  78208. if (!t1.moveNext$0()) {
  78209. // goto after for
  78210. $async$goto = 3;
  78211. break;
  78212. }
  78213. t4 = t1.__internal$_current;
  78214. $async$goto = 4;
  78215. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78216. case 4:
  78217. // returning from await.
  78218. // goto for condition
  78219. $async$goto = 2;
  78220. break;
  78221. case 3:
  78222. // after for
  78223. // implicit return
  78224. return A._asyncReturn(null, $async$completer);
  78225. }
  78226. });
  78227. return A._asyncStartSync($async$call$0, $async$completer);
  78228. },
  78229. $signature: 2
  78230. };
  78231. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  78232. call$1(node) {
  78233. return type$.CssStyleRule_2._is(node);
  78234. },
  78235. $signature: 6
  78236. };
  78237. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  78238. call$0() {
  78239. var $async$goto = 0,
  78240. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78241. $async$self = this, t1, t2, t3, t4;
  78242. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78243. if ($async$errorCode === 1)
  78244. return A._asyncRethrow($async$result, $async$completer);
  78245. while (true)
  78246. switch ($async$goto) {
  78247. case 0:
  78248. // Function start
  78249. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78250. case 2:
  78251. // for condition
  78252. if (!t1.moveNext$0()) {
  78253. // goto after for
  78254. $async$goto = 3;
  78255. break;
  78256. }
  78257. t4 = t1.__internal$_current;
  78258. $async$goto = 4;
  78259. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78260. case 4:
  78261. // returning from await.
  78262. // goto for condition
  78263. $async$goto = 2;
  78264. break;
  78265. case 3:
  78266. // after for
  78267. // implicit return
  78268. return A._asyncReturn(null, $async$completer);
  78269. }
  78270. });
  78271. return A._asyncStartSync($async$call$0, $async$completer);
  78272. },
  78273. $signature: 2
  78274. };
  78275. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  78276. call$1(node) {
  78277. return type$.CssStyleRule_2._is(node);
  78278. },
  78279. $signature: 6
  78280. };
  78281. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  78282. call$1(mediaQueries) {
  78283. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  78284. },
  78285. $signature: 91
  78286. };
  78287. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  78288. call$0() {
  78289. var $async$goto = 0,
  78290. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78291. $async$self = this, t1, t2;
  78292. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78293. if ($async$errorCode === 1)
  78294. return A._asyncRethrow($async$result, $async$completer);
  78295. while (true)
  78296. switch ($async$goto) {
  78297. case 0:
  78298. // Function start
  78299. t1 = $async$self.$this;
  78300. t2 = $async$self.mergedQueries;
  78301. if (t2 == null)
  78302. t2 = $async$self.node.queries;
  78303. $async$goto = 2;
  78304. 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);
  78305. case 2:
  78306. // returning from await.
  78307. // implicit return
  78308. return A._asyncReturn(null, $async$completer);
  78309. }
  78310. });
  78311. return A._asyncStartSync($async$call$0, $async$completer);
  78312. },
  78313. $signature: 2
  78314. };
  78315. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  78316. call$0() {
  78317. var $async$goto = 0,
  78318. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78319. $async$self = this, t2, t3, t4, t1, styleRule;
  78320. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78321. if ($async$errorCode === 1)
  78322. return A._asyncRethrow($async$result, $async$completer);
  78323. while (true)
  78324. switch ($async$goto) {
  78325. case 0:
  78326. // Function start
  78327. t1 = $async$self.$this;
  78328. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  78329. $async$goto = styleRule == null ? 2 : 4;
  78330. break;
  78331. case 2:
  78332. // then
  78333. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  78334. case 5:
  78335. // for condition
  78336. if (!t2.moveNext$0()) {
  78337. // goto after for
  78338. $async$goto = 6;
  78339. break;
  78340. }
  78341. t4 = t2.__internal$_current;
  78342. $async$goto = 7;
  78343. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  78344. case 7:
  78345. // returning from await.
  78346. // goto for condition
  78347. $async$goto = 5;
  78348. break;
  78349. case 6:
  78350. // after for
  78351. // goto join
  78352. $async$goto = 3;
  78353. break;
  78354. case 4:
  78355. // else
  78356. $async$goto = 8;
  78357. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  78358. case 8:
  78359. // returning from await.
  78360. case 3:
  78361. // join
  78362. // implicit return
  78363. return A._asyncReturn(null, $async$completer);
  78364. }
  78365. });
  78366. return A._asyncStartSync($async$call$0, $async$completer);
  78367. },
  78368. $signature: 2
  78369. };
  78370. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  78371. call$0() {
  78372. var $async$goto = 0,
  78373. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78374. $async$self = this, t1, t2, t3, t4;
  78375. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78376. if ($async$errorCode === 1)
  78377. return A._asyncRethrow($async$result, $async$completer);
  78378. while (true)
  78379. switch ($async$goto) {
  78380. case 0:
  78381. // Function start
  78382. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78383. case 2:
  78384. // for condition
  78385. if (!t1.moveNext$0()) {
  78386. // goto after for
  78387. $async$goto = 3;
  78388. break;
  78389. }
  78390. t4 = t1.__internal$_current;
  78391. $async$goto = 4;
  78392. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78393. case 4:
  78394. // returning from await.
  78395. // goto for condition
  78396. $async$goto = 2;
  78397. break;
  78398. case 3:
  78399. // after for
  78400. // implicit return
  78401. return A._asyncReturn(null, $async$completer);
  78402. }
  78403. });
  78404. return A._asyncStartSync($async$call$0, $async$completer);
  78405. },
  78406. $signature: 2
  78407. };
  78408. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  78409. call$1(node) {
  78410. var t1;
  78411. if (!type$.CssStyleRule_2._is(node)) {
  78412. t1 = this.mergedSources;
  78413. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  78414. } else
  78415. t1 = true;
  78416. return t1;
  78417. },
  78418. $signature: 6
  78419. };
  78420. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  78421. call$0() {
  78422. var $async$goto = 0,
  78423. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78424. $async$self = this, t1;
  78425. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78426. if ($async$errorCode === 1)
  78427. return A._asyncRethrow($async$result, $async$completer);
  78428. while (true)
  78429. switch ($async$goto) {
  78430. case 0:
  78431. // Function start
  78432. t1 = $async$self.$this;
  78433. $async$goto = 2;
  78434. 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);
  78435. case 2:
  78436. // returning from await.
  78437. // implicit return
  78438. return A._asyncReturn(null, $async$completer);
  78439. }
  78440. });
  78441. return A._asyncStartSync($async$call$0, $async$completer);
  78442. },
  78443. $signature: 2
  78444. };
  78445. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  78446. call$0() {
  78447. var $async$goto = 0,
  78448. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78449. $async$self = this, t1, t2, t3, t4;
  78450. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78451. if ($async$errorCode === 1)
  78452. return A._asyncRethrow($async$result, $async$completer);
  78453. while (true)
  78454. switch ($async$goto) {
  78455. case 0:
  78456. // Function start
  78457. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78458. case 2:
  78459. // for condition
  78460. if (!t1.moveNext$0()) {
  78461. // goto after for
  78462. $async$goto = 3;
  78463. break;
  78464. }
  78465. t4 = t1.__internal$_current;
  78466. $async$goto = 4;
  78467. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78468. case 4:
  78469. // returning from await.
  78470. // goto for condition
  78471. $async$goto = 2;
  78472. break;
  78473. case 3:
  78474. // after for
  78475. // implicit return
  78476. return A._asyncReturn(null, $async$completer);
  78477. }
  78478. });
  78479. return A._asyncStartSync($async$call$0, $async$completer);
  78480. },
  78481. $signature: 2
  78482. };
  78483. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  78484. call$1(node) {
  78485. return type$.CssStyleRule_2._is(node);
  78486. },
  78487. $signature: 6
  78488. };
  78489. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  78490. call$0() {
  78491. var $async$goto = 0,
  78492. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78493. $async$self = this, t2, t3, t4, t1, styleRule;
  78494. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78495. if ($async$errorCode === 1)
  78496. return A._asyncRethrow($async$result, $async$completer);
  78497. while (true)
  78498. switch ($async$goto) {
  78499. case 0:
  78500. // Function start
  78501. t1 = $async$self.$this;
  78502. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  78503. $async$goto = styleRule == null ? 2 : 4;
  78504. break;
  78505. case 2:
  78506. // then
  78507. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  78508. case 5:
  78509. // for condition
  78510. if (!t2.moveNext$0()) {
  78511. // goto after for
  78512. $async$goto = 6;
  78513. break;
  78514. }
  78515. t4 = t2.__internal$_current;
  78516. $async$goto = 7;
  78517. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  78518. case 7:
  78519. // returning from await.
  78520. // goto for condition
  78521. $async$goto = 5;
  78522. break;
  78523. case 6:
  78524. // after for
  78525. // goto join
  78526. $async$goto = 3;
  78527. break;
  78528. case 4:
  78529. // else
  78530. $async$goto = 8;
  78531. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  78532. case 8:
  78533. // returning from await.
  78534. case 3:
  78535. // join
  78536. // implicit return
  78537. return A._asyncReturn(null, $async$completer);
  78538. }
  78539. });
  78540. return A._asyncStartSync($async$call$0, $async$completer);
  78541. },
  78542. $signature: 2
  78543. };
  78544. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  78545. call$0() {
  78546. var $async$goto = 0,
  78547. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  78548. $async$self = this, t1, t2, t3, t4;
  78549. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78550. if ($async$errorCode === 1)
  78551. return A._asyncRethrow($async$result, $async$completer);
  78552. while (true)
  78553. switch ($async$goto) {
  78554. case 0:
  78555. // Function start
  78556. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  78557. case 2:
  78558. // for condition
  78559. if (!t1.moveNext$0()) {
  78560. // goto after for
  78561. $async$goto = 3;
  78562. break;
  78563. }
  78564. t4 = t1.__internal$_current;
  78565. $async$goto = 4;
  78566. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  78567. case 4:
  78568. // returning from await.
  78569. // goto for condition
  78570. $async$goto = 2;
  78571. break;
  78572. case 3:
  78573. // after for
  78574. // implicit return
  78575. return A._asyncReturn(null, $async$completer);
  78576. }
  78577. });
  78578. return A._asyncStartSync($async$call$0, $async$completer);
  78579. },
  78580. $signature: 2
  78581. };
  78582. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  78583. call$1(node) {
  78584. return type$.CssStyleRule_2._is(node);
  78585. },
  78586. $signature: 6
  78587. };
  78588. A._EvaluateVisitor__serialize_closure2.prototype = {
  78589. call$0() {
  78590. return A.serializeValue0(this.value, false, this.quote);
  78591. },
  78592. $signature: 32
  78593. };
  78594. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  78595. call$0() {
  78596. var t1 = this.expression;
  78597. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  78598. },
  78599. $signature: 206
  78600. };
  78601. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  78602. call$1(number) {
  78603. var asSlash = number.asSlash;
  78604. if (asSlash != null)
  78605. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  78606. else
  78607. return A.serializeValue0(number, true, true);
  78608. },
  78609. $signature: 207
  78610. };
  78611. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  78612. call$1(url) {
  78613. var t1 = this.$this._async_evaluate0$_importCache;
  78614. t1 = t1 == null ? null : t1.humanize$1(url);
  78615. return t1 == null ? url : t1;
  78616. },
  78617. $signature: 77
  78618. };
  78619. A._EvaluateVisitor__stackTrace_closure2.prototype = {
  78620. call$1(tuple) {
  78621. return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  78622. },
  78623. $signature: 208
  78624. };
  78625. A._ImportedCssVisitor2.prototype = {
  78626. visitCssAtRule$1(node) {
  78627. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  78628. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  78629. },
  78630. visitCssComment$1(node) {
  78631. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  78632. },
  78633. visitCssDeclaration$1(node) {
  78634. },
  78635. visitCssImport$1(node) {
  78636. var t2,
  78637. _s13_ = "_endOfImports",
  78638. t1 = this._async_evaluate0$_visitor;
  78639. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  78640. t1._async_evaluate0$_addChild$1(node);
  78641. 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)) {
  78642. t1._async_evaluate0$_addChild$1(node);
  78643. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  78644. } else {
  78645. t2 = t1._async_evaluate0$_outOfOrderImports;
  78646. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  78647. }
  78648. },
  78649. visitCssKeyframeBlock$1(node) {
  78650. },
  78651. visitCssMediaRule$1(node) {
  78652. var t1 = this._async_evaluate0$_visitor,
  78653. mediaQueries = t1._async_evaluate0$_mediaQueries;
  78654. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  78655. },
  78656. visitCssStyleRule$1(node) {
  78657. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  78658. },
  78659. visitCssStylesheet$1(node) {
  78660. var t1, t2, t3;
  78661. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  78662. t3 = t1.__internal$_current;
  78663. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  78664. }
  78665. },
  78666. visitCssSupportsRule$1(node) {
  78667. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  78668. }
  78669. };
  78670. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  78671. call$1(node) {
  78672. return type$.CssStyleRule_2._is(node);
  78673. },
  78674. $signature: 6
  78675. };
  78676. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  78677. call$1(node) {
  78678. var t1;
  78679. if (!type$.CssStyleRule_2._is(node))
  78680. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  78681. else
  78682. t1 = true;
  78683. return t1;
  78684. },
  78685. $signature: 6
  78686. };
  78687. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  78688. call$1(node) {
  78689. return type$.CssStyleRule_2._is(node);
  78690. },
  78691. $signature: 6
  78692. };
  78693. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  78694. call$1(node) {
  78695. return type$.CssStyleRule_2._is(node);
  78696. },
  78697. $signature: 6
  78698. };
  78699. A.EvaluateResult0.prototype = {};
  78700. A._EvaluationContext2.prototype = {
  78701. get$currentCallableSpan() {
  78702. var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  78703. if (callableNode != null)
  78704. return callableNode.get$span(callableNode);
  78705. throw A.wrapException(A.StateError$(string$.No_Sasc));
  78706. },
  78707. warn$2(_, message, deprecation) {
  78708. var t1 = this._async_evaluate0$_visitor,
  78709. t2 = t1._async_evaluate0$_importSpan;
  78710. if (t2 == null) {
  78711. t2 = t1._async_evaluate0$_callableNode;
  78712. t2 = t2 == null ? null : t2.get$span(t2);
  78713. }
  78714. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  78715. },
  78716. $isEvaluationContext0: 1
  78717. };
  78718. A._ArgumentResults2.prototype = {};
  78719. A._LoadedStylesheet2.prototype = {};
  78720. A.NodeToDartAsyncFileImporter.prototype = {
  78721. canonicalize$1(_, url) {
  78722. return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
  78723. },
  78724. canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
  78725. var $async$goto = 0,
  78726. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  78727. $async$returnValue, $async$self = this, result, t1, resultUrl;
  78728. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78729. if ($async$errorCode === 1)
  78730. return A._asyncRethrow($async$result, $async$completer);
  78731. while (true)
  78732. switch ($async$goto) {
  78733. case 0:
  78734. // Function start
  78735. if (url.get$scheme() === "file") {
  78736. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
  78737. // goto return
  78738. $async$goto = 1;
  78739. break;
  78740. }
  78741. result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  78742. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  78743. break;
  78744. case 3:
  78745. // then
  78746. $async$goto = 5;
  78747. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  78748. case 5:
  78749. // returning from await.
  78750. result = $async$result;
  78751. case 4:
  78752. // join
  78753. if (result == null) {
  78754. $async$returnValue = null;
  78755. // goto return
  78756. $async$goto = 1;
  78757. break;
  78758. }
  78759. t1 = self.URL;
  78760. if (!(result instanceof t1))
  78761. A.jsThrow(new self.Error(string$.The_fie));
  78762. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  78763. if (resultUrl.get$scheme() !== "file")
  78764. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  78765. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
  78766. // goto return
  78767. $async$goto = 1;
  78768. break;
  78769. case 1:
  78770. // return
  78771. return A._asyncReturn($async$returnValue, $async$completer);
  78772. }
  78773. });
  78774. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  78775. },
  78776. load$1(_, url) {
  78777. return $.$get$_filesystemImporter().load$1(0, url);
  78778. }
  78779. };
  78780. A.AsyncImportCache0.prototype = {
  78781. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  78782. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  78783. },
  78784. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  78785. var $async$goto = 0,
  78786. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  78787. $async$returnValue, $async$self = this, t1, relativeResult;
  78788. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78789. if ($async$errorCode === 1)
  78790. return A._asyncRethrow($async$result, $async$completer);
  78791. while (true)
  78792. switch ($async$goto) {
  78793. case 0:
  78794. // Function start
  78795. $async$goto = baseImporter != null ? 3 : 4;
  78796. break;
  78797. case 3:
  78798. // then
  78799. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
  78800. $async$goto = 5;
  78801. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure1($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  78802. case 5:
  78803. // returning from await.
  78804. relativeResult = $async$result;
  78805. if (relativeResult != null) {
  78806. $async$returnValue = relativeResult;
  78807. // goto return
  78808. $async$goto = 1;
  78809. break;
  78810. }
  78811. case 4:
  78812. // join
  78813. t1 = type$.Tuple2_Uri_bool;
  78814. $async$goto = 6;
  78815. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure2($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  78816. case 6:
  78817. // returning from await.
  78818. $async$returnValue = $async$result;
  78819. // goto return
  78820. $async$goto = 1;
  78821. break;
  78822. case 1:
  78823. // return
  78824. return A._asyncReturn($async$returnValue, $async$completer);
  78825. }
  78826. });
  78827. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  78828. },
  78829. _async_import_cache0$_canonicalize$3(importer, url, forImport) {
  78830. return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
  78831. },
  78832. _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
  78833. var $async$goto = 0,
  78834. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  78835. $async$returnValue, $async$self = this, t1, result;
  78836. var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78837. if ($async$errorCode === 1)
  78838. return A._asyncRethrow($async$result, $async$completer);
  78839. while (true)
  78840. switch ($async$goto) {
  78841. case 0:
  78842. // Function start
  78843. if (forImport) {
  78844. t1 = type$.nullable_Object;
  78845. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  78846. } else
  78847. t1 = importer.canonicalize$1(0, url);
  78848. $async$goto = 3;
  78849. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
  78850. case 3:
  78851. // returning from await.
  78852. result = $async$result;
  78853. if ((result == null ? null : result.get$scheme()) === "")
  78854. A.WarnForDeprecation_warnForDeprecation0($async$self._async_import_cache0$_logger, B.Deprecation_E5x, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, null, null);
  78855. $async$returnValue = result;
  78856. // goto return
  78857. $async$goto = 1;
  78858. break;
  78859. case 1:
  78860. // return
  78861. return A._asyncReturn($async$returnValue, $async$completer);
  78862. }
  78863. });
  78864. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
  78865. },
  78866. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  78867. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  78868. },
  78869. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  78870. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  78871. },
  78872. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  78873. var $async$goto = 0,
  78874. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  78875. $async$returnValue, $async$self = this;
  78876. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78877. if ($async$errorCode === 1)
  78878. return A._asyncRethrow($async$result, $async$completer);
  78879. while (true)
  78880. switch ($async$goto) {
  78881. case 0:
  78882. // Function start
  78883. $async$goto = 3;
  78884. 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);
  78885. case 3:
  78886. // returning from await.
  78887. $async$returnValue = $async$result;
  78888. // goto return
  78889. $async$goto = 1;
  78890. break;
  78891. case 1:
  78892. // return
  78893. return A._asyncReturn($async$returnValue, $async$completer);
  78894. }
  78895. });
  78896. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  78897. },
  78898. humanize$1(canonicalUrl) {
  78899. var t2, url,
  78900. t1 = this._async_import_cache0$_canonicalizeCache;
  78901. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
  78902. t2 = t1.$ti;
  78903. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure4());
  78904. if (url == null)
  78905. return canonicalUrl;
  78906. t1 = $.$get$url();
  78907. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  78908. },
  78909. sourceMapUrl$1(_, canonicalUrl) {
  78910. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  78911. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  78912. return t1 == null ? canonicalUrl : t1;
  78913. }
  78914. };
  78915. A.AsyncImportCache_canonicalize_closure1.prototype = {
  78916. call$0() {
  78917. var $async$goto = 0,
  78918. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  78919. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  78920. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78921. if ($async$errorCode === 1)
  78922. return A._asyncRethrow($async$result, $async$completer);
  78923. while (true)
  78924. switch ($async$goto) {
  78925. case 0:
  78926. // Function start
  78927. t1 = $async$self.baseUrl;
  78928. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  78929. if (resolvedUrl == null)
  78930. resolvedUrl = $async$self.url;
  78931. t1 = $async$self.baseImporter;
  78932. $async$goto = 3;
  78933. return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  78934. case 3:
  78935. // returning from await.
  78936. canonicalUrl = $async$result;
  78937. if (canonicalUrl == null) {
  78938. $async$returnValue = null;
  78939. // goto return
  78940. $async$goto = 1;
  78941. break;
  78942. }
  78943. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  78944. // goto return
  78945. $async$goto = 1;
  78946. break;
  78947. case 1:
  78948. // return
  78949. return A._asyncReturn($async$returnValue, $async$completer);
  78950. }
  78951. });
  78952. return A._asyncStartSync($async$call$0, $async$completer);
  78953. },
  78954. $signature: 209
  78955. };
  78956. A.AsyncImportCache_canonicalize_closure2.prototype = {
  78957. call$0() {
  78958. var $async$goto = 0,
  78959. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  78960. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  78961. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78962. if ($async$errorCode === 1)
  78963. return A._asyncRethrow($async$result, $async$completer);
  78964. while (true)
  78965. switch ($async$goto) {
  78966. case 0:
  78967. // Function start
  78968. t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  78969. case 3:
  78970. // for condition
  78971. if (!(_i < t2.length)) {
  78972. // goto after for
  78973. $async$goto = 5;
  78974. break;
  78975. }
  78976. importer = t2[_i];
  78977. $async$goto = 6;
  78978. return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
  78979. case 6:
  78980. // returning from await.
  78981. canonicalUrl = $async$result;
  78982. if (canonicalUrl != null) {
  78983. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  78984. // goto return
  78985. $async$goto = 1;
  78986. break;
  78987. }
  78988. case 4:
  78989. // for update
  78990. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  78991. // goto for condition
  78992. $async$goto = 3;
  78993. break;
  78994. case 5:
  78995. // after for
  78996. $async$returnValue = null;
  78997. // goto return
  78998. $async$goto = 1;
  78999. break;
  79000. case 1:
  79001. // return
  79002. return A._asyncReturn($async$returnValue, $async$completer);
  79003. }
  79004. });
  79005. return A._asyncStartSync($async$call$0, $async$completer);
  79006. },
  79007. $signature: 209
  79008. };
  79009. A.AsyncImportCache__canonicalize_closure0.prototype = {
  79010. call$0() {
  79011. return this.importer.canonicalize$1(0, this.url);
  79012. },
  79013. $signature: 182
  79014. };
  79015. A.AsyncImportCache_importCanonical_closure0.prototype = {
  79016. call$0() {
  79017. var $async$goto = 0,
  79018. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  79019. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  79020. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79021. if ($async$errorCode === 1)
  79022. return A._asyncRethrow($async$result, $async$completer);
  79023. while (true)
  79024. switch ($async$goto) {
  79025. case 0:
  79026. // Function start
  79027. t1 = $async$self.canonicalUrl;
  79028. $async$goto = 3;
  79029. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  79030. case 3:
  79031. // returning from await.
  79032. result = $async$result;
  79033. if (result == null) {
  79034. $async$returnValue = null;
  79035. // goto return
  79036. $async$goto = 1;
  79037. break;
  79038. }
  79039. t2 = $async$self.$this;
  79040. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  79041. t3 = result.contents;
  79042. t4 = result.syntax;
  79043. t1 = $async$self.originalUrl.resolveUri$1(t1);
  79044. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  79045. // goto return
  79046. $async$goto = 1;
  79047. break;
  79048. case 1:
  79049. // return
  79050. return A._asyncReturn($async$returnValue, $async$completer);
  79051. }
  79052. });
  79053. return A._asyncStartSync($async$call$0, $async$completer);
  79054. },
  79055. $signature: 357
  79056. };
  79057. A.AsyncImportCache_humanize_closure2.prototype = {
  79058. call$1(tuple) {
  79059. return tuple.item2.$eq(0, this.canonicalUrl);
  79060. },
  79061. $signature: 358
  79062. };
  79063. A.AsyncImportCache_humanize_closure3.prototype = {
  79064. call$1(tuple) {
  79065. return tuple.item3;
  79066. },
  79067. $signature: 359
  79068. };
  79069. A.AsyncImportCache_humanize_closure4.prototype = {
  79070. call$1(url) {
  79071. return url.get$path(url).length;
  79072. },
  79073. $signature: 94
  79074. };
  79075. A.AtRootQueryParser0.prototype = {
  79076. parse$0() {
  79077. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  79078. }
  79079. };
  79080. A.AtRootQueryParser_parse_closure0.prototype = {
  79081. call$0() {
  79082. var include, atRules,
  79083. t1 = this.$this,
  79084. t2 = t1.scanner;
  79085. t2.expectChar$1(40);
  79086. t1.whitespace$0();
  79087. include = t1.scanIdentifier$1("with");
  79088. if (!include)
  79089. t1.expectIdentifier$2$name("without", '"with" or "without"');
  79090. t1.whitespace$0();
  79091. t2.expectChar$1(58);
  79092. t1.whitespace$0();
  79093. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  79094. do {
  79095. atRules.add$1(0, t1.identifier$0().toLowerCase());
  79096. t1.whitespace$0();
  79097. } while (t1.lookingAtIdentifier$0());
  79098. t2.expectChar$1(41);
  79099. t2.expectDone$0();
  79100. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  79101. },
  79102. $signature: 360
  79103. };
  79104. A.AtRootQuery0.prototype = {
  79105. excludes$1(node) {
  79106. var _this = this;
  79107. if (_this._at_root_query0$_all)
  79108. return !_this.include;
  79109. if (type$.CssStyleRule_2._is(node))
  79110. return _this._at_root_query0$_rule !== _this.include;
  79111. if (type$.CssMediaRule_2._is(node))
  79112. return _this.excludesName$1("media");
  79113. if (type$.CssSupportsRule_2._is(node))
  79114. return _this.excludesName$1("supports");
  79115. if (type$.CssAtRule_2._is(node))
  79116. return _this.excludesName$1(node.name.value.toLowerCase());
  79117. return false;
  79118. },
  79119. excludesName$1($name) {
  79120. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  79121. return t1 !== this.include;
  79122. }
  79123. };
  79124. A.AtRootRule0.prototype = {
  79125. accept$1$1(visitor) {
  79126. return visitor.visitAtRootRule$1(this);
  79127. },
  79128. accept$1(visitor) {
  79129. return this.accept$1$1(visitor, type$.dynamic);
  79130. },
  79131. toString$0(_) {
  79132. var buffer = new A.StringBuffer("@at-root "),
  79133. t1 = this.query;
  79134. if (t1 != null)
  79135. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  79136. t1 = this.children;
  79137. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  79138. },
  79139. get$span(receiver) {
  79140. return this.span;
  79141. }
  79142. };
  79143. A.ModifiableCssAtRule0.prototype = {
  79144. accept$1$1(visitor) {
  79145. return visitor.visitCssAtRule$1(this);
  79146. },
  79147. accept$1(visitor) {
  79148. return this.accept$1$1(visitor, type$.dynamic);
  79149. },
  79150. equalsIgnoringChildren$1(other) {
  79151. var t1, t2;
  79152. if (other instanceof A.ModifiableCssAtRule0) {
  79153. t1 = this.name;
  79154. t2 = other.name;
  79155. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  79156. } else
  79157. t1 = false;
  79158. return t1;
  79159. },
  79160. copyWithoutChildren$0() {
  79161. var _this = this;
  79162. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  79163. },
  79164. addChild$1(child) {
  79165. this.super$ModifiableCssParentNode$addChild0(child);
  79166. },
  79167. $isCssAtRule0: 1,
  79168. get$isChildless() {
  79169. return this.isChildless;
  79170. },
  79171. get$span(receiver) {
  79172. return this.span;
  79173. }
  79174. };
  79175. A.AtRule0.prototype = {
  79176. accept$1$1(visitor) {
  79177. return visitor.visitAtRule$1(this);
  79178. },
  79179. accept$1(visitor) {
  79180. return this.accept$1$1(visitor, type$.dynamic);
  79181. },
  79182. toString$0(_) {
  79183. var children,
  79184. t1 = "@" + this.name.toString$0(0),
  79185. buffer = new A.StringBuffer(t1),
  79186. t2 = this.value;
  79187. if (t2 != null)
  79188. buffer._contents = t1 + (" " + t2.toString$0(0));
  79189. children = this.children;
  79190. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  79191. },
  79192. get$span(receiver) {
  79193. return this.span;
  79194. }
  79195. };
  79196. A.AttributeSelector0.prototype = {
  79197. accept$1$1(visitor) {
  79198. return visitor.visitAttributeSelector$1(this);
  79199. },
  79200. accept$1(visitor) {
  79201. return this.accept$1$1(visitor, type$.dynamic);
  79202. },
  79203. $eq(_, other) {
  79204. var _this = this;
  79205. if (other == null)
  79206. return false;
  79207. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  79208. },
  79209. get$hashCode(_) {
  79210. var _this = this,
  79211. t1 = _this.name;
  79212. 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;
  79213. }
  79214. };
  79215. A.AttributeOperator0.prototype = {
  79216. _enumToString$0() {
  79217. return "AttributeOperator." + this._name;
  79218. },
  79219. toString$0(_) {
  79220. return this._attribute0$_text;
  79221. }
  79222. };
  79223. A.BinaryOperationExpression0.prototype = {
  79224. get$span(_) {
  79225. var right,
  79226. left = this.left;
  79227. for (; left instanceof A.BinaryOperationExpression0;)
  79228. left = left.left;
  79229. right = this.right;
  79230. for (; right instanceof A.BinaryOperationExpression0;)
  79231. right = right.right;
  79232. return left.get$span(left).expand$1(0, right.get$span(right));
  79233. },
  79234. accept$1$1(visitor) {
  79235. return visitor.visitBinaryOperationExpression$1(this);
  79236. },
  79237. accept$1(visitor) {
  79238. return this.accept$1$1(visitor, type$.dynamic);
  79239. },
  79240. toString$0(_) {
  79241. var leftNeedsParens, t1, t2, right, t3, rightNeedsParens, _this = this,
  79242. left = _this.left;
  79243. if (!(left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence))
  79244. leftNeedsParens = left instanceof A.ListExpression0 && !left.hasBrackets && left.contents.length > 1;
  79245. else
  79246. leftNeedsParens = true;
  79247. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  79248. t1 += left.toString$0(0);
  79249. if (leftNeedsParens)
  79250. t1 += A.Primitives_stringFromCharCode(41);
  79251. t2 = _this.operator;
  79252. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  79253. right = _this.right;
  79254. if (right instanceof A.BinaryOperationExpression0) {
  79255. t3 = right.operator;
  79256. if (t3.precedence <= t2.precedence)
  79257. t2 = !(t3 === t2 && t2.isAssociative);
  79258. else
  79259. t2 = false;
  79260. } else
  79261. t2 = false;
  79262. if (!t2)
  79263. rightNeedsParens = right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length > 1;
  79264. else
  79265. rightNeedsParens = true;
  79266. if (rightNeedsParens)
  79267. t1 += A.Primitives_stringFromCharCode(40);
  79268. t1 += right.toString$0(0);
  79269. if (rightNeedsParens)
  79270. t1 += A.Primitives_stringFromCharCode(41);
  79271. return t1.charCodeAt(0) == 0 ? t1 : t1;
  79272. },
  79273. $isExpression0: 1,
  79274. $isAstNode0: 1
  79275. };
  79276. A.BinaryOperator0.prototype = {
  79277. _enumToString$0() {
  79278. return "BinaryOperator." + this._name;
  79279. },
  79280. toString$0(_) {
  79281. return this.name;
  79282. }
  79283. };
  79284. A.BooleanExpression0.prototype = {
  79285. accept$1$1(visitor) {
  79286. return visitor.visitBooleanExpression$1(this);
  79287. },
  79288. accept$1(visitor) {
  79289. return this.accept$1$1(visitor, type$.dynamic);
  79290. },
  79291. toString$0(_) {
  79292. return String(this.value);
  79293. },
  79294. $isExpression0: 1,
  79295. $isAstNode0: 1,
  79296. get$span(receiver) {
  79297. return this.span;
  79298. }
  79299. };
  79300. A.legacyBooleanClass_closure.prototype = {
  79301. call$0() {
  79302. var t1 = type$.JSClass,
  79303. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  79304. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  79305. jsClass.TRUE = B.SassBoolean_true0;
  79306. jsClass.FALSE = B.SassBoolean_false0;
  79307. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  79308. return jsClass;
  79309. },
  79310. $signature: 25
  79311. };
  79312. A.legacyBooleanClass__closure.prototype = {
  79313. call$2(_, __) {
  79314. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  79315. },
  79316. call$1(_) {
  79317. return this.call$2(_, null);
  79318. },
  79319. "call*": "call$2",
  79320. $requiredArgCount: 1,
  79321. $defaultValues() {
  79322. return [null];
  79323. },
  79324. $signature: 210
  79325. };
  79326. A.legacyBooleanClass__closure0.prototype = {
  79327. call$1($self) {
  79328. return $self === B.SassBoolean_true0;
  79329. },
  79330. $signature: 66
  79331. };
  79332. A.booleanClass_closure.prototype = {
  79333. call$0() {
  79334. var t1 = type$.JSClass,
  79335. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  79336. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  79337. return jsClass;
  79338. },
  79339. $signature: 25
  79340. };
  79341. A.booleanClass__closure.prototype = {
  79342. call$2($self, _) {
  79343. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  79344. },
  79345. call$1($self) {
  79346. return this.call$2($self, null);
  79347. },
  79348. "call*": "call$2",
  79349. $requiredArgCount: 1,
  79350. $defaultValues() {
  79351. return [null];
  79352. },
  79353. $signature: 362
  79354. };
  79355. A.SassBoolean0.prototype = {
  79356. get$isTruthy() {
  79357. return this.value;
  79358. },
  79359. accept$1$1(visitor) {
  79360. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  79361. },
  79362. accept$1(visitor) {
  79363. return this.accept$1$1(visitor, type$.dynamic);
  79364. },
  79365. assertBoolean$1($name) {
  79366. return this;
  79367. },
  79368. unaryNot$0() {
  79369. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  79370. }
  79371. };
  79372. A.Box0.prototype = {
  79373. $eq(_, other) {
  79374. if (other == null)
  79375. return false;
  79376. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  79377. },
  79378. get$hashCode(_) {
  79379. return A.Primitives_objectHashCode(this._box0$_inner);
  79380. }
  79381. };
  79382. A.ModifiableBox0.prototype = {};
  79383. A.BuiltInCallable0.prototype = {
  79384. callbackFor$2(positional, names) {
  79385. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  79386. 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) {
  79387. overload = t1[_i];
  79388. t3 = overload.item1;
  79389. if (t3.matches$2(positional, names))
  79390. return overload;
  79391. mismatchDistance = t3.$arguments.length - positional;
  79392. if (minMismatchDistance != null) {
  79393. t3 = Math.abs(mismatchDistance);
  79394. t4 = Math.abs(minMismatchDistance);
  79395. if (t3 > t4)
  79396. continue;
  79397. if (t3 === t4 && mismatchDistance < 0)
  79398. continue;
  79399. }
  79400. minMismatchDistance = mismatchDistance;
  79401. fuzzyMatch = overload;
  79402. }
  79403. if (fuzzyMatch != null)
  79404. return fuzzyMatch;
  79405. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  79406. },
  79407. withName$1($name) {
  79408. return new A.BuiltInCallable0($name, this._built_in$_overloads);
  79409. },
  79410. $isAsyncCallable0: 1,
  79411. $isAsyncBuiltInCallable0: 1,
  79412. $isCallable0: 1,
  79413. get$name(receiver) {
  79414. return this.name;
  79415. }
  79416. };
  79417. A.BuiltInCallable$mixin_closure0.prototype = {
  79418. call$1($arguments) {
  79419. this.callback.call$1($arguments);
  79420. return B.C__SassNull0;
  79421. },
  79422. $signature: 3
  79423. };
  79424. A.BuiltInModule0.prototype = {
  79425. get$upstream() {
  79426. return B.List_empty18;
  79427. },
  79428. get$variableNodes() {
  79429. return B.Map_empty7;
  79430. },
  79431. get$extensionStore() {
  79432. return B.C_EmptyExtensionStore0;
  79433. },
  79434. get$css(_) {
  79435. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  79436. },
  79437. get$transitivelyContainsCss() {
  79438. return false;
  79439. },
  79440. get$transitivelyContainsExtensions() {
  79441. return false;
  79442. },
  79443. setVariable$3($name, value, nodeWithSpan) {
  79444. if (!this.variables.containsKey$1($name))
  79445. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  79446. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  79447. },
  79448. variableIdentity$1($name) {
  79449. return this;
  79450. },
  79451. cloneCss$0() {
  79452. return this;
  79453. },
  79454. $isModule0: 1,
  79455. get$url(receiver) {
  79456. return this.url;
  79457. },
  79458. get$functions(receiver) {
  79459. return this.functions;
  79460. },
  79461. get$mixins() {
  79462. return this.mixins;
  79463. },
  79464. get$variables() {
  79465. return this.variables;
  79466. }
  79467. };
  79468. A.CalculationExpression0.prototype = {
  79469. accept$1$1(visitor) {
  79470. return visitor.visitCalculationExpression$1(this);
  79471. },
  79472. accept$1(visitor) {
  79473. return this.accept$1$1(visitor, type$.dynamic);
  79474. },
  79475. toString$0(_) {
  79476. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  79477. },
  79478. $isExpression0: 1,
  79479. $isAstNode0: 1,
  79480. get$span(receiver) {
  79481. return this.span;
  79482. }
  79483. };
  79484. A.CalculationExpression__verifyArguments_closure0.prototype = {
  79485. call$1(arg) {
  79486. A.CalculationExpression__verify0(arg);
  79487. return arg;
  79488. },
  79489. $signature: 101
  79490. };
  79491. A.SassCalculation0.prototype = {
  79492. get$isSpecialNumber() {
  79493. return true;
  79494. },
  79495. accept$1$1(visitor) {
  79496. return visitor.visitCalculation$1(this);
  79497. },
  79498. accept$1(visitor) {
  79499. return this.accept$1$1(visitor, type$.dynamic);
  79500. },
  79501. assertCalculation$1($name) {
  79502. return this;
  79503. },
  79504. plus$1(other) {
  79505. if (other instanceof A.SassString0)
  79506. return this.super$Value$plus0(other);
  79507. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  79508. },
  79509. minus$1(other) {
  79510. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  79511. },
  79512. unaryPlus$0() {
  79513. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  79514. },
  79515. unaryMinus$0() {
  79516. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  79517. },
  79518. $eq(_, other) {
  79519. if (other == null)
  79520. return false;
  79521. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  79522. },
  79523. get$hashCode(_) {
  79524. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  79525. }
  79526. };
  79527. A.SassCalculation__verifyLength_closure0.prototype = {
  79528. call$1(arg) {
  79529. return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
  79530. },
  79531. $signature: 66
  79532. };
  79533. A.CalculationOperation0.prototype = {
  79534. $eq(_, other) {
  79535. if (other == null)
  79536. return false;
  79537. return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  79538. },
  79539. get$hashCode(_) {
  79540. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  79541. },
  79542. toString$0(_) {
  79543. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  79544. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  79545. }
  79546. };
  79547. A.CalculationOperator0.prototype = {
  79548. _enumToString$0() {
  79549. return "CalculationOperator." + this._name;
  79550. },
  79551. toString$0(_) {
  79552. return this.name;
  79553. }
  79554. };
  79555. A.CalculationInterpolation0.prototype = {
  79556. $eq(_, other) {
  79557. if (other == null)
  79558. return false;
  79559. return other instanceof A.CalculationInterpolation0 && this.value === other.value;
  79560. },
  79561. get$hashCode(_) {
  79562. return B.JSString_methods.get$hashCode(this.value);
  79563. },
  79564. toString$0(_) {
  79565. return this.value;
  79566. }
  79567. };
  79568. A.CallableDeclaration0.prototype = {
  79569. get$span(receiver) {
  79570. return this.span;
  79571. }
  79572. };
  79573. A.Chokidar0.prototype = {};
  79574. A.ChokidarOptions0.prototype = {};
  79575. A.ChokidarWatcher0.prototype = {};
  79576. A.ClassSelector0.prototype = {
  79577. $eq(_, other) {
  79578. if (other == null)
  79579. return false;
  79580. return other instanceof A.ClassSelector0 && other.name === this.name;
  79581. },
  79582. accept$1$1(visitor) {
  79583. return visitor.visitClassSelector$1(this);
  79584. },
  79585. accept$1(visitor) {
  79586. return this.accept$1$1(visitor, type$.dynamic);
  79587. },
  79588. addSuffix$1(suffix) {
  79589. return new A.ClassSelector0(this.name + suffix, this.span);
  79590. },
  79591. get$hashCode(_) {
  79592. return B.JSString_methods.get$hashCode(this.name);
  79593. }
  79594. };
  79595. A._CloneCssVisitor0.prototype = {
  79596. visitCssAtRule$1(node) {
  79597. var t1 = node.isChildless,
  79598. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  79599. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  79600. },
  79601. visitCssComment$1(node) {
  79602. return new A.ModifiableCssComment0(node.text, node.span);
  79603. },
  79604. visitCssDeclaration$1(node) {
  79605. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  79606. },
  79607. visitCssImport$1(node) {
  79608. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  79609. },
  79610. visitCssKeyframeBlock$1(node) {
  79611. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  79612. },
  79613. visitCssMediaRule$1(node) {
  79614. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  79615. },
  79616. visitCssStyleRule$1(node) {
  79617. var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  79618. if (newSelector == null)
  79619. throw A.wrapException(A.StateError$(string$.The_Ex));
  79620. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
  79621. },
  79622. visitCssStylesheet$1(node) {
  79623. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  79624. },
  79625. visitCssSupportsRule$1(node) {
  79626. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  79627. },
  79628. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  79629. var t1, t2, newChild;
  79630. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  79631. t2 = t1.get$current(t1);
  79632. newChild = t2.accept$1(this);
  79633. newChild.isGroupEnd = t2.get$isGroupEnd();
  79634. newParent.addChild$1(newChild);
  79635. }
  79636. return newParent;
  79637. },
  79638. _clone_css$_visitChildren$2(newParent, oldParent) {
  79639. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  79640. }
  79641. };
  79642. A.ColorExpression0.prototype = {
  79643. accept$1$1(visitor) {
  79644. return visitor.visitColorExpression$1(this);
  79645. },
  79646. accept$1(visitor) {
  79647. return this.accept$1$1(visitor, type$.dynamic);
  79648. },
  79649. toString$0(_) {
  79650. return A.serializeValue0(this.value, true, true);
  79651. },
  79652. $isExpression0: 1,
  79653. $isAstNode0: 1,
  79654. get$span(receiver) {
  79655. return this.span;
  79656. }
  79657. };
  79658. A.global_closure30.prototype = {
  79659. call$1($arguments) {
  79660. return A._rgb0("rgb", $arguments);
  79661. },
  79662. $signature: 3
  79663. };
  79664. A.global_closure31.prototype = {
  79665. call$1($arguments) {
  79666. return A._rgb0("rgb", $arguments);
  79667. },
  79668. $signature: 3
  79669. };
  79670. A.global_closure32.prototype = {
  79671. call$1($arguments) {
  79672. return A._rgbTwoArg0("rgb", $arguments);
  79673. },
  79674. $signature: 3
  79675. };
  79676. A.global_closure33.prototype = {
  79677. call$1($arguments) {
  79678. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  79679. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  79680. },
  79681. $signature: 3
  79682. };
  79683. A.global_closure34.prototype = {
  79684. call$1($arguments) {
  79685. return A._rgb0("rgba", $arguments);
  79686. },
  79687. $signature: 3
  79688. };
  79689. A.global_closure35.prototype = {
  79690. call$1($arguments) {
  79691. return A._rgb0("rgba", $arguments);
  79692. },
  79693. $signature: 3
  79694. };
  79695. A.global_closure36.prototype = {
  79696. call$1($arguments) {
  79697. return A._rgbTwoArg0("rgba", $arguments);
  79698. },
  79699. $signature: 3
  79700. };
  79701. A.global_closure37.prototype = {
  79702. call$1($arguments) {
  79703. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  79704. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  79705. },
  79706. $signature: 3
  79707. };
  79708. A.global_closure38.prototype = {
  79709. call$1($arguments) {
  79710. var color, t2,
  79711. t1 = J.getInterceptor$asx($arguments),
  79712. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  79713. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  79714. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  79715. throw A.wrapException(string$.Only_oa);
  79716. return A._functionString0("invert", t1.take$1($arguments, 1));
  79717. }
  79718. color = t1.$index($arguments, 0).assertColor$1("color");
  79719. t1 = color.get$red(color);
  79720. t2 = color.get$green(color);
  79721. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  79722. },
  79723. $signature: 3
  79724. };
  79725. A.global_closure39.prototype = {
  79726. call$1($arguments) {
  79727. return A._hsl0("hsl", $arguments);
  79728. },
  79729. $signature: 3
  79730. };
  79731. A.global_closure40.prototype = {
  79732. call$1($arguments) {
  79733. return A._hsl0("hsl", $arguments);
  79734. },
  79735. $signature: 3
  79736. };
  79737. A.global_closure41.prototype = {
  79738. call$1($arguments) {
  79739. var t1 = J.getInterceptor$asx($arguments);
  79740. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  79741. return A._functionString0("hsl", $arguments);
  79742. else
  79743. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  79744. },
  79745. $signature: 17
  79746. };
  79747. A.global_closure42.prototype = {
  79748. call$1($arguments) {
  79749. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  79750. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  79751. },
  79752. $signature: 3
  79753. };
  79754. A.global_closure43.prototype = {
  79755. call$1($arguments) {
  79756. return A._hsl0("hsla", $arguments);
  79757. },
  79758. $signature: 3
  79759. };
  79760. A.global_closure44.prototype = {
  79761. call$1($arguments) {
  79762. return A._hsl0("hsla", $arguments);
  79763. },
  79764. $signature: 3
  79765. };
  79766. A.global_closure45.prototype = {
  79767. call$1($arguments) {
  79768. var t1 = J.getInterceptor$asx($arguments);
  79769. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  79770. return A._functionString0("hsla", $arguments);
  79771. else
  79772. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  79773. },
  79774. $signature: 17
  79775. };
  79776. A.global_closure46.prototype = {
  79777. call$1($arguments) {
  79778. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  79779. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  79780. },
  79781. $signature: 3
  79782. };
  79783. A.global_closure47.prototype = {
  79784. call$1($arguments) {
  79785. var t1 = J.getInterceptor$asx($arguments);
  79786. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  79787. return A._functionString0("grayscale", $arguments);
  79788. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  79789. },
  79790. $signature: 3
  79791. };
  79792. A.global_closure48.prototype = {
  79793. call$1($arguments) {
  79794. var t1 = J.getInterceptor$asx($arguments),
  79795. color = t1.$index($arguments, 0).assertColor$1("color"),
  79796. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  79797. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  79798. },
  79799. $signature: 23
  79800. };
  79801. A.global_closure49.prototype = {
  79802. call$1($arguments) {
  79803. var t1 = J.getInterceptor$asx($arguments),
  79804. color = t1.$index($arguments, 0).assertColor$1("color"),
  79805. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  79806. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  79807. },
  79808. $signature: 23
  79809. };
  79810. A.global_closure50.prototype = {
  79811. call$1($arguments) {
  79812. var t1 = J.getInterceptor$asx($arguments),
  79813. color = t1.$index($arguments, 0).assertColor$1("color"),
  79814. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  79815. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  79816. },
  79817. $signature: 23
  79818. };
  79819. A.global_closure51.prototype = {
  79820. call$1($arguments) {
  79821. var t1 = J.getInterceptor$asx($arguments);
  79822. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  79823. return A._functionString0("saturate", $arguments);
  79824. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  79825. },
  79826. $signature: 17
  79827. };
  79828. A.global_closure52.prototype = {
  79829. call$1($arguments) {
  79830. var t1 = J.getInterceptor$asx($arguments),
  79831. color = t1.$index($arguments, 0).assertColor$1("color"),
  79832. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  79833. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  79834. },
  79835. $signature: 23
  79836. };
  79837. A.global_closure53.prototype = {
  79838. call$1($arguments) {
  79839. var t1 = J.getInterceptor$asx($arguments),
  79840. color = t1.$index($arguments, 0).assertColor$1("color"),
  79841. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  79842. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  79843. },
  79844. $signature: 23
  79845. };
  79846. A.global_closure54.prototype = {
  79847. call$1($arguments) {
  79848. var argument = J.$index$asx($arguments, 0);
  79849. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  79850. return A._functionString0("alpha", $arguments);
  79851. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  79852. },
  79853. $signature: 3
  79854. };
  79855. A.global_closure55.prototype = {
  79856. call$1($arguments) {
  79857. var t1,
  79858. argList = J.$index$asx($arguments, 0).get$asList();
  79859. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  79860. return A._functionString0("alpha", $arguments);
  79861. t1 = argList.length;
  79862. if (t1 === 0)
  79863. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  79864. else
  79865. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  79866. },
  79867. $signature: 17
  79868. };
  79869. A.global__closure0.prototype = {
  79870. call$1(argument) {
  79871. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  79872. },
  79873. $signature: 45
  79874. };
  79875. A.global_closure56.prototype = {
  79876. call$1($arguments) {
  79877. var t1 = J.getInterceptor$asx($arguments);
  79878. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  79879. return A._functionString0("opacity", $arguments);
  79880. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  79881. },
  79882. $signature: 3
  79883. };
  79884. A.module_closure10.prototype = {
  79885. call$1($arguments) {
  79886. var result, t2, color,
  79887. t1 = J.getInterceptor$asx($arguments),
  79888. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  79889. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  79890. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  79891. throw A.wrapException(string$.Only_oa);
  79892. result = A._functionString0("invert", t1.take$1($arguments, 1));
  79893. t1 = A.S(t1.$index($arguments, 0));
  79894. t2 = result.toString$0(0);
  79895. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_LT8);
  79896. return result;
  79897. }
  79898. color = t1.$index($arguments, 0).assertColor$1("color");
  79899. t1 = color.get$red(color);
  79900. t2 = color.get$green(color);
  79901. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  79902. },
  79903. $signature: 3
  79904. };
  79905. A.module_closure11.prototype = {
  79906. call$1($arguments) {
  79907. var result, t2,
  79908. t1 = J.getInterceptor$asx($arguments);
  79909. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  79910. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  79911. t1 = A.S(t1.$index($arguments, 0));
  79912. t2 = result.toString$0(0);
  79913. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_LT8);
  79914. return result;
  79915. }
  79916. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  79917. },
  79918. $signature: 3
  79919. };
  79920. A.module_closure12.prototype = {
  79921. call$1($arguments) {
  79922. return A._hwb0($arguments);
  79923. },
  79924. $signature: 3
  79925. };
  79926. A.module_closure13.prototype = {
  79927. call$1($arguments) {
  79928. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  79929. if (parsed instanceof A.SassString0)
  79930. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  79931. else
  79932. return A._hwb0(type$.List_Value_2._as(parsed));
  79933. },
  79934. $signature: 3
  79935. };
  79936. A.module_closure14.prototype = {
  79937. call$1($arguments) {
  79938. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  79939. return A.SassNumber_SassNumber0(t1.get$whiteness(t1), "%");
  79940. },
  79941. $signature: 10
  79942. };
  79943. A.module_closure15.prototype = {
  79944. call$1($arguments) {
  79945. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  79946. return A.SassNumber_SassNumber0(t1.get$blackness(t1), "%");
  79947. },
  79948. $signature: 10
  79949. };
  79950. A.module_closure16.prototype = {
  79951. call$1($arguments) {
  79952. var result, t1,
  79953. argument = J.$index$asx($arguments, 0);
  79954. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  79955. result = A._functionString0("alpha", $arguments);
  79956. t1 = result.toString$0(0);
  79957. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  79958. return result;
  79959. }
  79960. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  79961. },
  79962. $signature: 3
  79963. };
  79964. A.module_closure17.prototype = {
  79965. call$1($arguments) {
  79966. var result,
  79967. t1 = J.getInterceptor$asx($arguments);
  79968. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  79969. result = A._functionString0("alpha", $arguments);
  79970. t1 = result.toString$0(0);
  79971. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  79972. return result;
  79973. }
  79974. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  79975. },
  79976. $signature: 17
  79977. };
  79978. A.module__closure4.prototype = {
  79979. call$1(argument) {
  79980. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  79981. },
  79982. $signature: 45
  79983. };
  79984. A.module_closure18.prototype = {
  79985. call$1($arguments) {
  79986. var result, t2,
  79987. t1 = J.getInterceptor$asx($arguments);
  79988. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  79989. result = A._functionString0("opacity", $arguments);
  79990. t1 = A.S(t1.$index($arguments, 0));
  79991. t2 = result.toString$0(0);
  79992. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_LT8);
  79993. return result;
  79994. }
  79995. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  79996. },
  79997. $signature: 3
  79998. };
  79999. A._red_closure0.prototype = {
  80000. call$1($arguments) {
  80001. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80002. return A.SassNumber_SassNumber0(t1.get$red(t1), null);
  80003. },
  80004. $signature: 10
  80005. };
  80006. A._green_closure0.prototype = {
  80007. call$1($arguments) {
  80008. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80009. return A.SassNumber_SassNumber0(t1.get$green(t1), null);
  80010. },
  80011. $signature: 10
  80012. };
  80013. A._blue_closure0.prototype = {
  80014. call$1($arguments) {
  80015. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80016. return A.SassNumber_SassNumber0(t1.get$blue(t1), null);
  80017. },
  80018. $signature: 10
  80019. };
  80020. A._mix_closure0.prototype = {
  80021. call$1($arguments) {
  80022. var t1 = J.getInterceptor$asx($arguments);
  80023. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  80024. },
  80025. $signature: 23
  80026. };
  80027. A._hue_closure0.prototype = {
  80028. call$1($arguments) {
  80029. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80030. return A.SassNumber_SassNumber0(t1.get$hue(t1), "deg");
  80031. },
  80032. $signature: 10
  80033. };
  80034. A._saturation_closure0.prototype = {
  80035. call$1($arguments) {
  80036. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80037. return A.SassNumber_SassNumber0(t1.get$saturation(t1), "%");
  80038. },
  80039. $signature: 10
  80040. };
  80041. A._lightness_closure0.prototype = {
  80042. call$1($arguments) {
  80043. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  80044. return A.SassNumber_SassNumber0(t1.get$lightness(t1), "%");
  80045. },
  80046. $signature: 10
  80047. };
  80048. A._complement_closure0.prototype = {
  80049. call$1($arguments) {
  80050. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  80051. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  80052. },
  80053. $signature: 23
  80054. };
  80055. A._adjust_closure0.prototype = {
  80056. call$1($arguments) {
  80057. return A._updateComponents0($arguments, true, false, false);
  80058. },
  80059. $signature: 23
  80060. };
  80061. A._scale_closure0.prototype = {
  80062. call$1($arguments) {
  80063. return A._updateComponents0($arguments, false, false, true);
  80064. },
  80065. $signature: 23
  80066. };
  80067. A._change_closure0.prototype = {
  80068. call$1($arguments) {
  80069. return A._updateComponents0($arguments, false, true, false);
  80070. },
  80071. $signature: 23
  80072. };
  80073. A._ieHexStr_closure0.prototype = {
  80074. call$1($arguments) {
  80075. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  80076. t1 = new A._ieHexStr_closure_hexString0();
  80077. return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
  80078. },
  80079. $signature: 17
  80080. };
  80081. A._ieHexStr_closure_hexString0.prototype = {
  80082. call$1(component) {
  80083. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  80084. },
  80085. $signature: 248
  80086. };
  80087. A._updateComponents_getParam0.prototype = {
  80088. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  80089. var t2, t3, t4, _this = this,
  80090. t1 = _this.keywords.remove$1(0, $name),
  80091. number = t1 == null ? null : t1.assertNumber$1($name);
  80092. if (number == null)
  80093. return null;
  80094. t1 = _this.scale;
  80095. t2 = !t1;
  80096. if (t2 && checkUnitless)
  80097. if (number.get$hasUnits()) {
  80098. t3 = number.get$unitString();
  80099. t4 = number.unitSuggestion$1($name);
  80100. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_0bn);
  80101. }
  80102. if (t2 && checkPercent)
  80103. A._checkPercent0(number, $name);
  80104. if (!t2 || assertPercent)
  80105. number.assertUnit$2("%", $name);
  80106. if (t1)
  80107. max = 100;
  80108. if (!t2 || assertPercent)
  80109. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  80110. else {
  80111. t1 = _this.change ? 0 : -max;
  80112. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  80113. }
  80114. return t1;
  80115. },
  80116. call$2($name, max) {
  80117. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  80118. },
  80119. call$3$checkUnitless($name, max, checkUnitless) {
  80120. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  80121. },
  80122. call$3$checkPercent($name, max, checkPercent) {
  80123. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  80124. },
  80125. call$3$assertPercent($name, max, assertPercent) {
  80126. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  80127. },
  80128. $signature: 249
  80129. };
  80130. A._updateComponents_closure1.prototype = {
  80131. call$1(hue) {
  80132. return A._angleValue0(hue, "hue");
  80133. },
  80134. $signature: 74
  80135. };
  80136. A._updateComponents_closure2.prototype = {
  80137. call$1($name) {
  80138. return "$" + $name;
  80139. },
  80140. $signature: 5
  80141. };
  80142. A._updateComponents_updateValue0.prototype = {
  80143. call$3(current, param, max) {
  80144. var t1;
  80145. if (param == null)
  80146. return current;
  80147. if (this.change)
  80148. return param;
  80149. if (this.adjust)
  80150. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  80151. t1 = param > 0 ? max - current : current;
  80152. return current + t1 * (param / 100);
  80153. },
  80154. $signature: 176
  80155. };
  80156. A._updateComponents_updateRgb0.prototype = {
  80157. call$2(current, param) {
  80158. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  80159. },
  80160. $signature: 185
  80161. };
  80162. A._functionString_closure0.prototype = {
  80163. call$1(argument) {
  80164. return A.serializeValue0(argument, false, true);
  80165. },
  80166. $signature: 211
  80167. };
  80168. A._removedColorFunction_closure0.prototype = {
  80169. call$1($arguments) {
  80170. var t1 = this.name,
  80171. t2 = J.getInterceptor$asx($arguments),
  80172. t3 = A.S(t2.$index($arguments, 0)),
  80173. t4 = this.negative ? "-" : "";
  80174. 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));
  80175. },
  80176. $signature: 371
  80177. };
  80178. A._rgb_closure0.prototype = {
  80179. call$1(alpha) {
  80180. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80181. },
  80182. $signature: 74
  80183. };
  80184. A._hsl_closure0.prototype = {
  80185. call$1(alpha) {
  80186. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80187. },
  80188. $signature: 74
  80189. };
  80190. A._hwb_closure0.prototype = {
  80191. call$1(alpha) {
  80192. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  80193. },
  80194. $signature: 74
  80195. };
  80196. A._parseChannels_closure0.prototype = {
  80197. call$1(value) {
  80198. return value.get$isVar();
  80199. },
  80200. $signature: 45
  80201. };
  80202. A._NodeSassColor.prototype = {};
  80203. A.legacyColorClass_closure.prototype = {
  80204. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  80205. var red, t1, t2, t3, t4;
  80206. if (dartValue != null) {
  80207. J.set$dartValue$x(thisArg, dartValue);
  80208. return;
  80209. }
  80210. if (green == null || blue == null) {
  80211. A._asInt(redOrArgb);
  80212. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  80213. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  80214. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  80215. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  80216. } else {
  80217. redOrArgb.toString;
  80218. red = redOrArgb;
  80219. }
  80220. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  80221. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  80222. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  80223. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  80224. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  80225. },
  80226. call$2(thisArg, redOrArgb) {
  80227. return this.call$6(thisArg, redOrArgb, null, null, null, null);
  80228. },
  80229. call$3(thisArg, redOrArgb, green) {
  80230. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  80231. },
  80232. call$4(thisArg, redOrArgb, green, blue) {
  80233. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  80234. },
  80235. call$5(thisArg, redOrArgb, green, blue, alpha) {
  80236. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  80237. },
  80238. "call*": "call$6",
  80239. $requiredArgCount: 2,
  80240. $defaultValues() {
  80241. return [null, null, null, null];
  80242. },
  80243. $signature: 372
  80244. };
  80245. A.legacyColorClass_closure0.prototype = {
  80246. call$1(thisArg) {
  80247. return J.get$red$x(J.get$dartValue$x(thisArg));
  80248. },
  80249. $signature: 118
  80250. };
  80251. A.legacyColorClass_closure1.prototype = {
  80252. call$1(thisArg) {
  80253. return J.get$green$x(J.get$dartValue$x(thisArg));
  80254. },
  80255. $signature: 118
  80256. };
  80257. A.legacyColorClass_closure2.prototype = {
  80258. call$1(thisArg) {
  80259. return J.get$blue$x(J.get$dartValue$x(thisArg));
  80260. },
  80261. $signature: 118
  80262. };
  80263. A.legacyColorClass_closure3.prototype = {
  80264. call$1(thisArg) {
  80265. return J.get$dartValue$x(thisArg)._color1$_alpha;
  80266. },
  80267. $signature: 374
  80268. };
  80269. A.legacyColorClass_closure4.prototype = {
  80270. call$2(thisArg, value) {
  80271. var t1 = J.getInterceptor$x(thisArg);
  80272. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80273. },
  80274. $signature: 97
  80275. };
  80276. A.legacyColorClass_closure5.prototype = {
  80277. call$2(thisArg, value) {
  80278. var t1 = J.getInterceptor$x(thisArg);
  80279. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80280. },
  80281. $signature: 97
  80282. };
  80283. A.legacyColorClass_closure6.prototype = {
  80284. call$2(thisArg, value) {
  80285. var t1 = J.getInterceptor$x(thisArg);
  80286. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  80287. },
  80288. $signature: 97
  80289. };
  80290. A.legacyColorClass_closure7.prototype = {
  80291. call$2(thisArg, value) {
  80292. var t1 = J.getInterceptor$x(thisArg);
  80293. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  80294. },
  80295. $signature: 97
  80296. };
  80297. A.colorClass_closure.prototype = {
  80298. call$0() {
  80299. var t1 = type$.JSClass,
  80300. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  80301. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  80302. 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));
  80303. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
  80304. return jsClass;
  80305. },
  80306. $signature: 25
  80307. };
  80308. A.colorClass__closure.prototype = {
  80309. call$2($self, color) {
  80310. var t2, t3, t4,
  80311. t1 = J.getInterceptor$x(color);
  80312. if (t1.get$red(color) != null) {
  80313. t2 = t1.get$red(color);
  80314. t2.toString;
  80315. t2 = A.fuzzyRound0(t2);
  80316. t3 = t1.get$green(color);
  80317. t3.toString;
  80318. t3 = A.fuzzyRound0(t3);
  80319. t4 = t1.get$blue(color);
  80320. t4.toString;
  80321. return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
  80322. } else if (t1.get$saturation(color) != null) {
  80323. t2 = t1.get$hue(color);
  80324. t2.toString;
  80325. t3 = t1.get$saturation(color);
  80326. t3.toString;
  80327. t4 = t1.get$lightness(color);
  80328. t4.toString;
  80329. return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
  80330. } else {
  80331. t2 = t1.get$hue(color);
  80332. t2.toString;
  80333. t3 = t1.get$whiteness(color);
  80334. t3.toString;
  80335. t4 = t1.get$blackness(color);
  80336. t4.toString;
  80337. return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
  80338. }
  80339. },
  80340. $signature: 376
  80341. };
  80342. A.colorClass__closure0.prototype = {
  80343. call$2($self, options) {
  80344. var t2, t3, t4,
  80345. t1 = J.getInterceptor$x(options);
  80346. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  80347. t2 = t1.get$hue(options);
  80348. if (t2 == null)
  80349. t2 = $self.get$hue($self);
  80350. t3 = t1.get$whiteness(options);
  80351. if (t3 == null)
  80352. t3 = $self.get$whiteness($self);
  80353. t4 = t1.get$blackness(options);
  80354. if (t4 == null)
  80355. t4 = $self.get$blackness($self);
  80356. t1 = t1.get$alpha(options);
  80357. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  80358. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  80359. t2 = t1.get$hue(options);
  80360. if (t2 == null)
  80361. t2 = $self.get$hue($self);
  80362. t3 = t1.get$saturation(options);
  80363. if (t3 == null)
  80364. t3 = $self.get$saturation($self);
  80365. t4 = t1.get$lightness(options);
  80366. if (t4 == null)
  80367. t4 = $self.get$lightness($self);
  80368. t1 = t1.get$alpha(options);
  80369. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  80370. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  80371. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  80372. if (t2 == null)
  80373. t2 = $self.get$red($self);
  80374. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  80375. if (t3 == null)
  80376. t3 = $self.get$green($self);
  80377. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  80378. if (t4 == null)
  80379. t4 = $self.get$blue($self);
  80380. t1 = t1.get$alpha(options);
  80381. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  80382. } else {
  80383. t1 = t1.get$alpha(options);
  80384. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  80385. }
  80386. },
  80387. $signature: 377
  80388. };
  80389. A.colorClass__closure1.prototype = {
  80390. call$1($self) {
  80391. return $self.get$red($self);
  80392. },
  80393. $signature: 120
  80394. };
  80395. A.colorClass__closure2.prototype = {
  80396. call$1($self) {
  80397. return $self.get$green($self);
  80398. },
  80399. $signature: 120
  80400. };
  80401. A.colorClass__closure3.prototype = {
  80402. call$1($self) {
  80403. return $self.get$blue($self);
  80404. },
  80405. $signature: 120
  80406. };
  80407. A.colorClass__closure4.prototype = {
  80408. call$1($self) {
  80409. return $self.get$hue($self);
  80410. },
  80411. $signature: 56
  80412. };
  80413. A.colorClass__closure5.prototype = {
  80414. call$1($self) {
  80415. return $self.get$saturation($self);
  80416. },
  80417. $signature: 56
  80418. };
  80419. A.colorClass__closure6.prototype = {
  80420. call$1($self) {
  80421. return $self.get$lightness($self);
  80422. },
  80423. $signature: 56
  80424. };
  80425. A.colorClass__closure7.prototype = {
  80426. call$1($self) {
  80427. return $self.get$whiteness($self);
  80428. },
  80429. $signature: 56
  80430. };
  80431. A.colorClass__closure8.prototype = {
  80432. call$1($self) {
  80433. return $self.get$blackness($self);
  80434. },
  80435. $signature: 56
  80436. };
  80437. A.colorClass__closure9.prototype = {
  80438. call$1($self) {
  80439. return $self._color1$_alpha;
  80440. },
  80441. $signature: 56
  80442. };
  80443. A._Channels.prototype = {};
  80444. A.SassColor0.prototype = {
  80445. get$red(_) {
  80446. var t1;
  80447. if (this._color1$_red == null)
  80448. this._color1$_hslToRgb$0();
  80449. t1 = this._color1$_red;
  80450. t1.toString;
  80451. return t1;
  80452. },
  80453. get$green(_) {
  80454. var t1;
  80455. if (this._color1$_green == null)
  80456. this._color1$_hslToRgb$0();
  80457. t1 = this._color1$_green;
  80458. t1.toString;
  80459. return t1;
  80460. },
  80461. get$blue(_) {
  80462. var t1;
  80463. if (this._color1$_blue == null)
  80464. this._color1$_hslToRgb$0();
  80465. t1 = this._color1$_blue;
  80466. t1.toString;
  80467. return t1;
  80468. },
  80469. get$hue(_) {
  80470. var t1;
  80471. if (this._color1$_hue == null)
  80472. this._color1$_rgbToHsl$0();
  80473. t1 = this._color1$_hue;
  80474. t1.toString;
  80475. return t1;
  80476. },
  80477. get$saturation(_) {
  80478. var t1;
  80479. if (this._color1$_saturation == null)
  80480. this._color1$_rgbToHsl$0();
  80481. t1 = this._color1$_saturation;
  80482. t1.toString;
  80483. return t1;
  80484. },
  80485. get$lightness(_) {
  80486. var t1;
  80487. if (this._color1$_lightness == null)
  80488. this._color1$_rgbToHsl$0();
  80489. t1 = this._color1$_lightness;
  80490. t1.toString;
  80491. return t1;
  80492. },
  80493. get$whiteness(_) {
  80494. var _this = this;
  80495. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  80496. },
  80497. get$blackness(_) {
  80498. var _this = this;
  80499. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  80500. },
  80501. accept$1$1(visitor) {
  80502. var $name, hexLength, t1, format, t2, opaque, _this = this;
  80503. if (visitor._serialize0$_style === B.OutputStyle_10)
  80504. if (!A.fuzzyEquals0(_this._color1$_alpha, 1))
  80505. visitor._serialize0$_writeRgb$1(_this);
  80506. else {
  80507. $name = $.$get$namesByColor0().$index(0, _this);
  80508. hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
  80509. if ($name != null && $name.length <= hexLength)
  80510. visitor._serialize0$_buffer.write$1(0, $name);
  80511. else {
  80512. t1 = visitor._serialize0$_buffer;
  80513. if (visitor._serialize0$_canUseShortHex$1(_this)) {
  80514. t1.writeCharCode$1(35);
  80515. t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
  80516. t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
  80517. t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
  80518. } else {
  80519. t1.writeCharCode$1(35);
  80520. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  80521. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  80522. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  80523. }
  80524. }
  80525. }
  80526. else {
  80527. format = _this.format;
  80528. if (format != null)
  80529. if (format === B._ColorFormatEnum_rgbFunction0)
  80530. visitor._serialize0$_writeRgb$1(_this);
  80531. else {
  80532. t1 = visitor._serialize0$_buffer;
  80533. if (format === B._ColorFormatEnum_hslFunction0) {
  80534. t2 = _this._color1$_alpha;
  80535. opaque = A.fuzzyEquals0(t2, 1);
  80536. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  80537. visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
  80538. t1.write$1(0, ", ");
  80539. visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
  80540. t1.writeCharCode$1(37);
  80541. t1.write$1(0, ", ");
  80542. visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
  80543. t1.writeCharCode$1(37);
  80544. if (!opaque) {
  80545. t1.write$1(0, ", ");
  80546. visitor._serialize0$_writeNumber$1(t2);
  80547. }
  80548. t1.writeCharCode$1(41);
  80549. } else
  80550. t1.write$1(0, type$.SpanColorFormat_2._as(format)._color1$_span.get$text());
  80551. }
  80552. else {
  80553. t1 = $.$get$namesByColor0();
  80554. if (t1.containsKey$1(_this) && !A.fuzzyEquals0(_this._color1$_alpha, 0))
  80555. visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
  80556. else if (A.fuzzyEquals0(_this._color1$_alpha, 1)) {
  80557. visitor._serialize0$_buffer.writeCharCode$1(35);
  80558. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  80559. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  80560. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  80561. } else
  80562. visitor._serialize0$_writeRgb$1(_this);
  80563. }
  80564. }
  80565. return null;
  80566. },
  80567. accept$1(visitor) {
  80568. return this.accept$1$1(visitor, type$.dynamic);
  80569. },
  80570. assertColor$1($name) {
  80571. return this;
  80572. },
  80573. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  80574. var _this = this,
  80575. t1 = red == null ? _this.get$red(_this) : red,
  80576. t2 = green == null ? _this.get$green(_this) : green,
  80577. t3 = blue == null ? _this.get$blue(_this) : blue;
  80578. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  80579. },
  80580. changeRgb$3$blue$green$red(blue, green, red) {
  80581. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  80582. },
  80583. changeRgb$1$alpha(alpha) {
  80584. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  80585. },
  80586. changeRgb$1$blue(blue) {
  80587. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  80588. },
  80589. changeRgb$1$green(green) {
  80590. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  80591. },
  80592. changeRgb$1$red(red) {
  80593. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  80594. },
  80595. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  80596. var _this = this,
  80597. t1 = hue == null ? _this.get$hue(_this) : hue,
  80598. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  80599. t3 = lightness == null ? _this.get$lightness(_this) : lightness;
  80600. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  80601. },
  80602. changeHsl$1$saturation(saturation) {
  80603. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  80604. },
  80605. changeHsl$1$lightness(lightness) {
  80606. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  80607. },
  80608. changeHsl$1$hue(hue) {
  80609. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  80610. },
  80611. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  80612. var t1 = hue == null ? this.get$hue(this) : hue;
  80613. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  80614. },
  80615. changeAlpha$1(alpha) {
  80616. var _this = this;
  80617. 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);
  80618. },
  80619. plus$1(other) {
  80620. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  80621. return this.super$Value$plus0(other);
  80622. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  80623. },
  80624. minus$1(other) {
  80625. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  80626. return this.super$Value$minus0(other);
  80627. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  80628. },
  80629. dividedBy$1(other) {
  80630. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  80631. return this.super$Value$dividedBy0(other);
  80632. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  80633. },
  80634. $eq(_, other) {
  80635. var _this = this;
  80636. if (other == null)
  80637. return false;
  80638. return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color1$_alpha === _this._color1$_alpha;
  80639. },
  80640. get$hashCode(_) {
  80641. var _this = this;
  80642. return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
  80643. },
  80644. _color1$_rgbToHsl$0() {
  80645. var t2, lightness, _this = this,
  80646. scaledRed = _this.get$red(_this) / 255,
  80647. scaledGreen = _this.get$green(_this) / 255,
  80648. scaledBlue = _this.get$blue(_this) / 255,
  80649. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  80650. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  80651. delta = max - min,
  80652. t1 = max === min;
  80653. if (t1)
  80654. _this._color1$_hue = 0;
  80655. else if (max === scaledRed)
  80656. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  80657. else if (max === scaledGreen)
  80658. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  80659. else if (max === scaledBlue)
  80660. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  80661. t2 = max + min;
  80662. lightness = 50 * t2;
  80663. _this._color1$_lightness = lightness;
  80664. if (t1)
  80665. _this._color1$_saturation = 0;
  80666. else {
  80667. t1 = 100 * delta;
  80668. if (lightness < 50)
  80669. _this._color1$_saturation = t1 / t2;
  80670. else
  80671. _this._color1$_saturation = t1 / (2 - max - min);
  80672. }
  80673. },
  80674. _color1$_hslToRgb$0() {
  80675. var _this = this,
  80676. scaledHue = _this.get$hue(_this) / 360,
  80677. scaledSaturation = _this.get$saturation(_this) / 100,
  80678. scaledLightness = _this.get$lightness(_this) / 100,
  80679. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  80680. m1 = scaledLightness * 2 - m2;
  80681. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  80682. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  80683. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  80684. }
  80685. };
  80686. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  80687. call$1(hue) {
  80688. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  80689. },
  80690. $signature: 157
  80691. };
  80692. A._ColorFormatEnum0.prototype = {
  80693. toString$0(_) {
  80694. return this._color1$_name;
  80695. }
  80696. };
  80697. A.SpanColorFormat0.prototype = {};
  80698. A.Combinator0.prototype = {
  80699. _enumToString$0() {
  80700. return "Combinator." + this._name;
  80701. },
  80702. toString$0(_) {
  80703. return this._combinator0$_text;
  80704. }
  80705. };
  80706. A.ModifiableCssComment0.prototype = {
  80707. accept$1$1(visitor) {
  80708. return visitor.visitCssComment$1(this);
  80709. },
  80710. accept$1(visitor) {
  80711. return this.accept$1$1(visitor, type$.dynamic);
  80712. },
  80713. $isCssComment0: 1,
  80714. get$span(receiver) {
  80715. return this.span;
  80716. }
  80717. };
  80718. A.compileAsync_closure.prototype = {
  80719. call$0() {
  80720. var $async$goto = 0,
  80721. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  80722. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  80723. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80724. if ($async$errorCode === 1)
  80725. return A._asyncRethrow($async$result, $async$completer);
  80726. while (true)
  80727. switch ($async$goto) {
  80728. case 0:
  80729. // Function start
  80730. t1 = $async$self.options;
  80731. t2 = t1 == null;
  80732. t3 = t2 ? null : J.get$loadPaths$x(t1);
  80733. t4 = t2 ? null : J.get$quietDeps$x(t1);
  80734. if (t4 == null)
  80735. t4 = false;
  80736. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  80737. t6 = t2 ? null : J.get$verbose$x(t1);
  80738. if (t6 == null)
  80739. t6 = false;
  80740. t7 = t2 ? null : J.get$charset$x(t1);
  80741. if (t7 == null)
  80742. t7 = true;
  80743. t8 = t2 ? null : J.get$sourceMap$x(t1);
  80744. if (t8 == null)
  80745. t8 = false;
  80746. t9 = t2 ? null : J.get$logger$x(t1);
  80747. t9 = new A.NodeToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  80748. if (t2)
  80749. t10 = null;
  80750. else {
  80751. t10 = J.get$importers$x(t1);
  80752. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  80753. }
  80754. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  80755. $async$goto = 3;
  80756. return A._asyncAwait(A.compileAsync0($async$self.path, t7, null, t11, null, A.AsyncImportCache$(t10, t3, t9, null), null, null, t9, null, t4, t8, t5, null, true, t6), $async$call$0);
  80757. case 3:
  80758. // returning from await.
  80759. result = $async$result;
  80760. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  80761. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  80762. // goto return
  80763. $async$goto = 1;
  80764. break;
  80765. case 1:
  80766. // return
  80767. return A._asyncReturn($async$returnValue, $async$completer);
  80768. }
  80769. });
  80770. return A._asyncStartSync($async$call$0, $async$completer);
  80771. },
  80772. $signature: 212
  80773. };
  80774. A.compileAsync__closure.prototype = {
  80775. call$1(importer) {
  80776. return A._parseAsyncImporter(importer);
  80777. },
  80778. $signature: 213
  80779. };
  80780. A.compileStringAsync_closure.prototype = {
  80781. call$0() {
  80782. var $async$goto = 0,
  80783. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  80784. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  80785. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80786. if ($async$errorCode === 1)
  80787. return A._asyncRethrow($async$result, $async$completer);
  80788. while (true)
  80789. switch ($async$goto) {
  80790. case 0:
  80791. // Function start
  80792. t1 = $async$self.options;
  80793. t2 = t1 == null;
  80794. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  80795. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  80796. t5 = t2 ? null : J.get$loadPaths$x(t1);
  80797. t6 = t2 ? null : J.get$quietDeps$x(t1);
  80798. if (t6 == null)
  80799. t6 = false;
  80800. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  80801. t8 = t2 ? null : J.get$verbose$x(t1);
  80802. if (t8 == null)
  80803. t8 = false;
  80804. t9 = t2 ? null : J.get$charset$x(t1);
  80805. if (t9 == null)
  80806. t9 = true;
  80807. t10 = t2 ? null : J.get$sourceMap$x(t1);
  80808. if (t10 == null)
  80809. t10 = false;
  80810. t11 = t2 ? null : J.get$logger$x(t1);
  80811. t11 = new A.NodeToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  80812. if (t2)
  80813. t12 = null;
  80814. else {
  80815. t12 = J.get$importers$x(t1);
  80816. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  80817. }
  80818. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  80819. if (t13 == null)
  80820. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
  80821. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  80822. $async$goto = 3;
  80823. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t14, A.AsyncImportCache$(t12, t5, t11, null), t13, null, null, t11, null, t6, t10, t7, t3, t4, true, t8), $async$call$0);
  80824. case 3:
  80825. // returning from await.
  80826. result = $async$result;
  80827. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  80828. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  80829. // goto return
  80830. $async$goto = 1;
  80831. break;
  80832. case 1:
  80833. // return
  80834. return A._asyncReturn($async$returnValue, $async$completer);
  80835. }
  80836. });
  80837. return A._asyncStartSync($async$call$0, $async$completer);
  80838. },
  80839. $signature: 212
  80840. };
  80841. A.compileStringAsync__closure.prototype = {
  80842. call$1(importer) {
  80843. return A._parseAsyncImporter(importer);
  80844. },
  80845. $signature: 213
  80846. };
  80847. A.compileStringAsync__closure0.prototype = {
  80848. call$1(importer) {
  80849. return A._parseAsyncImporter(importer);
  80850. },
  80851. $signature: 382
  80852. };
  80853. A._wrapAsyncSassExceptions_closure.prototype = {
  80854. call$1(error) {
  80855. var t1;
  80856. if (error instanceof A.SassException0)
  80857. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  80858. else
  80859. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  80860. return t1;
  80861. },
  80862. $signature: 383
  80863. };
  80864. A._parseFunctions_closure0.prototype = {
  80865. call$2(signature, callback) {
  80866. var callable,
  80867. t1 = this.result;
  80868. if (!this.asynch) {
  80869. callable = A._Cell$();
  80870. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  80871. t1.push(callable._readLocal$0());
  80872. } else {
  80873. callable = A._Cell$();
  80874. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  80875. t1.push(callable._readLocal$0());
  80876. }
  80877. },
  80878. $signature: 122
  80879. };
  80880. A._parseFunctions__closure2.prototype = {
  80881. call$1($arguments) {
  80882. var t1, t2,
  80883. _s42_ = string$.Invali,
  80884. result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
  80885. if (result instanceof A.Value0)
  80886. return result;
  80887. t1 = result != null && result instanceof self.Promise;
  80888. t2 = this.callable;
  80889. if (t1)
  80890. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  80891. else
  80892. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  80893. },
  80894. $signature: 3
  80895. };
  80896. A._parseFunctions__closure3.prototype = {
  80897. call$1($arguments) {
  80898. return this.$call$body$_parseFunctions__closure0($arguments);
  80899. },
  80900. $call$body$_parseFunctions__closure0($arguments) {
  80901. var $async$goto = 0,
  80902. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  80903. $async$returnValue, $async$self = this, result;
  80904. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80905. if ($async$errorCode === 1)
  80906. return A._asyncRethrow($async$result, $async$completer);
  80907. while (true)
  80908. switch ($async$goto) {
  80909. case 0:
  80910. // Function start
  80911. result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
  80912. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  80913. break;
  80914. case 3:
  80915. // then
  80916. $async$goto = 5;
  80917. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  80918. case 5:
  80919. // returning from await.
  80920. result = $async$result;
  80921. case 4:
  80922. // join
  80923. if (result instanceof A.Value0) {
  80924. $async$returnValue = result;
  80925. // goto return
  80926. $async$goto = 1;
  80927. break;
  80928. }
  80929. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  80930. case 1:
  80931. // return
  80932. return A._asyncReturn($async$returnValue, $async$completer);
  80933. }
  80934. });
  80935. return A._asyncStartSync($async$call$1, $async$completer);
  80936. },
  80937. $signature: 89
  80938. };
  80939. A._compileStylesheet_closure1.prototype = {
  80940. call$1(url) {
  80941. 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$_core$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  80942. },
  80943. $signature: 5
  80944. };
  80945. A.CompileOptions.prototype = {};
  80946. A.CompileStringOptions.prototype = {};
  80947. A.NodeCompileResult.prototype = {};
  80948. A.CompileResult0.prototype = {};
  80949. A.ComplexSassNumber0.prototype = {
  80950. get$numeratorUnits(_) {
  80951. return this._complex0$_numeratorUnits;
  80952. },
  80953. get$denominatorUnits(_) {
  80954. return this._complex0$_denominatorUnits;
  80955. },
  80956. get$hasUnits() {
  80957. return true;
  80958. },
  80959. hasUnit$1(unit) {
  80960. return false;
  80961. },
  80962. compatibleWithUnit$1(unit) {
  80963. return false;
  80964. },
  80965. hasPossiblyCompatibleUnits$1(other) {
  80966. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  80967. },
  80968. withValue$1(value) {
  80969. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  80970. },
  80971. withSlash$2(numerator, denominator) {
  80972. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  80973. }
  80974. };
  80975. A.ComplexSelector0.prototype = {
  80976. get$specificity() {
  80977. var result, _this = this,
  80978. value = _this._complex$__ComplexSelector_specificity_FI;
  80979. if (value === $) {
  80980. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  80981. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  80982. _this._complex$__ComplexSelector_specificity_FI = result;
  80983. value = result;
  80984. }
  80985. return value;
  80986. },
  80987. get$singleCompound() {
  80988. if (this.leadingCombinators.length === 0) {
  80989. var t1 = this.components;
  80990. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  80991. } else
  80992. t1 = false;
  80993. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  80994. },
  80995. accept$1$1(visitor) {
  80996. return visitor.visitComplexSelector$1(this);
  80997. },
  80998. accept$1(visitor) {
  80999. return this.accept$1$1(visitor, type$.dynamic);
  81000. },
  81001. isSuperselector$1(other) {
  81002. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  81003. },
  81004. withAdditionalCombinators$1(combinators) {
  81005. var t1, t2, t3, t4, _this = this;
  81006. if (combinators.length === 0)
  81007. return _this;
  81008. else {
  81009. t1 = _this.components;
  81010. t2 = _this.leadingCombinators;
  81011. t3 = _this.span;
  81012. if (t1.length === 0) {
  81013. t1 = A.List_List$of(t2, true, type$.CssValue_Combinator_2);
  81014. B.JSArray_methods.addAll$1(t1, combinators);
  81015. return A.ComplexSelector$0(t1, B.List_empty13, t3, _this.lineBreak || false);
  81016. } else {
  81017. t4 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  81018. t4.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  81019. return A.ComplexSelector$0(t2, t4, t3, _this.lineBreak || false);
  81020. }
  81021. }
  81022. },
  81023. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  81024. var t2, t3, t4, t5, _this = this,
  81025. t1 = child.leadingCombinators;
  81026. if (t1.length === 0) {
  81027. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent_2);
  81028. B.JSArray_methods.addAll$1(t1, child.components);
  81029. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  81030. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  81031. } else {
  81032. t2 = _this.components;
  81033. t3 = _this.leadingCombinators;
  81034. t4 = child.components;
  81035. if (t2.length === 0) {
  81036. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  81037. B.JSArray_methods.addAll$1(t2, t1);
  81038. return A.ComplexSelector$0(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  81039. } else {
  81040. t5 = A.List_List$of(A.IterableExtension_get_exceptLast0(t2), true, type$.ComplexSelectorComponent_2);
  81041. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  81042. B.JSArray_methods.addAll$1(t5, t4);
  81043. return A.ComplexSelector$0(t3, t5, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  81044. }
  81045. }
  81046. },
  81047. concatenate$2(child, span) {
  81048. return this.concatenate$3$forceLineBreak(child, span, false);
  81049. },
  81050. get$hashCode(_) {
  81051. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  81052. },
  81053. $eq(_, other) {
  81054. if (other == null)
  81055. return false;
  81056. 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);
  81057. }
  81058. };
  81059. A.ComplexSelector_specificity_closure0.prototype = {
  81060. call$2(sum, component) {
  81061. return sum + component.selector.get$specificity();
  81062. },
  81063. $signature: 385
  81064. };
  81065. A.ComplexSelectorComponent0.prototype = {
  81066. withAdditionalCombinators$1(combinators) {
  81067. var t1, t2, _this = this;
  81068. if (combinators.length === 0)
  81069. t1 = _this;
  81070. else {
  81071. t1 = type$.CssValue_Combinator_2;
  81072. t2 = A.List_List$of(_this.combinators, true, t1);
  81073. B.JSArray_methods.addAll$1(t2, combinators);
  81074. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  81075. }
  81076. return t1;
  81077. },
  81078. get$hashCode(_) {
  81079. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  81080. },
  81081. $eq(_, other) {
  81082. var t1;
  81083. if (other == null)
  81084. return false;
  81085. if (other instanceof A.ComplexSelectorComponent0) {
  81086. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  81087. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  81088. } else
  81089. t1 = false;
  81090. return t1;
  81091. },
  81092. toString$0(_) {
  81093. var t1 = this.combinators;
  81094. 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, "");
  81095. }
  81096. };
  81097. A.ComplexSelectorComponent_toString_closure0.prototype = {
  81098. call$1(combinator) {
  81099. return " " + combinator.toString$0(0);
  81100. },
  81101. $signature: 386
  81102. };
  81103. A.CompoundSelector0.prototype = {
  81104. get$specificity() {
  81105. var result, _this = this,
  81106. value = _this._compound$__CompoundSelector_specificity_FI;
  81107. if (value === $) {
  81108. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  81109. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  81110. _this._compound$__CompoundSelector_specificity_FI = result;
  81111. value = result;
  81112. }
  81113. return value;
  81114. },
  81115. accept$1$1(visitor) {
  81116. return visitor.visitCompoundSelector$1(this);
  81117. },
  81118. accept$1(visitor) {
  81119. return this.accept$1$1(visitor, type$.dynamic);
  81120. },
  81121. get$hashCode(_) {
  81122. return B.C_ListEquality0.hash$1(this.components);
  81123. },
  81124. $eq(_, other) {
  81125. if (other == null)
  81126. return false;
  81127. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  81128. }
  81129. };
  81130. A.CompoundSelector_specificity_closure0.prototype = {
  81131. call$2(sum, component) {
  81132. return sum + component.get$specificity();
  81133. },
  81134. $signature: 387
  81135. };
  81136. A.Configuration0.prototype = {
  81137. throughForward$1($forward) {
  81138. var prefix, shownVariables, hiddenVariables, t1,
  81139. newValues = this._configuration$_values;
  81140. if (newValues.get$isEmpty(newValues))
  81141. return B.Configuration_Map_empty_null0;
  81142. prefix = $forward.prefix;
  81143. if (prefix != null)
  81144. newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
  81145. shownVariables = $forward.shownVariables;
  81146. hiddenVariables = $forward.hiddenVariables;
  81147. if (shownVariables != null)
  81148. newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  81149. else {
  81150. if (hiddenVariables != null) {
  81151. t1 = hiddenVariables._base;
  81152. t1 = t1.get$isNotEmpty(t1);
  81153. } else
  81154. t1 = false;
  81155. if (t1)
  81156. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  81157. }
  81158. return this._configuration$_withValues$1(newValues);
  81159. },
  81160. _configuration$_withValues$1(values) {
  81161. var t1 = this._configuration$__originalConfiguration;
  81162. return new A.Configuration0(values, t1 == null ? this : t1);
  81163. },
  81164. toString$0(_) {
  81165. var t1 = this._configuration$_values;
  81166. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
  81167. }
  81168. };
  81169. A.Configuration_toString_closure0.prototype = {
  81170. call$1(entry) {
  81171. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  81172. },
  81173. $signature: 388
  81174. };
  81175. A.ExplicitConfiguration0.prototype = {
  81176. _configuration$_withValues$1(values) {
  81177. var t1 = this._configuration$__originalConfiguration;
  81178. if (t1 == null)
  81179. t1 = this;
  81180. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  81181. }
  81182. };
  81183. A.ConfiguredValue0.prototype = {
  81184. toString$0(_) {
  81185. return A.serializeValue0(this.value, true, true);
  81186. }
  81187. };
  81188. A.ConfiguredVariable0.prototype = {
  81189. toString$0(_) {
  81190. var t1 = this.expression.toString$0(0),
  81191. t2 = this.isGuarded ? " !default" : "";
  81192. return "$" + this.name + ": " + t1 + t2;
  81193. },
  81194. $isAstNode0: 1,
  81195. get$span(receiver) {
  81196. return this.span;
  81197. }
  81198. };
  81199. A.ContentBlock0.prototype = {
  81200. accept$1$1(visitor) {
  81201. return visitor.visitContentBlock$1(this);
  81202. },
  81203. accept$1(visitor) {
  81204. return this.accept$1$1(visitor, type$.dynamic);
  81205. },
  81206. toString$0(_) {
  81207. var t2,
  81208. t1 = this.$arguments;
  81209. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  81210. t2 = this.children;
  81211. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  81212. }
  81213. };
  81214. A.ContentRule0.prototype = {
  81215. accept$1$1(visitor) {
  81216. return visitor.visitContentRule$1(this);
  81217. },
  81218. accept$1(visitor) {
  81219. return this.accept$1$1(visitor, type$.dynamic);
  81220. },
  81221. toString$0(_) {
  81222. var t1 = this.$arguments;
  81223. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  81224. },
  81225. $isAstNode0: 1,
  81226. $isStatement0: 1,
  81227. get$span(receiver) {
  81228. return this.span;
  81229. }
  81230. };
  81231. A._disallowedFunctionNames_closure0.prototype = {
  81232. call$1($function) {
  81233. return $function.name;
  81234. },
  81235. $signature: 389
  81236. };
  81237. A.CssParser0.prototype = {
  81238. get$plainCss() {
  81239. return true;
  81240. },
  81241. silentComment$0() {
  81242. var t1 = this.scanner,
  81243. t2 = t1._string_scanner$_position;
  81244. this.super$Parser$silentComment0();
  81245. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  81246. },
  81247. atRule$2$root(child, root) {
  81248. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  81249. t1 = _this.scanner,
  81250. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  81251. t1.expectChar$1(64);
  81252. $name = _this.interpolatedIdentifier$0();
  81253. _this.whitespace$0();
  81254. switch ($name.get$asPlain()) {
  81255. case "at-root":
  81256. case "content":
  81257. case "debug":
  81258. case "each":
  81259. case "error":
  81260. case "extend":
  81261. case "for":
  81262. case "function":
  81263. case "if":
  81264. case "include":
  81265. case "mixin":
  81266. case "return":
  81267. case "warn":
  81268. case "while":
  81269. _this.almostAnyValue$0();
  81270. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  81271. break;
  81272. case "import":
  81273. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  81274. next = t1.peekChar$0();
  81275. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  81276. urlSpan = t1.spanFrom$1(urlStart);
  81277. _this.whitespace$0();
  81278. modifiers = _this.tryImportModifiers$0();
  81279. _this.expectStatementSeparator$1("@import rule");
  81280. t2 = A._setArrayType([new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import_2);
  81281. t1 = t1.spanFrom$1(start);
  81282. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  81283. case "media":
  81284. return _this.mediaRule$1(start);
  81285. case "-moz-document":
  81286. return _this.mozDocumentRule$2(start, $name);
  81287. case "supports":
  81288. return _this.supportsRule$1(start);
  81289. default:
  81290. return _this.unknownAtRule$2(start, $name);
  81291. }
  81292. },
  81293. identifierLike$0() {
  81294. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  81295. t1 = _this.scanner,
  81296. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  81297. identifier = _this.interpolatedIdentifier$0(),
  81298. plain = identifier.get$asPlain(),
  81299. lower = plain.toLowerCase(),
  81300. specialFunction = _this.trySpecialFunction$2(lower, start);
  81301. if (specialFunction != null)
  81302. return specialFunction;
  81303. t2 = t1._string_scanner$_position;
  81304. if (!t1.scanChar$1(40))
  81305. return new A.StringExpression0(identifier, false);
  81306. allowEmptySecondArg = lower === "var";
  81307. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  81308. if (!t1.scanChar$1(41)) {
  81309. do {
  81310. _this.whitespace$0();
  81311. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  81312. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  81313. t4 = t3.offset;
  81314. t4 = A._FileSpan$(t3.file, t4, t4);
  81315. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  81316. break;
  81317. }
  81318. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  81319. _this.whitespace$0();
  81320. } while (t1.scanChar$1(44));
  81321. t1.expectChar$1(41);
  81322. }
  81323. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  81324. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  81325. t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
  81326. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  81327. t4 = type$.Expression_2;
  81328. return new A.InterpolatedFunctionExpression0(t3, new A.ArgumentInvocation0(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty9, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
  81329. },
  81330. namespacedExpression$2(namespace, start) {
  81331. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  81332. this.error$2(0, string$.Modulen, expression.get$span(expression));
  81333. }
  81334. };
  81335. A.DebugRule0.prototype = {
  81336. accept$1$1(visitor) {
  81337. return visitor.visitDebugRule$1(this);
  81338. },
  81339. accept$1(visitor) {
  81340. return this.accept$1$1(visitor, type$.dynamic);
  81341. },
  81342. toString$0(_) {
  81343. return "@debug " + this.expression.toString$0(0) + ";";
  81344. },
  81345. $isAstNode0: 1,
  81346. $isStatement0: 1,
  81347. get$span(receiver) {
  81348. return this.span;
  81349. }
  81350. };
  81351. A.ModifiableCssDeclaration0.prototype = {
  81352. accept$1$1(visitor) {
  81353. return visitor.visitCssDeclaration$1(this);
  81354. },
  81355. accept$1(visitor) {
  81356. return this.accept$1$1(visitor, type$.dynamic);
  81357. },
  81358. toString$0(_) {
  81359. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  81360. },
  81361. get$span(receiver) {
  81362. return this.span;
  81363. }
  81364. };
  81365. A.Declaration0.prototype = {
  81366. accept$1$1(visitor) {
  81367. return visitor.visitDeclaration$1(this);
  81368. },
  81369. accept$1(visitor) {
  81370. return this.accept$1$1(visitor, type$.dynamic);
  81371. },
  81372. toString$0(_) {
  81373. var t3, children,
  81374. buffer = new A.StringBuffer(""),
  81375. t1 = this.name,
  81376. t2 = "" + t1.toString$0(0);
  81377. buffer._contents = t2;
  81378. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  81379. t3 = this.value;
  81380. if (t3 != null) {
  81381. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  81382. buffer._contents = t1 + t3.toString$0(0);
  81383. }
  81384. children = this.children;
  81385. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  81386. },
  81387. get$span(receiver) {
  81388. return this.span;
  81389. }
  81390. };
  81391. A.SupportsDeclaration0.prototype = {
  81392. get$isCustomProperty() {
  81393. var $name = this.name;
  81394. return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  81395. },
  81396. toString$0(_) {
  81397. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  81398. },
  81399. $isAstNode0: 1,
  81400. get$span(receiver) {
  81401. return this.span;
  81402. }
  81403. };
  81404. A.Deprecation0.prototype = {
  81405. _enumToString$0() {
  81406. return "Deprecation." + this._name;
  81407. },
  81408. toString$0(_) {
  81409. return this.id;
  81410. }
  81411. };
  81412. A.DeprecationHandlingLogger0.prototype = {
  81413. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  81414. this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  81415. },
  81416. warn$3$span$trace($receiver, message, span, trace) {
  81417. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  81418. },
  81419. warn$2$span($receiver, message, span) {
  81420. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  81421. },
  81422. warn$2$trace($receiver, message, trace) {
  81423. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  81424. },
  81425. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  81426. var t1, t2, count, _this = this;
  81427. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  81428. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  81429. t1 = span == null;
  81430. if (!t1 && trace != null)
  81431. throw A.wrapException(A.SassRuntimeException$0(message, span, trace));
  81432. if (t1)
  81433. throw A.wrapException(A.SassScriptException$0(message, null));
  81434. throw A.wrapException(A.SassException$0(message, span));
  81435. }
  81436. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  81437. return;
  81438. if (_this.limitRepetition) {
  81439. t1 = _this._deprecation_handling$_warningCounts;
  81440. t2 = t1.$index(0, deprecation);
  81441. count = (t2 == null ? 0 : t2) + 1;
  81442. t1.$indexSet(0, deprecation, count);
  81443. if (count > 5)
  81444. return;
  81445. }
  81446. _this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  81447. },
  81448. debug$2(_, message, span) {
  81449. return this._deprecation_handling$_inner.debug$2(0, message, span);
  81450. },
  81451. summarize$1$node(node) {
  81452. var t2, total,
  81453. t1 = this._deprecation_handling$_warningCounts;
  81454. t1 = t1.get$values(t1);
  81455. t2 = A._instanceType(t1);
  81456. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationHandlingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationHandlingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  81457. if (total > 0) {
  81458. t1 = node ? "" : string$.x0aRun_i;
  81459. this._deprecation_handling$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  81460. }
  81461. }
  81462. };
  81463. A.DeprecationHandlingLogger_summarize_closure1.prototype = {
  81464. call$1(count) {
  81465. return count > 5;
  81466. },
  81467. $signature: 51
  81468. };
  81469. A.DeprecationHandlingLogger_summarize_closure2.prototype = {
  81470. call$1(count) {
  81471. return count - 5;
  81472. },
  81473. $signature: 150
  81474. };
  81475. A.DynamicImport0.prototype = {
  81476. toString$0(_) {
  81477. return A.StringExpression_quoteText0(this.urlString);
  81478. },
  81479. $isImport0: 1,
  81480. $isAstNode0: 1,
  81481. get$span(receiver) {
  81482. return this.span;
  81483. }
  81484. };
  81485. A.EachRule0.prototype = {
  81486. accept$1$1(visitor) {
  81487. return visitor.visitEachRule$1(this);
  81488. },
  81489. accept$1(visitor) {
  81490. return this.accept$1$1(visitor, type$.dynamic);
  81491. },
  81492. toString$0(_) {
  81493. var t1 = this.variables,
  81494. t2 = this.children;
  81495. 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, " ") + "}";
  81496. },
  81497. get$span(receiver) {
  81498. return this.span;
  81499. }
  81500. };
  81501. A.EachRule_toString_closure0.prototype = {
  81502. call$1(variable) {
  81503. return "$" + variable;
  81504. },
  81505. $signature: 5
  81506. };
  81507. A.EmptyExtensionStore0.prototype = {
  81508. get$_extension_store$_extensions() {
  81509. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  81510. },
  81511. get$_extension_store$_sourceSpecificity() {
  81512. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  81513. },
  81514. get$isEmpty(_) {
  81515. return true;
  81516. },
  81517. get$simpleSelectors() {
  81518. return B.C_EmptyUnmodifiableSet0;
  81519. },
  81520. extensionsWhereTarget$1(callback) {
  81521. return B.List_empty17;
  81522. },
  81523. addSelector$2(selector, mediaContext) {
  81524. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  81525. },
  81526. addExtension$4(extender, target, extend, mediaContext) {
  81527. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  81528. },
  81529. addExtensions$1(extenders) {
  81530. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  81531. },
  81532. clone$0() {
  81533. return B.Tuple2_EmptyExtensionStore_Map_empty0;
  81534. },
  81535. $isExtensionStore0: 1
  81536. };
  81537. A.Environment0.prototype = {
  81538. closure$0() {
  81539. var t4, t5, t6, _this = this,
  81540. t1 = _this._environment0$_forwardedModules,
  81541. t2 = _this._environment0$_nestedForwardedModules,
  81542. t3 = _this._environment0$_variables;
  81543. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  81544. t4 = _this._environment0$_variableNodes;
  81545. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  81546. t5 = _this._environment0$_functions;
  81547. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  81548. t6 = _this._environment0$_mixins;
  81549. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  81550. 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);
  81551. },
  81552. addModule$3$namespace(module, nodeWithSpan, namespace) {
  81553. var t1, t2, span, _this = this;
  81554. if (namespace == null) {
  81555. _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  81556. _this._environment0$_allModules.push(module);
  81557. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
  81558. t2 = t1.get$current(t1);
  81559. if (module.get$variables().containsKey$1(t2))
  81560. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  81561. }
  81562. } else {
  81563. t1 = _this._environment0$_modules;
  81564. if (t1.containsKey$1(namespace)) {
  81565. t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
  81566. span = t1 == null ? null : t1.span;
  81567. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81568. if (span != null)
  81569. t1.$indexSet(0, span, "original @use");
  81570. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  81571. }
  81572. t1.$indexSet(0, namespace, module);
  81573. _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  81574. _this._environment0$_allModules.push(module);
  81575. }
  81576. },
  81577. forwardModule$2(module, rule) {
  81578. var view, t1, t2, _this = this,
  81579. forwardedModules = _this._environment0$_forwardedModules;
  81580. if (forwardedModules == null)
  81581. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  81582. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  81583. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  81584. t2 = t1.__js_helper$_current;
  81585. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  81586. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  81587. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  81588. }
  81589. _this._environment0$_allModules.push(module);
  81590. forwardedModules.$indexSet(0, view, rule);
  81591. },
  81592. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  81593. var larger, smaller, t1, t2, $name, span;
  81594. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  81595. larger = oldMembers;
  81596. smaller = newMembers;
  81597. } else {
  81598. larger = newMembers;
  81599. smaller = oldMembers;
  81600. }
  81601. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  81602. $name = t1.get$current(t1);
  81603. if (!larger.containsKey$1($name))
  81604. continue;
  81605. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  81606. continue;
  81607. if (t2)
  81608. $name = "$" + $name;
  81609. t1 = this._environment0$_forwardedModules;
  81610. if (t1 == null)
  81611. span = null;
  81612. else {
  81613. t1 = t1.$index(0, oldModule);
  81614. span = t1 == null ? null : J.get$span$z(t1);
  81615. }
  81616. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81617. if (span != null)
  81618. t1.$indexSet(0, span, "original @forward");
  81619. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  81620. }
  81621. },
  81622. importForwards$1(module) {
  81623. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  81624. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  81625. if (forwarded == null)
  81626. return;
  81627. forwardedModules = _this._environment0$_forwardedModules;
  81628. if (forwardedModules != null) {
  81629. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  81630. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
  81631. t4 = t2.get$current(t2);
  81632. t5 = t4.key;
  81633. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  81634. t1.$indexSet(0, t5, t4.value);
  81635. }
  81636. forwarded = t1;
  81637. } else
  81638. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  81639. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  81640. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  81641. t3 = t2._eval$1("Iterable.E");
  81642. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
  81643. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
  81644. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
  81645. t2 = _this._environment0$_variables;
  81646. t3 = t2.length;
  81647. if (t3 === 1) {
  81648. for (t1 = _this._environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  81649. entry = t3[_i];
  81650. module = entry.key;
  81651. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  81652. if (shadowed != null) {
  81653. t1.remove$1(0, module);
  81654. t6 = shadowed.variables;
  81655. if (t6.get$isEmpty(t6)) {
  81656. t6 = shadowed.functions;
  81657. if (t6.get$isEmpty(t6)) {
  81658. t6 = shadowed.mixins;
  81659. if (t6.get$isEmpty(t6)) {
  81660. t6 = shadowed._shadowed_view0$_inner;
  81661. t6 = t6.get$css(t6);
  81662. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  81663. } else
  81664. t6 = false;
  81665. } else
  81666. t6 = false;
  81667. } else
  81668. t6 = false;
  81669. if (!t6)
  81670. t1.$indexSet(0, shadowed, entry.value);
  81671. }
  81672. }
  81673. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  81674. entry = t3[_i];
  81675. module = entry.key;
  81676. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  81677. if (shadowed != null) {
  81678. forwardedModules.remove$1(0, module);
  81679. t6 = shadowed.variables;
  81680. if (t6.get$isEmpty(t6)) {
  81681. t6 = shadowed.functions;
  81682. if (t6.get$isEmpty(t6)) {
  81683. t6 = shadowed.mixins;
  81684. if (t6.get$isEmpty(t6)) {
  81685. t6 = shadowed._shadowed_view0$_inner;
  81686. t6 = t6.get$css(t6);
  81687. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  81688. } else
  81689. t6 = false;
  81690. } else
  81691. t6 = false;
  81692. } else
  81693. t6 = false;
  81694. if (!t6)
  81695. forwardedModules.$indexSet(0, shadowed, entry.value);
  81696. }
  81697. }
  81698. t1.addAll$1(0, forwarded);
  81699. forwardedModules.addAll$1(0, forwarded);
  81700. } else {
  81701. t4 = _this._environment0$_nestedForwardedModules;
  81702. if (t4 == null) {
  81703. _length = t3 - 1;
  81704. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  81705. for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  81706. _list[_i] = A._setArrayType([], t3);
  81707. _this._environment0$_nestedForwardedModules = _list;
  81708. t3 = _list;
  81709. } else
  81710. t3 = t4;
  81711. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  81712. }
  81713. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  81714. t6 = t1._collection$_current;
  81715. if (t6 == null)
  81716. t6 = t5._as(t6);
  81717. t3.remove$1(0, t6);
  81718. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  81719. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  81720. }
  81721. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  81722. t5 = t1._collection$_current;
  81723. if (t5 == null)
  81724. t5 = t4._as(t5);
  81725. t2.remove$1(0, t5);
  81726. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  81727. }
  81728. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  81729. t5 = t1._collection$_current;
  81730. if (t5 == null)
  81731. t5 = t4._as(t5);
  81732. t2.remove$1(0, t5);
  81733. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  81734. }
  81735. },
  81736. getVariable$2$namespace($name, namespace) {
  81737. var t1, index, _this = this;
  81738. if (namespace != null)
  81739. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  81740. if (_this._environment0$_lastVariableName === $name) {
  81741. t1 = _this._environment0$_lastVariableIndex;
  81742. t1.toString;
  81743. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  81744. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  81745. }
  81746. t1 = _this._environment0$_variableIndices;
  81747. index = t1.$index(0, $name);
  81748. if (index != null) {
  81749. _this._environment0$_lastVariableName = $name;
  81750. _this._environment0$_lastVariableIndex = index;
  81751. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  81752. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  81753. }
  81754. index = _this._environment0$_variableIndex$1($name);
  81755. if (index == null)
  81756. return _this._environment0$_getVariableFromGlobalModule$1($name);
  81757. _this._environment0$_lastVariableName = $name;
  81758. _this._environment0$_lastVariableIndex = index;
  81759. t1.$indexSet(0, $name, index);
  81760. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  81761. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  81762. },
  81763. getVariable$1($name) {
  81764. return this.getVariable$2$namespace($name, null);
  81765. },
  81766. _environment0$_getVariableFromGlobalModule$1($name) {
  81767. return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  81768. },
  81769. getVariableNode$2$namespace($name, namespace) {
  81770. var t1, index, _this = this;
  81771. if (namespace != null)
  81772. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  81773. if (_this._environment0$_lastVariableName === $name) {
  81774. t1 = _this._environment0$_lastVariableIndex;
  81775. t1.toString;
  81776. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  81777. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  81778. }
  81779. t1 = _this._environment0$_variableIndices;
  81780. index = t1.$index(0, $name);
  81781. if (index != null) {
  81782. _this._environment0$_lastVariableName = $name;
  81783. _this._environment0$_lastVariableIndex = index;
  81784. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  81785. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  81786. }
  81787. index = _this._environment0$_variableIndex$1($name);
  81788. if (index == null)
  81789. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  81790. _this._environment0$_lastVariableName = $name;
  81791. _this._environment0$_lastVariableIndex = index;
  81792. t1.$indexSet(0, $name, index);
  81793. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  81794. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  81795. },
  81796. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  81797. var t1, t2, value;
  81798. 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();) {
  81799. t1 = t2._currentIterator;
  81800. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  81801. if (value != null)
  81802. return value;
  81803. }
  81804. return null;
  81805. },
  81806. globalVariableExists$2$namespace($name, namespace) {
  81807. if (namespace != null)
  81808. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  81809. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  81810. return true;
  81811. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  81812. },
  81813. globalVariableExists$1($name) {
  81814. return this.globalVariableExists$2$namespace($name, null);
  81815. },
  81816. _environment0$_variableIndex$1($name) {
  81817. var t1, i;
  81818. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  81819. if (t1[i].containsKey$1($name))
  81820. return i;
  81821. return null;
  81822. },
  81823. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  81824. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  81825. if (namespace != null) {
  81826. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  81827. return;
  81828. }
  81829. if (global || _this._environment0$_variables.length === 1) {
  81830. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  81831. t1 = _this._environment0$_variables;
  81832. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  81833. moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
  81834. if (moduleWithName != null) {
  81835. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  81836. return;
  81837. }
  81838. }
  81839. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  81840. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  81841. return;
  81842. }
  81843. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  81844. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  81845. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  81846. t3 = t1.__internal$_current;
  81847. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  81848. t5 = t3.__internal$_current;
  81849. if (t5 == null)
  81850. t5 = t4._as(t5);
  81851. if (t5.get$variables().containsKey$1($name)) {
  81852. t5.setVariable$3($name, value, nodeWithSpan);
  81853. return;
  81854. }
  81855. }
  81856. }
  81857. if (_this._environment0$_lastVariableName === $name) {
  81858. t1 = _this._environment0$_lastVariableIndex;
  81859. t1.toString;
  81860. index = t1;
  81861. } else
  81862. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  81863. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  81864. index = _this._environment0$_variables.length - 1;
  81865. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  81866. }
  81867. _this._environment0$_lastVariableName = $name;
  81868. _this._environment0$_lastVariableIndex = index;
  81869. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  81870. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  81871. },
  81872. setVariable$4$global($name, value, nodeWithSpan, global) {
  81873. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  81874. },
  81875. setLocalVariable$3($name, value, nodeWithSpan) {
  81876. var index, _this = this,
  81877. t1 = _this._environment0$_variables,
  81878. t2 = t1.length;
  81879. _this._environment0$_lastVariableName = $name;
  81880. index = _this._environment0$_lastVariableIndex = t2 - 1;
  81881. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  81882. J.$indexSet$ax(t1[index], $name, value);
  81883. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  81884. },
  81885. getFunction$2$namespace($name, namespace) {
  81886. var t1, index, _this = this;
  81887. if (namespace != null) {
  81888. t1 = _this._environment0$_getModule$1(namespace);
  81889. return t1.get$functions(t1).$index(0, $name);
  81890. }
  81891. t1 = _this._environment0$_functionIndices;
  81892. index = t1.$index(0, $name);
  81893. if (index != null) {
  81894. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  81895. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  81896. }
  81897. index = _this._environment0$_functionIndex$1($name);
  81898. if (index == null)
  81899. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  81900. t1.$indexSet(0, $name, index);
  81901. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  81902. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  81903. },
  81904. _environment0$_getFunctionFromGlobalModule$1($name) {
  81905. return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
  81906. },
  81907. _environment0$_functionIndex$1($name) {
  81908. var t1, i;
  81909. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  81910. if (t1[i].containsKey$1($name))
  81911. return i;
  81912. return null;
  81913. },
  81914. getMixin$2$namespace($name, namespace) {
  81915. var t1, index, _this = this;
  81916. if (namespace != null)
  81917. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  81918. t1 = _this._environment0$_mixinIndices;
  81919. index = t1.$index(0, $name);
  81920. if (index != null) {
  81921. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  81922. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  81923. }
  81924. index = _this._environment0$_mixinIndex$1($name);
  81925. if (index == null)
  81926. return _this._environment0$_getMixinFromGlobalModule$1($name);
  81927. t1.$indexSet(0, $name, index);
  81928. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  81929. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  81930. },
  81931. _environment0$_getMixinFromGlobalModule$1($name) {
  81932. return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
  81933. },
  81934. _environment0$_mixinIndex$1($name) {
  81935. var t1, i;
  81936. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  81937. if (t1[i].containsKey$1($name))
  81938. return i;
  81939. return null;
  81940. },
  81941. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  81942. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  81943. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  81944. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  81945. _this._environment0$_inSemiGlobalScope = semiGlobal;
  81946. if (!when)
  81947. try {
  81948. t1 = callback.call$0();
  81949. return t1;
  81950. } finally {
  81951. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  81952. }
  81953. t1 = _this._environment0$_variables;
  81954. t2 = type$.String;
  81955. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  81956. t3 = _this._environment0$_variableNodes;
  81957. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  81958. t4 = _this._environment0$_functions;
  81959. t5 = type$.Callable_2;
  81960. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  81961. t6 = _this._environment0$_mixins;
  81962. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  81963. t5 = _this._environment0$_nestedForwardedModules;
  81964. if (t5 != null)
  81965. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  81966. try {
  81967. t2 = callback.call$0();
  81968. return t2;
  81969. } finally {
  81970. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  81971. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  81972. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  81973. $name = t1.get$current(t1);
  81974. t2.remove$1(0, $name);
  81975. }
  81976. B.JSArray_methods.removeLast$0(t3);
  81977. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  81978. name0 = t1.get$current(t1);
  81979. t2.remove$1(0, name0);
  81980. }
  81981. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  81982. name1 = t1.get$current(t1);
  81983. t2.remove$1(0, name1);
  81984. }
  81985. t1 = _this._environment0$_nestedForwardedModules;
  81986. if (t1 != null)
  81987. t1.pop();
  81988. }
  81989. },
  81990. scope$1$1(callback, $T) {
  81991. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  81992. },
  81993. scope$1$2$when(callback, when, $T) {
  81994. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  81995. },
  81996. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  81997. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  81998. },
  81999. toImplicitConfiguration$0() {
  82000. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  82001. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  82002. for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  82003. values = t1[i];
  82004. nodes = t2[i];
  82005. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82006. t4 = t3.get$current(t3);
  82007. t5 = t4.key;
  82008. t4 = t4.value;
  82009. t6 = nodes.$index(0, t5);
  82010. t6.toString;
  82011. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  82012. }
  82013. }
  82014. return new A.Configuration0(configuration, null);
  82015. },
  82016. toModule$2(css, extensionStore) {
  82017. return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  82018. },
  82019. toDummyModule$0() {
  82020. 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.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  82021. },
  82022. _environment0$_getModule$1(namespace) {
  82023. var module = this._environment0$_modules.$index(0, namespace);
  82024. if (module != null)
  82025. return module;
  82026. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  82027. },
  82028. _environment0$_fromOneModule$1$3($name, type, callback, $T) {
  82029. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  82030. nestedForwardedModules = this._environment0$_nestedForwardedModules;
  82031. if (nestedForwardedModules != null)
  82032. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82033. t3 = t1.__internal$_current;
  82034. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  82035. t5 = t3.__internal$_current;
  82036. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  82037. if (value != null)
  82038. return value;
  82039. }
  82040. }
  82041. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  82042. value = callback.call$1(t1.__js_helper$_current);
  82043. if (value != null)
  82044. return value;
  82045. }
  82046. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  82047. t4 = t2.__js_helper$_current;
  82048. valueInModule = callback.call$1(t4);
  82049. if (valueInModule == null)
  82050. continue;
  82051. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  82052. if (identityFromModule.$eq(0, identity))
  82053. continue;
  82054. if (value != null) {
  82055. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  82056. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82057. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  82058. t4 = t1.get$current(t1);
  82059. if (t4 != null)
  82060. t2.$indexSet(0, t4, t3);
  82061. }
  82062. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  82063. }
  82064. identity = identityFromModule;
  82065. value = valueInModule;
  82066. }
  82067. return value;
  82068. }
  82069. };
  82070. A.Environment_importForwards_closure2.prototype = {
  82071. call$1(module) {
  82072. var t1 = module.get$variables();
  82073. return t1.get$keys(t1);
  82074. },
  82075. $signature: 123
  82076. };
  82077. A.Environment_importForwards_closure3.prototype = {
  82078. call$1(module) {
  82079. var t1 = module.get$functions(module);
  82080. return t1.get$keys(t1);
  82081. },
  82082. $signature: 123
  82083. };
  82084. A.Environment_importForwards_closure4.prototype = {
  82085. call$1(module) {
  82086. var t1 = module.get$mixins();
  82087. return t1.get$keys(t1);
  82088. },
  82089. $signature: 123
  82090. };
  82091. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  82092. call$1(module) {
  82093. return module.get$variables().$index(0, this.name);
  82094. },
  82095. $signature: 392
  82096. };
  82097. A.Environment_setVariable_closure2.prototype = {
  82098. call$0() {
  82099. var t1 = this.$this;
  82100. t1._environment0$_lastVariableName = this.name;
  82101. return t1._environment0$_lastVariableIndex = 0;
  82102. },
  82103. $signature: 12
  82104. };
  82105. A.Environment_setVariable_closure3.prototype = {
  82106. call$1(module) {
  82107. return module.get$variables().containsKey$1(this.name) ? module : null;
  82108. },
  82109. $signature: 393
  82110. };
  82111. A.Environment_setVariable_closure4.prototype = {
  82112. call$0() {
  82113. var t1 = this.$this,
  82114. t2 = t1._environment0$_variableIndex$1(this.name);
  82115. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  82116. },
  82117. $signature: 12
  82118. };
  82119. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  82120. call$1(module) {
  82121. return module.get$functions(module).$index(0, this.name);
  82122. },
  82123. $signature: 215
  82124. };
  82125. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  82126. call$1(module) {
  82127. return module.get$mixins().$index(0, this.name);
  82128. },
  82129. $signature: 215
  82130. };
  82131. A.Environment_toModule_closure0.prototype = {
  82132. call$1(modules) {
  82133. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  82134. },
  82135. $signature: 216
  82136. };
  82137. A.Environment_toDummyModule_closure0.prototype = {
  82138. call$1(modules) {
  82139. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  82140. },
  82141. $signature: 216
  82142. };
  82143. A.Environment__fromOneModule_closure0.prototype = {
  82144. call$1(entry) {
  82145. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
  82146. },
  82147. $signature: 396
  82148. };
  82149. A.Environment__fromOneModule__closure0.prototype = {
  82150. call$1(_) {
  82151. return J.get$span$z(this.entry.value);
  82152. },
  82153. $signature() {
  82154. return this.T._eval$1("FileSpan(0)");
  82155. }
  82156. };
  82157. A._EnvironmentModule1.prototype = {
  82158. get$url(_) {
  82159. var t1 = this.css;
  82160. return t1.get$span(t1).file.url;
  82161. },
  82162. setVariable$3($name, value, nodeWithSpan) {
  82163. var t1, t2,
  82164. module = this._environment0$_modulesByVariable.$index(0, $name);
  82165. if (module != null) {
  82166. module.setVariable$3($name, value, nodeWithSpan);
  82167. return;
  82168. }
  82169. t1 = this._environment0$_environment;
  82170. t2 = t1._environment0$_variables;
  82171. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  82172. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  82173. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  82174. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  82175. return;
  82176. },
  82177. variableIdentity$1($name) {
  82178. var module = this._environment0$_modulesByVariable.$index(0, $name);
  82179. return module == null ? this : module.variableIdentity$1($name);
  82180. },
  82181. cloneCss$0() {
  82182. var newCssAndExtensionStore, _this = this;
  82183. if (!_this.transitivelyContainsCss)
  82184. return _this;
  82185. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  82186. return A._EnvironmentModule$_1(_this._environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  82187. },
  82188. toString$0(_) {
  82189. var t1 = this.css;
  82190. if (t1.get$span(t1).file.url == null)
  82191. t1 = "<unknown url>";
  82192. else {
  82193. t1 = t1.get$span(t1);
  82194. t1 = $.$get$context().prettyUri$1(t1.file.url);
  82195. }
  82196. return t1;
  82197. },
  82198. $isModule0: 1,
  82199. get$upstream() {
  82200. return this.upstream;
  82201. },
  82202. get$variables() {
  82203. return this.variables;
  82204. },
  82205. get$variableNodes() {
  82206. return this.variableNodes;
  82207. },
  82208. get$functions(receiver) {
  82209. return this.functions;
  82210. },
  82211. get$mixins() {
  82212. return this.mixins;
  82213. },
  82214. get$extensionStore() {
  82215. return this.extensionStore;
  82216. },
  82217. get$css(receiver) {
  82218. return this.css;
  82219. },
  82220. get$transitivelyContainsCss() {
  82221. return this.transitivelyContainsCss;
  82222. },
  82223. get$transitivelyContainsExtensions() {
  82224. return this.transitivelyContainsExtensions;
  82225. }
  82226. };
  82227. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  82228. call$1(module) {
  82229. return module.get$variables();
  82230. },
  82231. $signature: 397
  82232. };
  82233. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  82234. call$1(module) {
  82235. return module.get$variableNodes();
  82236. },
  82237. $signature: 398
  82238. };
  82239. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  82240. call$1(module) {
  82241. return module.get$functions(module);
  82242. },
  82243. $signature: 217
  82244. };
  82245. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  82246. call$1(module) {
  82247. return module.get$mixins();
  82248. },
  82249. $signature: 217
  82250. };
  82251. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  82252. call$1(module) {
  82253. return module.get$transitivelyContainsCss();
  82254. },
  82255. $signature: 136
  82256. };
  82257. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  82258. call$1(module) {
  82259. return module.get$transitivelyContainsExtensions();
  82260. },
  82261. $signature: 136
  82262. };
  82263. A.ErrorRule0.prototype = {
  82264. accept$1$1(visitor) {
  82265. return visitor.visitErrorRule$1(this);
  82266. },
  82267. accept$1(visitor) {
  82268. return this.accept$1$1(visitor, type$.dynamic);
  82269. },
  82270. toString$0(_) {
  82271. return "@error " + this.expression.toString$0(0) + ";";
  82272. },
  82273. $isAstNode0: 1,
  82274. $isStatement0: 1,
  82275. get$span(receiver) {
  82276. return this.span;
  82277. }
  82278. };
  82279. A._EvaluateVisitor1.prototype = {
  82280. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  82281. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  82282. _s20_ = "$name, $module: null",
  82283. _s9_ = "sass:meta",
  82284. t1 = type$.JSArray_BuiltInCallable_2,
  82285. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure22(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure23(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure24(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure27(_this), _s9_)], t1),
  82286. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
  82287. t1 = type$.BuiltInCallable_2;
  82288. t2 = A.List_List$of($.$get$global6(), true, t1);
  82289. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  82290. B.JSArray_methods.addAll$1(t2, metaFunctions);
  82291. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  82292. 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) {
  82293. module = t1[_i];
  82294. t3.$indexSet(0, module.url, module);
  82295. }
  82296. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  82297. B.JSArray_methods.addAll$1(t1, functions);
  82298. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  82299. B.JSArray_methods.addAll$1(t1, metaFunctions);
  82300. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  82301. $function = t1[_i];
  82302. t4 = J.get$name$x($function);
  82303. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  82304. }
  82305. },
  82306. run$2(_, importer, node) {
  82307. var t1 = type$.nullable_Object;
  82308. return 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$.EvaluateResult_2);
  82309. },
  82310. _evaluate0$_assertInModule$1$2(value, $name) {
  82311. if (value != null)
  82312. return value;
  82313. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  82314. },
  82315. _evaluate0$_assertInModule$2(value, $name) {
  82316. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  82317. },
  82318. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  82319. var t1, t2, _this = this,
  82320. builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
  82321. if (builtInModule != null) {
  82322. if (configuration instanceof A.ExplicitConfiguration0) {
  82323. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  82324. t2 = configuration.nodeWithSpan;
  82325. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  82326. }
  82327. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
  82328. return;
  82329. }
  82330. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  82331. },
  82332. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  82333. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  82334. },
  82335. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  82336. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  82337. },
  82338. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  82339. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  82340. url = stylesheet.span.file.url,
  82341. t1 = _this._evaluate0$_modules,
  82342. alreadyLoaded = t1.$index(0, url);
  82343. if (alreadyLoaded != null) {
  82344. t1 = configuration == null;
  82345. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  82346. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  82347. t3 = t2._configuration$__originalConfiguration;
  82348. t2 = t3 == null ? t2 : t3;
  82349. t3 = currentConfiguration._configuration$__originalConfiguration;
  82350. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  82351. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  82352. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  82353. existingSpan = t2 == null ? null : J.get$span$z(t2);
  82354. if (t1) {
  82355. t1 = currentConfiguration.nodeWithSpan;
  82356. configurationSpan = t1.get$span(t1);
  82357. } else
  82358. configurationSpan = null;
  82359. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  82360. if (existingSpan != null)
  82361. t1.$indexSet(0, existingSpan, "original load");
  82362. if (configurationSpan != null)
  82363. t1.$indexSet(0, configurationSpan, "configuration");
  82364. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  82365. }
  82366. return alreadyLoaded;
  82367. }
  82368. environment = A.Environment$0();
  82369. css = A._Cell$();
  82370. extensionStore = A.ExtensionStore$0();
  82371. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
  82372. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  82373. if (url != null) {
  82374. t1.$indexSet(0, url, module);
  82375. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  82376. if (nodeWithSpan != null)
  82377. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  82378. }
  82379. return module;
  82380. },
  82381. _evaluate0$_execute$2(importer, stylesheet) {
  82382. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  82383. },
  82384. _evaluate0$_addOutOfOrderImports$0() {
  82385. var t1, t2, _this = this, _s5_ = "_root",
  82386. _s13_ = "_endOfImports",
  82387. outOfOrderImports = _this._evaluate0$_outOfOrderImports;
  82388. if (outOfOrderImports == null)
  82389. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82390. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82391. 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("ListMixin.E")), true, type$.ModifiableCssNode_2);
  82392. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  82393. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  82394. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  82395. return t1;
  82396. },
  82397. _evaluate0$_combineCss$2$clone(root, clone) {
  82398. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  82399. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  82400. selectors = root.get$extensionStore().get$simpleSelectors();
  82401. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  82402. if (unsatisfiedExtension != null)
  82403. _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  82404. return root.get$css(root);
  82405. }
  82406. sortedModules = _this._evaluate0$_topologicalModules$1(root);
  82407. if (clone) {
  82408. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
  82409. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
  82410. }
  82411. _this._evaluate0$_extendModules$1(sortedModules);
  82412. t1 = type$.JSArray_CssNode_2;
  82413. imports = A._setArrayType([], t1);
  82414. css = A._setArrayType([], t1);
  82415. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  82416. t3 = t1.__internal$_current;
  82417. if (t3 == null)
  82418. t3 = t2._as(t3);
  82419. t3 = t3.get$css(t3);
  82420. statements = t3.get$children(t3);
  82421. index = _this._evaluate0$_indexAfterImports$1(statements);
  82422. t3 = J.getInterceptor$ax(statements);
  82423. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  82424. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  82425. }
  82426. t1 = B.JSArray_methods.$add(imports, css);
  82427. t2 = root.get$css(root);
  82428. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  82429. },
  82430. _evaluate0$_combineCss$1(root) {
  82431. return this._evaluate0$_combineCss$2$clone(root, false);
  82432. },
  82433. _evaluate0$_extendModules$1(sortedModules) {
  82434. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  82435. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  82436. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  82437. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  82438. t2 = t1.get$current(t1);
  82439. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  82440. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  82441. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  82442. t3 = t2.get$extensionStore().get$addExtensions();
  82443. if ($self != null)
  82444. t3.call$1($self);
  82445. t3 = t2.get$extensionStore();
  82446. if (t3.get$isEmpty(t3))
  82447. continue;
  82448. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  82449. upstream = t3[_i];
  82450. url = upstream.get$url(upstream);
  82451. if (url == null)
  82452. continue;
  82453. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
  82454. }
  82455. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  82456. }
  82457. if (unsatisfiedExtensions._collection$_length !== 0)
  82458. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  82459. },
  82460. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  82461. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  82462. },
  82463. _evaluate0$_topologicalModules$1(root) {
  82464. var t1 = type$.Module_Callable_2,
  82465. sorted = A.QueueList$(null, t1);
  82466. new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  82467. return sorted;
  82468. },
  82469. _evaluate0$_indexAfterImports$1(statements) {
  82470. var t1, t2, t3, lastImport, i, statement;
  82471. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  82472. statement = t1.$index(statements, i);
  82473. if (t3._is(statement))
  82474. lastImport = i;
  82475. else if (!t2._is(statement))
  82476. break;
  82477. }
  82478. return lastImport + 1;
  82479. },
  82480. visitStylesheet$1(node) {
  82481. var t1, t2, _i;
  82482. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  82483. t1[_i].accept$1(this);
  82484. return null;
  82485. },
  82486. visitAtRootRule$1(node) {
  82487. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this, _null = null,
  82488. _s8_ = "__parent",
  82489. unparsedQuery = node.query,
  82490. query = unparsedQuery != null ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true).item1, _this._evaluate0$_logger, _null).parse$0() : B.AtRootQuery_UsS0,
  82491. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  82492. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  82493. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  82494. if (!query.excludes$1($parent))
  82495. included.push($parent);
  82496. grandparent = $parent._node0$_parent;
  82497. if (grandparent == null)
  82498. throw A.wrapException(A.StateError$(string$.CssNod));
  82499. }
  82500. root = _this._evaluate0$_trimIncluded$1(included);
  82501. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  82502. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  82503. return _null;
  82504. }
  82505. if (included.length !== 0) {
  82506. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  82507. for (t1 = A.SubListIterable$(included, 1, _null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  82508. t3 = t1.__internal$_current;
  82509. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  82510. copy.addChild$1(outerCopy);
  82511. }
  82512. root.addChild$1(outerCopy);
  82513. } else
  82514. innerCopy = root;
  82515. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  82516. return _null;
  82517. },
  82518. _evaluate0$_trimIncluded$1(nodes) {
  82519. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  82520. _s22_ = " to be an ancestor of ";
  82521. if (nodes.length === 0)
  82522. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  82523. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  82524. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  82525. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  82526. grandparent = $parent._node0$_parent;
  82527. if (grandparent == null)
  82528. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  82529. }
  82530. if (innermostContiguous == null)
  82531. innermostContiguous = i;
  82532. grandparent = $parent._node0$_parent;
  82533. if (grandparent == null)
  82534. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  82535. }
  82536. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  82537. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  82538. innermostContiguous.toString;
  82539. root = nodes[innermostContiguous];
  82540. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  82541. return root;
  82542. },
  82543. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  82544. var _this = this,
  82545. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  82546. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  82547. if (t1 !== query.include)
  82548. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  82549. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  82550. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  82551. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  82552. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  82553. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  82554. },
  82555. visitContentBlock$1(node) {
  82556. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  82557. },
  82558. visitContentRule$1(node) {
  82559. var $content = this._evaluate0$_environment._environment0$_content;
  82560. if ($content == null)
  82561. return null;
  82562. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  82563. return null;
  82564. },
  82565. visitDebugRule$1(node) {
  82566. var value = node.expression.accept$1(this),
  82567. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  82568. this._evaluate0$_logger.debug$2(0, t1, node.span);
  82569. return null;
  82570. },
  82571. visitDeclaration$1(node) {
  82572. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  82573. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  82574. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  82575. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  82576. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  82577. t1 = node.name;
  82578. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  82579. t2 = _this._evaluate0$_declarationName;
  82580. if (t2 != null)
  82581. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  82582. t2 = node.value;
  82583. cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
  82584. t3 = cssValue != null;
  82585. if (t3) {
  82586. t4 = cssValue.value;
  82587. t4 = !t4.get$isBlank() || t4.get$asList().length === 0;
  82588. } else
  82589. t4 = false;
  82590. if (t4) {
  82591. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  82592. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  82593. if (_this._evaluate0$_sourceMap) {
  82594. t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
  82595. t2 = t2 == null ? _null : J.get$span$z(t2);
  82596. } else
  82597. t2 = _null;
  82598. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  82599. } else if (J.startsWith$1$s($name.value, "--") && t3)
  82600. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.span));
  82601. children = node.children;
  82602. if (children != null) {
  82603. oldDeclarationName = _this._evaluate0$_declarationName;
  82604. _this._evaluate0$_declarationName = $name.value;
  82605. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
  82606. _this._evaluate0$_declarationName = oldDeclarationName;
  82607. }
  82608. return _null;
  82609. },
  82610. visitEachRule$1(node) {
  82611. var _this = this,
  82612. t1 = node.list,
  82613. list = t1.accept$1(_this),
  82614. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  82615. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
  82616. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
  82617. },
  82618. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  82619. var i,
  82620. list = value.get$asList(),
  82621. t1 = variables.length,
  82622. minLength = Math.min(t1, list.length);
  82623. for (i = 0; i < minLength; ++i)
  82624. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  82625. for (i = minLength; i < t1; ++i)
  82626. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  82627. },
  82628. visitErrorRule$1(node) {
  82629. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  82630. },
  82631. visitExtendRule$1(node) {
  82632. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, tuple, compound, _this = this, _null = null,
  82633. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  82634. if (styleRule == null || _this._evaluate0$_declarationName != null)
  82635. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  82636. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  82637. complex = t1[_i];
  82638. if (!complex.accept$1(B._IsBogusVisitor_true0))
  82639. continue;
  82640. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  82641. complex.accept$1(visitor);
  82642. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  82643. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  82644. _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_XV6);
  82645. }
  82646. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  82647. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(tuple.item1, true), false, true, tuple.item2, _this._evaluate0$_logger).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  82648. complex = t1[_i];
  82649. if (complex.leadingCombinators.length === 0) {
  82650. t4 = complex.components;
  82651. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  82652. } else
  82653. t4 = false;
  82654. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  82655. if (compound == null)
  82656. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span));
  82657. t4 = compound.components;
  82658. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  82659. if (t5 == null)
  82660. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span));
  82661. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  82662. }
  82663. return _null;
  82664. },
  82665. visitAtRule$1(node) {
  82666. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  82667. if (_this._evaluate0$_declarationName != null)
  82668. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  82669. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  82670. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  82671. children = node.children;
  82672. if (children == null) {
  82673. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  82674. return null;
  82675. }
  82676. wasInKeyframes = _this._evaluate0$_inKeyframes;
  82677. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  82678. if (A.unvendor0($name.value) === "keyframes")
  82679. _this._evaluate0$_inKeyframes = true;
  82680. else
  82681. _this._evaluate0$_inUnknownAtRule = true;
  82682. _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);
  82683. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  82684. _this._evaluate0$_inKeyframes = wasInKeyframes;
  82685. return null;
  82686. },
  82687. visitForRule$1(node) {
  82688. var _this = this, t1 = {},
  82689. t2 = node.from,
  82690. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  82691. t3 = node.to,
  82692. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  82693. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  82694. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  82695. direction = from > to ? -1 : 1;
  82696. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  82697. return null;
  82698. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  82699. },
  82700. visitForwardRule$1(node) {
  82701. var newConfiguration, t4, _i, variable, $name, _this = this,
  82702. _s8_ = "@forward",
  82703. oldConfiguration = _this._evaluate0$_configuration,
  82704. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  82705. t1 = node.configuration,
  82706. t2 = t1.length,
  82707. t3 = node.url;
  82708. if (t2 !== 0) {
  82709. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  82710. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  82711. t3 = type$.String;
  82712. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82713. for (_i = 0; _i < t2; ++_i) {
  82714. variable = t1[_i];
  82715. if (!variable.isGuarded)
  82716. t4.add$1(0, variable.name);
  82717. }
  82718. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  82719. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82720. for (_i = 0; _i < t2; ++_i)
  82721. t3.add$1(0, t1[_i].name);
  82722. 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) {
  82723. $name = t2[_i];
  82724. if (!t3.contains$1(0, $name))
  82725. if (!t1.get$isEmpty(t1))
  82726. t1.remove$1(0, $name);
  82727. }
  82728. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  82729. } else {
  82730. _this._evaluate0$_configuration = adjustedConfiguration;
  82731. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  82732. _this._evaluate0$_configuration = oldConfiguration;
  82733. }
  82734. return null;
  82735. },
  82736. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  82737. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  82738. t1 = configuration._configuration$_values,
  82739. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  82740. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  82741. variable = t2[_i];
  82742. if (variable.isGuarded) {
  82743. t4 = variable.name;
  82744. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  82745. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  82746. newValues.$indexSet(0, t4, t5);
  82747. continue;
  82748. }
  82749. }
  82750. t4 = variable.expression;
  82751. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  82752. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  82753. }
  82754. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  82755. return new A.ExplicitConfiguration0(node, newValues, null);
  82756. else
  82757. return new A.Configuration0(newValues, null);
  82758. },
  82759. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  82760. var t1, t2, t3, t4, _i, $name;
  82761. 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) {
  82762. $name = t2[_i];
  82763. if (except.contains$1(0, $name))
  82764. continue;
  82765. if (!t4.containsKey$1($name))
  82766. if (!t1.get$isEmpty(t1))
  82767. t1.remove$1(0, $name);
  82768. }
  82769. },
  82770. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  82771. var t1, entry;
  82772. if (!(configuration instanceof A.ExplicitConfiguration0))
  82773. return;
  82774. t1 = configuration._configuration$_values;
  82775. if (t1.get$isEmpty(t1))
  82776. return;
  82777. t1 = t1.get$entries(t1);
  82778. entry = t1.get$first(t1);
  82779. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  82780. throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
  82781. },
  82782. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  82783. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  82784. },
  82785. visitFunctionRule$1(node) {
  82786. var t1 = this._evaluate0$_environment,
  82787. t2 = t1.closure$0(),
  82788. t3 = this._evaluate0$_inDependency,
  82789. t4 = t1._environment0$_functions,
  82790. index = t4.length - 1,
  82791. t5 = node.name;
  82792. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  82793. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  82794. return null;
  82795. },
  82796. visitIfRule$1(node) {
  82797. var t1, t2, _i, clauseToCheck, _box_0 = {};
  82798. _box_0.clause = node.lastClause;
  82799. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  82800. clauseToCheck = t1[_i];
  82801. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  82802. _box_0.clause = clauseToCheck;
  82803. break;
  82804. }
  82805. }
  82806. t1 = _box_0.clause;
  82807. if (t1 == null)
  82808. return null;
  82809. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
  82810. },
  82811. visitImportRule$1(node) {
  82812. var t1, t2, t3, t4, t5, t6, _i, $import, t7, tuple, $self, t8, _this = this,
  82813. _s8_ = "__parent",
  82814. _s5_ = "_root",
  82815. _s13_ = "_endOfImports";
  82816. 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) {
  82817. $import = t1[_i];
  82818. if ($import instanceof A.DynamicImport0)
  82819. _this._evaluate0$_visitDynamicImport$1($import);
  82820. else {
  82821. t5._as($import);
  82822. t7 = $import.url;
  82823. tuple = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, true, false);
  82824. $self = $import.modifiers;
  82825. t8 = $self == null ? null : t4.call$1($self);
  82826. node = new A.ModifiableCssImport0(new A.CssValue0(tuple.item1, t7.span, t3), t8, $import.span);
  82827. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  82828. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  82829. 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)) {
  82830. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  82831. node._node0$_parent = t7;
  82832. t7 = t7._node0$_children;
  82833. node._node0$_indexInParent = t7.length;
  82834. t7.push(node);
  82835. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  82836. } else {
  82837. t7 = _this._evaluate0$_outOfOrderImports;
  82838. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  82839. }
  82840. }
  82841. }
  82842. return null;
  82843. },
  82844. _evaluate0$_visitDynamicImport$1($import) {
  82845. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  82846. },
  82847. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  82848. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  82849. _s11_ = "_stylesheet";
  82850. baseUrl = baseUrl;
  82851. try {
  82852. _this._evaluate0$_importSpan = span;
  82853. importCache = _this._evaluate0$_importCache;
  82854. if (importCache != null) {
  82855. if (baseUrl == null)
  82856. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  82857. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  82858. if (tuple != null) {
  82859. isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
  82860. t1 = tuple.item1;
  82861. t2 = tuple.item2;
  82862. t3 = tuple.item3;
  82863. t4 = _this._evaluate0$_quietDeps && isDependency;
  82864. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  82865. if (stylesheet != null) {
  82866. _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
  82867. t1 = tuple.item1;
  82868. return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
  82869. }
  82870. }
  82871. } else {
  82872. t1 = baseUrl;
  82873. result = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  82874. if (result != null) {
  82875. t1 = _this._evaluate0$_loadedUrls;
  82876. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  82877. return result;
  82878. }
  82879. }
  82880. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  82881. throw A.wrapException(string$.x22packa);
  82882. else
  82883. throw A.wrapException("Can't find stylesheet to import.");
  82884. } catch (exception) {
  82885. t1 = A.unwrapException(exception);
  82886. if (t1 instanceof A.SassException0)
  82887. throw exception;
  82888. else if (t1 instanceof A.ArgumentError) {
  82889. error = t1;
  82890. stackTrace = A.getTraceFromException(exception);
  82891. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), stackTrace);
  82892. } else {
  82893. error0 = t1;
  82894. stackTrace0 = A.getTraceFromException(exception);
  82895. message = null;
  82896. try {
  82897. message = A._asString(J.get$message$x(error0));
  82898. } catch (exception) {
  82899. message0 = J.toString$0$(error0);
  82900. message = message0;
  82901. }
  82902. A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
  82903. }
  82904. } finally {
  82905. _this._evaluate0$_importSpan = null;
  82906. }
  82907. },
  82908. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  82909. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  82910. },
  82911. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  82912. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  82913. },
  82914. _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  82915. var isDependency, url, t2, _this = this,
  82916. t1 = _this._evaluate0$_nodeImporter,
  82917. result = t1.loadRelative$3(originalUrl, previous, forImport);
  82918. if (result != null)
  82919. isDependency = _this._evaluate0$_inDependency;
  82920. else {
  82921. result = t1.load$3(0, originalUrl, previous, forImport);
  82922. if (result == null)
  82923. return null;
  82924. isDependency = true;
  82925. }
  82926. url = result.item2;
  82927. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  82928. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  82929. return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  82930. },
  82931. visitIncludeRule$1(node) {
  82932. var nodeWithSpan, t1, _this = this,
  82933. _s37_ = "Mixin doesn't accept a content block.",
  82934. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
  82935. if (mixin == null)
  82936. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
  82937. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
  82938. if (mixin instanceof A.BuiltInCallable0) {
  82939. if (node.content != null)
  82940. throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
  82941. _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  82942. } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
  82943. t1 = node.content;
  82944. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  82945. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
  82946. _this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure9(_this, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure10(_this)), mixin, nodeWithSpan), type$.Null);
  82947. } else
  82948. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  82949. return null;
  82950. },
  82951. visitMixinRule$1(node) {
  82952. var t1 = this._evaluate0$_environment,
  82953. t2 = t1.closure$0(),
  82954. t3 = this._evaluate0$_inDependency,
  82955. t4 = t1._environment0$_mixins,
  82956. index = t4.length - 1,
  82957. t5 = node.name;
  82958. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  82959. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  82960. return null;
  82961. },
  82962. visitLoudComment$1(node) {
  82963. var t1, _this = this,
  82964. _s8_ = "__parent",
  82965. _s13_ = "_endOfImports";
  82966. if (_this._evaluate0$_inFunction)
  82967. return null;
  82968. 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))
  82969. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  82970. t1 = node.text;
  82971. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  82972. return null;
  82973. },
  82974. visitMediaRule$1(node) {
  82975. var tuple, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  82976. if (_this._evaluate0$_declarationName != null)
  82977. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  82978. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  82979. queries = A.CssMediaQuery_parseList0(tuple.item1, tuple.item2, _this._evaluate0$_logger);
  82980. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  82981. t1 = mergedQueries == null;
  82982. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  82983. return null;
  82984. if (t1)
  82985. mergedSources = B.Set_empty4;
  82986. else {
  82987. t2 = _this._evaluate0$_mediaQuerySources;
  82988. t2.toString;
  82989. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  82990. t3 = _this._evaluate0$_mediaQueries;
  82991. t3.toString;
  82992. t2.addAll$1(0, t3);
  82993. t2.addAll$1(0, queries);
  82994. mergedSources = t2;
  82995. }
  82996. t1 = t1 ? queries : mergedQueries;
  82997. _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);
  82998. return null;
  82999. },
  83000. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  83001. var t1, t2, t3, t4, t5, result,
  83002. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  83003. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  83004. t4 = t1.get$current(t1);
  83005. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  83006. result = t4.merge$1(t5.get$current(t5));
  83007. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  83008. continue;
  83009. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  83010. return null;
  83011. queries.push(t3._as(result).query);
  83012. }
  83013. }
  83014. return queries;
  83015. },
  83016. visitReturnRule$1(node) {
  83017. var t1 = node.expression;
  83018. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  83019. },
  83020. visitSilentComment$1(node) {
  83021. return null;
  83022. },
  83023. visitStyleRule$1(node) {
  83024. var t1, tuple, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  83025. _s11_ = "_stylesheet",
  83026. _s8_ = "__parent";
  83027. if (_this._evaluate0$_declarationName != null)
  83028. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  83029. t1 = node.selector;
  83030. tuple = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  83031. selectorText = tuple.item1;
  83032. selectorMap = tuple.item2;
  83033. if (_this._evaluate0$_inKeyframes) {
  83034. _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);
  83035. return _null;
  83036. }
  83037. t1 = A.SelectorList_SelectorList$parse0(selectorText, !_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, !_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate0$_logger);
  83038. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  83039. t2 = t2 == null ? _null : t2.originalSelector;
  83040. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._evaluate0$_atRootExcludingStyleRule);
  83041. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, parsedSelector);
  83042. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  83043. _this._evaluate0$_atRootExcludingStyleRule = false;
  83044. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure11(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssStyleRule_2, type$.Null);
  83045. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  83046. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  83047. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  83048. complex = t1[_i];
  83049. if (!complex.accept$1(B._IsBogusVisitor_true0))
  83050. continue;
  83051. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  83052. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83053. complex.accept$1(visitor);
  83054. _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_XV6);
  83055. } else if (complex.leadingCombinators.length !== 0) {
  83056. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83057. complex.accept$1(visitor);
  83058. _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_XV6);
  83059. } else {
  83060. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83061. complex.accept$1(visitor);
  83062. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  83063. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  83064. t8 = A.SpanExtensions_trimRight0(complex.span);
  83065. if (t5.get$length(t5) === 0)
  83066. A.throwExpression(A.IterableElementError_noElement());
  83067. t9 = J.get$span$z(t5.$index(0, 0));
  83068. _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_XV6);
  83069. }
  83070. }
  83071. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  83072. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83073. t1 = !t1.get$isEmpty(t1);
  83074. } else
  83075. t1 = false;
  83076. if (t1) {
  83077. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83078. t1.get$last(t1).isGroupEnd = true;
  83079. }
  83080. return _null;
  83081. },
  83082. visitSupportsRule$1(node) {
  83083. var t1, _this = this;
  83084. if (_this._evaluate0$_declarationName != null)
  83085. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  83086. t1 = node.condition;
  83087. _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);
  83088. return null;
  83089. },
  83090. _evaluate0$_visitSupportsCondition$1(condition) {
  83091. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  83092. if (condition instanceof A.SupportsOperation0) {
  83093. t1 = condition.operator;
  83094. return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  83095. } else if (condition instanceof A.SupportsNegation0)
  83096. return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  83097. else if (condition instanceof A.SupportsInterpolation0) {
  83098. t1 = condition.expression;
  83099. return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  83100. } else if (condition instanceof A.SupportsDeclaration0) {
  83101. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  83102. _this._evaluate0$_inSupportsDeclaration = true;
  83103. t1 = condition.name;
  83104. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
  83105. t2 = condition.get$isCustomProperty() ? "" : " ";
  83106. t3 = condition.value;
  83107. t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  83108. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83109. return "(" + t1 + ":" + t2 + t3 + ")";
  83110. } else if (condition instanceof A.SupportsFunction0)
  83111. return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  83112. else if (condition instanceof A.SupportsAnything0)
  83113. return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  83114. else
  83115. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  83116. },
  83117. _evaluate0$_parenthesize$2(condition, operator) {
  83118. var t1;
  83119. if (!(condition instanceof A.SupportsNegation0))
  83120. if (condition instanceof A.SupportsOperation0)
  83121. t1 = operator == null || operator !== condition.operator;
  83122. else
  83123. t1 = false;
  83124. else
  83125. t1 = true;
  83126. if (t1)
  83127. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  83128. else
  83129. return this._evaluate0$_visitSupportsCondition$1(condition);
  83130. },
  83131. _evaluate0$_parenthesize$1(condition) {
  83132. return this._evaluate0$_parenthesize$2(condition, null);
  83133. },
  83134. visitVariableDeclaration$1(node) {
  83135. var t1, value, _this = this, _null = null;
  83136. if (node.isGuarded) {
  83137. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  83138. t1 = _this._evaluate0$_configuration._configuration$_values;
  83139. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  83140. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  83141. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
  83142. return _null;
  83143. }
  83144. }
  83145. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  83146. if (value != null && !value.$eq(0, B.C__SassNull0))
  83147. return _null;
  83148. }
  83149. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  83150. 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.";
  83151. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  83152. }
  83153. t1 = node.expression;
  83154. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  83155. return _null;
  83156. },
  83157. visitUseRule$1(node) {
  83158. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  83159. t1 = node.configuration,
  83160. t2 = t1.length;
  83161. if (t2 !== 0) {
  83162. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  83163. for (_i = 0; _i < t2; ++_i) {
  83164. variable = t1[_i];
  83165. t3 = variable.expression;
  83166. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  83167. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83168. }
  83169. configuration = new A.ExplicitConfiguration0(node, values, null);
  83170. } else
  83171. configuration = B.Configuration_Map_empty_null0;
  83172. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  83173. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  83174. return null;
  83175. },
  83176. visitWarnRule$1(node) {
  83177. var _this = this,
  83178. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  83179. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  83180. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  83181. return null;
  83182. },
  83183. visitWhileRule$1(node) {
  83184. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83185. },
  83186. visitBinaryOperationExpression$1(node) {
  83187. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
  83188. },
  83189. visitValueExpression$1(node) {
  83190. return node.value;
  83191. },
  83192. visitVariableExpression$1(node) {
  83193. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  83194. if (result != null)
  83195. return result;
  83196. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  83197. },
  83198. visitUnaryOperationExpression$1(node) {
  83199. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  83200. },
  83201. visitBooleanExpression$1(node) {
  83202. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83203. },
  83204. visitIfExpression$1(node) {
  83205. var condition, t2, ifTrue, ifFalse, result, _this = this,
  83206. pair = _this._evaluate0$_evaluateMacroArguments$1(node),
  83207. positional = pair.item1,
  83208. named = pair.item2,
  83209. t1 = J.getInterceptor$asx(positional);
  83210. _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  83211. if (t1.get$length(positional) > 0)
  83212. condition = t1.$index(positional, 0);
  83213. else {
  83214. t2 = named.$index(0, "condition");
  83215. t2.toString;
  83216. condition = t2;
  83217. }
  83218. if (t1.get$length(positional) > 1)
  83219. ifTrue = t1.$index(positional, 1);
  83220. else {
  83221. t2 = named.$index(0, "if-true");
  83222. t2.toString;
  83223. ifTrue = t2;
  83224. }
  83225. if (t1.get$length(positional) > 2)
  83226. ifFalse = t1.$index(positional, 2);
  83227. else {
  83228. t1 = named.$index(0, "if-false");
  83229. t1.toString;
  83230. ifFalse = t1;
  83231. }
  83232. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  83233. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  83234. },
  83235. visitNullExpression$1(node) {
  83236. return B.C__SassNull0;
  83237. },
  83238. visitNumberExpression$1(node) {
  83239. return A.SassNumber_SassNumber0(node.value, node.unit);
  83240. },
  83241. visitParenthesizedExpression$1(node) {
  83242. return node.expression.accept$1(this);
  83243. },
  83244. visitCalculationExpression$1(node) {
  83245. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  83246. t1 = A._setArrayType([], type$.JSArray_Object);
  83247. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  83248. argument = t2[_i];
  83249. t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  83250. }
  83251. $arguments = t1;
  83252. if (_this._evaluate0$_inSupportsDeclaration)
  83253. return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  83254. try {
  83255. switch (t4) {
  83256. case "calc":
  83257. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  83258. return t1;
  83259. case "min":
  83260. t1 = A.SassCalculation_min0($arguments);
  83261. return t1;
  83262. case "max":
  83263. t1 = A.SassCalculation_max0($arguments);
  83264. return t1;
  83265. case "clamp":
  83266. t1 = J.$index$asx($arguments, 0);
  83267. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  83268. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  83269. return t1;
  83270. default:
  83271. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  83272. throw A.wrapException(t1);
  83273. }
  83274. } catch (exception) {
  83275. t1 = A.unwrapException(exception);
  83276. if (t1 instanceof A.SassScriptException0) {
  83277. error = t1;
  83278. stackTrace = A.getTraceFromException(exception);
  83279. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  83280. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
  83281. } else
  83282. throw exception;
  83283. }
  83284. },
  83285. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  83286. var i, t1, arg, number1, j, number2;
  83287. for (i = 0; t1 = args.length, i < t1; ++i) {
  83288. arg = args[i];
  83289. if (!(arg instanceof A.SassNumber0))
  83290. continue;
  83291. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  83292. throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  83293. }
  83294. for (i = 0; i < t1 - 1; ++i) {
  83295. number1 = args[i];
  83296. if (!(number1 instanceof A.SassNumber0))
  83297. continue;
  83298. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  83299. number2 = args[j];
  83300. if (!(number2 instanceof A.SassNumber0))
  83301. continue;
  83302. if (number1.hasPossiblyCompatibleUnits$1(number2))
  83303. continue;
  83304. 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]))));
  83305. }
  83306. }
  83307. },
  83308. _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  83309. var inner, result, t1, text, _this = this, _null = null;
  83310. if (node instanceof A.ParenthesizedExpression0) {
  83311. inner = node.expression;
  83312. result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
  83313. if (inner instanceof A.FunctionExpression0)
  83314. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  83315. else
  83316. t1 = false;
  83317. return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  83318. } else if (node instanceof A.StringExpression0) {
  83319. t1 = node.text;
  83320. text = t1.get$asPlain();
  83321. if (text == null)
  83322. return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(t1));
  83323. switch (text.toLowerCase()) {
  83324. case "pi":
  83325. return A.SassNumber_SassNumber0(3.141592653589793, _null);
  83326. case "e":
  83327. return A.SassNumber_SassNumber0(2.718281828459045, _null);
  83328. case "infinity":
  83329. return A.SassNumber_SassNumber0(1 / 0, _null);
  83330. case "-infinity":
  83331. return A.SassNumber_SassNumber0(-1 / 0, _null);
  83332. case "nan":
  83333. return A.SassNumber_SassNumber0(0 / 0, _null);
  83334. default:
  83335. return new A.SassString0(text, false);
  83336. }
  83337. } else if (node instanceof A.BinaryOperationExpression0)
  83338. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
  83339. else {
  83340. result = node.accept$1(_this);
  83341. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
  83342. return result;
  83343. if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
  83344. return result;
  83345. throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  83346. }
  83347. },
  83348. _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  83349. switch (operator) {
  83350. case B.BinaryOperator_anB0:
  83351. return B.CalculationOperator_IyK0;
  83352. case B.BinaryOperator_olz0:
  83353. return B.CalculationOperator_2bx0;
  83354. case B.BinaryOperator_qN20:
  83355. return B.CalculationOperator_jFr0;
  83356. case B.BinaryOperator_t8B0:
  83357. return B.CalculationOperator_OvN0;
  83358. default:
  83359. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  83360. }
  83361. },
  83362. visitColorExpression$1(node) {
  83363. return node.value;
  83364. },
  83365. visitListExpression$1(node) {
  83366. var t1 = node.contents;
  83367. 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);
  83368. },
  83369. visitMapExpression$1(node) {
  83370. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  83371. t1 = type$.Value_2,
  83372. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  83373. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83374. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  83375. pair = t2[_i];
  83376. t4 = pair.item1;
  83377. keyValue = t4.accept$1(this);
  83378. valueValue = pair.item2.accept$1(this);
  83379. if (map.$index(0, keyValue) != null) {
  83380. t1 = keyNodes.$index(0, keyValue);
  83381. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  83382. t1 = J.getInterceptor$z(t4);
  83383. t2 = t1.get$span(t4);
  83384. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  83385. if (oldValueSpan != null)
  83386. t3.$indexSet(0, oldValueSpan, "first key");
  83387. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
  83388. }
  83389. map.$indexSet(0, keyValue, valueValue);
  83390. keyNodes.$indexSet(0, keyValue, t4);
  83391. }
  83392. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  83393. },
  83394. visitFunctionExpression$1(node) {
  83395. var oldInFunction, result, _this = this, t1 = {},
  83396. $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
  83397. t1.$function = $function;
  83398. if ($function == null) {
  83399. if (node.namespace != null)
  83400. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  83401. t1.$function = new A.PlainCssCallable0(node.originalName);
  83402. }
  83403. oldInFunction = _this._evaluate0$_inFunction;
  83404. _this._evaluate0$_inFunction = true;
  83405. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
  83406. _this._evaluate0$_inFunction = oldInFunction;
  83407. return result;
  83408. },
  83409. visitInterpolatedFunctionExpression$1(node) {
  83410. var result, _this = this,
  83411. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  83412. oldInFunction = _this._evaluate0$_inFunction;
  83413. _this._evaluate0$_inFunction = true;
  83414. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  83415. _this._evaluate0$_inFunction = oldInFunction;
  83416. return result;
  83417. },
  83418. _evaluate0$_getFunction$2$namespace($name, namespace) {
  83419. var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
  83420. if (local != null || namespace != null)
  83421. return local;
  83422. return this._evaluate0$_builtInFunctions.$index(0, $name);
  83423. },
  83424. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  83425. var oldCallable, result, _this = this,
  83426. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  83427. $name = callable.declaration.name;
  83428. if ($name !== "@content")
  83429. $name += "()";
  83430. oldCallable = _this._evaluate0$_currentCallable;
  83431. _this._evaluate0$_currentCallable = callable;
  83432. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  83433. _this._evaluate0$_currentCallable = oldCallable;
  83434. return result;
  83435. },
  83436. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  83437. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  83438. if (callable instanceof A.BuiltInCallable0)
  83439. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  83440. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  83441. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  83442. else if (callable instanceof A.PlainCssCallable0) {
  83443. t1 = $arguments.named;
  83444. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  83445. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  83446. buffer = new A.StringBuffer(callable.name + "(");
  83447. try {
  83448. first = true;
  83449. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83450. argument = t1[_i];
  83451. if (first)
  83452. first = false;
  83453. else
  83454. buffer._contents += ", ";
  83455. t3 = argument;
  83456. buffer._contents += _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  83457. }
  83458. restArg = $arguments.rest;
  83459. if (restArg != null) {
  83460. rest = restArg.accept$1(_this);
  83461. if (!first)
  83462. buffer._contents += ", ";
  83463. buffer._contents += _this._evaluate0$_serialize$2(rest, restArg);
  83464. }
  83465. } catch (exception) {
  83466. t1 = A.unwrapException(exception);
  83467. if (type$.SassRuntimeException_2._is(t1)) {
  83468. error = t1;
  83469. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  83470. throw exception;
  83471. 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)));
  83472. } else
  83473. throw exception;
  83474. }
  83475. buffer._contents += A.Primitives_stringFromCharCode(41);
  83476. t1 = buffer._contents;
  83477. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  83478. } else
  83479. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  83480. },
  83481. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  83482. var callback, result, error, stackTrace, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this,
  83483. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  83484. oldCallableNode = _this._evaluate0$_callableNode;
  83485. _this._evaluate0$_callableNode = nodeWithSpan;
  83486. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  83487. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  83488. overload = tuple.item1;
  83489. callback = tuple.item2;
  83490. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
  83491. declaredArguments = overload.$arguments;
  83492. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  83493. argument = declaredArguments[i];
  83494. t2 = evaluated.positional;
  83495. t3 = evaluated.named.remove$1(0, argument.name);
  83496. if (t3 == null) {
  83497. t3 = argument.defaultValue;
  83498. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  83499. }
  83500. t2.push(t3);
  83501. }
  83502. if (overload.restArgument != null) {
  83503. if (evaluated.positional.length > t1) {
  83504. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  83505. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  83506. } else
  83507. rest = B.List_empty19;
  83508. t1 = evaluated.named;
  83509. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  83510. evaluated.positional.push(argumentList);
  83511. } else
  83512. argumentList = null;
  83513. result = null;
  83514. try {
  83515. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(callback, evaluated));
  83516. } catch (exception) {
  83517. t1 = A.unwrapException(exception);
  83518. if (t1 instanceof A.SassException0)
  83519. throw exception;
  83520. else {
  83521. error = t1;
  83522. stackTrace = A.getTraceFromException(exception);
  83523. message = null;
  83524. try {
  83525. message = A._asString(J.get$message$x(error));
  83526. } catch (exception) {
  83527. message0 = J.toString$0$(error);
  83528. message = message0;
  83529. }
  83530. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace);
  83531. }
  83532. }
  83533. _this._evaluate0$_callableNode = oldCallableNode;
  83534. if (argumentList == null)
  83535. return result;
  83536. if (evaluated.named.__js_helper$_length === 0)
  83537. return result;
  83538. if (argumentList._argument_list$_wereKeywordsAccessed)
  83539. return result;
  83540. t1 = evaluated.named;
  83541. t1 = t1.get$keys(t1);
  83542. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  83543. t2 = evaluated.named;
  83544. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure7(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  83545. },
  83546. _evaluate0$_evaluateArguments$1($arguments) {
  83547. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  83548. positional = A._setArrayType([], type$.JSArray_Value_2),
  83549. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  83550. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83551. expression = t1[_i];
  83552. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  83553. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  83554. positionalNodes.push(nodeForSpan);
  83555. }
  83556. t1 = type$.String;
  83557. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  83558. t2 = type$.AstNode_2;
  83559. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  83560. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  83561. t4 = t3.get$current(t3);
  83562. t5 = t4.value;
  83563. nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
  83564. t4 = t4.key;
  83565. named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  83566. namedNodes.$indexSet(0, t4, nodeForSpan);
  83567. }
  83568. restArgs = $arguments.rest;
  83569. if (restArgs == null)
  83570. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  83571. rest = restArgs.accept$1(_this);
  83572. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  83573. if (rest instanceof A.SassMap0) {
  83574. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  83575. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  83576. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  83577. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  83578. namedNodes.addAll$1(0, t3);
  83579. separator = B.ListSeparator_undecided_null_undecided0;
  83580. } else if (rest instanceof A.SassList0) {
  83581. t3 = rest._list1$_contents;
  83582. 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>")));
  83583. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  83584. separator = rest._list1$_separator;
  83585. if (rest instanceof A.SassArgumentList0) {
  83586. rest._argument_list$_wereKeywordsAccessed = true;
  83587. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  83588. }
  83589. } else {
  83590. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  83591. positionalNodes.push(restNodeForSpan);
  83592. separator = B.ListSeparator_undecided_null_undecided0;
  83593. }
  83594. keywordRestArgs = $arguments.keywordRest;
  83595. if (keywordRestArgs == null)
  83596. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  83597. keywordRest = keywordRestArgs.accept$1(_this);
  83598. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  83599. if (keywordRest instanceof A.SassMap0) {
  83600. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  83601. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  83602. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  83603. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  83604. namedNodes.addAll$1(0, t1);
  83605. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  83606. } else
  83607. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  83608. },
  83609. _evaluate0$_evaluateMacroArguments$1(invocation) {
  83610. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  83611. t1 = invocation.$arguments,
  83612. restArgs_ = t1.rest;
  83613. if (restArgs_ == null)
  83614. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  83615. t2 = t1.positional;
  83616. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  83617. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  83618. rest = restArgs_.accept$1(_this);
  83619. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  83620. if (rest instanceof A.SassMap0)
  83621. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  83622. else if (rest instanceof A.SassList0) {
  83623. t2 = rest._list1$_contents;
  83624. 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>")));
  83625. if (rest instanceof A.SassArgumentList0) {
  83626. rest._argument_list$_wereKeywordsAccessed = true;
  83627. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  83628. }
  83629. } else
  83630. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  83631. keywordRestArgs_ = t1.keywordRest;
  83632. if (keywordRestArgs_ == null)
  83633. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  83634. keywordRest = keywordRestArgs_.accept$1(_this);
  83635. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  83636. if (keywordRest instanceof A.SassMap0) {
  83637. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  83638. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  83639. } else
  83640. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  83641. },
  83642. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  83643. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  83644. },
  83645. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  83646. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  83647. },
  83648. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  83649. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  83650. },
  83651. visitSelectorExpression$1(node) {
  83652. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  83653. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  83654. return t1 == null ? B.C__SassNull0 : t1;
  83655. },
  83656. visitStringExpression$1(node) {
  83657. var t1, _this = this,
  83658. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  83659. _this._evaluate0$_inSupportsDeclaration = false;
  83660. t1 = node.text.contents;
  83661. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  83662. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83663. return new A.SassString0(t1, node.hasQuotes);
  83664. },
  83665. visitSupportsExpression$1(expression) {
  83666. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  83667. },
  83668. visitCssAtRule$1(node) {
  83669. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  83670. if (_this._evaluate0$_declarationName != null)
  83671. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  83672. if (node.isChildless) {
  83673. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  83674. return;
  83675. }
  83676. wasInKeyframes = _this._evaluate0$_inKeyframes;
  83677. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  83678. t1 = node.name;
  83679. if (A.unvendor0(t1.value) === "keyframes")
  83680. _this._evaluate0$_inKeyframes = true;
  83681. else
  83682. _this._evaluate0$_inUnknownAtRule = true;
  83683. _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);
  83684. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  83685. _this._evaluate0$_inKeyframes = wasInKeyframes;
  83686. },
  83687. visitCssComment$1(node) {
  83688. var _this = this,
  83689. _s8_ = "__parent",
  83690. _s13_ = "_endOfImports";
  83691. 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))
  83692. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  83693. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  83694. },
  83695. visitCssDeclaration$1(node) {
  83696. var t1 = node.name;
  83697. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.value, "--"), node.valueSpanForMap));
  83698. },
  83699. visitCssImport$1(node) {
  83700. var t1, _this = this,
  83701. _s8_ = "__parent",
  83702. _s5_ = "_root",
  83703. _s13_ = "_endOfImports",
  83704. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  83705. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  83706. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  83707. 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)) {
  83708. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  83709. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  83710. } else {
  83711. t1 = _this._evaluate0$_outOfOrderImports;
  83712. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  83713. }
  83714. },
  83715. visitCssKeyframeBlock$1(node) {
  83716. 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);
  83717. },
  83718. visitCssMediaRule$1(node) {
  83719. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  83720. if (_this._evaluate0$_declarationName != null)
  83721. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  83722. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  83723. t1 = mergedQueries == null;
  83724. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  83725. return;
  83726. if (t1)
  83727. mergedSources = B.Set_empty4;
  83728. else {
  83729. t2 = _this._evaluate0$_mediaQuerySources;
  83730. t2.toString;
  83731. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  83732. t3 = _this._evaluate0$_mediaQueries;
  83733. t3.toString;
  83734. t2.addAll$1(0, t3);
  83735. t2.addAll$1(0, node.queries);
  83736. mergedSources = t2;
  83737. }
  83738. t1 = t1 ? node.queries : mergedQueries;
  83739. _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);
  83740. },
  83741. visitCssStyleRule$1(node) {
  83742. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  83743. _s8_ = "__parent";
  83744. if (_this._evaluate0$_declarationName != null)
  83745. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  83746. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  83747. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  83748. t2 = node._style_rule0$_selector._box0$_inner.value;
  83749. t3 = styleRule == null;
  83750. t4 = t3 ? null : styleRule.originalSelector;
  83751. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  83752. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  83753. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  83754. _this._evaluate0$_atRootExcludingStyleRule = false;
  83755. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure3(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure4(), type$.ModifiableCssStyleRule_2, type$.Null);
  83756. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  83757. if (t3) {
  83758. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83759. t1 = !t1.get$isEmpty(t1);
  83760. } else
  83761. t1 = false;
  83762. if (t1) {
  83763. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  83764. t1.get$last(t1).isGroupEnd = true;
  83765. }
  83766. },
  83767. visitCssStylesheet$1(node) {
  83768. var t1;
  83769. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  83770. t1.get$current(t1).accept$1(this);
  83771. },
  83772. visitCssSupportsRule$1(node) {
  83773. var _this = this;
  83774. if (_this._evaluate0$_declarationName != null)
  83775. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  83776. _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);
  83777. },
  83778. _evaluate0$_handleReturn$1$2(list, callback) {
  83779. var t1, _i, result;
  83780. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  83781. result = callback.call$1(list[_i]);
  83782. if (result != null)
  83783. return result;
  83784. }
  83785. return null;
  83786. },
  83787. _evaluate0$_handleReturn$2(list, callback) {
  83788. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  83789. },
  83790. _evaluate0$_withEnvironment$1$2(environment, callback) {
  83791. var result,
  83792. oldEnvironment = this._evaluate0$_environment;
  83793. this._evaluate0$_environment = environment;
  83794. result = callback.call$0();
  83795. this._evaluate0$_environment = oldEnvironment;
  83796. return result;
  83797. },
  83798. _evaluate0$_withEnvironment$2(environment, callback) {
  83799. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  83800. },
  83801. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  83802. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  83803. t1 = trim ? A.trimAscii0(result, true) : result;
  83804. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  83805. },
  83806. _evaluate0$_interpolationToValue$1(interpolation) {
  83807. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  83808. },
  83809. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  83810. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  83811. },
  83812. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  83813. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, warnForColor).item1;
  83814. },
  83815. _evaluate0$_performInterpolation$1(interpolation) {
  83816. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  83817. },
  83818. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  83819. var tuple = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  83820. t1 = tuple.item2;
  83821. t1.toString;
  83822. return new A.Tuple2(tuple.item1, t1, type$.Tuple2_String_InterpolationMap_2);
  83823. },
  83824. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  83825. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, t8, result0, _this = this, _null = null,
  83826. targetLocations = A._setArrayType([], type$.JSArray_SourceLocation),
  83827. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  83828. _this._evaluate0$_inSupportsDeclaration = false;
  83829. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = type$.JSArray_Object, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  83830. value = t1[_i];
  83831. if (!first)
  83832. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  83833. if (typeof value == "string") {
  83834. t7 += value;
  83835. continue;
  83836. }
  83837. t3._as(value);
  83838. result = value.accept$1(_this);
  83839. if (warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  83840. t8 = A._setArrayType([""], t4);
  83841. result0 = A.List_List$from(t8, false, t6);
  83842. result0.fixed$length = Array;
  83843. result0.immutable$list = Array;
  83844. result0 = new A.Interpolation0(result0, t5);
  83845. result0.Interpolation$20(t8, t5);
  83846. t8 = $.$get$namesByColor0();
  83847. _this._evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_anB0, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  83848. }
  83849. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  83850. }
  83851. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83852. t1 = A.InterpolationMap$0(interpolation, targetLocations);
  83853. return new A.Tuple2(t7.charCodeAt(0) == 0 ? t7 : t7, t1, type$.Tuple2_of_String_and_nullable_InterpolationMap_2);
  83854. },
  83855. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  83856. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  83857. },
  83858. _evaluate0$_serialize$2(value, nodeWithSpan) {
  83859. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  83860. },
  83861. _evaluate0$_expressionNode$1(expression) {
  83862. var t1;
  83863. if (expression instanceof A.VariableExpression0) {
  83864. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  83865. return t1 == null ? expression : t1;
  83866. } else
  83867. return expression;
  83868. },
  83869. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  83870. var t1, result, _this = this;
  83871. _this._evaluate0$_addChild$2$through(node, through);
  83872. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  83873. _this._evaluate0$__parent = node;
  83874. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  83875. _this._evaluate0$__parent = t1;
  83876. return result;
  83877. },
  83878. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  83879. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  83880. },
  83881. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  83882. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  83883. },
  83884. _evaluate0$_addChild$2$through(node, through) {
  83885. var grandparent, t1,
  83886. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  83887. if (through != null) {
  83888. for (; through.call$1($parent); $parent = grandparent) {
  83889. grandparent = $parent._node0$_parent;
  83890. if (grandparent == null)
  83891. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  83892. }
  83893. if ($parent.get$hasFollowingSibling()) {
  83894. grandparent = $parent._node0$_parent;
  83895. t1 = grandparent.children;
  83896. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  83897. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  83898. else {
  83899. $parent = $parent.copyWithoutChildren$0();
  83900. grandparent.addChild$1($parent);
  83901. }
  83902. }
  83903. }
  83904. $parent.addChild$1(node);
  83905. },
  83906. _evaluate0$_addChild$1(node) {
  83907. return this._evaluate0$_addChild$2$through(node, null);
  83908. },
  83909. _evaluate0$_withStyleRule$1$2(rule, callback) {
  83910. var result,
  83911. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  83912. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  83913. result = callback.call$0();
  83914. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  83915. return result;
  83916. },
  83917. _evaluate0$_withStyleRule$2(rule, callback) {
  83918. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  83919. },
  83920. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  83921. var result, _this = this,
  83922. oldMediaQueries = _this._evaluate0$_mediaQueries,
  83923. oldSources = _this._evaluate0$_mediaQuerySources;
  83924. _this._evaluate0$_mediaQueries = queries;
  83925. _this._evaluate0$_mediaQuerySources = sources;
  83926. result = callback.call$0();
  83927. _this._evaluate0$_mediaQueries = oldMediaQueries;
  83928. _this._evaluate0$_mediaQuerySources = oldSources;
  83929. return result;
  83930. },
  83931. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  83932. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  83933. },
  83934. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  83935. var oldMember, result, _this = this,
  83936. t1 = _this._evaluate0$_stack;
  83937. t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  83938. oldMember = _this._evaluate0$_member;
  83939. _this._evaluate0$_member = member;
  83940. result = callback.call$0();
  83941. _this._evaluate0$_member = oldMember;
  83942. t1.pop();
  83943. return result;
  83944. },
  83945. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  83946. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  83947. },
  83948. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  83949. if (value instanceof A.SassNumber0 && value.asSlash != null)
  83950. 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_wWh);
  83951. return value.withoutSlash$0();
  83952. },
  83953. _evaluate0$_stackFrame$2(member, span) {
  83954. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  83955. },
  83956. _evaluate0$_stackTrace$1(span) {
  83957. var _this = this,
  83958. t1 = _this._evaluate0$_stack;
  83959. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  83960. if (span != null)
  83961. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  83962. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  83963. },
  83964. _evaluate0$_stackTrace$0() {
  83965. return this._evaluate0$_stackTrace$1(null);
  83966. },
  83967. _evaluate0$_warn$3(message, span, deprecation) {
  83968. var t1, trace, _this = this;
  83969. if (_this._evaluate0$_quietDeps)
  83970. if (!_this._evaluate0$_inDependency) {
  83971. t1 = _this._evaluate0$_currentCallable;
  83972. t1 = t1 == null ? null : t1.inDependency;
  83973. t1 = t1 === true;
  83974. } else
  83975. t1 = true;
  83976. else
  83977. t1 = false;
  83978. if (t1)
  83979. return;
  83980. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  83981. return;
  83982. trace = _this._evaluate0$_stackTrace$1(span);
  83983. t1 = _this._evaluate0$_logger;
  83984. if (deprecation == null)
  83985. t1.warn$3$span$trace(0, message, span, trace);
  83986. else
  83987. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  83988. },
  83989. _evaluate0$_warn$2(message, span) {
  83990. return this._evaluate0$_warn$3(message, span, null);
  83991. },
  83992. _evaluate0$_exception$2(message, span) {
  83993. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
  83994. return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
  83995. },
  83996. _evaluate0$_exception$1(message) {
  83997. return this._evaluate0$_exception$2(message, null);
  83998. },
  83999. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  84000. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
  84001. return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  84002. },
  84003. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  84004. var error, stackTrace, t1, exception;
  84005. try {
  84006. t1 = callback.call$0();
  84007. return t1;
  84008. } catch (exception) {
  84009. t1 = A.unwrapException(exception);
  84010. if (t1 instanceof A.SassScriptException0) {
  84011. error = t1;
  84012. stackTrace = A.getTraceFromException(exception);
  84013. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  84014. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), stackTrace);
  84015. } else
  84016. throw exception;
  84017. }
  84018. },
  84019. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  84020. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  84021. },
  84022. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  84023. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  84024. },
  84025. _evaluate0$_addExceptionTrace$1$1(callback) {
  84026. var error, stackTrace, t1, exception, t2;
  84027. try {
  84028. t1 = callback.call$0();
  84029. return t1;
  84030. } catch (exception) {
  84031. t1 = A.unwrapException(exception);
  84032. if (type$.SassRuntimeException_2._is(t1))
  84033. throw exception;
  84034. else if (t1 instanceof A.SassException0) {
  84035. error = t1;
  84036. stackTrace = A.getTraceFromException(exception);
  84037. t1 = error;
  84038. t2 = J.getInterceptor$z(t1);
  84039. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), stackTrace);
  84040. } else
  84041. throw exception;
  84042. }
  84043. },
  84044. _evaluate0$_addExceptionTrace$1(callback) {
  84045. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  84046. },
  84047. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  84048. var error, stackTrace, t1, exception, t2;
  84049. try {
  84050. t1 = callback.call$0();
  84051. return t1;
  84052. } catch (exception) {
  84053. t1 = A.unwrapException(exception);
  84054. if (type$.SassRuntimeException_2._is(t1)) {
  84055. error = t1;
  84056. stackTrace = A.getTraceFromException(exception);
  84057. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  84058. throw exception;
  84059. t1 = error._span_exception$_message;
  84060. t2 = nodeWithSpan.get$span(nodeWithSpan);
  84061. A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  84062. } else
  84063. throw exception;
  84064. }
  84065. },
  84066. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  84067. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  84068. }
  84069. };
  84070. A._EvaluateVisitor_closure19.prototype = {
  84071. call$1($arguments) {
  84072. var module, t2,
  84073. t1 = J.getInterceptor$asx($arguments),
  84074. variable = t1.$index($arguments, 0).assertString$1("name");
  84075. t1 = t1.$index($arguments, 1).get$realNull();
  84076. module = t1 == null ? null : t1.assertString$1("module");
  84077. t1 = this.$this._evaluate0$_environment;
  84078. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  84079. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84080. },
  84081. $signature: 20
  84082. };
  84083. A._EvaluateVisitor_closure20.prototype = {
  84084. call$1($arguments) {
  84085. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  84086. t1 = this.$this._evaluate0$_environment;
  84087. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84088. },
  84089. $signature: 20
  84090. };
  84091. A._EvaluateVisitor_closure21.prototype = {
  84092. call$1($arguments) {
  84093. var module, t2, t3, t4,
  84094. t1 = J.getInterceptor$asx($arguments),
  84095. variable = t1.$index($arguments, 0).assertString$1("name");
  84096. t1 = t1.$index($arguments, 1).get$realNull();
  84097. module = t1 == null ? null : t1.assertString$1("module");
  84098. t1 = this.$this;
  84099. t2 = t1._evaluate0$_environment;
  84100. t3 = variable._string0$_text;
  84101. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  84102. 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;
  84103. },
  84104. $signature: 20
  84105. };
  84106. A._EvaluateVisitor_closure22.prototype = {
  84107. call$1($arguments) {
  84108. var module, t2,
  84109. t1 = J.getInterceptor$asx($arguments),
  84110. variable = t1.$index($arguments, 0).assertString$1("name");
  84111. t1 = t1.$index($arguments, 1).get$realNull();
  84112. module = t1 == null ? null : t1.assertString$1("module");
  84113. t1 = this.$this._evaluate0$_environment;
  84114. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  84115. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84116. },
  84117. $signature: 20
  84118. };
  84119. A._EvaluateVisitor_closure23.prototype = {
  84120. call$1($arguments) {
  84121. var t1 = this.$this._evaluate0$_environment;
  84122. if (!t1._environment0$_inMixin)
  84123. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  84124. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  84125. },
  84126. $signature: 20
  84127. };
  84128. A._EvaluateVisitor_closure24.prototype = {
  84129. call$1($arguments) {
  84130. var t2, t3, t4,
  84131. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  84132. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  84133. if (module == null)
  84134. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  84135. t1 = type$.Value_2;
  84136. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  84137. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  84138. t4 = t3.get$current(t3);
  84139. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  84140. }
  84141. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  84142. },
  84143. $signature: 35
  84144. };
  84145. A._EvaluateVisitor_closure25.prototype = {
  84146. call$1($arguments) {
  84147. var t2, t3, t4,
  84148. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  84149. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  84150. if (module == null)
  84151. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  84152. t1 = type$.Value_2;
  84153. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  84154. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  84155. t4 = t3.get$current(t3);
  84156. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  84157. }
  84158. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  84159. },
  84160. $signature: 35
  84161. };
  84162. A._EvaluateVisitor_closure26.prototype = {
  84163. call$1($arguments) {
  84164. var module, callable, t2,
  84165. t1 = J.getInterceptor$asx($arguments),
  84166. $name = t1.$index($arguments, 0).assertString$1("name"),
  84167. css = t1.$index($arguments, 1).get$isTruthy();
  84168. t1 = t1.$index($arguments, 2).get$realNull();
  84169. module = t1 == null ? null : t1.assertString$1("module");
  84170. if (css && module != null)
  84171. throw A.wrapException(string$.x24css_a);
  84172. if (css)
  84173. callable = new A.PlainCssCallable0($name._string0$_text);
  84174. else {
  84175. t1 = this.$this;
  84176. t2 = t1._evaluate0$_callableNode;
  84177. t2.toString;
  84178. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
  84179. }
  84180. if (callable != null)
  84181. return new A.SassFunction0(callable);
  84182. throw A.wrapException("Function not found: " + $name.toString$0(0));
  84183. },
  84184. $signature: 192
  84185. };
  84186. A._EvaluateVisitor__closure7.prototype = {
  84187. call$0() {
  84188. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  84189. t2 = this.module;
  84190. t2 = t2 == null ? null : t2._string0$_text;
  84191. return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
  84192. },
  84193. $signature: 125
  84194. };
  84195. A._EvaluateVisitor_closure27.prototype = {
  84196. call$1($arguments) {
  84197. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  84198. t1 = J.getInterceptor$asx($arguments),
  84199. $function = t1.$index($arguments, 0),
  84200. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  84201. t1 = this.$this;
  84202. t2 = t1._evaluate0$_callableNode;
  84203. t2.toString;
  84204. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  84205. t4 = type$.String;
  84206. t5 = type$.Expression_2;
  84207. t6 = t2.get$span(t2);
  84208. t7 = t2.get$span(t2);
  84209. args._argument_list$_wereKeywordsAccessed = true;
  84210. t8 = args._argument_list$_keywords;
  84211. if (t8.get$isEmpty(t8))
  84212. t2 = null;
  84213. else {
  84214. t9 = type$.Value_2;
  84215. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  84216. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  84217. t11 = t8.get$current(t8);
  84218. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  84219. }
  84220. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  84221. }
  84222. 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);
  84223. if ($function instanceof A.SassString0) {
  84224. t2 = $function.toString$0(0);
  84225. A.EvaluationContext_current0().warn$2(0, string$.Passin + t2 + "))", B.Deprecation_4iQ);
  84226. callableNode = t1._evaluate0$_callableNode;
  84227. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  84228. }
  84229. callable = $function.assertFunction$1("function").callable;
  84230. if (type$.Callable_2._is(callable)) {
  84231. t2 = t1._evaluate0$_callableNode;
  84232. t2.toString;
  84233. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  84234. } else
  84235. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  84236. },
  84237. $signature: 3
  84238. };
  84239. A._EvaluateVisitor_closure28.prototype = {
  84240. call$1($arguments) {
  84241. var withMap, t2, values, configuration, t3,
  84242. t1 = J.getInterceptor$asx($arguments),
  84243. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  84244. t1 = t1.$index($arguments, 1).get$realNull();
  84245. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  84246. t1 = this.$this;
  84247. t2 = t1._evaluate0$_callableNode;
  84248. t2.toString;
  84249. if (withMap != null) {
  84250. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  84251. withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
  84252. configuration = new A.ExplicitConfiguration0(t2, values, null);
  84253. } else
  84254. configuration = B.Configuration_Map_empty_null0;
  84255. t3 = t2.get$span(t2);
  84256. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t3.get$sourceUrl(t3), configuration, true);
  84257. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  84258. },
  84259. $signature: 504
  84260. };
  84261. A._EvaluateVisitor__closure5.prototype = {
  84262. call$2(variable, value) {
  84263. var t1 = variable.assertString$1("with key"),
  84264. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  84265. t1 = this.values;
  84266. if (t1.containsKey$1($name))
  84267. throw A.wrapException("The variable $" + $name + " was configured twice.");
  84268. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  84269. },
  84270. $signature: 49
  84271. };
  84272. A._EvaluateVisitor__closure6.prototype = {
  84273. call$1(module) {
  84274. var t1 = this.$this;
  84275. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  84276. },
  84277. $signature: 60
  84278. };
  84279. A._EvaluateVisitor_run_closure1.prototype = {
  84280. call$0() {
  84281. var t2, _this = this,
  84282. t1 = _this.node,
  84283. url = t1.span.file.url;
  84284. if (url != null) {
  84285. t2 = _this.$this;
  84286. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  84287. if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  84288. t2._evaluate0$_loadedUrls.add$1(0, url);
  84289. }
  84290. t2 = _this.$this;
  84291. return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1))), t2._evaluate0$_loadedUrls);
  84292. },
  84293. $signature: 405
  84294. };
  84295. A._EvaluateVisitor_run__closure1.prototype = {
  84296. call$0() {
  84297. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  84298. },
  84299. $signature: 406
  84300. };
  84301. A._EvaluateVisitor__loadModule_closure3.prototype = {
  84302. call$0() {
  84303. return this.callback.call$1(this.builtInModule);
  84304. },
  84305. $signature: 0
  84306. };
  84307. A._EvaluateVisitor__loadModule_closure4.prototype = {
  84308. call$0() {
  84309. var oldInDependency, message, _this = this, t1 = {},
  84310. t2 = _this.$this,
  84311. t3 = _this.nodeWithSpan,
  84312. result = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl),
  84313. stylesheet = result.stylesheet,
  84314. canonicalUrl = stylesheet.span.file.url;
  84315. if (canonicalUrl != null && t2._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  84316. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  84317. t1 = A.NullableExtension_andThen0(t2._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  84318. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  84319. }
  84320. if (canonicalUrl != null)
  84321. t2._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t3);
  84322. oldInDependency = t2._evaluate0$_inDependency;
  84323. t2._evaluate0$_inDependency = result.isDependency;
  84324. t1.module = null;
  84325. try {
  84326. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  84327. } finally {
  84328. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  84329. t2._evaluate0$_inDependency = oldInDependency;
  84330. }
  84331. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback), false);
  84332. },
  84333. $signature: 1
  84334. };
  84335. A._EvaluateVisitor__loadModule__closure3.prototype = {
  84336. call$1(previousLoad) {
  84337. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  84338. },
  84339. $signature: 96
  84340. };
  84341. A._EvaluateVisitor__loadModule__closure4.prototype = {
  84342. call$0() {
  84343. return this.callback.call$1(this._box_0.module);
  84344. },
  84345. $signature: 0
  84346. };
  84347. A._EvaluateVisitor__execute_closure1.prototype = {
  84348. call$0() {
  84349. var t3, t4, t5, t6, _this = this,
  84350. t1 = _this.$this,
  84351. oldImporter = t1._evaluate0$_importer,
  84352. oldStylesheet = t1._evaluate0$__stylesheet,
  84353. oldRoot = t1._evaluate0$__root,
  84354. oldParent = t1._evaluate0$__parent,
  84355. oldEndOfImports = t1._evaluate0$__endOfImports,
  84356. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  84357. oldExtensionStore = t1._evaluate0$__extensionStore,
  84358. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  84359. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  84360. oldMediaQueries = t1._evaluate0$_mediaQueries,
  84361. oldDeclarationName = t1._evaluate0$_declarationName,
  84362. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  84363. oldInKeyframes = t1._evaluate0$_inKeyframes,
  84364. oldConfiguration = t1._evaluate0$_configuration;
  84365. t1._evaluate0$_importer = _this.importer;
  84366. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  84367. t4 = t3.span;
  84368. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  84369. t1._evaluate0$__endOfImports = 0;
  84370. t1._evaluate0$_outOfOrderImports = null;
  84371. t1._evaluate0$__extensionStore = _this.extensionStore;
  84372. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  84373. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  84374. t6 = _this.configuration;
  84375. if (t6 != null)
  84376. t1._evaluate0$_configuration = t6;
  84377. t1.visitStylesheet$1(t3);
  84378. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  84379. _this.css.__late_helper$_value = t3;
  84380. t1._evaluate0$_importer = oldImporter;
  84381. t1._evaluate0$__stylesheet = oldStylesheet;
  84382. t1._evaluate0$__root = oldRoot;
  84383. t1._evaluate0$__parent = oldParent;
  84384. t1._evaluate0$__endOfImports = oldEndOfImports;
  84385. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  84386. t1._evaluate0$__extensionStore = oldExtensionStore;
  84387. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  84388. t1._evaluate0$_mediaQueries = oldMediaQueries;
  84389. t1._evaluate0$_declarationName = oldDeclarationName;
  84390. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  84391. t1._evaluate0$_atRootExcludingStyleRule = t2;
  84392. t1._evaluate0$_inKeyframes = oldInKeyframes;
  84393. t1._evaluate0$_configuration = oldConfiguration;
  84394. },
  84395. $signature: 1
  84396. };
  84397. A._EvaluateVisitor__combineCss_closure5.prototype = {
  84398. call$1(module) {
  84399. return module.get$transitivelyContainsCss();
  84400. },
  84401. $signature: 136
  84402. };
  84403. A._EvaluateVisitor__combineCss_closure6.prototype = {
  84404. call$1(target) {
  84405. return !this.selectors.contains$1(0, target);
  84406. },
  84407. $signature: 14
  84408. };
  84409. A._EvaluateVisitor__combineCss_closure7.prototype = {
  84410. call$1(module) {
  84411. return module.cloneCss$0();
  84412. },
  84413. $signature: 407
  84414. };
  84415. A._EvaluateVisitor__extendModules_closure3.prototype = {
  84416. call$1(target) {
  84417. return !this.originalSelectors.contains$1(0, target);
  84418. },
  84419. $signature: 14
  84420. };
  84421. A._EvaluateVisitor__extendModules_closure4.prototype = {
  84422. call$0() {
  84423. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  84424. },
  84425. $signature: 196
  84426. };
  84427. A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
  84428. call$1(module) {
  84429. var t1, t2, t3, _i, upstream;
  84430. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  84431. upstream = t1[_i];
  84432. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  84433. this.call$1(upstream);
  84434. }
  84435. this.sorted.addFirst$1(module);
  84436. },
  84437. $signature: 60
  84438. };
  84439. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  84440. call$0() {
  84441. var t1, t2, t3, _i;
  84442. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84443. t1[_i].accept$1(t3);
  84444. },
  84445. $signature: 1
  84446. };
  84447. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  84448. call$0() {
  84449. var t1, t2, t3, _i;
  84450. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84451. t1[_i].accept$1(t3);
  84452. },
  84453. $signature: 0
  84454. };
  84455. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  84456. call$1(callback) {
  84457. var t1 = this.$this,
  84458. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  84459. t1._evaluate0$__parent = this.newParent;
  84460. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  84461. t1._evaluate0$__parent = t2;
  84462. },
  84463. $signature: 28
  84464. };
  84465. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  84466. call$1(callback) {
  84467. var t1 = this.$this,
  84468. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  84469. t1._evaluate0$_atRootExcludingStyleRule = true;
  84470. this.innerScope.call$1(callback);
  84471. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  84472. },
  84473. $signature: 28
  84474. };
  84475. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  84476. call$1(callback) {
  84477. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  84478. },
  84479. $signature: 28
  84480. };
  84481. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  84482. call$0() {
  84483. return this.innerScope.call$1(this.callback);
  84484. },
  84485. $signature: 1
  84486. };
  84487. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  84488. call$1(callback) {
  84489. var t1 = this.$this,
  84490. wasInKeyframes = t1._evaluate0$_inKeyframes;
  84491. t1._evaluate0$_inKeyframes = false;
  84492. this.innerScope.call$1(callback);
  84493. t1._evaluate0$_inKeyframes = wasInKeyframes;
  84494. },
  84495. $signature: 28
  84496. };
  84497. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  84498. call$1($parent) {
  84499. return type$.CssAtRule_2._is($parent);
  84500. },
  84501. $signature: 197
  84502. };
  84503. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  84504. call$1(callback) {
  84505. var t1 = this.$this,
  84506. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  84507. t1._evaluate0$_inUnknownAtRule = false;
  84508. this.innerScope.call$1(callback);
  84509. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  84510. },
  84511. $signature: 28
  84512. };
  84513. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  84514. call$0() {
  84515. var t1, t2, t3, _i;
  84516. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84517. t1[_i].accept$1(t3);
  84518. return null;
  84519. },
  84520. $signature: 1
  84521. };
  84522. A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
  84523. call$1(value) {
  84524. return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
  84525. },
  84526. $signature: 408
  84527. };
  84528. A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
  84529. call$0() {
  84530. var t1, t2, t3, _i;
  84531. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84532. t1[_i].accept$1(t3);
  84533. },
  84534. $signature: 1
  84535. };
  84536. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  84537. call$1(value) {
  84538. var t1 = this.$this,
  84539. t2 = this.nodeWithSpan;
  84540. return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
  84541. },
  84542. $signature: 52
  84543. };
  84544. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  84545. call$1(value) {
  84546. return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  84547. },
  84548. $signature: 52
  84549. };
  84550. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  84551. call$0() {
  84552. var _this = this,
  84553. t1 = _this.$this;
  84554. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  84555. },
  84556. $signature: 40
  84557. };
  84558. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  84559. call$1(element) {
  84560. var t1;
  84561. this.setVariables.call$1(element);
  84562. t1 = this.$this;
  84563. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  84564. },
  84565. $signature: 219
  84566. };
  84567. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  84568. call$1(child) {
  84569. return child.accept$1(this.$this);
  84570. },
  84571. $signature: 84
  84572. };
  84573. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  84574. call$1(value) {
  84575. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  84576. },
  84577. $signature: 411
  84578. };
  84579. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  84580. call$0() {
  84581. var t2, t3, _i, _this = this,
  84582. t1 = _this.$this,
  84583. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  84584. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  84585. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84586. t2[_i].accept$1(t1);
  84587. else
  84588. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, _this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  84589. },
  84590. $signature: 1
  84591. };
  84592. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  84593. call$0() {
  84594. var t1, t2, t3, _i;
  84595. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84596. t1[_i].accept$1(t3);
  84597. },
  84598. $signature: 1
  84599. };
  84600. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  84601. call$1(node) {
  84602. return type$.CssStyleRule_2._is(node);
  84603. },
  84604. $signature: 6
  84605. };
  84606. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  84607. call$0() {
  84608. return this.node.from.accept$1(this.$this).assertNumber$0();
  84609. },
  84610. $signature: 220
  84611. };
  84612. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  84613. call$0() {
  84614. return this.node.to.accept$1(this.$this).assertNumber$0();
  84615. },
  84616. $signature: 220
  84617. };
  84618. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  84619. call$0() {
  84620. return this.fromNumber.assertInt$0();
  84621. },
  84622. $signature: 12
  84623. };
  84624. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  84625. call$0() {
  84626. var t1 = this.fromNumber;
  84627. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  84628. },
  84629. $signature: 12
  84630. };
  84631. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  84632. call$0() {
  84633. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  84634. t1 = _this.$this,
  84635. t2 = _this.node,
  84636. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  84637. 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) {
  84638. t7 = t1._evaluate0$_environment;
  84639. t8 = t6.get$numeratorUnits(t6);
  84640. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  84641. result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  84642. if (result != null)
  84643. return result;
  84644. }
  84645. return null;
  84646. },
  84647. $signature: 40
  84648. };
  84649. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  84650. call$1(child) {
  84651. return child.accept$1(this.$this);
  84652. },
  84653. $signature: 84
  84654. };
  84655. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  84656. call$1(module) {
  84657. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  84658. },
  84659. $signature: 60
  84660. };
  84661. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  84662. call$1(module) {
  84663. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  84664. },
  84665. $signature: 60
  84666. };
  84667. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  84668. call$0() {
  84669. var t1 = this.$this;
  84670. return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
  84671. },
  84672. $signature: 40
  84673. };
  84674. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  84675. call$1(child) {
  84676. return child.accept$1(this.$this);
  84677. },
  84678. $signature: 84
  84679. };
  84680. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  84681. call$0() {
  84682. var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  84683. t1 = this.$this,
  84684. t2 = this.$import,
  84685. result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  84686. stylesheet = result.stylesheet,
  84687. url = stylesheet.span.file.url;
  84688. if (url != null) {
  84689. t3 = t1._evaluate0$_activeModules;
  84690. if (t3.containsKey$1(url)) {
  84691. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  84692. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  84693. }
  84694. t3.$indexSet(0, url, t2);
  84695. }
  84696. t2 = stylesheet._stylesheet1$_uses;
  84697. t3 = type$.UnmodifiableListView_UseRule_2;
  84698. t4 = new A.UnmodifiableListView(t2, t3);
  84699. if (t4.get$length(t4) === 0) {
  84700. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  84701. t4 = t4.get$length(t4) === 0;
  84702. } else
  84703. t4 = false;
  84704. if (t4) {
  84705. oldImporter = t1._evaluate0$_importer;
  84706. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  84707. oldInDependency = t1._evaluate0$_inDependency;
  84708. t1._evaluate0$_importer = result.importer;
  84709. t1._evaluate0$__stylesheet = stylesheet;
  84710. t1._evaluate0$_inDependency = result.isDependency;
  84711. t1.visitStylesheet$1(stylesheet);
  84712. t1._evaluate0$_importer = oldImporter;
  84713. t1._evaluate0$__stylesheet = t2;
  84714. t1._evaluate0$_inDependency = oldInDependency;
  84715. t1._evaluate0$_activeModules.remove$1(0, url);
  84716. return;
  84717. }
  84718. t2 = new A.UnmodifiableListView(t2, t3);
  84719. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  84720. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  84721. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  84722. } else
  84723. loadsUserDefinedModules = true;
  84724. children = A._Cell$();
  84725. t2 = t1._evaluate0$_environment;
  84726. t3 = type$.String;
  84727. t4 = type$.Module_Callable_2;
  84728. t5 = type$.AstNode_2;
  84729. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  84730. t7 = t2._environment0$_variables;
  84731. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  84732. t8 = t2._environment0$_variableNodes;
  84733. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  84734. t9 = t2._environment0$_functions;
  84735. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  84736. t10 = t2._environment0$_mixins;
  84737. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  84738. 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);
  84739. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  84740. module = environment.toDummyModule$0();
  84741. t1._evaluate0$_environment.importForwards$1(module);
  84742. if (loadsUserDefinedModules) {
  84743. if (module.transitivelyContainsCss)
  84744. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  84745. visitor = new A._ImportedCssVisitor1(t1);
  84746. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  84747. t2.get$current(t2).accept$1(visitor);
  84748. }
  84749. t1._evaluate0$_activeModules.remove$1(0, url);
  84750. },
  84751. $signature: 0
  84752. };
  84753. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  84754. call$1(previousLoad) {
  84755. 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));
  84756. },
  84757. $signature: 96
  84758. };
  84759. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  84760. call$1(rule) {
  84761. return rule.url.get$scheme() !== "sass";
  84762. },
  84763. $signature: 201
  84764. };
  84765. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  84766. call$1(rule) {
  84767. return rule.url.get$scheme() !== "sass";
  84768. },
  84769. $signature: 202
  84770. };
  84771. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  84772. call$0() {
  84773. var t7, t8, t9, _this = this,
  84774. t1 = _this.$this,
  84775. oldImporter = t1._evaluate0$_importer,
  84776. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  84777. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  84778. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  84779. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  84780. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  84781. oldConfiguration = t1._evaluate0$_configuration,
  84782. oldInDependency = t1._evaluate0$_inDependency,
  84783. t6 = _this.result;
  84784. t1._evaluate0$_importer = t6.importer;
  84785. t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
  84786. t8 = _this.loadsUserDefinedModules;
  84787. if (t8) {
  84788. t9 = A.ModifiableCssStylesheet$0(t7.span);
  84789. t1._evaluate0$__root = t9;
  84790. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
  84791. t1._evaluate0$__endOfImports = 0;
  84792. t1._evaluate0$_outOfOrderImports = null;
  84793. }
  84794. t1._evaluate0$_inDependency = t6.isDependency;
  84795. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  84796. if (!t6.get$isEmpty(t6))
  84797. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  84798. t1.visitStylesheet$1(t7);
  84799. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  84800. _this.children.__late_helper$_value = t6;
  84801. t1._evaluate0$_importer = oldImporter;
  84802. t1._evaluate0$__stylesheet = t2;
  84803. if (t8) {
  84804. t1._evaluate0$__root = t3;
  84805. t1._evaluate0$__parent = t4;
  84806. t1._evaluate0$__endOfImports = t5;
  84807. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  84808. }
  84809. t1._evaluate0$_configuration = oldConfiguration;
  84810. t1._evaluate0$_inDependency = oldInDependency;
  84811. },
  84812. $signature: 1
  84813. };
  84814. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  84815. call$0() {
  84816. var t1 = this.node;
  84817. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  84818. },
  84819. $signature: 125
  84820. };
  84821. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  84822. call$0() {
  84823. return this.node.get$spanWithoutContent();
  84824. },
  84825. $signature: 24
  84826. };
  84827. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  84828. call$1($content) {
  84829. var t1 = this.$this;
  84830. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  84831. },
  84832. $signature: 413
  84833. };
  84834. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  84835. call$0() {
  84836. var _this = this,
  84837. t1 = _this.$this,
  84838. t2 = t1._evaluate0$_environment,
  84839. oldContent = t2._environment0$_content;
  84840. t2._environment0$_content = _this.contentCallable;
  84841. new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
  84842. t2._environment0$_content = oldContent;
  84843. },
  84844. $signature: 1
  84845. };
  84846. A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
  84847. call$0() {
  84848. var t1 = this.$this,
  84849. t2 = t1._evaluate0$_environment,
  84850. oldInMixin = t2._environment0$_inMixin;
  84851. t2._environment0$_inMixin = true;
  84852. new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
  84853. t2._environment0$_inMixin = oldInMixin;
  84854. },
  84855. $signature: 0
  84856. };
  84857. A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
  84858. call$0() {
  84859. var t1, t2, t3, t4, _i;
  84860. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  84861. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
  84862. },
  84863. $signature: 0
  84864. };
  84865. A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
  84866. call$0() {
  84867. return this.statement.accept$1(this.$this);
  84868. },
  84869. $signature: 40
  84870. };
  84871. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  84872. call$1(mediaQueries) {
  84873. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  84874. },
  84875. $signature: 91
  84876. };
  84877. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  84878. call$0() {
  84879. var _this = this,
  84880. t1 = _this.$this,
  84881. t2 = _this.mergedQueries;
  84882. if (t2 == null)
  84883. t2 = _this.queries;
  84884. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  84885. },
  84886. $signature: 1
  84887. };
  84888. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  84889. call$0() {
  84890. var t2, t3, _i,
  84891. t1 = this.$this,
  84892. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  84893. if (styleRule == null)
  84894. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84895. t2[_i].accept$1(t1);
  84896. else
  84897. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  84898. },
  84899. $signature: 1
  84900. };
  84901. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  84902. call$0() {
  84903. var t1, t2, t3, _i;
  84904. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84905. t1[_i].accept$1(t3);
  84906. },
  84907. $signature: 1
  84908. };
  84909. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  84910. call$1(node) {
  84911. var t1;
  84912. if (!type$.CssStyleRule_2._is(node)) {
  84913. t1 = this.mergedSources;
  84914. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  84915. } else
  84916. t1 = true;
  84917. return t1;
  84918. },
  84919. $signature: 6
  84920. };
  84921. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  84922. call$0() {
  84923. var t1, t2, t3, _i;
  84924. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84925. t1[_i].accept$1(t3);
  84926. },
  84927. $signature: 1
  84928. };
  84929. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  84930. call$1(node) {
  84931. return type$.CssStyleRule_2._is(node);
  84932. },
  84933. $signature: 6
  84934. };
  84935. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  84936. call$0() {
  84937. var t1 = this.$this;
  84938. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  84939. },
  84940. $signature: 1
  84941. };
  84942. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  84943. call$0() {
  84944. var t1, t2, t3, _i;
  84945. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84946. t1[_i].accept$1(t3);
  84947. },
  84948. $signature: 1
  84949. };
  84950. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  84951. call$1(node) {
  84952. return type$.CssStyleRule_2._is(node);
  84953. },
  84954. $signature: 6
  84955. };
  84956. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  84957. call$1(child) {
  84958. return type$.CssComment_2._is(child);
  84959. },
  84960. $signature: 103
  84961. };
  84962. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  84963. call$0() {
  84964. var t2, t3, _i,
  84965. t1 = this.$this,
  84966. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  84967. if (styleRule == null)
  84968. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84969. t2[_i].accept$1(t1);
  84970. else
  84971. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  84972. },
  84973. $signature: 1
  84974. };
  84975. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  84976. call$0() {
  84977. var t1, t2, t3, _i;
  84978. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  84979. t1[_i].accept$1(t3);
  84980. },
  84981. $signature: 1
  84982. };
  84983. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  84984. call$1(node) {
  84985. return type$.CssStyleRule_2._is(node);
  84986. },
  84987. $signature: 6
  84988. };
  84989. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  84990. call$0() {
  84991. var t1 = this.override;
  84992. this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  84993. },
  84994. $signature: 1
  84995. };
  84996. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  84997. call$0() {
  84998. var t1 = this.node;
  84999. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  85000. },
  85001. $signature: 40
  85002. };
  85003. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  85004. call$0() {
  85005. var t1 = this.$this,
  85006. t2 = this.node;
  85007. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  85008. },
  85009. $signature: 1
  85010. };
  85011. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  85012. call$1(module) {
  85013. var t1 = this.node;
  85014. this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  85015. },
  85016. $signature: 60
  85017. };
  85018. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  85019. call$0() {
  85020. return this.node.expression.accept$1(this.$this);
  85021. },
  85022. $signature: 42
  85023. };
  85024. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  85025. call$0() {
  85026. var t1, t2, t3, result;
  85027. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  85028. result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  85029. if (result != null)
  85030. return result;
  85031. }
  85032. return null;
  85033. },
  85034. $signature: 40
  85035. };
  85036. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  85037. call$1(child) {
  85038. return child.accept$1(this.$this);
  85039. },
  85040. $signature: 84
  85041. };
  85042. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  85043. call$0() {
  85044. var right, result, t4, t5,
  85045. t1 = this.node,
  85046. t2 = this.$this,
  85047. left = t1.left.accept$1(t2),
  85048. t3 = t1.operator;
  85049. switch (t3) {
  85050. case B.BinaryOperator_2jN0:
  85051. right = t1.right.accept$1(t2);
  85052. return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  85053. case B.BinaryOperator_M6L0:
  85054. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  85055. case B.BinaryOperator_SNp0:
  85056. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  85057. case B.BinaryOperator_ql50:
  85058. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85059. case B.BinaryOperator_ViB0:
  85060. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85061. case B.BinaryOperator_cIH0:
  85062. return left.greaterThan$1(t1.right.accept$1(t2));
  85063. case B.BinaryOperator_7Tg0:
  85064. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  85065. case B.BinaryOperator_U8c0:
  85066. return left.lessThan$1(t1.right.accept$1(t2));
  85067. case B.BinaryOperator_kpg0:
  85068. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  85069. case B.BinaryOperator_anB0:
  85070. return left.plus$1(t1.right.accept$1(t2));
  85071. case B.BinaryOperator_olz0:
  85072. return left.minus$1(t1.right.accept$1(t2));
  85073. case B.BinaryOperator_qN20:
  85074. return left.times$1(t1.right.accept$1(t2));
  85075. case B.BinaryOperator_t8B0:
  85076. right = t1.right.accept$1(t2);
  85077. result = left.dividedBy$1(right);
  85078. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  85079. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  85080. else {
  85081. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  85082. t3 = A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1));
  85083. t4 = B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(t1);
  85084. t5 = t1.get$span(t1);
  85085. t2._evaluate0$_warn$3(string$.Using__o + t3 + " or " + new A.CalculationExpression0("calc", A.CalculationExpression__verifyArguments0(A._setArrayType([t4], type$.JSArray_Expression_2)), t5).toString$0(0) + string$.x0a_Morex20, t1.get$span(t1), B.Deprecation_wWh);
  85086. }
  85087. return result;
  85088. }
  85089. case B.BinaryOperator_OTG0:
  85090. return left.modulo$1(t1.right.accept$1(t2));
  85091. default:
  85092. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  85093. }
  85094. },
  85095. $signature: 42
  85096. };
  85097. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
  85098. call$1(expression) {
  85099. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_t8B0)
  85100. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  85101. else if (expression instanceof A.ParenthesizedExpression0)
  85102. return expression.expression.toString$0(0);
  85103. else
  85104. return expression.toString$0(0);
  85105. },
  85106. $signature: 106
  85107. };
  85108. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  85109. call$0() {
  85110. var t1 = this.node;
  85111. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  85112. },
  85113. $signature: 40
  85114. };
  85115. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  85116. call$0() {
  85117. var _this = this,
  85118. t1 = _this.node.operator;
  85119. switch (t1) {
  85120. case B.UnaryOperator_gg40:
  85121. return _this.operand.unaryPlus$0();
  85122. case B.UnaryOperator_TLI0:
  85123. return _this.operand.unaryMinus$0();
  85124. case B.UnaryOperator_Ix10:
  85125. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  85126. case B.UnaryOperator_not_not_not0:
  85127. return _this.operand.unaryNot$0();
  85128. default:
  85129. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  85130. }
  85131. },
  85132. $signature: 42
  85133. };
  85134. A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
  85135. call$0() {
  85136. var t1 = this.$this,
  85137. t2 = this.node,
  85138. t3 = this.inMinMax;
  85139. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
  85140. },
  85141. $signature: 81
  85142. };
  85143. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  85144. call$1(expression) {
  85145. return expression.accept$1(this.$this);
  85146. },
  85147. $signature: 414
  85148. };
  85149. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  85150. call$0() {
  85151. var t1 = this.node;
  85152. return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  85153. },
  85154. $signature: 125
  85155. };
  85156. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  85157. call$0() {
  85158. var t1 = this.node;
  85159. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  85160. },
  85161. $signature: 42
  85162. };
  85163. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  85164. call$0() {
  85165. var t1 = this.node;
  85166. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  85167. },
  85168. $signature: 42
  85169. };
  85170. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  85171. call$0() {
  85172. var _this = this,
  85173. t1 = _this.$this,
  85174. t2 = _this.callable;
  85175. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  85176. },
  85177. $signature() {
  85178. return this.V._eval$1("0()");
  85179. }
  85180. };
  85181. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  85182. call$0() {
  85183. var _this = this,
  85184. t1 = _this.$this,
  85185. t2 = _this.V;
  85186. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  85187. },
  85188. $signature() {
  85189. return this.V._eval$1("0()");
  85190. }
  85191. };
  85192. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  85193. call$0() {
  85194. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  85195. t1 = _this.$this,
  85196. t2 = _this.evaluated,
  85197. t3 = t2.positional,
  85198. t4 = t2.named,
  85199. t5 = _this.callable.declaration.$arguments,
  85200. t6 = _this.nodeWithSpan;
  85201. t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  85202. declaredArguments = t5.$arguments;
  85203. t7 = declaredArguments.length;
  85204. minLength = Math.min(t3.length, t7);
  85205. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  85206. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  85207. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  85208. argument = declaredArguments[i];
  85209. t9 = argument.name;
  85210. value = t4.remove$1(0, t9);
  85211. if (value == null) {
  85212. t10 = argument.defaultValue;
  85213. value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
  85214. }
  85215. t10 = t1._evaluate0$_environment;
  85216. t11 = t8.$index(0, t9);
  85217. if (t11 == null) {
  85218. t11 = argument.defaultValue;
  85219. t11.toString;
  85220. t11 = t1._evaluate0$_expressionNode$1(t11);
  85221. }
  85222. t10.setLocalVariable$3(t9, value, t11);
  85223. }
  85224. restArgument = t5.restArgument;
  85225. if (restArgument != null) {
  85226. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  85227. t2 = t2.separator;
  85228. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  85229. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  85230. } else
  85231. argumentList = null;
  85232. result = _this.run.call$0();
  85233. if (argumentList == null)
  85234. return result;
  85235. t2 = t4.__js_helper$_length;
  85236. if (t2 === 0)
  85237. return result;
  85238. if (argumentList._argument_list$_wereKeywordsAccessed)
  85239. return result;
  85240. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  85241. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t6.get$span(t6))));
  85242. },
  85243. $signature() {
  85244. return this.V._eval$1("0()");
  85245. }
  85246. };
  85247. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  85248. call$1($name) {
  85249. return "$" + $name;
  85250. },
  85251. $signature: 5
  85252. };
  85253. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  85254. call$0() {
  85255. var t1, t2, t3, t4, _i, $returnValue;
  85256. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  85257. $returnValue = t2[_i].accept$1(t4);
  85258. if ($returnValue instanceof A.Value0)
  85259. return $returnValue;
  85260. }
  85261. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  85262. },
  85263. $signature: 42
  85264. };
  85265. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  85266. call$0() {
  85267. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  85268. },
  85269. $signature: 0
  85270. };
  85271. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  85272. call$0() {
  85273. return this.callback.call$1(this.evaluated.positional);
  85274. },
  85275. $signature: 42
  85276. };
  85277. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  85278. call$1($name) {
  85279. return "$" + $name;
  85280. },
  85281. $signature: 5
  85282. };
  85283. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  85284. call$1(value) {
  85285. return value;
  85286. },
  85287. $signature: 41
  85288. };
  85289. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  85290. call$1(value) {
  85291. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  85292. },
  85293. $signature: 41
  85294. };
  85295. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  85296. call$2(key, value) {
  85297. var _this = this,
  85298. t1 = _this.restNodeForSpan;
  85299. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  85300. _this.namedNodes.$indexSet(0, key, t1);
  85301. },
  85302. $signature: 99
  85303. };
  85304. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  85305. call$1(value) {
  85306. return value;
  85307. },
  85308. $signature: 41
  85309. };
  85310. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  85311. call$1(value) {
  85312. var t1 = this.restArgs;
  85313. return new A.ValueExpression0(value, t1.get$span(t1));
  85314. },
  85315. $signature: 55
  85316. };
  85317. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  85318. call$1(value) {
  85319. var t1 = this.restArgs;
  85320. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  85321. },
  85322. $signature: 55
  85323. };
  85324. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  85325. call$2(key, value) {
  85326. var _this = this,
  85327. t1 = _this.restArgs;
  85328. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  85329. },
  85330. $signature: 99
  85331. };
  85332. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  85333. call$1(value) {
  85334. var t1 = this.keywordRestArgs;
  85335. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  85336. },
  85337. $signature: 55
  85338. };
  85339. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  85340. call$2(key, value) {
  85341. var t2, _this = this,
  85342. t1 = _this.$this;
  85343. if (key instanceof A.SassString0)
  85344. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  85345. else {
  85346. t2 = _this.nodeWithSpan;
  85347. 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)));
  85348. }
  85349. },
  85350. $signature: 49
  85351. };
  85352. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  85353. call$0() {
  85354. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  85355. },
  85356. $signature: 0
  85357. };
  85358. A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
  85359. call$1(value) {
  85360. var t1, result;
  85361. if (typeof value == "string")
  85362. return value;
  85363. type$.Expression_2._as(value);
  85364. t1 = this.$this;
  85365. result = value.accept$1(t1);
  85366. return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
  85367. },
  85368. $signature: 59
  85369. };
  85370. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  85371. call$0() {
  85372. var t1, t2, t3, t4;
  85373. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85374. t4 = t1.__internal$_current;
  85375. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85376. }
  85377. },
  85378. $signature: 1
  85379. };
  85380. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  85381. call$1(node) {
  85382. return type$.CssStyleRule_2._is(node);
  85383. },
  85384. $signature: 6
  85385. };
  85386. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  85387. call$0() {
  85388. var t1, t2, t3, t4;
  85389. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85390. t4 = t1.__internal$_current;
  85391. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85392. }
  85393. },
  85394. $signature: 1
  85395. };
  85396. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  85397. call$1(node) {
  85398. return type$.CssStyleRule_2._is(node);
  85399. },
  85400. $signature: 6
  85401. };
  85402. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  85403. call$1(mediaQueries) {
  85404. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  85405. },
  85406. $signature: 91
  85407. };
  85408. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  85409. call$0() {
  85410. var _this = this,
  85411. t1 = _this.$this,
  85412. t2 = _this.mergedQueries;
  85413. if (t2 == null)
  85414. t2 = _this.node.queries;
  85415. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  85416. },
  85417. $signature: 1
  85418. };
  85419. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  85420. call$0() {
  85421. var t2, t3, t4,
  85422. t1 = this.$this,
  85423. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  85424. if (styleRule == null)
  85425. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  85426. t4 = t2.__internal$_current;
  85427. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  85428. }
  85429. else
  85430. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  85431. },
  85432. $signature: 1
  85433. };
  85434. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  85435. call$0() {
  85436. var t1, t2, t3, t4;
  85437. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85438. t4 = t1.__internal$_current;
  85439. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85440. }
  85441. },
  85442. $signature: 1
  85443. };
  85444. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  85445. call$1(node) {
  85446. var t1;
  85447. if (!type$.CssStyleRule_2._is(node)) {
  85448. t1 = this.mergedSources;
  85449. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  85450. } else
  85451. t1 = true;
  85452. return t1;
  85453. },
  85454. $signature: 6
  85455. };
  85456. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  85457. call$0() {
  85458. var t1 = this.$this;
  85459. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  85460. },
  85461. $signature: 1
  85462. };
  85463. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  85464. call$0() {
  85465. var t1, t2, t3, t4;
  85466. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85467. t4 = t1.__internal$_current;
  85468. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85469. }
  85470. },
  85471. $signature: 1
  85472. };
  85473. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  85474. call$1(node) {
  85475. return type$.CssStyleRule_2._is(node);
  85476. },
  85477. $signature: 6
  85478. };
  85479. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  85480. call$0() {
  85481. var t2, t3, t4,
  85482. t1 = this.$this,
  85483. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  85484. if (styleRule == null)
  85485. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  85486. t4 = t2.__internal$_current;
  85487. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  85488. }
  85489. else
  85490. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  85491. },
  85492. $signature: 1
  85493. };
  85494. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  85495. call$0() {
  85496. var t1, t2, t3, t4;
  85497. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85498. t4 = t1.__internal$_current;
  85499. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  85500. }
  85501. },
  85502. $signature: 1
  85503. };
  85504. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  85505. call$1(node) {
  85506. return type$.CssStyleRule_2._is(node);
  85507. },
  85508. $signature: 6
  85509. };
  85510. A._EvaluateVisitor__serialize_closure1.prototype = {
  85511. call$0() {
  85512. return A.serializeValue0(this.value, false, this.quote);
  85513. },
  85514. $signature: 32
  85515. };
  85516. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  85517. call$0() {
  85518. var t1 = this.expression;
  85519. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  85520. },
  85521. $signature: 206
  85522. };
  85523. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  85524. call$1(number) {
  85525. var asSlash = number.asSlash;
  85526. if (asSlash != null)
  85527. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  85528. else
  85529. return A.serializeValue0(number, true, true);
  85530. },
  85531. $signature: 207
  85532. };
  85533. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  85534. call$1(url) {
  85535. var t1 = this.$this._evaluate0$_importCache;
  85536. t1 = t1 == null ? null : t1.humanize$1(url);
  85537. return t1 == null ? url : t1;
  85538. },
  85539. $signature: 77
  85540. };
  85541. A._EvaluateVisitor__stackTrace_closure1.prototype = {
  85542. call$1(tuple) {
  85543. return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  85544. },
  85545. $signature: 208
  85546. };
  85547. A._ImportedCssVisitor1.prototype = {
  85548. visitCssAtRule$1(node) {
  85549. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  85550. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  85551. },
  85552. visitCssComment$1(node) {
  85553. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  85554. },
  85555. visitCssDeclaration$1(node) {
  85556. },
  85557. visitCssImport$1(node) {
  85558. var t2,
  85559. _s13_ = "_endOfImports",
  85560. t1 = this._evaluate0$_visitor;
  85561. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  85562. t1._evaluate0$_addChild$1(node);
  85563. 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)) {
  85564. t1._evaluate0$_addChild$1(node);
  85565. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  85566. } else {
  85567. t2 = t1._evaluate0$_outOfOrderImports;
  85568. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  85569. }
  85570. },
  85571. visitCssKeyframeBlock$1(node) {
  85572. },
  85573. visitCssMediaRule$1(node) {
  85574. var t1 = this._evaluate0$_visitor,
  85575. mediaQueries = t1._evaluate0$_mediaQueries;
  85576. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  85577. },
  85578. visitCssStyleRule$1(node) {
  85579. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  85580. },
  85581. visitCssStylesheet$1(node) {
  85582. var t1, t2, t3;
  85583. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  85584. t3 = t1.__internal$_current;
  85585. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  85586. }
  85587. },
  85588. visitCssSupportsRule$1(node) {
  85589. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  85590. }
  85591. };
  85592. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  85593. call$1(node) {
  85594. return type$.CssStyleRule_2._is(node);
  85595. },
  85596. $signature: 6
  85597. };
  85598. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  85599. call$1(node) {
  85600. var t1;
  85601. if (!type$.CssStyleRule_2._is(node))
  85602. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  85603. else
  85604. t1 = true;
  85605. return t1;
  85606. },
  85607. $signature: 6
  85608. };
  85609. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  85610. call$1(node) {
  85611. return type$.CssStyleRule_2._is(node);
  85612. },
  85613. $signature: 6
  85614. };
  85615. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  85616. call$1(node) {
  85617. return type$.CssStyleRule_2._is(node);
  85618. },
  85619. $signature: 6
  85620. };
  85621. A._EvaluationContext1.prototype = {
  85622. get$currentCallableSpan() {
  85623. var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
  85624. if (callableNode != null)
  85625. return callableNode.get$span(callableNode);
  85626. throw A.wrapException(A.StateError$(string$.No_Sasc));
  85627. },
  85628. warn$2(_, message, deprecation) {
  85629. var t1 = this._evaluate0$_visitor,
  85630. t2 = t1._evaluate0$_importSpan;
  85631. if (t2 == null) {
  85632. t2 = t1._evaluate0$_callableNode;
  85633. t2 = t2 == null ? null : t2.get$span(t2);
  85634. }
  85635. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  85636. },
  85637. $isEvaluationContext0: 1
  85638. };
  85639. A._ArgumentResults1.prototype = {};
  85640. A._LoadedStylesheet1.prototype = {};
  85641. A.EveryCssVisitor0.prototype = {
  85642. visitCssAtRule$1(node) {
  85643. var t1 = node.children;
  85644. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  85645. },
  85646. visitCssComment$1(node) {
  85647. return false;
  85648. },
  85649. visitCssDeclaration$1(node) {
  85650. return false;
  85651. },
  85652. visitCssImport$1(node) {
  85653. return false;
  85654. },
  85655. visitCssKeyframeBlock$1(node) {
  85656. var t1 = node.children;
  85657. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  85658. },
  85659. visitCssMediaRule$1(node) {
  85660. var t1 = node.children;
  85661. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  85662. },
  85663. visitCssStyleRule$1(node) {
  85664. var t1 = node.children;
  85665. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  85666. },
  85667. visitCssStylesheet$1(node) {
  85668. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  85669. },
  85670. visitCssSupportsRule$1(node) {
  85671. var t1 = node.children;
  85672. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  85673. }
  85674. };
  85675. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  85676. call$1(child) {
  85677. return child.accept$1(this.$this);
  85678. },
  85679. $signature: 6
  85680. };
  85681. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  85682. call$1(child) {
  85683. return child.accept$1(this.$this);
  85684. },
  85685. $signature: 6
  85686. };
  85687. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  85688. call$1(child) {
  85689. return child.accept$1(this.$this);
  85690. },
  85691. $signature: 6
  85692. };
  85693. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  85694. call$1(child) {
  85695. return child.accept$1(this.$this);
  85696. },
  85697. $signature: 6
  85698. };
  85699. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  85700. call$1(child) {
  85701. return child.accept$1(this.$this);
  85702. },
  85703. $signature: 6
  85704. };
  85705. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  85706. call$1(child) {
  85707. return child.accept$1(this.$this);
  85708. },
  85709. $signature: 6
  85710. };
  85711. A._NodeException.prototype = {};
  85712. A.exceptionClass_closure.prototype = {
  85713. call$0() {
  85714. 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());
  85715. A.defineGetter(jsClass, "name", null, "sass.Exception");
  85716. 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));
  85717. return jsClass;
  85718. },
  85719. $signature: 25
  85720. };
  85721. A.exceptionClass__closure.prototype = {
  85722. call$1(exception) {
  85723. return J.get$_dartException$x(exception)._span_exception$_message;
  85724. },
  85725. $signature: 221
  85726. };
  85727. A.exceptionClass__closure0.prototype = {
  85728. call$1(exception) {
  85729. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  85730. },
  85731. $signature: 221
  85732. };
  85733. A.exceptionClass__closure1.prototype = {
  85734. call$1(exception) {
  85735. var t1 = J.get$_dartException$x(exception),
  85736. t2 = J.getInterceptor$z(t1);
  85737. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  85738. },
  85739. $signature: 416
  85740. };
  85741. A.SassException0.prototype = {
  85742. get$trace(_) {
  85743. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  85744. },
  85745. get$span(_) {
  85746. return A.SourceSpanException.prototype.get$span.call(this, this);
  85747. },
  85748. withAdditionalSpan$2(span, label) {
  85749. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  85750. t2 = type$.FileSpan,
  85751. t3 = type$.String;
  85752. return new A.MultiSpanSassException0("", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), this._span_exception$_message, t1);
  85753. },
  85754. withTrace$1(trace) {
  85755. return new A.SassRuntimeException0(trace, this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, this));
  85756. },
  85757. toString$1$color(_, color) {
  85758. var t2, _i, frame, t3, _this = this,
  85759. buffer = new A.StringBuffer(""),
  85760. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  85761. buffer._contents = t1;
  85762. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  85763. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  85764. frame = t1[_i];
  85765. if (J.get$length$asx(frame) === 0)
  85766. continue;
  85767. t3 = buffer._contents += "\n";
  85768. buffer._contents = t3 + (" " + A.S(frame));
  85769. }
  85770. t1 = buffer._contents;
  85771. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85772. },
  85773. toString$0($receiver) {
  85774. return this.toString$1$color($receiver, null);
  85775. }
  85776. };
  85777. A.MultiSpanSassException0.prototype = {
  85778. withAdditionalSpan$2(span, label) {
  85779. var _this = this,
  85780. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  85781. t2 = type$.FileSpan,
  85782. t3 = type$.String,
  85783. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  85784. t4.$indexSet(0, span, label);
  85785. return new A.MultiSpanSassException0(_this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  85786. },
  85787. withTrace$1(trace) {
  85788. var _this = this,
  85789. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this);
  85790. return new A.MultiSpanSassRuntimeException0(trace, _this.primaryLabel, A.ConstantMap_ConstantMap$from(_this.secondarySpans, type$.FileSpan, type$.String), _this._span_exception$_message, t1);
  85791. },
  85792. toString$1$color(_, color) {
  85793. var t1, t2, _i, frame, _this = this,
  85794. useColor = color === true && true,
  85795. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  85796. A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  85797. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  85798. frame = t1[_i];
  85799. if (J.get$length$asx(frame) === 0)
  85800. continue;
  85801. buffer._contents += "\n";
  85802. buffer._contents += " " + A.S(frame);
  85803. }
  85804. t1 = buffer._contents;
  85805. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85806. },
  85807. toString$0($receiver) {
  85808. return this.toString$1$color($receiver, null);
  85809. },
  85810. get$primaryLabel() {
  85811. return this.primaryLabel;
  85812. },
  85813. get$secondarySpans() {
  85814. return this.secondarySpans;
  85815. }
  85816. };
  85817. A.SassRuntimeException0.prototype = {
  85818. withAdditionalSpan$2(span, label) {
  85819. var _this = this,
  85820. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  85821. t2 = type$.FileSpan,
  85822. t3 = type$.String;
  85823. return new A.MultiSpanSassRuntimeException0(_this.trace, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), _this._span_exception$_message, t1);
  85824. },
  85825. get$trace(receiver) {
  85826. return this.trace;
  85827. }
  85828. };
  85829. A.MultiSpanSassRuntimeException0.prototype = {
  85830. withAdditionalSpan$2(span, label) {
  85831. var _this = this,
  85832. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  85833. t2 = type$.FileSpan,
  85834. t3 = type$.String,
  85835. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  85836. t4.$indexSet(0, span, label);
  85837. return new A.MultiSpanSassRuntimeException0(_this.trace, _this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  85838. },
  85839. $isSassRuntimeException0: 1,
  85840. get$trace(receiver) {
  85841. return this.trace;
  85842. }
  85843. };
  85844. A.SassFormatException0.prototype = {
  85845. get$source() {
  85846. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  85847. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  85848. },
  85849. withAdditionalSpan$2(span, label) {
  85850. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  85851. t2 = type$.FileSpan,
  85852. t3 = type$.String;
  85853. return new A.MultiSpanSassFormatException0("", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([span, label], t2, t3), t2, t3), this._span_exception$_message, t1);
  85854. },
  85855. $isFormatException: 1,
  85856. $isSourceSpanFormatException: 1
  85857. };
  85858. A.MultiSpanSassFormatException0.prototype = {
  85859. get$source() {
  85860. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  85861. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  85862. },
  85863. withAdditionalSpan$2(span, label) {
  85864. var _this = this,
  85865. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  85866. t2 = type$.FileSpan,
  85867. t3 = type$.String,
  85868. t4 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, t2, t3);
  85869. t4.$indexSet(0, span, label);
  85870. return new A.MultiSpanSassFormatException0(_this.primaryLabel, A.ConstantMap_ConstantMap$from(t4, t2, t3), _this._span_exception$_message, t1);
  85871. },
  85872. $isFormatException: 1,
  85873. $isSourceSpanFormatException: 1,
  85874. $isMultiSourceSpanFormatException: 1,
  85875. $isSassFormatException0: 1
  85876. };
  85877. A.SassScriptException0.prototype = {
  85878. withSpan$1(span) {
  85879. return new A.SassException0(this.message, span);
  85880. },
  85881. toString$0(_) {
  85882. return this.message + string$.x0a_BUG_;
  85883. },
  85884. get$message(receiver) {
  85885. return this.message;
  85886. }
  85887. };
  85888. A.MultiSpanSassScriptException0.prototype = {
  85889. withSpan$1(span) {
  85890. return new A.MultiSpanSassException0(this.primaryLabel, A.ConstantMap_ConstantMap$from(this.secondarySpans, type$.FileSpan, type$.String), this.message, span);
  85891. }
  85892. };
  85893. A.Exports.prototype = {};
  85894. A.LoggerNamespace.prototype = {};
  85895. A._MakeExpressionCalculationSafe0.prototype = {
  85896. visitCalculationExpression$1(node) {
  85897. return node;
  85898. },
  85899. visitBinaryOperationExpression$1(node) {
  85900. var t1, t2, t3;
  85901. if (node.operator === B.BinaryOperator_OTG0) {
  85902. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  85903. t2 = node.get$span(node);
  85904. t3 = type$.Expression_2;
  85905. t2 = new A.FunctionExpression0("math", "max", new A.ArgumentInvocation0(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty9, type$.String, t3), null, null, t2), node.get$span(node));
  85906. t1 = t2;
  85907. } else
  85908. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(node);
  85909. return t1;
  85910. },
  85911. visitInterpolatedFunctionExpression$1(node) {
  85912. return node;
  85913. },
  85914. visitUnaryOperationExpression$1(node) {
  85915. var t1 = node.operator;
  85916. if (t1 === B.UnaryOperator_gg40)
  85917. return node.operand;
  85918. else if (t1 === B.UnaryOperator_TLI0)
  85919. return new A.BinaryOperationExpression0(B.BinaryOperator_qN20, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  85920. else
  85921. return this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(node);
  85922. }
  85923. };
  85924. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  85925. A.ExtendRule0.prototype = {
  85926. accept$1$1(visitor) {
  85927. return visitor.visitExtendRule$1(this);
  85928. },
  85929. accept$1(visitor) {
  85930. return this.accept$1$1(visitor, type$.dynamic);
  85931. },
  85932. toString$0(_) {
  85933. var t1 = this.selector.toString$0(0),
  85934. t2 = this.isOptional ? " !optional" : "";
  85935. return "@extend " + t1 + t2 + ";";
  85936. },
  85937. $isAstNode0: 1,
  85938. $isStatement0: 1,
  85939. get$span(receiver) {
  85940. return this.span;
  85941. }
  85942. };
  85943. A.Extension0.prototype = {
  85944. toString$0(_) {
  85945. var t1 = this.extender.toString$0(0),
  85946. t2 = this.target.toString$0(0),
  85947. t3 = this.isOptional ? " !optional" : "";
  85948. return t1 + " {@extend " + t2 + t3 + "}";
  85949. }
  85950. };
  85951. A.Extender0.prototype = {
  85952. assertCompatibleMediaContext$1(mediaContext) {
  85953. var expectedMediaContext,
  85954. extension = this._extension$_extension;
  85955. if (extension == null)
  85956. return;
  85957. expectedMediaContext = extension.mediaContext;
  85958. if (expectedMediaContext == null)
  85959. return;
  85960. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  85961. return;
  85962. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
  85963. },
  85964. toString$0(_) {
  85965. return A.serializeSelector0(this.selector, true);
  85966. }
  85967. };
  85968. A.ExtensionStore0.prototype = {
  85969. get$isEmpty(_) {
  85970. return this._extension_store$_extensions.__js_helper$_length === 0;
  85971. },
  85972. get$simpleSelectors() {
  85973. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  85974. },
  85975. extensionsWhereTarget$1($async$callback) {
  85976. var $async$self = this;
  85977. return A._makeSyncStarIterable(function() {
  85978. var callback = $async$callback;
  85979. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  85980. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  85981. if ($async$errorCode === 1) {
  85982. $async$currentError = $async$result;
  85983. $async$goto = $async$handler;
  85984. }
  85985. while (true)
  85986. switch ($async$goto) {
  85987. case 0:
  85988. // Function start
  85989. t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  85990. case 2:
  85991. // for condition
  85992. if (!t1.moveNext$0()) {
  85993. // goto after for
  85994. $async$goto = 3;
  85995. break;
  85996. }
  85997. t2 = t1.get$current(t1);
  85998. if (!callback.call$1(t2.key)) {
  85999. // goto for condition
  86000. $async$goto = 2;
  86001. break;
  86002. }
  86003. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  86004. case 4:
  86005. // for condition
  86006. if (!t2.moveNext$0()) {
  86007. // goto after for
  86008. $async$goto = 5;
  86009. break;
  86010. }
  86011. t3 = t2.get$current(t2);
  86012. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  86013. break;
  86014. case 6:
  86015. // then
  86016. t3 = t3.unmerge$0();
  86017. $async$goto = 9;
  86018. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  86019. case 9:
  86020. // after yield
  86021. // goto join
  86022. $async$goto = 7;
  86023. break;
  86024. case 8:
  86025. // else
  86026. $async$goto = !t3.isOptional ? 10 : 11;
  86027. break;
  86028. case 10:
  86029. // then
  86030. $async$goto = 12;
  86031. return t3;
  86032. case 12:
  86033. // after yield
  86034. case 11:
  86035. // join
  86036. case 7:
  86037. // join
  86038. // goto for condition
  86039. $async$goto = 4;
  86040. break;
  86041. case 5:
  86042. // after for
  86043. // goto for condition
  86044. $async$goto = 2;
  86045. break;
  86046. case 3:
  86047. // after for
  86048. // implicit return
  86049. return A._IterationMarker_endOfIteration();
  86050. case 1:
  86051. // rethrow
  86052. return A._IterationMarker_uncaughtError($async$currentError);
  86053. }
  86054. };
  86055. }, type$.Extension_2);
  86056. },
  86057. addSelector$2(selector, mediaContext) {
  86058. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  86059. selector = selector;
  86060. originalSelector = selector;
  86061. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  86062. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
  86063. t3.add$1(0, t1[_i]);
  86064. t1 = _this._extension_store$_extensions;
  86065. if (t1.__js_helper$_length !== 0)
  86066. try {
  86067. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  86068. } catch (exception) {
  86069. t1 = A.unwrapException(exception);
  86070. if (t1 instanceof A.SassException0) {
  86071. error = t1;
  86072. stackTrace = A.getTraceFromException(exception);
  86073. t1 = error;
  86074. t2 = J.getInterceptor$z(t1);
  86075. t3 = error;
  86076. t4 = J.getInterceptor$z(t3);
  86077. A.throwWithTrace0(new A.SassException0("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  86078. } else
  86079. throw exception;
  86080. }
  86081. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  86082. if (mediaContext != null)
  86083. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  86084. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  86085. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  86086. },
  86087. _extension_store$_registerSelector$2(list, selector) {
  86088. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  86089. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
  86090. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  86091. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  86092. simple = t6[_i1];
  86093. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  86094. if (!(simple instanceof A.PseudoSelector0))
  86095. continue;
  86096. selectorInPseudo = simple.selector;
  86097. if (selectorInPseudo != null)
  86098. this._extension_store$_registerSelector$2(selectorInPseudo, selector);
  86099. }
  86100. },
  86101. addExtension$4(extender, target, extend, mediaContext) {
  86102. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  86103. selectors = _this._extension_store$_selectors.$index(0, target),
  86104. t1 = _this._extension_store$_extensionsByExtender,
  86105. existingExtensions = t1.$index(0, target),
  86106. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  86107. 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) {
  86108. complex = t2[_i];
  86109. if (complex.accept$1(B.C__IsUselessVisitor0))
  86110. continue;
  86111. complex.get$specificity();
  86112. t11 = new A.Extender0(complex, false);
  86113. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  86114. existingExtension = sources.$index(0, complex);
  86115. if (existingExtension != null) {
  86116. sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
  86117. continue;
  86118. }
  86119. sources.$indexSet(0, complex, extension);
  86120. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  86121. t12 = t11.get$current(t11);
  86122. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  86123. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  86124. }
  86125. if (!t4 || t8) {
  86126. if (newExtensions == null)
  86127. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  86128. newExtensions.$indexSet(0, complex, extension);
  86129. }
  86130. }
  86131. if (newExtensions == null)
  86132. return;
  86133. t1 = type$.SimpleSelector_2;
  86134. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  86135. if (t8) {
  86136. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  86137. if (additionalExtensions != null)
  86138. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  86139. }
  86140. if (!t4)
  86141. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  86142. },
  86143. _extension_store$_simpleSelectors$1(complex) {
  86144. return this._simpleSelectors$body$ExtensionStore0(complex);
  86145. },
  86146. _simpleSelectors$body$ExtensionStore0($async$complex) {
  86147. var $async$self = this;
  86148. return A._makeSyncStarIterable(function() {
  86149. var complex = $async$complex;
  86150. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  86151. return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
  86152. if ($async$errorCode === 1) {
  86153. $async$currentError = $async$result;
  86154. $async$goto = $async$handler;
  86155. }
  86156. while (true)
  86157. switch ($async$goto) {
  86158. case 0:
  86159. // Function start
  86160. t1 = complex.components, t2 = t1.length, _i = 0;
  86161. case 2:
  86162. // for condition
  86163. if (!(_i < t2)) {
  86164. // goto after for
  86165. $async$goto = 4;
  86166. break;
  86167. }
  86168. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  86169. case 5:
  86170. // for condition
  86171. if (!(_i0 < t4)) {
  86172. // goto after for
  86173. $async$goto = 7;
  86174. break;
  86175. }
  86176. simple = t3[_i0];
  86177. $async$goto = 8;
  86178. return simple;
  86179. case 8:
  86180. // after yield
  86181. if (!(simple instanceof A.PseudoSelector0)) {
  86182. // goto for update
  86183. $async$goto = 6;
  86184. break;
  86185. }
  86186. selector = simple.selector;
  86187. if (selector == null) {
  86188. // goto for update
  86189. $async$goto = 6;
  86190. break;
  86191. }
  86192. t5 = selector.components, t6 = t5.length, _i1 = 0;
  86193. case 9:
  86194. // for condition
  86195. if (!(_i1 < t6)) {
  86196. // goto after for
  86197. $async$goto = 11;
  86198. break;
  86199. }
  86200. $async$goto = 12;
  86201. return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
  86202. case 12:
  86203. // after yield
  86204. case 10:
  86205. // for update
  86206. ++_i1;
  86207. // goto for condition
  86208. $async$goto = 9;
  86209. break;
  86210. case 11:
  86211. // after for
  86212. case 6:
  86213. // for update
  86214. ++_i0;
  86215. // goto for condition
  86216. $async$goto = 5;
  86217. break;
  86218. case 7:
  86219. // after for
  86220. case 3:
  86221. // for update
  86222. ++_i;
  86223. // goto for condition
  86224. $async$goto = 2;
  86225. break;
  86226. case 4:
  86227. // after for
  86228. // implicit return
  86229. return A._IterationMarker_endOfIteration();
  86230. case 1:
  86231. // rethrow
  86232. return A._IterationMarker_uncaughtError($async$currentError);
  86233. }
  86234. };
  86235. }, type$.SimpleSelector_2);
  86236. },
  86237. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  86238. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, _i2;
  86239. 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) {
  86240. extension = t1[_i];
  86241. t7 = t6.$index(0, extension.target);
  86242. t7.toString;
  86243. selectors = null;
  86244. try {
  86245. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  86246. if (selectors == null)
  86247. continue;
  86248. } catch (exception) {
  86249. t8 = A.unwrapException(exception);
  86250. if (t8 instanceof A.SassException0) {
  86251. error = t8;
  86252. stackTrace = A.getTraceFromException(exception);
  86253. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), stackTrace);
  86254. } else
  86255. throw exception;
  86256. }
  86257. t8 = J.get$first$ax(selectors);
  86258. t9 = extension.extender.selector;
  86259. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  86260. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  86261. complex = t8[_i0];
  86262. if (containsExtension && first) {
  86263. first = false;
  86264. continue;
  86265. }
  86266. t10 = extension;
  86267. t11 = t10.target;
  86268. t12 = t10.span;
  86269. t13 = t10.mediaContext;
  86270. t10 = t10.isOptional;
  86271. complex.get$specificity();
  86272. t14 = new A.Extender0(complex, false);
  86273. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  86274. existingExtension = t7.$index(0, complex);
  86275. if (existingExtension != null)
  86276. t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
  86277. else {
  86278. t7.$indexSet(0, complex, withExtender);
  86279. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  86280. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  86281. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  86282. if (newExtensions.containsKey$1(extension.target)) {
  86283. if (additionalExtensions == null)
  86284. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  86285. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
  86286. }
  86287. }
  86288. }
  86289. if (!containsExtension)
  86290. t7.remove$1(0, extension.extender);
  86291. }
  86292. return additionalExtensions;
  86293. },
  86294. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  86295. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  86296. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  86297. selector = t1.get$current(t1);
  86298. oldValue = selector.value;
  86299. try {
  86300. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  86301. } catch (exception) {
  86302. t3 = A.unwrapException(exception);
  86303. if (t3 instanceof A.SassException0) {
  86304. error = t3;
  86305. stackTrace = A.getTraceFromException(exception);
  86306. t3 = error;
  86307. t4 = J.getInterceptor$z(t3);
  86308. A.throwWithTrace0(new A.SassException0("From " + selector.value.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  86309. } else
  86310. throw exception;
  86311. }
  86312. if (oldValue === selector.value)
  86313. continue;
  86314. this._extension_store$_registerSelector$2(selector.value, selector);
  86315. }
  86316. },
  86317. addExtensions$1(extensionStores) {
  86318. var t1, t2, t3, _box_0 = {};
  86319. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  86320. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
  86321. t3 = t1.get$current(t1);
  86322. if (t3.get$isEmpty(t3))
  86323. continue;
  86324. t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
  86325. t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
  86326. }
  86327. A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
  86328. },
  86329. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  86330. var t1, t2, t3, extended, i, complex, result, t4;
  86331. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  86332. complex = t1[i];
  86333. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  86334. if (result == null) {
  86335. if (extended != null)
  86336. extended.push(complex);
  86337. } else {
  86338. if (extended == null)
  86339. if (i === 0)
  86340. extended = A._setArrayType([], t3);
  86341. else {
  86342. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  86343. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  86344. }
  86345. B.JSArray_methods.addAll$1(extended, result);
  86346. }
  86347. }
  86348. if (extended == null)
  86349. return list;
  86350. t1 = this._extension_store$_originals;
  86351. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  86352. },
  86353. _extension_store$_extendList$2(list, extensions) {
  86354. return this._extension_store$_extendList$3(list, extensions, null);
  86355. },
  86356. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  86357. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  86358. t1 = complex.leadingCombinators,
  86359. t2 = t1.length;
  86360. if (t2 > 1)
  86361. return null;
  86362. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  86363. 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) {
  86364. component = t3[i];
  86365. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  86366. if (extended == null) {
  86367. if (extendedNotExpanded != null)
  86368. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  86369. } else if (extendedNotExpanded != null)
  86370. extendedNotExpanded.push(extended);
  86371. else if (i !== 0) {
  86372. t11 = A._arrayInstanceType(t3);
  86373. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  86374. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  86375. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  86376. } else if (t2)
  86377. extendedNotExpanded = A._setArrayType([extended], t5);
  86378. else {
  86379. t11 = A._setArrayType([], t9);
  86380. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  86381. t13 = t12.get$current(t12);
  86382. t14 = t13.leadingCombinators;
  86383. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  86384. t14 = t13.components;
  86385. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  86386. }
  86387. }
  86388. extendedNotExpanded = A._setArrayType([t11], t5);
  86389. }
  86390. }
  86391. if (extendedNotExpanded == null)
  86392. return null;
  86393. _box_0.first = true;
  86394. t1 = type$.ComplexSelector_2;
  86395. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  86396. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  86397. },
  86398. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  86399. 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,
  86400. t1 = _this._extension_store$_mode,
  86401. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  86402. t2 = component.selector,
  86403. simples = t2.components;
  86404. 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) {
  86405. simple = simples[i];
  86406. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  86407. if (extended == null) {
  86408. if (options != null)
  86409. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  86410. } else {
  86411. if (options == null) {
  86412. options = A._setArrayType([], t4);
  86413. if (i !== 0) {
  86414. t12 = new A.SubListIterable(simples, 0, i, t8);
  86415. t12.SubListIterable$3(simples, 0, i, t9);
  86416. result = A.List_List$from(t12, false, t11);
  86417. result.fixed$length = Array;
  86418. result.immutable$list = Array;
  86419. t12 = result;
  86420. compound = new A.CompoundSelector0(t12, t10);
  86421. if (t12.length === 0)
  86422. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  86423. result = A.List_List$from(B.List_empty14, false, t6);
  86424. result.fixed$length = Array;
  86425. result.immutable$list = Array;
  86426. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  86427. _this._extension_store$_sourceSpecificityFor$1(compound);
  86428. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  86429. }
  86430. }
  86431. B.JSArray_methods.addAll$1(options, extended);
  86432. }
  86433. }
  86434. if (options == null)
  86435. return _null;
  86436. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  86437. return _null;
  86438. if (options.length === 1) {
  86439. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  86440. t4 = t1.get$current(t1);
  86441. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  86442. complex = t4.selector.withAdditionalCombinators$1(t2);
  86443. if (complex.accept$1(B.C__IsUselessVisitor0))
  86444. continue;
  86445. if (result == null)
  86446. result = A._setArrayType([], t3);
  86447. result.push(complex);
  86448. }
  86449. return result;
  86450. }
  86451. extenderPaths = A.paths0(options, type$.Extender_2);
  86452. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  86453. t1 = t1 === B.ExtendMode_replace_replace0;
  86454. t4 = !t1;
  86455. if (t4)
  86456. 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));
  86457. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  86458. t2 = t2.get$iterator(t2);
  86459. t5 = component.combinators;
  86460. for (; t2.moveNext$0();) {
  86461. extended = _this._extension_store$_unifyExtenders$3(t2.get$current(t2), mediaQueryContext, t10);
  86462. if (extended == null)
  86463. continue;
  86464. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  86465. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  86466. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  86467. t3.push(withCombinators);
  86468. }
  86469. }
  86470. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  86471. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  86472. },
  86473. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  86474. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  86475. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  86476. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  86477. t4 = t2.get$current(t2);
  86478. if (t4.isOriginal) {
  86479. if (originals == null)
  86480. originals = A._setArrayType([], t3);
  86481. t4 = t4.selector;
  86482. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  86483. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  86484. } else {
  86485. t4 = t4.selector;
  86486. if (t4.accept$1(B.C__IsUselessVisitor0))
  86487. return _null;
  86488. else
  86489. toUnify._queue_list$_add$1(t4);
  86490. }
  86491. }
  86492. if (originals != null)
  86493. 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));
  86494. complexes = A.unifyComplex0(toUnify, span);
  86495. if (complexes == null)
  86496. return _null;
  86497. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  86498. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  86499. return complexes;
  86500. },
  86501. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  86502. var extended,
  86503. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  86504. if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
  86505. extended = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  86506. if (extended != null)
  86507. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
  86508. }
  86509. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  86510. },
  86511. _extension_store$_extenderForSimple$1(simple) {
  86512. var t1 = simple.span;
  86513. 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);
  86514. this._extension_store$_sourceSpecificity.$index(0, simple);
  86515. return new A.Extender0(t1, true);
  86516. },
  86517. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  86518. var extended, complexes, t1, result,
  86519. selector = pseudo.selector;
  86520. if (selector == null)
  86521. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  86522. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  86523. if (extended === selector)
  86524. return null;
  86525. complexes = extended.components;
  86526. t1 = pseudo.normalizedName === "not";
  86527. 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()))
  86528. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  86529. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  86530. if (t1 && selector.components.length === 1) {
  86531. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  86532. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  86533. return result.length === 0 ? null : result;
  86534. } else
  86535. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  86536. },
  86537. _extension_store$_trim$2(selectors, isOriginal) {
  86538. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  86539. if (selectors.length > 100)
  86540. return selectors;
  86541. result = A.QueueList$(null, type$.ComplexSelector_2);
  86542. $label0$0:
  86543. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  86544. _box_0 = {};
  86545. complex1 = selectors[i];
  86546. if (isOriginal.call$1(complex1)) {
  86547. for (j = 0; j < numOriginals; ++j)
  86548. if (J.$eq$(result.$index(0, j), complex1)) {
  86549. A.rotateSlice0(result, 0, j + 1);
  86550. continue $label0$0;
  86551. }
  86552. ++numOriginals;
  86553. result.addFirst$1(complex1);
  86554. continue $label0$0;
  86555. }
  86556. _box_0.maxSpecificity = 0;
  86557. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  86558. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  86559. _box_0.maxSpecificity = maxSpecificity;
  86560. }
  86561. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  86562. continue $label0$0;
  86563. t3 = new A.SubListIterable(selectors, 0, i, t1);
  86564. t3.SubListIterable$3(selectors, 0, i, t2);
  86565. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  86566. continue $label0$0;
  86567. result.addFirst$1(complex1);
  86568. }
  86569. return result;
  86570. },
  86571. _extension_store$_sourceSpecificityFor$1(compound) {
  86572. var t1, t2, t3, specificity, _i, t4;
  86573. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  86574. t4 = t3.$index(0, t1[_i]);
  86575. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  86576. }
  86577. return specificity;
  86578. },
  86579. clone$0() {
  86580. var t2, t3, t4, _this = this,
  86581. t1 = type$.SimpleSelector_2,
  86582. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  86583. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  86584. oldToNewSelectors = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList_2);
  86585. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  86586. t2 = type$.Extension_2;
  86587. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  86588. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  86589. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
  86590. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  86591. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  86592. t4.addAll$1(0, _this._extension_store$_originals);
  86593. return new A.Tuple2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList_2);
  86594. },
  86595. get$_extension_store$_extensions() {
  86596. return this._extension_store$_extensions;
  86597. },
  86598. get$_extension_store$_sourceSpecificity() {
  86599. return this._extension_store$_sourceSpecificity;
  86600. }
  86601. };
  86602. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  86603. call$1(extension) {
  86604. return !extension.isOptional;
  86605. },
  86606. $signature: 417
  86607. };
  86608. A.ExtensionStore__registerSelector_closure0.prototype = {
  86609. call$0() {
  86610. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  86611. },
  86612. $signature: 418
  86613. };
  86614. A.ExtensionStore_addExtension_closure2.prototype = {
  86615. call$0() {
  86616. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  86617. },
  86618. $signature: 128
  86619. };
  86620. A.ExtensionStore_addExtension_closure3.prototype = {
  86621. call$0() {
  86622. return A._setArrayType([], type$.JSArray_Extension_2);
  86623. },
  86624. $signature: 222
  86625. };
  86626. A.ExtensionStore_addExtension_closure4.prototype = {
  86627. call$0() {
  86628. return this.complex.get$specificity();
  86629. },
  86630. $signature: 12
  86631. };
  86632. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  86633. call$0() {
  86634. return A._setArrayType([], type$.JSArray_Extension_2);
  86635. },
  86636. $signature: 222
  86637. };
  86638. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  86639. call$0() {
  86640. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  86641. },
  86642. $signature: 128
  86643. };
  86644. A.ExtensionStore_addExtensions_closure1.prototype = {
  86645. call$2(target, newSources) {
  86646. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  86647. if (target instanceof A.PlaceholderSelector0) {
  86648. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  86649. t1 = first === 45 || first === 95;
  86650. } else
  86651. t1 = false;
  86652. if (t1)
  86653. return;
  86654. t1 = _this.$this;
  86655. extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
  86656. t2 = extensionsForTarget == null;
  86657. if (!t2) {
  86658. t3 = _this._box_0;
  86659. t4 = t3.extensionsToExtend;
  86660. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
  86661. }
  86662. selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
  86663. t3 = selectorsForTarget != null;
  86664. if (t3) {
  86665. t4 = _this._box_0;
  86666. t5 = t4.selectorsToExtend;
  86667. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
  86668. }
  86669. t1 = t1._extension_store$_extensions;
  86670. existingSources = t1.$index(0, target);
  86671. if (existingSources == null) {
  86672. t4 = type$.ComplexSelector_2;
  86673. t5 = type$.Extension_2;
  86674. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  86675. if (!t2 || t3) {
  86676. t1 = _this._box_0;
  86677. t2 = t1.newExtensions;
  86678. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  86679. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  86680. }
  86681. } else
  86682. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  86683. },
  86684. $signature: 421
  86685. };
  86686. A.ExtensionStore_addExtensions__closure4.prototype = {
  86687. call$2(extender, extension) {
  86688. var t2, _this = this,
  86689. t1 = _this.existingSources;
  86690. if (t1.containsKey$1(extender)) {
  86691. t2 = t1.$index(0, extender);
  86692. extension = A.MergedExtension_merge0(t2, extension);
  86693. t1.$indexSet(0, extender, extension);
  86694. } else
  86695. t1.$indexSet(0, extender, extension);
  86696. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  86697. t1 = _this._box_0;
  86698. t2 = t1.newExtensions;
  86699. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  86700. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
  86701. }
  86702. },
  86703. $signature: 422
  86704. };
  86705. A.ExtensionStore_addExtensions___closure0.prototype = {
  86706. call$0() {
  86707. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  86708. },
  86709. $signature: 128
  86710. };
  86711. A.ExtensionStore_addExtensions_closure2.prototype = {
  86712. call$1(newExtensions) {
  86713. var t1 = this._box_0,
  86714. t2 = this.$this;
  86715. A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
  86716. A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
  86717. },
  86718. $signature: 423
  86719. };
  86720. A.ExtensionStore_addExtensions__closure2.prototype = {
  86721. call$1(extensionsToExtend) {
  86722. return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  86723. },
  86724. $signature: 424
  86725. };
  86726. A.ExtensionStore_addExtensions__closure3.prototype = {
  86727. call$1(selectorsToExtend) {
  86728. return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  86729. },
  86730. $signature: 425
  86731. };
  86732. A.ExtensionStore__extendComplex_closure0.prototype = {
  86733. call$1(path) {
  86734. var t1 = this.complex;
  86735. 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);
  86736. },
  86737. $signature: 426
  86738. };
  86739. A.ExtensionStore__extendComplex__closure0.prototype = {
  86740. call$1(outputComplex) {
  86741. var _this = this,
  86742. t1 = _this._box_0;
  86743. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  86744. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  86745. t1.first = false;
  86746. return outputComplex;
  86747. },
  86748. $signature: 48
  86749. };
  86750. A.ExtensionStore__extendCompound_closure2.prototype = {
  86751. call$1(extender) {
  86752. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  86753. },
  86754. $signature: 428
  86755. };
  86756. A.ExtensionStore__extendCompound_closure3.prototype = {
  86757. call$1(_) {
  86758. return false;
  86759. },
  86760. $signature: 18
  86761. };
  86762. A.ExtensionStore__extendCompound_closure4.prototype = {
  86763. call$1(complex) {
  86764. return complex.$eq(0, this.original);
  86765. },
  86766. $signature: 18
  86767. };
  86768. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  86769. call$1(simple) {
  86770. var t1, t2,
  86771. extensionsForSimple = this.extensions.$index(0, simple);
  86772. if (extensionsForSimple == null)
  86773. return null;
  86774. t1 = this.targetsUsed;
  86775. if (t1 != null)
  86776. t1.add$1(0, simple);
  86777. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  86778. t2 = this.$this;
  86779. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  86780. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  86781. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  86782. t1.push(t2.get$current(t2).extender);
  86783. return t1;
  86784. },
  86785. $signature: 429
  86786. };
  86787. A.ExtensionStore__extendSimple_closure1.prototype = {
  86788. call$1(pseudo) {
  86789. var t1 = this.withoutPseudo.call$1(pseudo);
  86790. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  86791. },
  86792. $signature: 430
  86793. };
  86794. A.ExtensionStore__extendSimple_closure2.prototype = {
  86795. call$1(result) {
  86796. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  86797. },
  86798. $signature: 431
  86799. };
  86800. A.ExtensionStore__extendPseudo_closure4.prototype = {
  86801. call$1(complex) {
  86802. return complex.components.length > 1;
  86803. },
  86804. $signature: 18
  86805. };
  86806. A.ExtensionStore__extendPseudo_closure5.prototype = {
  86807. call$1(complex) {
  86808. return complex.components.length === 1;
  86809. },
  86810. $signature: 18
  86811. };
  86812. A.ExtensionStore__extendPseudo_closure6.prototype = {
  86813. call$1(complex) {
  86814. return complex.components.length <= 1;
  86815. },
  86816. $signature: 18
  86817. };
  86818. A.ExtensionStore__extendPseudo_closure7.prototype = {
  86819. call$1(complex) {
  86820. var innerPseudo, innerSelector,
  86821. t1 = complex.get$singleCompound();
  86822. if (t1 == null)
  86823. innerPseudo = null;
  86824. else {
  86825. t1 = t1.components;
  86826. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  86827. }
  86828. if (!(innerPseudo instanceof A.PseudoSelector0))
  86829. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  86830. innerSelector = innerPseudo.selector;
  86831. if (innerSelector == null)
  86832. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  86833. t1 = this.pseudo;
  86834. switch (t1.normalizedName) {
  86835. case "not":
  86836. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  86837. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  86838. return innerSelector.components;
  86839. case "is":
  86840. case "matches":
  86841. case "where":
  86842. case "any":
  86843. case "current":
  86844. case "nth-child":
  86845. case "nth-last-child":
  86846. if (innerPseudo.name !== t1.name)
  86847. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  86848. if (innerPseudo.argument != t1.argument)
  86849. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  86850. return innerSelector.components;
  86851. case "has":
  86852. case "host":
  86853. case "host-context":
  86854. case "slotted":
  86855. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  86856. default:
  86857. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  86858. }
  86859. },
  86860. $signature: 432
  86861. };
  86862. A.ExtensionStore__extendPseudo_closure8.prototype = {
  86863. call$1(complex) {
  86864. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  86865. },
  86866. $signature: 433
  86867. };
  86868. A.ExtensionStore__trim_closure1.prototype = {
  86869. call$1(complex2) {
  86870. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  86871. },
  86872. $signature: 18
  86873. };
  86874. A.ExtensionStore__trim_closure2.prototype = {
  86875. call$1(complex2) {
  86876. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  86877. },
  86878. $signature: 18
  86879. };
  86880. A.ExtensionStore_clone_closure0.prototype = {
  86881. call$2(simple, selectors) {
  86882. var t2, t3, t4, t5, t6, t7, newSelector, mediaContext, _this = this,
  86883. t1 = type$.ModifiableBox_SelectorList_2,
  86884. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  86885. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  86886. 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();) {
  86887. t7 = t2.get$current(t2);
  86888. newSelector = new A.ModifiableBox0(t7.value, t1);
  86889. newSelectorSet.add$1(0, newSelector);
  86890. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  86891. mediaContext = t5.$index(0, t7);
  86892. if (mediaContext != null)
  86893. t6.$indexSet(0, newSelector, mediaContext);
  86894. }
  86895. },
  86896. $signature: 434
  86897. };
  86898. A.FiberClass.prototype = {};
  86899. A.Fiber.prototype = {};
  86900. A.NodeToDartFileImporter.prototype = {
  86901. canonicalize$1(_, url) {
  86902. var result, t1, resultUrl;
  86903. if (url.get$scheme() === "file")
  86904. return $.$get$_filesystemImporter0().canonicalize$1(0, url);
  86905. result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  86906. if (result == null)
  86907. return null;
  86908. t1 = self.Promise;
  86909. if (result instanceof t1)
  86910. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  86911. else {
  86912. t1 = self.URL;
  86913. if (!(result instanceof t1))
  86914. A.jsThrow(new self.Error(string$.The_fie));
  86915. }
  86916. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  86917. if (resultUrl.get$scheme() !== "file")
  86918. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  86919. return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
  86920. },
  86921. load$1(_, url) {
  86922. return $.$get$_filesystemImporter0().load$1(0, url);
  86923. }
  86924. };
  86925. A.FilesystemImporter0.prototype = {
  86926. canonicalize$1(_, url) {
  86927. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  86928. return null;
  86929. return A.NullableExtension_andThen0(A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure0());
  86930. },
  86931. load$1(_, url) {
  86932. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  86933. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  86934. },
  86935. toString$0(_) {
  86936. return this._filesystem$_loadPath;
  86937. }
  86938. };
  86939. A.FilesystemImporter_canonicalize_closure0.prototype = {
  86940. call$1(resolved) {
  86941. var t1, t2, t0, _null = null;
  86942. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  86943. t1 = $.$get$context();
  86944. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  86945. t0 = t2;
  86946. t2 = t1;
  86947. t1 = t0;
  86948. } else {
  86949. t1 = $.$get$context();
  86950. t2 = t1.canonicalize$1(0, resolved);
  86951. t0 = t2;
  86952. t2 = t1;
  86953. t1 = t0;
  86954. }
  86955. return t2.toUri$1(t1);
  86956. },
  86957. $signature: 143
  86958. };
  86959. A.ForRule0.prototype = {
  86960. accept$1$1(visitor) {
  86961. return visitor.visitForRule$1(this);
  86962. },
  86963. accept$1(visitor) {
  86964. return this.accept$1$1(visitor, type$.dynamic);
  86965. },
  86966. toString$0(_) {
  86967. var _this = this,
  86968. t1 = _this.from.toString$0(0),
  86969. t2 = _this.isExclusive ? "to" : "through",
  86970. t3 = _this.children;
  86971. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  86972. },
  86973. get$span(receiver) {
  86974. return this.span;
  86975. }
  86976. };
  86977. A.ForwardRule0.prototype = {
  86978. accept$1$1(visitor) {
  86979. return visitor.visitForwardRule$1(this);
  86980. },
  86981. accept$1(visitor) {
  86982. return this.accept$1$1(visitor, type$.dynamic);
  86983. },
  86984. toString$0(_) {
  86985. var t2, prefix, _this = this,
  86986. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  86987. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  86988. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  86989. if (shownMixinsAndFunctions != null) {
  86990. t2 = _this.shownVariables;
  86991. t2.toString;
  86992. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  86993. t1 = t2;
  86994. } else {
  86995. if (hiddenMixinsAndFunctions != null) {
  86996. t2 = hiddenMixinsAndFunctions._base;
  86997. t2 = t2.get$isNotEmpty(t2);
  86998. } else
  86999. t2 = false;
  87000. if (t2) {
  87001. t2 = _this.hiddenVariables;
  87002. t2.toString;
  87003. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  87004. t1 = t2;
  87005. }
  87006. }
  87007. prefix = _this.prefix;
  87008. if (prefix != null)
  87009. t1 += " as " + prefix + "*";
  87010. t2 = _this.configuration;
  87011. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  87012. return t1.charCodeAt(0) == 0 ? t1 : t1;
  87013. },
  87014. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  87015. var t2,
  87016. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  87017. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  87018. t1.push("$" + t2.get$current(t2));
  87019. return B.JSArray_methods.join$1(t1, ", ");
  87020. },
  87021. $isAstNode0: 1,
  87022. $isStatement0: 1,
  87023. get$span(receiver) {
  87024. return this.span;
  87025. }
  87026. };
  87027. A.ForwardedModuleView0.prototype = {
  87028. get$url(_) {
  87029. var t1 = this._forwarded_view0$_inner;
  87030. return t1.get$url(t1);
  87031. },
  87032. get$upstream() {
  87033. return this._forwarded_view0$_inner.get$upstream();
  87034. },
  87035. get$extensionStore() {
  87036. return this._forwarded_view0$_inner.get$extensionStore();
  87037. },
  87038. get$css(_) {
  87039. var t1 = this._forwarded_view0$_inner;
  87040. return t1.get$css(t1);
  87041. },
  87042. get$transitivelyContainsCss() {
  87043. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  87044. },
  87045. get$transitivelyContainsExtensions() {
  87046. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  87047. },
  87048. setVariable$3($name, value, nodeWithSpan) {
  87049. var prefix,
  87050. _s19_ = "Undefined variable.",
  87051. t1 = this._forwarded_view0$_rule,
  87052. shownVariables = t1.shownVariables,
  87053. hiddenVariables = t1.hiddenVariables;
  87054. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  87055. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87056. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  87057. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87058. prefix = t1.prefix;
  87059. if (prefix != null) {
  87060. if (!B.JSString_methods.startsWith$1($name, prefix))
  87061. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  87062. $name = B.JSString_methods.substring$1($name, prefix.length);
  87063. }
  87064. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  87065. },
  87066. variableIdentity$1($name) {
  87067. var prefix = this._forwarded_view0$_rule.prefix;
  87068. if (prefix != null)
  87069. $name = B.JSString_methods.substring$1($name, prefix.length);
  87070. return this._forwarded_view0$_inner.variableIdentity$1($name);
  87071. },
  87072. $eq(_, other) {
  87073. if (other == null)
  87074. return false;
  87075. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  87076. },
  87077. get$hashCode(_) {
  87078. var t1 = this._forwarded_view0$_inner;
  87079. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  87080. },
  87081. cloneCss$0() {
  87082. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  87083. },
  87084. toString$0(_) {
  87085. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  87086. },
  87087. $isModule0: 1,
  87088. get$variables() {
  87089. return this.variables;
  87090. },
  87091. get$variableNodes() {
  87092. return this.variableNodes;
  87093. },
  87094. get$functions(receiver) {
  87095. return this.functions;
  87096. },
  87097. get$mixins() {
  87098. return this.mixins;
  87099. }
  87100. };
  87101. A.FunctionExpression0.prototype = {
  87102. accept$1$1(visitor) {
  87103. return visitor.visitFunctionExpression$1(this);
  87104. },
  87105. accept$1(visitor) {
  87106. return this.accept$1$1(visitor, type$.dynamic);
  87107. },
  87108. toString$0(_) {
  87109. var t1 = this.namespace;
  87110. t1 = t1 != null ? "" + (t1 + ".") : "";
  87111. t1 += this.originalName + this.$arguments.toString$0(0);
  87112. return t1.charCodeAt(0) == 0 ? t1 : t1;
  87113. },
  87114. $isExpression0: 1,
  87115. $isAstNode0: 1,
  87116. get$span(receiver) {
  87117. return this.span;
  87118. }
  87119. };
  87120. A.JSFunction0.prototype = {};
  87121. A.SupportsFunction0.prototype = {
  87122. toString$0(_) {
  87123. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  87124. },
  87125. $isAstNode0: 1,
  87126. get$span(receiver) {
  87127. return this.span;
  87128. }
  87129. };
  87130. A.functionClass_closure.prototype = {
  87131. call$0() {
  87132. var t1 = type$.JSClass,
  87133. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  87134. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  87135. return jsClass;
  87136. },
  87137. $signature: 25
  87138. };
  87139. A.functionClass__closure.prototype = {
  87140. call$3($self, signature, callback) {
  87141. var paren = B.JSString_methods.indexOf$1(signature, "(");
  87142. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  87143. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  87144. 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));
  87145. },
  87146. "call*": "call$3",
  87147. $requiredArgCount: 3,
  87148. $signature: 435
  87149. };
  87150. A.functionClass__closure0.prototype = {
  87151. call$1(_) {
  87152. return B.C__SassNull0;
  87153. },
  87154. $signature: 3
  87155. };
  87156. A.SassFunction0.prototype = {
  87157. accept$1$1(visitor) {
  87158. var t1, t2;
  87159. if (!visitor._serialize0$_inspect)
  87160. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  87161. t1 = visitor._serialize0$_buffer;
  87162. t1.write$1(0, "get-function(");
  87163. t2 = this.callable;
  87164. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  87165. t1.writeCharCode$1(41);
  87166. return null;
  87167. },
  87168. accept$1(visitor) {
  87169. return this.accept$1$1(visitor, type$.dynamic);
  87170. },
  87171. assertFunction$1($name) {
  87172. return this;
  87173. },
  87174. $eq(_, other) {
  87175. if (other == null)
  87176. return false;
  87177. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  87178. },
  87179. get$hashCode(_) {
  87180. var t1 = this.callable;
  87181. return t1.get$hashCode(t1);
  87182. }
  87183. };
  87184. A.FunctionRule0.prototype = {
  87185. accept$1$1(visitor) {
  87186. return visitor.visitFunctionRule$1(this);
  87187. },
  87188. accept$1(visitor) {
  87189. return this.accept$1$1(visitor, type$.dynamic);
  87190. },
  87191. toString$0(_) {
  87192. var t1 = this.children;
  87193. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  87194. }
  87195. };
  87196. A.unifyComplex_closure0.prototype = {
  87197. call$1(complex) {
  87198. return complex.lineBreak;
  87199. },
  87200. $signature: 18
  87201. };
  87202. A._weaveParents_closure3.prototype = {
  87203. call$2(group1, group2) {
  87204. var t1, unified;
  87205. if (B.C_ListEquality.equals$2(0, group1, group2))
  87206. return group1;
  87207. if (A._complexIsParentSuperselector0(group1, group2))
  87208. return group2;
  87209. if (A._complexIsParentSuperselector0(group2, group1))
  87210. return group1;
  87211. if (!A._mustUnify0(group1, group2))
  87212. return null;
  87213. t1 = this.span;
  87214. 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);
  87215. if (unified == null)
  87216. return null;
  87217. t1 = J.getInterceptor$asx(unified);
  87218. if (t1.get$length(unified) > 1)
  87219. return null;
  87220. return t1.get$first(unified).components;
  87221. },
  87222. $signature: 436
  87223. };
  87224. A._weaveParents_closure4.prototype = {
  87225. call$1(sequence) {
  87226. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  87227. },
  87228. $signature: 437
  87229. };
  87230. A._weaveParents_closure5.prototype = {
  87231. call$1(sequence) {
  87232. return sequence.get$length(sequence) === 0;
  87233. },
  87234. $signature: 218
  87235. };
  87236. A._weaveParents_closure6.prototype = {
  87237. call$1(choice) {
  87238. return J.get$isNotEmpty$asx(choice);
  87239. },
  87240. $signature: 438
  87241. };
  87242. A._mustUnify_closure0.prototype = {
  87243. call$1(component) {
  87244. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  87245. },
  87246. $signature: 46
  87247. };
  87248. A._mustUnify__closure0.prototype = {
  87249. call$1(simple) {
  87250. var t1;
  87251. if (!(simple instanceof A.IDSelector0))
  87252. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  87253. else
  87254. t1 = true;
  87255. return t1 && this.uniqueSelectors.contains$1(0, simple);
  87256. },
  87257. $signature: 14
  87258. };
  87259. A.paths_closure0.prototype = {
  87260. call$2(paths, choice) {
  87261. var t1 = this.T;
  87262. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  87263. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  87264. },
  87265. $signature() {
  87266. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  87267. }
  87268. };
  87269. A.paths__closure0.prototype = {
  87270. call$1(option) {
  87271. var t1 = this.T;
  87272. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  87273. },
  87274. $signature() {
  87275. return this.T._eval$1("Iterable<List<0>>(0)");
  87276. }
  87277. };
  87278. A.paths___closure0.prototype = {
  87279. call$1(path) {
  87280. var t1 = A.List_List$of(path, true, this.T);
  87281. t1.push(this.option);
  87282. return t1;
  87283. },
  87284. $signature() {
  87285. return this.T._eval$1("List<0>(List<0>)");
  87286. }
  87287. };
  87288. A.listIsSuperselector_closure0.prototype = {
  87289. call$1(complex1) {
  87290. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  87291. },
  87292. $signature: 18
  87293. };
  87294. A.listIsSuperselector__closure0.prototype = {
  87295. call$1(complex2) {
  87296. return complex2.isSuperselector$1(this.complex1);
  87297. },
  87298. $signature: 18
  87299. };
  87300. A.complexIsSuperselector_closure1.prototype = {
  87301. call$1($parent) {
  87302. return $parent.combinators.length > 1;
  87303. },
  87304. $signature: 46
  87305. };
  87306. A.complexIsSuperselector_closure2.prototype = {
  87307. call$1(component) {
  87308. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  87309. },
  87310. $signature: 46
  87311. };
  87312. A._compatibleWithPreviousCombinator_closure0.prototype = {
  87313. call$1(component) {
  87314. var t1 = component.combinators,
  87315. t2 = A.IterableExtension_get_firstOrNull(t1);
  87316. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt0)) {
  87317. t1 = A.IterableExtension_get_firstOrNull(t1);
  87318. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF0);
  87319. } else
  87320. t1 = true;
  87321. return t1;
  87322. },
  87323. $signature: 46
  87324. };
  87325. A._selectorPseudoIsSuperselector_closure6.prototype = {
  87326. call$1(selector2) {
  87327. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87328. },
  87329. $signature: 70
  87330. };
  87331. A._selectorPseudoIsSuperselector_closure7.prototype = {
  87332. call$1(complex1) {
  87333. var t1, t2, t3;
  87334. if (complex1.leadingCombinators.length === 0) {
  87335. t1 = complex1.components;
  87336. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  87337. t3 = this.parents;
  87338. if (t3 != null)
  87339. B.JSArray_methods.addAll$1(t2, t3);
  87340. t3 = this.compound2;
  87341. t2.push(new A.ComplexSelectorComponent0(t3, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t3.span));
  87342. t2 = A.complexIsSuperselector0(t1, t2);
  87343. t1 = t2;
  87344. } else
  87345. t1 = false;
  87346. return t1;
  87347. },
  87348. $signature: 18
  87349. };
  87350. A._selectorPseudoIsSuperselector_closure8.prototype = {
  87351. call$1(selector2) {
  87352. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87353. },
  87354. $signature: 70
  87355. };
  87356. A._selectorPseudoIsSuperselector_closure9.prototype = {
  87357. call$1(selector2) {
  87358. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87359. },
  87360. $signature: 70
  87361. };
  87362. A._selectorPseudoIsSuperselector_closure10.prototype = {
  87363. call$1(complex) {
  87364. if (complex.accept$1(B._IsBogusVisitor_true0))
  87365. return false;
  87366. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  87367. },
  87368. $signature: 18
  87369. };
  87370. A._selectorPseudoIsSuperselector__closure0.prototype = {
  87371. call$1(simple2) {
  87372. var selector2, _this = this;
  87373. if (simple2 instanceof A.TypeSelector0)
  87374. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  87375. else if (simple2 instanceof A.IDSelector0)
  87376. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  87377. else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
  87378. selector2 = simple2.selector;
  87379. if (selector2 == null)
  87380. return false;
  87381. return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  87382. } else
  87383. return false;
  87384. },
  87385. $signature: 14
  87386. };
  87387. A._selectorPseudoIsSuperselector___closure1.prototype = {
  87388. call$1(simple1) {
  87389. var t1;
  87390. if (simple1 instanceof A.TypeSelector0) {
  87391. t1 = this.simple2.name.$eq(0, simple1.name);
  87392. t1 = !t1;
  87393. } else
  87394. t1 = false;
  87395. return t1;
  87396. },
  87397. $signature: 14
  87398. };
  87399. A._selectorPseudoIsSuperselector___closure2.prototype = {
  87400. call$1(simple1) {
  87401. var t1;
  87402. if (simple1 instanceof A.IDSelector0) {
  87403. t1 = simple1.name;
  87404. t1 = this.simple2.name !== t1;
  87405. } else
  87406. t1 = false;
  87407. return t1;
  87408. },
  87409. $signature: 14
  87410. };
  87411. A._selectorPseudoIsSuperselector_closure11.prototype = {
  87412. call$1(selector2) {
  87413. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  87414. return t1;
  87415. },
  87416. $signature: 70
  87417. };
  87418. A._selectorPseudoIsSuperselector_closure12.prototype = {
  87419. call$1(pseudo2) {
  87420. var t1, selector2;
  87421. if (!(pseudo2 instanceof A.PseudoSelector0))
  87422. return false;
  87423. t1 = this.pseudo1;
  87424. if (pseudo2.name !== t1.name)
  87425. return false;
  87426. if (pseudo2.argument != t1.argument)
  87427. return false;
  87428. selector2 = pseudo2.selector;
  87429. if (selector2 == null)
  87430. return false;
  87431. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  87432. },
  87433. $signature: 14
  87434. };
  87435. A._selectorPseudoArgs_closure1.prototype = {
  87436. call$1(pseudo) {
  87437. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  87438. },
  87439. $signature: 440
  87440. };
  87441. A._selectorPseudoArgs_closure2.prototype = {
  87442. call$1(pseudo) {
  87443. return pseudo.selector;
  87444. },
  87445. $signature: 441
  87446. };
  87447. A.globalFunctions_closure0.prototype = {
  87448. call$1($arguments) {
  87449. var t1 = J.getInterceptor$asx($arguments);
  87450. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  87451. },
  87452. $signature: 3
  87453. };
  87454. A.IDSelector0.prototype = {
  87455. get$specificity() {
  87456. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  87457. },
  87458. accept$1$1(visitor) {
  87459. return visitor.visitIDSelector$1(this);
  87460. },
  87461. accept$1(visitor) {
  87462. return this.accept$1$1(visitor, type$.dynamic);
  87463. },
  87464. addSuffix$1(suffix) {
  87465. return new A.IDSelector0(this.name + suffix, this.span);
  87466. },
  87467. unify$1(compound) {
  87468. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  87469. return null;
  87470. return this.super$SimpleSelector$unify0(compound);
  87471. },
  87472. $eq(_, other) {
  87473. if (other == null)
  87474. return false;
  87475. return other instanceof A.IDSelector0 && other.name === this.name;
  87476. },
  87477. get$hashCode(_) {
  87478. return B.JSString_methods.get$hashCode(this.name);
  87479. }
  87480. };
  87481. A.IDSelector_unify_closure0.prototype = {
  87482. call$1(simple) {
  87483. var t1;
  87484. if (simple instanceof A.IDSelector0) {
  87485. t1 = simple.name;
  87486. t1 = this.$this.name !== t1;
  87487. } else
  87488. t1 = false;
  87489. return t1;
  87490. },
  87491. $signature: 14
  87492. };
  87493. A.IfExpression0.prototype = {
  87494. accept$1$1(visitor) {
  87495. return visitor.visitIfExpression$1(this);
  87496. },
  87497. accept$1(visitor) {
  87498. return this.accept$1$1(visitor, type$.dynamic);
  87499. },
  87500. toString$0(_) {
  87501. return "if" + this.$arguments.toString$0(0);
  87502. },
  87503. $isExpression0: 1,
  87504. $isAstNode0: 1,
  87505. get$span(receiver) {
  87506. return this.span;
  87507. }
  87508. };
  87509. A.IfRule0.prototype = {
  87510. accept$1$1(visitor) {
  87511. return visitor.visitIfRule$1(this);
  87512. },
  87513. accept$1(visitor) {
  87514. return this.accept$1$1(visitor, type$.dynamic);
  87515. },
  87516. toString$0(_) {
  87517. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  87518. lastClause = this.lastClause;
  87519. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  87520. },
  87521. $isAstNode0: 1,
  87522. $isStatement0: 1,
  87523. get$span(receiver) {
  87524. return this.span;
  87525. }
  87526. };
  87527. A.IfRule_toString_closure0.prototype = {
  87528. call$2(index, clause) {
  87529. var t1 = index === 0 ? "if" : "else if";
  87530. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  87531. },
  87532. $signature: 442
  87533. };
  87534. A.IfRuleClause0.prototype = {};
  87535. A.IfRuleClause$__closure0.prototype = {
  87536. call$1(child) {
  87537. var t1;
  87538. if (!(child instanceof A.VariableDeclaration0))
  87539. if (!(child instanceof A.FunctionRule0))
  87540. if (!(child instanceof A.MixinRule0))
  87541. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  87542. else
  87543. t1 = true;
  87544. else
  87545. t1 = true;
  87546. else
  87547. t1 = true;
  87548. return t1;
  87549. },
  87550. $signature: 224
  87551. };
  87552. A.IfRuleClause$___closure0.prototype = {
  87553. call$1($import) {
  87554. return $import instanceof A.DynamicImport0;
  87555. },
  87556. $signature: 225
  87557. };
  87558. A.IfClause0.prototype = {
  87559. toString$0(_) {
  87560. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  87561. }
  87562. };
  87563. A.ElseClause0.prototype = {
  87564. toString$0(_) {
  87565. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  87566. }
  87567. };
  87568. A.ImmutableList.prototype = {};
  87569. A.ImmutableMap.prototype = {};
  87570. A.immutableMapToDartMap_closure.prototype = {
  87571. call$3(value, key, _) {
  87572. this.dartMap.$indexSet(0, key, value);
  87573. },
  87574. "call*": "call$3",
  87575. $requiredArgCount: 3,
  87576. $signature: 445
  87577. };
  87578. A.NodeImporter.prototype = {
  87579. loadRelative$3(url, previous, forImport) {
  87580. var t1, t2, _null = null;
  87581. if ($.$get$url().style.rootLength$1(url) > 0) {
  87582. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  87583. return _null;
  87584. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  87585. }
  87586. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  87587. return _null;
  87588. t1 = $.$get$context();
  87589. t2 = t1.style;
  87590. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  87591. },
  87592. load$3(_, url, previous, forImport) {
  87593. var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
  87594. previousString = _this._previousToString$1(previous);
  87595. for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
  87596. importer = t1[_i];
  87597. context = {options: t4._as(t3), fromImport: forImport};
  87598. J.set$context$x(J.get$options$x(context), context);
  87599. value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
  87600. if (value != null)
  87601. return _this._handleImportResult$4(url, previous, value, forImport);
  87602. }
  87603. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  87604. },
  87605. loadAsync$3(url, previous, forImport) {
  87606. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  87607. },
  87608. loadAsync$body$NodeImporter(url, previous, forImport) {
  87609. var $async$goto = 0,
  87610. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
  87611. $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
  87612. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87613. if ($async$errorCode === 1)
  87614. return A._asyncRethrow($async$result, $async$completer);
  87615. while (true)
  87616. switch ($async$goto) {
  87617. case 0:
  87618. // Function start
  87619. previousString = $async$self._previousToString$1(previous);
  87620. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  87621. case 3:
  87622. // for condition
  87623. if (!(_i < t2)) {
  87624. // goto after for
  87625. $async$goto = 5;
  87626. break;
  87627. }
  87628. $async$goto = 6;
  87629. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  87630. case 6:
  87631. // returning from await.
  87632. value = $async$result;
  87633. if (value != null) {
  87634. $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
  87635. // goto return
  87636. $async$goto = 1;
  87637. break;
  87638. }
  87639. case 4:
  87640. // for update
  87641. ++_i;
  87642. // goto for condition
  87643. $async$goto = 3;
  87644. break;
  87645. case 5:
  87646. // after for
  87647. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  87648. // goto return
  87649. $async$goto = 1;
  87650. break;
  87651. case 1:
  87652. // return
  87653. return A._asyncReturn($async$returnValue, $async$completer);
  87654. }
  87655. });
  87656. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  87657. },
  87658. _previousToString$1(previous) {
  87659. if (previous == null)
  87660. return "stdin";
  87661. if (previous.get$scheme() === "file")
  87662. return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  87663. return previous.toString$0(0);
  87664. },
  87665. _resolveLoadPathFromUrl$2(url, forImport) {
  87666. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  87667. },
  87668. _resolveLoadPath$2(path, forImport) {
  87669. var t1, t2, _i, t3, result, _null = null,
  87670. cwdResult = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  87671. if (cwdResult != null)
  87672. return cwdResult;
  87673. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  87674. t3 = A.join(t1[_i], path, _null);
  87675. result = this._tryPath$2($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  87676. if (result != null)
  87677. return result;
  87678. }
  87679. return _null;
  87680. },
  87681. _tryPath$2(path, forImport) {
  87682. var t1;
  87683. if (forImport) {
  87684. t1 = type$.nullable_Object;
  87685. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  87686. } else
  87687. t1 = A.resolveImportPath0(path);
  87688. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  87689. },
  87690. _handleImportResult$4(url, previous, value, forImport) {
  87691. var t1, file, contents, t2, resolved;
  87692. if (value instanceof self.Error)
  87693. throw A.wrapException(value);
  87694. if (!type$.NodeImporterResult_2._is(value))
  87695. return null;
  87696. t1 = J.getInterceptor$x(value);
  87697. file = t1.get$file(value);
  87698. contents = t1.get$contents(value);
  87699. t1 = contents == null;
  87700. t2 = !t1;
  87701. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  87702. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  87703. if (file == null) {
  87704. t1 = t1 ? "" : contents;
  87705. return new A.Tuple2(t1, url, type$.Tuple2_String_String);
  87706. } else if (t2)
  87707. return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
  87708. else {
  87709. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  87710. if (resolved == null)
  87711. resolved = this._resolveLoadPath$2(file, forImport);
  87712. if (resolved != null)
  87713. return resolved;
  87714. throw A.wrapException("Can't find stylesheet to import.");
  87715. }
  87716. },
  87717. _callImporterAsync$4(importer, url, previousString, forImport) {
  87718. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  87719. },
  87720. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  87721. var $async$goto = 0,
  87722. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  87723. $async$returnValue, $async$self = this, t1, result;
  87724. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87725. if ($async$errorCode === 1)
  87726. return A._asyncRethrow($async$result, $async$completer);
  87727. while (true)
  87728. switch ($async$goto) {
  87729. case 0:
  87730. // Function start
  87731. t1 = new A._Future($.Zone__current, type$._Future_Object);
  87732. result = J.apply$2$x(importer, $async$self._renderContext$1(forImport), A._setArrayType([url, previousString, A.allowInterop(new A._AsyncCompleter(t1, type$._AsyncCompleter_Object).get$complete())], type$.JSArray_Object));
  87733. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  87734. break;
  87735. case 3:
  87736. // then
  87737. $async$goto = 5;
  87738. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  87739. case 5:
  87740. // returning from await.
  87741. $async$returnValue = $async$result;
  87742. // goto return
  87743. $async$goto = 1;
  87744. break;
  87745. case 4:
  87746. // join
  87747. $async$returnValue = result;
  87748. // goto return
  87749. $async$goto = 1;
  87750. break;
  87751. case 1:
  87752. // return
  87753. return A._asyncReturn($async$returnValue, $async$completer);
  87754. }
  87755. });
  87756. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  87757. },
  87758. _renderContext$1(fromImport) {
  87759. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  87760. J.set$context$x(J.get$options$x(context), context);
  87761. return context;
  87762. }
  87763. };
  87764. A.NodeImporter__tryPath_closure.prototype = {
  87765. call$0() {
  87766. return A.resolveImportPath0(this.path);
  87767. },
  87768. $signature: 43
  87769. };
  87770. A.NodeImporter__tryPath_closure0.prototype = {
  87771. call$1(resolved) {
  87772. return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
  87773. },
  87774. $signature: 446
  87775. };
  87776. A.ModifiableCssImport0.prototype = {
  87777. accept$1$1(visitor) {
  87778. return visitor.visitCssImport$1(this);
  87779. },
  87780. accept$1(visitor) {
  87781. return this.accept$1$1(visitor, type$.dynamic);
  87782. },
  87783. $isCssImport0: 1,
  87784. get$span(receiver) {
  87785. return this.span;
  87786. }
  87787. };
  87788. A.ImportCache0.prototype = {
  87789. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  87790. var relativeResult, _this = this;
  87791. if (baseImporter != null) {
  87792. relativeResult = _this._import_cache$_relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2), new A.ImportCache_canonicalize_closure1(_this, baseUrl, url, baseImporter, forImport));
  87793. if (relativeResult != null)
  87794. return relativeResult;
  87795. }
  87796. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
  87797. },
  87798. _import_cache$_canonicalize$3(importer, url, forImport) {
  87799. var t1, result;
  87800. if (forImport) {
  87801. t1 = type$.nullable_Object;
  87802. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  87803. } else
  87804. result = importer.canonicalize$1(0, url);
  87805. if ((result == null ? null : result.get$scheme()) === "")
  87806. A.WarnForDeprecation_warnForDeprecation0(this._import_cache$_logger, B.Deprecation_E5x, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, null, null);
  87807. return result;
  87808. },
  87809. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  87810. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  87811. },
  87812. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  87813. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  87814. },
  87815. humanize$1(canonicalUrl) {
  87816. var t2, url,
  87817. t1 = this._import_cache$_canonicalizeCache;
  87818. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
  87819. t2 = t1.$ti;
  87820. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure4());
  87821. if (url == null)
  87822. return canonicalUrl;
  87823. t1 = $.$get$url();
  87824. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  87825. },
  87826. sourceMapUrl$1(_, canonicalUrl) {
  87827. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  87828. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  87829. return t1 == null ? canonicalUrl : t1;
  87830. }
  87831. };
  87832. A.ImportCache_canonicalize_closure1.prototype = {
  87833. call$0() {
  87834. var canonicalUrl, _this = this,
  87835. t1 = _this.baseUrl,
  87836. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  87837. if (resolvedUrl == null)
  87838. resolvedUrl = _this.url;
  87839. t1 = _this.baseImporter;
  87840. canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
  87841. if (canonicalUrl == null)
  87842. return null;
  87843. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
  87844. },
  87845. $signature: 226
  87846. };
  87847. A.ImportCache_canonicalize_closure2.prototype = {
  87848. call$0() {
  87849. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  87850. for (t1 = this.$this, t2 = t1._import_cache$_importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87851. importer = t2[_i];
  87852. canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
  87853. if (canonicalUrl != null)
  87854. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
  87855. }
  87856. return null;
  87857. },
  87858. $signature: 226
  87859. };
  87860. A.ImportCache__canonicalize_closure0.prototype = {
  87861. call$0() {
  87862. return this.importer.canonicalize$1(0, this.url);
  87863. },
  87864. $signature: 142
  87865. };
  87866. A.ImportCache_importCanonical_closure0.prototype = {
  87867. call$0() {
  87868. var t2, t3, t4, _this = this,
  87869. t1 = _this.canonicalUrl,
  87870. result = _this.importer.load$1(0, t1);
  87871. if (result == null)
  87872. return null;
  87873. t2 = _this.$this;
  87874. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  87875. t3 = result.contents;
  87876. t4 = result.syntax;
  87877. t1 = _this.originalUrl.resolveUri$1(t1);
  87878. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  87879. },
  87880. $signature: 604
  87881. };
  87882. A.ImportCache_humanize_closure2.prototype = {
  87883. call$1(tuple) {
  87884. return tuple.item2.$eq(0, this.canonicalUrl);
  87885. },
  87886. $signature: 449
  87887. };
  87888. A.ImportCache_humanize_closure3.prototype = {
  87889. call$1(tuple) {
  87890. return tuple.item3;
  87891. },
  87892. $signature: 450
  87893. };
  87894. A.ImportCache_humanize_closure4.prototype = {
  87895. call$1(url) {
  87896. return url.get$path(url).length;
  87897. },
  87898. $signature: 94
  87899. };
  87900. A.ImportRule0.prototype = {
  87901. accept$1$1(visitor) {
  87902. return visitor.visitImportRule$1(this);
  87903. },
  87904. accept$1(visitor) {
  87905. return this.accept$1$1(visitor, type$.dynamic);
  87906. },
  87907. toString$0(_) {
  87908. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  87909. },
  87910. $isAstNode0: 1,
  87911. $isStatement0: 1,
  87912. get$span(receiver) {
  87913. return this.span;
  87914. }
  87915. };
  87916. A.NodeImporter0.prototype = {};
  87917. A.CanonicalizeOptions.prototype = {};
  87918. A.NodeImporterResult0.prototype = {};
  87919. A.Importer0.prototype = {};
  87920. A.NodeImporterResult1.prototype = {};
  87921. A.IncludeRule0.prototype = {
  87922. get$spanWithoutContent() {
  87923. var t2, t3,
  87924. t1 = this.span;
  87925. if (!(this.content == null)) {
  87926. t2 = t1.file;
  87927. t3 = this.$arguments.span;
  87928. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  87929. t1 = t3;
  87930. }
  87931. return t1;
  87932. },
  87933. accept$1$1(visitor) {
  87934. return visitor.visitIncludeRule$1(this);
  87935. },
  87936. accept$1(visitor) {
  87937. return this.accept$1$1(visitor, type$.dynamic);
  87938. },
  87939. toString$0(_) {
  87940. var t2, _this = this,
  87941. t1 = _this.namespace;
  87942. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  87943. t1 += _this.name;
  87944. t2 = _this.$arguments;
  87945. if (!t2.get$isEmpty(t2))
  87946. t1 += "(" + t2.toString$0(0) + ")";
  87947. t2 = _this.content;
  87948. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  87949. return t1.charCodeAt(0) == 0 ? t1 : t1;
  87950. },
  87951. $isAstNode0: 1,
  87952. $isStatement0: 1,
  87953. get$span(receiver) {
  87954. return this.span;
  87955. }
  87956. };
  87957. A.InterpolatedFunctionExpression0.prototype = {
  87958. accept$1$1(visitor) {
  87959. return visitor.visitInterpolatedFunctionExpression$1(this);
  87960. },
  87961. accept$1(visitor) {
  87962. return this.accept$1$1(visitor, type$.dynamic);
  87963. },
  87964. toString$0(_) {
  87965. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  87966. },
  87967. $isExpression0: 1,
  87968. $isAstNode0: 1,
  87969. get$span(receiver) {
  87970. return this.span;
  87971. }
  87972. };
  87973. A.Interpolation0.prototype = {
  87974. get$asPlain() {
  87975. var first,
  87976. t1 = this.contents,
  87977. t2 = t1.length;
  87978. if (t2 === 0)
  87979. return "";
  87980. if (t2 > 1)
  87981. return null;
  87982. first = B.JSArray_methods.get$first(t1);
  87983. return typeof first == "string" ? first : null;
  87984. },
  87985. get$initialPlain() {
  87986. var first = B.JSArray_methods.get$first(this.contents);
  87987. return typeof first == "string" ? first : "";
  87988. },
  87989. Interpolation$20(contents, span) {
  87990. var t1, t2, t3, i, t4, t5,
  87991. _s8_ = "contents";
  87992. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  87993. t4 = t1[i];
  87994. t5 = typeof t4 == "string";
  87995. if (!t5 && !t3._is(t4))
  87996. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  87997. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  87998. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  87999. }
  88000. },
  88001. toString$0(_) {
  88002. var t1 = this.contents;
  88003. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  88004. },
  88005. $isAstNode0: 1,
  88006. get$span(receiver) {
  88007. return this.span;
  88008. }
  88009. };
  88010. A.Interpolation_toString_closure0.prototype = {
  88011. call$1(value) {
  88012. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  88013. },
  88014. $signature: 59
  88015. };
  88016. A.SupportsInterpolation0.prototype = {
  88017. toString$0(_) {
  88018. return "#{" + this.expression.toString$0(0) + "}";
  88019. },
  88020. $isAstNode0: 1,
  88021. get$span(receiver) {
  88022. return this.span;
  88023. }
  88024. };
  88025. A.InterpolationBuffer0.prototype = {
  88026. writeCharCode$1(character) {
  88027. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  88028. return null;
  88029. },
  88030. addInterpolation$1(interpolation) {
  88031. var first, t1, _this = this,
  88032. toAdd = interpolation.contents;
  88033. if (toAdd.length === 0)
  88034. return;
  88035. first = B.JSArray_methods.get$first(toAdd);
  88036. if (typeof first == "string") {
  88037. _this._interpolation_buffer0$_text._contents += first;
  88038. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  88039. }
  88040. _this._interpolation_buffer0$_flushText$0();
  88041. t1 = _this._interpolation_buffer0$_contents;
  88042. B.JSArray_methods.addAll$1(t1, toAdd);
  88043. if (typeof B.JSArray_methods.get$last(t1) == "string")
  88044. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  88045. },
  88046. _interpolation_buffer0$_flushText$0() {
  88047. var t1 = this._interpolation_buffer0$_text,
  88048. t2 = t1._contents;
  88049. if (t2.length === 0)
  88050. return;
  88051. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  88052. t1._contents = "";
  88053. },
  88054. interpolation$1(span) {
  88055. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  88056. t2 = this._interpolation_buffer0$_text._contents;
  88057. if (t2.length !== 0)
  88058. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  88059. return A.Interpolation$0(t1, span);
  88060. },
  88061. toString$0(_) {
  88062. var t1, t2, _i, t3, element;
  88063. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  88064. element = t1[_i];
  88065. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  88066. }
  88067. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  88068. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88069. }
  88070. };
  88071. A.InterpolationMap0.prototype = {
  88072. mapException$1(error) {
  88073. var t3, t4, _this = this,
  88074. target = error.get$span(error),
  88075. source = _this.mapSpan$1(target),
  88076. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  88077. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  88078. t1 = _this._interpolation_map$_interpolation.contents,
  88079. t2 = error._span_exception$_message;
  88080. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  88081. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  88082. else {
  88083. t1 = type$.SourceSpan;
  88084. t3 = type$.String;
  88085. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  88086. error.get$source();
  88087. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  88088. }
  88089. },
  88090. mapSpan$1(target) {
  88091. var t2, t3, _this = this,
  88092. start = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  88093. end = _this._interpolation_map$_mapLocation$1(target.get$end(target)),
  88094. t1 = type$.FileSpan;
  88095. if (t1._is(start)) {
  88096. if (t1._is(end))
  88097. return start.expand$1(0, end);
  88098. t1 = _this._interpolation_map$_interpolation.span;
  88099. return t1.get$file(t1).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), type$.FileLocation._as(end).offset);
  88100. } else {
  88101. t2 = type$.FileLocation;
  88102. t3 = _this._interpolation_map$_interpolation.span;
  88103. if (t1._is(end))
  88104. return t3.get$file(t3).span$2(0, t2._as(start).offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  88105. else
  88106. return t3.get$file(t3).span$2(0, t2._as(start).offset, t2._as(end).offset);
  88107. }
  88108. },
  88109. _interpolation_map$_mapLocation$1(target) {
  88110. var t4, previousLocation, _this = this,
  88111. index = _this._interpolation_map$_indexInContents$1(target),
  88112. t1 = _this._interpolation_map$_interpolation,
  88113. t2 = t1.contents,
  88114. chunk = t2[index],
  88115. t3 = type$.Expression_2;
  88116. if (t3._is(chunk))
  88117. return chunk.get$span(chunk);
  88118. t4 = index === 0;
  88119. t1 = t1.span;
  88120. if (t4)
  88121. previousLocation = t1.get$start(t1);
  88122. else {
  88123. t1 = t1.get$file(t1);
  88124. t2 = t3._as(t2[index - 1]);
  88125. t2 = t2.get$span(t2);
  88126. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  88127. }
  88128. t1 = t4 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  88129. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  88130. },
  88131. _interpolation_map$_indexInContents$1(target) {
  88132. var t1, t2, t3, i;
  88133. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  88134. if (t3 < t1[i].get$offset())
  88135. return i;
  88136. return this._interpolation_map$_interpolation.contents.length - 1;
  88137. },
  88138. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  88139. var i0, prev, char,
  88140. source = start.file._decodedChars,
  88141. i = start.offset - 1;
  88142. for (; i >= 0;) {
  88143. i0 = i - 1;
  88144. prev = source[i];
  88145. if (prev === 123) {
  88146. if (source[i0] === 35) {
  88147. i = i0;
  88148. break;
  88149. }
  88150. i = i0;
  88151. } else if (prev === 47) {
  88152. i = i0 - 1;
  88153. if (source[i0] === 42)
  88154. for (; true;) {
  88155. i0 = i - 1;
  88156. if (source[i] !== 42) {
  88157. i = i0;
  88158. continue;
  88159. }
  88160. i = i0;
  88161. do {
  88162. i0 = i - 1;
  88163. char = source[i];
  88164. if (char === 42) {
  88165. i = i0;
  88166. continue;
  88167. } else
  88168. break;
  88169. } while (true);
  88170. if (char === 47) {
  88171. i = i0;
  88172. break;
  88173. }
  88174. i = i0;
  88175. }
  88176. } else
  88177. i = i0;
  88178. }
  88179. return i;
  88180. },
  88181. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  88182. var t1, i0, next, second, t2, char,
  88183. source = end.file._decodedChars,
  88184. i = end.offset;
  88185. for (t1 = source.length; i < t1;) {
  88186. i0 = i + 1;
  88187. next = source[i];
  88188. if (next === 125) {
  88189. i = i0;
  88190. break;
  88191. }
  88192. if (next === 47) {
  88193. i = i0 + 1;
  88194. second = source[i0];
  88195. if (second === 47) {
  88196. while (true) {
  88197. i0 = i + 1;
  88198. t2 = source[i];
  88199. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  88200. break;
  88201. i = i0;
  88202. }
  88203. i = i0;
  88204. } else if (second === 42)
  88205. for (; true;) {
  88206. i0 = i + 1;
  88207. if (source[i] !== 42) {
  88208. i = i0;
  88209. continue;
  88210. }
  88211. i = i0;
  88212. do {
  88213. i0 = i + 1;
  88214. char = source[i];
  88215. if (char === 42) {
  88216. i = i0;
  88217. continue;
  88218. } else
  88219. break;
  88220. } while (true);
  88221. if (char === 47) {
  88222. i = i0;
  88223. break;
  88224. }
  88225. i = i0;
  88226. }
  88227. } else
  88228. i = i0;
  88229. }
  88230. return i;
  88231. }
  88232. };
  88233. A.InterpolationMap_mapException_closure0.prototype = {
  88234. call$1($content) {
  88235. return type$.Expression_2._is($content);
  88236. },
  88237. $signature: 66
  88238. };
  88239. A._realCasePath_helper0.prototype = {
  88240. call$1(path) {
  88241. var dirname = $.$get$context().dirname$1(path);
  88242. if (dirname === path)
  88243. return path;
  88244. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  88245. },
  88246. $signature: 5
  88247. };
  88248. A._realCasePath_helper_closure0.prototype = {
  88249. call$0() {
  88250. var matches, t2, exception,
  88251. realDirname = this.helper.call$1(this.dirname),
  88252. t1 = this.path,
  88253. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  88254. try {
  88255. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  88256. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  88257. return t2;
  88258. } catch (exception) {
  88259. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  88260. return t1;
  88261. else
  88262. throw exception;
  88263. }
  88264. },
  88265. $signature: 32
  88266. };
  88267. A._realCasePath_helper__closure0.prototype = {
  88268. call$1(realPath) {
  88269. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  88270. },
  88271. $signature: 8
  88272. };
  88273. A.ModifiableCssKeyframeBlock0.prototype = {
  88274. accept$1$1(visitor) {
  88275. return visitor.visitCssKeyframeBlock$1(this);
  88276. },
  88277. accept$1(visitor) {
  88278. return this.accept$1$1(visitor, type$.dynamic);
  88279. },
  88280. equalsIgnoringChildren$1(other) {
  88281. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  88282. },
  88283. copyWithoutChildren$0() {
  88284. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  88285. },
  88286. get$span(receiver) {
  88287. return this.span;
  88288. }
  88289. };
  88290. A.KeyframeSelectorParser0.prototype = {
  88291. parse$0() {
  88292. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  88293. },
  88294. _keyframe_selector$_percentage$0() {
  88295. var t3, next,
  88296. t1 = this.scanner,
  88297. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  88298. second = t1.peekChar$0();
  88299. if (!A.isDigit0(second) && second !== 46)
  88300. t1.error$1(0, "Expected number.");
  88301. while (true) {
  88302. t3 = t1.peekChar$0();
  88303. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88304. break;
  88305. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88306. }
  88307. if (t1.peekChar$0() === 46) {
  88308. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88309. while (true) {
  88310. t3 = t1.peekChar$0();
  88311. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88312. break;
  88313. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88314. }
  88315. }
  88316. if (this.scanIdentChar$1(101)) {
  88317. t2 += A.Primitives_stringFromCharCode(101);
  88318. next = t1.peekChar$0();
  88319. if (next === 43 || next === 45)
  88320. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88321. if (!A.isDigit0(t1.peekChar$0()))
  88322. t1.error$1(0, "Expected digit.");
  88323. while (true) {
  88324. t3 = t1.peekChar$0();
  88325. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  88326. break;
  88327. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  88328. }
  88329. }
  88330. t1.expectChar$1(37);
  88331. t2 += A.Primitives_stringFromCharCode(37);
  88332. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88333. }
  88334. };
  88335. A.KeyframeSelectorParser_parse_closure0.prototype = {
  88336. call$0() {
  88337. var selectors = A._setArrayType([], type$.JSArray_String),
  88338. t1 = this.$this,
  88339. t2 = t1.scanner;
  88340. do {
  88341. t1.whitespace$0();
  88342. if (t1.lookingAtIdentifier$0())
  88343. if (t1.scanIdentifier$1("from"))
  88344. selectors.push("from");
  88345. else {
  88346. t1.expectIdentifier$2$name("to", '"to" or "from"');
  88347. selectors.push("to");
  88348. }
  88349. else
  88350. selectors.push(t1._keyframe_selector$_percentage$0());
  88351. t1.whitespace$0();
  88352. } while (t2.scanChar$1(44));
  88353. t2.expectDone$0();
  88354. return selectors;
  88355. },
  88356. $signature: 130
  88357. };
  88358. A.LazyFileSpan0.prototype = {
  88359. get$span(_) {
  88360. var t1 = this._lazy_file_span0$_span;
  88361. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  88362. },
  88363. compareTo$1(_, other) {
  88364. return this.get$span(this).compareTo$1(0, other);
  88365. },
  88366. get$context(_) {
  88367. var t1 = this.get$span(this);
  88368. return t1.get$context(t1);
  88369. },
  88370. get$end(_) {
  88371. var t1 = this.get$span(this);
  88372. return t1.get$end(t1);
  88373. },
  88374. expand$1(_, other) {
  88375. return this.get$span(this).expand$1(0, other);
  88376. },
  88377. get$file(_) {
  88378. var t1 = this.get$span(this);
  88379. return t1.get$file(t1);
  88380. },
  88381. highlight$1$color(color) {
  88382. return this.get$span(this).highlight$1$color(color);
  88383. },
  88384. get$length(_) {
  88385. var t1 = this.get$span(this);
  88386. return t1.get$length(t1);
  88387. },
  88388. message$2$color(_, message, color) {
  88389. return this.get$span(this).message$2$color(0, message, color);
  88390. },
  88391. message$1($receiver, message) {
  88392. return this.message$2$color($receiver, message, null);
  88393. },
  88394. get$sourceUrl(_) {
  88395. var t1 = this.get$span(this);
  88396. return t1.get$sourceUrl(t1);
  88397. },
  88398. get$start(_) {
  88399. var t1 = this.get$span(this);
  88400. return t1.get$start(t1);
  88401. },
  88402. get$text() {
  88403. return this.get$span(this).get$text();
  88404. },
  88405. $isComparable: 1,
  88406. $isFileSpan: 1,
  88407. $isSourceSpan: 1,
  88408. $isSourceSpanWithContext: 1
  88409. };
  88410. A.render_closure.prototype = {
  88411. call$0() {
  88412. var error, exception;
  88413. try {
  88414. this.callback.call$2(null, A.renderSync(this.options));
  88415. } catch (exception) {
  88416. error = A.unwrapException(exception);
  88417. this.callback.call$2(error, null);
  88418. }
  88419. return null;
  88420. },
  88421. $signature: 1
  88422. };
  88423. A.render_closure0.prototype = {
  88424. call$1(result) {
  88425. this.callback.call$2(null, result);
  88426. },
  88427. $signature: 451
  88428. };
  88429. A.render_closure1.prototype = {
  88430. call$2(error, stackTrace) {
  88431. var t2, t3, _null = null,
  88432. t1 = this.callback;
  88433. if (error instanceof A.SassException0)
  88434. t1.call$2(A._wrapException(error, stackTrace), _null);
  88435. else {
  88436. t2 = J.toString$0$(error);
  88437. t3 = A.getTrace0(error);
  88438. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  88439. }
  88440. },
  88441. $signature: 62
  88442. };
  88443. A._parseFunctions_closure.prototype = {
  88444. call$2(signature, callback) {
  88445. var fiber, _this = this,
  88446. t1 = _this.options,
  88447. context = {options: A._contextOptions(t1, _this.start)};
  88448. J.set$context$x(J.get$options$x(context), context);
  88449. fiber = J.get$fiber$x(t1);
  88450. if (fiber != null)
  88451. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(fiber, callback, context), false));
  88452. else {
  88453. t1 = _this.result;
  88454. if (!_this.asynch)
  88455. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  88456. else
  88457. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  88458. }
  88459. },
  88460. $signature: 122
  88461. };
  88462. A._parseFunctions__closure.prototype = {
  88463. call$1($arguments) {
  88464. var result,
  88465. t1 = this.fiber,
  88466. currentFiber = J.get$current$x(t1),
  88467. t2 = type$.Object;
  88468. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  88469. t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
  88470. result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
  88471. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
  88472. },
  88473. $signature: 3
  88474. };
  88475. A._parseFunctions___closure0.prototype = {
  88476. call$1(result) {
  88477. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  88478. },
  88479. call$0() {
  88480. return this.call$1(null);
  88481. },
  88482. "call*": "call$1",
  88483. $requiredArgCount: 0,
  88484. $defaultValues() {
  88485. return [null];
  88486. },
  88487. $signature: 83
  88488. };
  88489. A._parseFunctions____closure.prototype = {
  88490. call$0() {
  88491. return J.run$1$x(this.currentFiber, this.result);
  88492. },
  88493. $signature: 0
  88494. };
  88495. A._parseFunctions___closure1.prototype = {
  88496. call$0() {
  88497. return J.yield$0$x(this.fiber);
  88498. },
  88499. $signature: 81
  88500. };
  88501. A._parseFunctions__closure0.prototype = {
  88502. call$1($arguments) {
  88503. return A.unwrapValue(J.apply$2$x(type$.JSFunction._as(this.callback), this.context, J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), type$.Object).toList$0(0)));
  88504. },
  88505. $signature: 3
  88506. };
  88507. A._parseFunctions__closure1.prototype = {
  88508. call$1($arguments) {
  88509. return this.$call$body$_parseFunctions__closure($arguments);
  88510. },
  88511. $call$body$_parseFunctions__closure($arguments) {
  88512. var $async$goto = 0,
  88513. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88514. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  88515. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88516. if ($async$errorCode === 1)
  88517. return A._asyncRethrow($async$result, $async$completer);
  88518. while (true)
  88519. switch ($async$goto) {
  88520. case 0:
  88521. // Function start
  88522. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  88523. t2 = type$.Object;
  88524. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  88525. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  88526. result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
  88527. $async$temp1 = A;
  88528. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  88529. break;
  88530. case 3:
  88531. // then
  88532. $async$goto = 6;
  88533. return A._asyncAwait(t1, $async$call$1);
  88534. case 6:
  88535. // returning from await.
  88536. // goto join
  88537. $async$goto = 4;
  88538. break;
  88539. case 5:
  88540. // else
  88541. $async$result = result;
  88542. case 4:
  88543. // join
  88544. $async$returnValue = $async$temp1.unwrapValue($async$result);
  88545. // goto return
  88546. $async$goto = 1;
  88547. break;
  88548. case 1:
  88549. // return
  88550. return A._asyncReturn($async$returnValue, $async$completer);
  88551. }
  88552. });
  88553. return A._asyncStartSync($async$call$1, $async$completer);
  88554. },
  88555. $signature: 89
  88556. };
  88557. A._parseFunctions___closure.prototype = {
  88558. call$1(result) {
  88559. return this.completer.complete$1(result);
  88560. },
  88561. call$0() {
  88562. return this.call$1(null);
  88563. },
  88564. "call*": "call$1",
  88565. $requiredArgCount: 0,
  88566. $defaultValues() {
  88567. return [null];
  88568. },
  88569. $signature: 223
  88570. };
  88571. A._parseImporter_closure.prototype = {
  88572. call$1(importer) {
  88573. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
  88574. },
  88575. $signature: 452
  88576. };
  88577. A._parseImporter__closure.prototype = {
  88578. call$4(thisArg, url, previous, _) {
  88579. var t1 = this.fiber,
  88580. result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1)))], type$.JSArray_Object));
  88581. if (A._asBool($.$get$_isUndefined().call$1(result)))
  88582. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  88583. return result;
  88584. },
  88585. call$3(thisArg, url, previous) {
  88586. return this.call$4(thisArg, url, previous, null);
  88587. },
  88588. "call*": "call$4",
  88589. $requiredArgCount: 3,
  88590. $defaultValues() {
  88591. return [null];
  88592. },
  88593. $signature: 453
  88594. };
  88595. A._parseImporter___closure.prototype = {
  88596. call$1(result) {
  88597. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  88598. },
  88599. $signature: 454
  88600. };
  88601. A._parseImporter____closure.prototype = {
  88602. call$0() {
  88603. return J.run$1$x(this.currentFiber, this.result);
  88604. },
  88605. $signature: 0
  88606. };
  88607. A._parseImporter___closure0.prototype = {
  88608. call$0() {
  88609. return J.yield$0$x(this.fiber);
  88610. },
  88611. $signature: 81
  88612. };
  88613. A.LimitedMapView0.prototype = {
  88614. get$keys(_) {
  88615. return this._limited_map_view0$_keys;
  88616. },
  88617. get$length(_) {
  88618. return this._limited_map_view0$_keys._collection$_length;
  88619. },
  88620. get$isEmpty(_) {
  88621. return this._limited_map_view0$_keys._collection$_length === 0;
  88622. },
  88623. get$isNotEmpty(_) {
  88624. return this._limited_map_view0$_keys._collection$_length !== 0;
  88625. },
  88626. $index(_, key) {
  88627. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  88628. },
  88629. containsKey$1(key) {
  88630. return this._limited_map_view0$_keys.contains$1(0, key);
  88631. },
  88632. remove$1(_, key) {
  88633. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  88634. }
  88635. };
  88636. A.ListExpression0.prototype = {
  88637. accept$1$1(visitor) {
  88638. return visitor.visitListExpression$1(this);
  88639. },
  88640. accept$1(visitor) {
  88641. return this.accept$1$1(visitor, type$.dynamic);
  88642. },
  88643. toString$0(_) {
  88644. var t2, t3, t4, t5, _this = this,
  88645. t1 = _this.hasBrackets;
  88646. if (t1)
  88647. t2 = "" + A.Primitives_stringFromCharCode(91);
  88648. else {
  88649. t2 = _this.contents.length;
  88650. if (t2 !== 0)
  88651. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA0;
  88652. else
  88653. t2 = true;
  88654. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  88655. }
  88656. t3 = _this.contents;
  88657. t4 = _this.separator === B.ListSeparator_rXA0;
  88658. t5 = t4 ? ", " : " ";
  88659. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  88660. if (t1)
  88661. t1 = t5 + A.Primitives_stringFromCharCode(93);
  88662. else {
  88663. t1 = t3.length;
  88664. if (t1 === 0)
  88665. t1 = t5 + A.Primitives_stringFromCharCode(41);
  88666. else
  88667. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  88668. }
  88669. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88670. },
  88671. _list3$_elementNeedsParens$1(expression) {
  88672. var t1;
  88673. if (expression instanceof A.ListExpression0) {
  88674. if (expression.contents.length < 2)
  88675. return false;
  88676. if (expression.hasBrackets)
  88677. return false;
  88678. t1 = expression.separator;
  88679. return this.separator === B.ListSeparator_rXA0 ? t1 === B.ListSeparator_rXA0 : t1 !== B.ListSeparator_undecided_null_undecided0;
  88680. }
  88681. if (this.separator !== B.ListSeparator_EVt0)
  88682. return false;
  88683. if (expression instanceof A.UnaryOperationExpression0) {
  88684. t1 = expression.operator;
  88685. return t1 === B.UnaryOperator_gg40 || t1 === B.UnaryOperator_TLI0;
  88686. }
  88687. return false;
  88688. },
  88689. $isExpression0: 1,
  88690. $isAstNode0: 1,
  88691. get$span(receiver) {
  88692. return this.span;
  88693. }
  88694. };
  88695. A.ListExpression_toString_closure0.prototype = {
  88696. call$1(element) {
  88697. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  88698. },
  88699. $signature: 106
  88700. };
  88701. A._length_closure2.prototype = {
  88702. call$1($arguments) {
  88703. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  88704. },
  88705. $signature: 10
  88706. };
  88707. A._nth_closure0.prototype = {
  88708. call$1($arguments) {
  88709. var t1 = J.getInterceptor$asx($arguments),
  88710. list = t1.$index($arguments, 0),
  88711. index = t1.$index($arguments, 1);
  88712. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  88713. },
  88714. $signature: 3
  88715. };
  88716. A._setNth_closure0.prototype = {
  88717. call$1($arguments) {
  88718. var t1 = J.getInterceptor$asx($arguments),
  88719. list = t1.$index($arguments, 0),
  88720. index = t1.$index($arguments, 1),
  88721. value = t1.$index($arguments, 2),
  88722. t2 = list.get$asList(),
  88723. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  88724. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  88725. return t1.$index($arguments, 0).withListContents$1(newList);
  88726. },
  88727. $signature: 21
  88728. };
  88729. A._join_closure0.prototype = {
  88730. call$1($arguments) {
  88731. var separator, bracketed,
  88732. t1 = J.getInterceptor$asx($arguments),
  88733. list1 = t1.$index($arguments, 0),
  88734. list2 = t1.$index($arguments, 1),
  88735. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  88736. bracketedParam = t1.$index($arguments, 3);
  88737. t1 = separatorParam._string0$_text;
  88738. if (t1 === "auto")
  88739. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided0)
  88740. separator = list1.get$separator(list1);
  88741. else
  88742. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided0 ? list2.get$separator(list2) : B.ListSeparator_EVt0;
  88743. else if (t1 === "space")
  88744. separator = B.ListSeparator_EVt0;
  88745. else if (t1 === "comma")
  88746. separator = B.ListSeparator_rXA0;
  88747. else {
  88748. if (t1 !== "slash")
  88749. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  88750. separator = B.ListSeparator_zg90;
  88751. }
  88752. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  88753. t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  88754. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  88755. return A.SassList$0(t1, separator, bracketed);
  88756. },
  88757. $signature: 21
  88758. };
  88759. A._append_closure2.prototype = {
  88760. call$1($arguments) {
  88761. var separator,
  88762. t1 = J.getInterceptor$asx($arguments),
  88763. list = t1.$index($arguments, 0),
  88764. value = t1.$index($arguments, 1);
  88765. t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  88766. if (t1 === "auto")
  88767. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  88768. else if (t1 === "space")
  88769. separator = B.ListSeparator_EVt0;
  88770. else if (t1 === "comma")
  88771. separator = B.ListSeparator_rXA0;
  88772. else {
  88773. if (t1 !== "slash")
  88774. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  88775. separator = B.ListSeparator_zg90;
  88776. }
  88777. t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  88778. t1.push(value);
  88779. return list.withListContents$2$separator(t1, separator);
  88780. },
  88781. $signature: 21
  88782. };
  88783. A._zip_closure0.prototype = {
  88784. call$1($arguments) {
  88785. var results, result, _box_0 = {},
  88786. t1 = J.$index$asx($arguments, 0).get$asList(),
  88787. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  88788. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  88789. if (lists.length === 0)
  88790. return B.SassList_Sof1;
  88791. _box_0.i = 0;
  88792. results = A._setArrayType([], type$.JSArray_SassList_2);
  88793. 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));) {
  88794. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  88795. result.fixed$length = Array;
  88796. result.immutable$list = Array;
  88797. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  88798. ++_box_0.i;
  88799. }
  88800. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  88801. },
  88802. $signature: 21
  88803. };
  88804. A._zip__closure2.prototype = {
  88805. call$1(list) {
  88806. return list.get$asList();
  88807. },
  88808. $signature: 456
  88809. };
  88810. A._zip__closure3.prototype = {
  88811. call$1(list) {
  88812. return this._box_0.i !== J.get$length$asx(list);
  88813. },
  88814. $signature: 457
  88815. };
  88816. A._zip__closure4.prototype = {
  88817. call$1(list) {
  88818. return J.$index$asx(list, this._box_0.i);
  88819. },
  88820. $signature: 3
  88821. };
  88822. A._index_closure2.prototype = {
  88823. call$1($arguments) {
  88824. var t1 = J.getInterceptor$asx($arguments),
  88825. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  88826. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  88827. },
  88828. $signature: 3
  88829. };
  88830. A._separator_closure0.prototype = {
  88831. call$1($arguments) {
  88832. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  88833. case B.ListSeparator_rXA0:
  88834. return new A.SassString0("comma", false);
  88835. case B.ListSeparator_zg90:
  88836. return new A.SassString0("slash", false);
  88837. default:
  88838. return new A.SassString0("space", false);
  88839. }
  88840. },
  88841. $signature: 17
  88842. };
  88843. A._isBracketed_closure0.prototype = {
  88844. call$1($arguments) {
  88845. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88846. },
  88847. $signature: 20
  88848. };
  88849. A._slash_closure0.prototype = {
  88850. call$1($arguments) {
  88851. var list = J.$index$asx($arguments, 0).get$asList();
  88852. if (list.length < 2)
  88853. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  88854. return A.SassList$0(list, B.ListSeparator_zg90, false);
  88855. },
  88856. $signature: 21
  88857. };
  88858. A.SelectorList0.prototype = {
  88859. get$asSassList() {
  88860. var t1 = this.components;
  88861. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  88862. },
  88863. accept$1$1(visitor) {
  88864. return visitor.visitSelectorList$1(this);
  88865. },
  88866. accept$1(visitor) {
  88867. return this.accept$1$1(visitor, type$.dynamic);
  88868. },
  88869. unify$1(other) {
  88870. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  88871. t1 = type$.JSArray_ComplexSelector_2,
  88872. t2 = A._setArrayType([], t1);
  88873. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  88874. complex1 = t3[_i];
  88875. for (_i0 = 0; _i0 < t6; ++_i0) {
  88876. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  88877. if (t7 != null)
  88878. B.JSArray_methods.addAll$1(t2, t7);
  88879. }
  88880. }
  88881. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  88882. },
  88883. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  88884. var parentSelector, t1, _this = this;
  88885. if ($parent == null) {
  88886. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  88887. if (parentSelector == null)
  88888. return _this;
  88889. throw A.wrapException(A.SassException$0(string$.Top_le, parentSelector.span));
  88890. }
  88891. t1 = _this.components;
  88892. return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure0(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2), _this.span);
  88893. },
  88894. resolveParentSelectors$1($parent) {
  88895. return this.resolveParentSelectors$2$implicitParent($parent, true);
  88896. },
  88897. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  88898. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  88899. t1 = component.selector,
  88900. simples = t1.components,
  88901. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  88902. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  88903. return null;
  88904. if (containsSelectorPseudo) {
  88905. t2 = simples;
  88906. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  88907. } else
  88908. resolvedSimples0 = simples;
  88909. resolvedSimples = resolvedSimples0;
  88910. parentSelector = J.get$first$ax(simples);
  88911. try {
  88912. if (!(parentSelector instanceof A.ParentSelector0)) {
  88913. t2 = component.span;
  88914. 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);
  88915. return t2;
  88916. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  88917. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  88918. return t1.components;
  88919. }
  88920. } catch (exception) {
  88921. t1 = A.unwrapException(exception);
  88922. if (t1 instanceof A.SassException0) {
  88923. error = t1;
  88924. stackTrace = A.getTraceFromException(exception);
  88925. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), stackTrace);
  88926. } else
  88927. throw exception;
  88928. }
  88929. t1 = $parent.components;
  88930. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  88931. },
  88932. isSuperselector$1(other) {
  88933. return A.listIsSuperselector0(this.components, other.components);
  88934. },
  88935. withAdditionalCombinators$1(combinators) {
  88936. var t1;
  88937. if (combinators.length === 0)
  88938. t1 = this;
  88939. else {
  88940. t1 = this.components;
  88941. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  88942. }
  88943. return t1;
  88944. },
  88945. get$hashCode(_) {
  88946. return B.C_ListEquality0.hash$1(this.components);
  88947. },
  88948. $eq(_, other) {
  88949. if (other == null)
  88950. return false;
  88951. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  88952. }
  88953. };
  88954. A.SelectorList_asSassList_closure0.prototype = {
  88955. call$1(complex) {
  88956. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  88957. t1 = type$.JSArray_Value_2,
  88958. t2 = A._setArrayType([], t1);
  88959. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  88960. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  88961. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  88962. component = t3[_i];
  88963. t5 = component.selector;
  88964. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  88965. t5.accept$1(visitor);
  88966. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  88967. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  88968. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  88969. B.JSArray_methods.addAll$1(t2, t5);
  88970. }
  88971. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  88972. },
  88973. $signature: 458
  88974. };
  88975. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  88976. call$1(complex) {
  88977. 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;
  88978. if (complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  88979. if (!_this.implicitParent)
  88980. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  88981. t1 = _this.parent.components;
  88982. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  88983. }
  88984. t1 = type$.JSArray_ComplexSelector_2;
  88985. newComplexes = A._setArrayType([], t1);
  88986. 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) {
  88987. component = t2[_i];
  88988. resolved = t4._list2$_resolveParentSelectorsCompound$2(component, t5);
  88989. if (resolved == null)
  88990. if (newComplexes.length === 0)
  88991. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  88992. else
  88993. for (i = 0; i < newComplexes.length; ++i) {
  88994. t12 = newComplexes[i];
  88995. t13 = t12.leadingCombinators;
  88996. t14 = A.List_List$of(t12.components, true, t10);
  88997. t14.push(component);
  88998. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12.lineBreak || false);
  88999. }
  89000. else if (newComplexes.length === 0)
  89001. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure2(complex), t6));
  89002. else {
  89003. t12 = A._setArrayType([], t1);
  89004. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  89005. newComplex = newComplexes[_i0];
  89006. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  89007. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  89008. }
  89009. newComplexes = t12;
  89010. }
  89011. }
  89012. return newComplexes;
  89013. },
  89014. $signature: 459
  89015. };
  89016. A.SelectorList_resolveParentSelectors__closure1.prototype = {
  89017. call$1(parentComplex) {
  89018. var t1 = this.complex;
  89019. return parentComplex.concatenate$2(t1, t1.span);
  89020. },
  89021. $signature: 48
  89022. };
  89023. A.SelectorList_resolveParentSelectors__closure2.prototype = {
  89024. call$1(resolvedComplex) {
  89025. var t1 = resolvedComplex.leadingCombinators,
  89026. t2 = this.complex,
  89027. t3 = t2.leadingCombinators;
  89028. if (t1.length === 0)
  89029. t1 = t3;
  89030. else {
  89031. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  89032. B.JSArray_methods.addAll$1(t3, t1);
  89033. t1 = t3;
  89034. }
  89035. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  89036. },
  89037. $signature: 48
  89038. };
  89039. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  89040. call$1(simple) {
  89041. var selector;
  89042. if (!(simple instanceof A.PseudoSelector0))
  89043. return false;
  89044. selector = simple.selector;
  89045. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  89046. },
  89047. $signature: 14
  89048. };
  89049. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  89050. call$1(simple) {
  89051. var selector;
  89052. if (!(simple instanceof A.PseudoSelector0))
  89053. return simple;
  89054. selector = simple.selector;
  89055. if (selector == null)
  89056. return simple;
  89057. if (selector.accept$1(B.C__ParentSelectorVisitor0) == null)
  89058. return simple;
  89059. return simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  89060. },
  89061. $signature: 460
  89062. };
  89063. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  89064. call$1(complex) {
  89065. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  89066. try {
  89067. t4 = complex.components;
  89068. lastComponent = B.JSArray_methods.get$last(t4);
  89069. if (lastComponent.combinators.length !== 0) {
  89070. 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));
  89071. throw A.wrapException(t1);
  89072. }
  89073. suffix = _this.parentSelector.suffix;
  89074. lastSimples = lastComponent.selector.components;
  89075. t5 = type$.SimpleSelector_2;
  89076. t6 = _this.resolvedSimples;
  89077. t7 = J.getInterceptor$ax(t6);
  89078. if (suffix == null) {
  89079. t1 = A.List_List$of(lastSimples, true, t5);
  89080. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  89081. t1 = t1;
  89082. } else {
  89083. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  89084. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  89085. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  89086. t1 = t2;
  89087. }
  89088. t2 = _this.component;
  89089. last = A.CompoundSelector$0(t1, t2.selector.span);
  89090. t1 = complex.leadingCombinators;
  89091. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  89092. t4 = t2.span;
  89093. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  89094. t4 = A.ComplexSelector$0(t1, t3, t4, complex.lineBreak);
  89095. return t4;
  89096. } catch (exception) {
  89097. t1 = A.unwrapException(exception);
  89098. if (t1 instanceof A.SassException0) {
  89099. error = t1;
  89100. stackTrace = A.getTraceFromException(exception);
  89101. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), stackTrace);
  89102. } else
  89103. throw exception;
  89104. }
  89105. },
  89106. $signature: 48
  89107. };
  89108. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  89109. call$1(complex) {
  89110. return complex.withAdditionalCombinators$1(this.combinators);
  89111. },
  89112. $signature: 48
  89113. };
  89114. A._ParentSelectorVisitor0.prototype = {
  89115. visitParentSelector$1(selector) {
  89116. return selector;
  89117. }
  89118. };
  89119. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  89120. A._NodeSassList.prototype = {};
  89121. A.legacyListClass_closure.prototype = {
  89122. call$4(thisArg, $length, commaSeparator, dartValue) {
  89123. var t1;
  89124. if (dartValue == null) {
  89125. $length.toString;
  89126. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  89127. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  89128. } else
  89129. t1 = dartValue;
  89130. J.set$dartValue$x(thisArg, t1);
  89131. },
  89132. call$2(thisArg, $length) {
  89133. return this.call$4(thisArg, $length, null, null);
  89134. },
  89135. call$3(thisArg, $length, commaSeparator) {
  89136. return this.call$4(thisArg, $length, commaSeparator, null);
  89137. },
  89138. "call*": "call$4",
  89139. $requiredArgCount: 2,
  89140. $defaultValues() {
  89141. return [null, null];
  89142. },
  89143. $signature: 461
  89144. };
  89145. A.legacyListClass__closure.prototype = {
  89146. call$1(_) {
  89147. return B.C__SassNull0;
  89148. },
  89149. $signature: 227
  89150. };
  89151. A.legacyListClass_closure0.prototype = {
  89152. call$2(thisArg, index) {
  89153. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  89154. },
  89155. $signature: 463
  89156. };
  89157. A.legacyListClass_closure1.prototype = {
  89158. call$3(thisArg, index, value) {
  89159. var t1 = J.getInterceptor$x(thisArg),
  89160. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  89161. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89162. mutable[index] = A.unwrapValue(value);
  89163. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  89164. },
  89165. "call*": "call$3",
  89166. $requiredArgCount: 3,
  89167. $signature: 464
  89168. };
  89169. A.legacyListClass_closure2.prototype = {
  89170. call$1(thisArg) {
  89171. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  89172. },
  89173. $signature: 465
  89174. };
  89175. A.legacyListClass_closure3.prototype = {
  89176. call$2(thisArg, isComma) {
  89177. var t1 = J.getInterceptor$x(thisArg),
  89178. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  89179. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  89180. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  89181. },
  89182. $signature: 466
  89183. };
  89184. A.legacyListClass_closure4.prototype = {
  89185. call$1(thisArg) {
  89186. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  89187. },
  89188. $signature: 467
  89189. };
  89190. A.listClass_closure.prototype = {
  89191. call$0() {
  89192. var t1 = type$.JSClass,
  89193. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  89194. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  89195. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  89196. return jsClass;
  89197. },
  89198. $signature: 25
  89199. };
  89200. A.listClass__closure.prototype = {
  89201. call$3($self, contentsOrOptions, options) {
  89202. var contents, t1, t2;
  89203. if (self.immutable.isList(contentsOrOptions))
  89204. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  89205. else if (type$.List_dynamic._is(contentsOrOptions))
  89206. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  89207. else {
  89208. contents = A._setArrayType([], type$.JSArray_Value_2);
  89209. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  89210. options = contentsOrOptions;
  89211. }
  89212. t1 = options == null;
  89213. if (!t1) {
  89214. t2 = J.get$separator$x(options);
  89215. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  89216. } else
  89217. t2 = true;
  89218. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  89219. t1 = t1 ? null : J.get$brackets$x(options);
  89220. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  89221. },
  89222. call$1($self) {
  89223. return this.call$3($self, null, null);
  89224. },
  89225. call$2($self, contentsOrOptions) {
  89226. return this.call$3($self, contentsOrOptions, null);
  89227. },
  89228. "call*": "call$3",
  89229. $requiredArgCount: 1,
  89230. $defaultValues() {
  89231. return [null, null];
  89232. },
  89233. $signature: 468
  89234. };
  89235. A.listClass__closure0.prototype = {
  89236. call$2($self, indexFloat) {
  89237. var index = B.JSNumber_methods.floor$0(indexFloat);
  89238. if (index < 0)
  89239. index = $self.get$asList().length + index;
  89240. if (index < 0 || index >= $self.get$asList().length)
  89241. return self.undefined;
  89242. return $self.get$asList()[index];
  89243. },
  89244. $signature: 228
  89245. };
  89246. A._ConstructorOptions.prototype = {};
  89247. A.SassList0.prototype = {
  89248. get$separator(_) {
  89249. return this._list1$_separator;
  89250. },
  89251. get$hasBrackets() {
  89252. return this._list1$_hasBrackets;
  89253. },
  89254. get$isBlank() {
  89255. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  89256. },
  89257. get$asList() {
  89258. return this._list1$_contents;
  89259. },
  89260. get$lengthAsList() {
  89261. return this._list1$_contents.length;
  89262. },
  89263. SassList$3$brackets0(contents, _separator, brackets) {
  89264. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  89265. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  89266. },
  89267. accept$1$1(visitor) {
  89268. return visitor.visitList$1(this);
  89269. },
  89270. accept$1(visitor) {
  89271. return this.accept$1$1(visitor, type$.dynamic);
  89272. },
  89273. assertMap$1($name) {
  89274. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  89275. },
  89276. tryMap$0() {
  89277. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  89278. },
  89279. $eq(_, other) {
  89280. var t1, _this = this;
  89281. if (other == null)
  89282. return false;
  89283. 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)))
  89284. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  89285. else
  89286. t1 = true;
  89287. return t1;
  89288. },
  89289. get$hashCode(_) {
  89290. return B.C_ListEquality0.hash$1(this._list1$_contents);
  89291. }
  89292. };
  89293. A.SassList_isBlank_closure0.prototype = {
  89294. call$1(element) {
  89295. return element.get$isBlank();
  89296. },
  89297. $signature: 45
  89298. };
  89299. A.ListSeparator0.prototype = {
  89300. _enumToString$0() {
  89301. return "ListSeparator." + this._name;
  89302. },
  89303. toString$0(_) {
  89304. return this._list1$_name;
  89305. }
  89306. };
  89307. A.NodeLogger.prototype = {};
  89308. A.WarnOptions.prototype = {};
  89309. A.DebugOptions.prototype = {};
  89310. A._QuietLogger0.prototype = {
  89311. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  89312. },
  89313. warn$2$span($receiver, message, span) {
  89314. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  89315. }
  89316. };
  89317. A.LoudComment0.prototype = {
  89318. get$span(_) {
  89319. return this.text.span;
  89320. },
  89321. accept$1$1(visitor) {
  89322. return visitor.visitLoudComment$1(this);
  89323. },
  89324. accept$1(visitor) {
  89325. return this.accept$1$1(visitor, type$.dynamic);
  89326. },
  89327. toString$0(_) {
  89328. return this.text.toString$0(0);
  89329. },
  89330. $isAstNode0: 1,
  89331. $isStatement0: 1
  89332. };
  89333. A.MapExpression0.prototype = {
  89334. accept$1$1(visitor) {
  89335. return visitor.visitMapExpression$1(this);
  89336. },
  89337. accept$1(visitor) {
  89338. return this.accept$1$1(visitor, type$.dynamic);
  89339. },
  89340. toString$0(_) {
  89341. var t1 = this.pairs;
  89342. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  89343. },
  89344. $isExpression0: 1,
  89345. $isAstNode0: 1,
  89346. get$span(receiver) {
  89347. return this.span;
  89348. }
  89349. };
  89350. A.MapExpression_toString_closure0.prototype = {
  89351. call$1(pair) {
  89352. return A.S(pair.item1) + ": " + A.S(pair.item2);
  89353. },
  89354. $signature: 470
  89355. };
  89356. A._get_closure0.prototype = {
  89357. call$1($arguments) {
  89358. var value,
  89359. t1 = J.getInterceptor$asx($arguments),
  89360. map = t1.$index($arguments, 0).assertMap$1("map"),
  89361. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  89362. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  89363. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  89364. value = map._map0$_contents.$index(0, t1.get$current(t1));
  89365. if (!(value instanceof A.SassMap0))
  89366. return B.C__SassNull0;
  89367. }
  89368. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  89369. return t1 == null ? B.C__SassNull0 : t1;
  89370. },
  89371. $signature: 3
  89372. };
  89373. A._set_closure1.prototype = {
  89374. call$1($arguments) {
  89375. var t1 = J.getInterceptor$asx($arguments);
  89376. 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);
  89377. },
  89378. $signature: 3
  89379. };
  89380. A._set__closure2.prototype = {
  89381. call$1(_) {
  89382. return J.$index$asx(this.$arguments, 2);
  89383. },
  89384. $signature: 41
  89385. };
  89386. A._set_closure2.prototype = {
  89387. call$1($arguments) {
  89388. var t1 = J.getInterceptor$asx($arguments),
  89389. map = t1.$index($arguments, 0).assertMap$1("map"),
  89390. args = t1.$index($arguments, 1).get$asList();
  89391. t1 = args.length;
  89392. if (t1 === 0)
  89393. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  89394. else if (t1 === 1)
  89395. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  89396. return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
  89397. },
  89398. $signature: 3
  89399. };
  89400. A._set__closure1.prototype = {
  89401. call$1(_) {
  89402. return B.JSArray_methods.get$last(this.args);
  89403. },
  89404. $signature: 41
  89405. };
  89406. A._merge_closure1.prototype = {
  89407. call$1($arguments) {
  89408. var t2,
  89409. t1 = J.getInterceptor$asx($arguments),
  89410. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  89411. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  89412. t1 = type$.Value_2;
  89413. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  89414. t2.addAll$1(0, map2._map0$_contents);
  89415. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  89416. },
  89417. $signature: 35
  89418. };
  89419. A._merge_closure2.prototype = {
  89420. call$1($arguments) {
  89421. var map2,
  89422. t1 = J.getInterceptor$asx($arguments),
  89423. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  89424. args = t1.$index($arguments, 1).get$asList();
  89425. t1 = args.length;
  89426. if (t1 === 0)
  89427. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  89428. else if (t1 === 1)
  89429. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", null));
  89430. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  89431. return A._modify0(map1, A.IterableExtension_get_exceptLast0(args), new A._merge__closure0(map2), true);
  89432. },
  89433. $signature: 3
  89434. };
  89435. A._merge__closure0.prototype = {
  89436. call$1(oldValue) {
  89437. var t1, t2,
  89438. nestedMap = oldValue.tryMap$0();
  89439. if (nestedMap == null)
  89440. return this.map2;
  89441. t1 = type$.Value_2;
  89442. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  89443. t2.addAll$1(0, this.map2._map0$_contents);
  89444. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  89445. },
  89446. $signature: 471
  89447. };
  89448. A._deepMerge_closure0.prototype = {
  89449. call$1($arguments) {
  89450. var t1 = J.getInterceptor$asx($arguments);
  89451. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  89452. },
  89453. $signature: 35
  89454. };
  89455. A._deepRemove_closure0.prototype = {
  89456. call$1($arguments) {
  89457. var t1 = J.getInterceptor$asx($arguments),
  89458. map = t1.$index($arguments, 0).assertMap$1("map"),
  89459. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  89460. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  89461. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  89462. },
  89463. $signature: 3
  89464. };
  89465. A._deepRemove__closure0.prototype = {
  89466. call$1(value) {
  89467. var t1, t2,
  89468. nestedMap = value.tryMap$0();
  89469. if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  89470. t1 = type$.Value_2;
  89471. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  89472. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  89473. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  89474. }
  89475. return value;
  89476. },
  89477. $signature: 41
  89478. };
  89479. A._remove_closure1.prototype = {
  89480. call$1($arguments) {
  89481. return J.$index$asx($arguments, 0).assertMap$1("map");
  89482. },
  89483. $signature: 35
  89484. };
  89485. A._remove_closure2.prototype = {
  89486. call$1($arguments) {
  89487. var mutableMap, t3, _i,
  89488. t1 = J.getInterceptor$asx($arguments),
  89489. map = t1.$index($arguments, 0).assertMap$1("map"),
  89490. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  89491. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  89492. t1 = type$.Value_2;
  89493. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  89494. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  89495. mutableMap.remove$1(0, t2[_i]);
  89496. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  89497. },
  89498. $signature: 35
  89499. };
  89500. A._keys_closure0.prototype = {
  89501. call$1($arguments) {
  89502. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  89503. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  89504. },
  89505. $signature: 21
  89506. };
  89507. A._values_closure0.prototype = {
  89508. call$1($arguments) {
  89509. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  89510. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  89511. },
  89512. $signature: 21
  89513. };
  89514. A._hasKey_closure0.prototype = {
  89515. call$1($arguments) {
  89516. var value,
  89517. t1 = J.getInterceptor$asx($arguments),
  89518. map = t1.$index($arguments, 0).assertMap$1("map"),
  89519. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  89520. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  89521. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  89522. value = map._map0$_contents.$index(0, t1.get$current(t1));
  89523. if (!(value instanceof A.SassMap0))
  89524. return B.SassBoolean_false0;
  89525. }
  89526. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89527. },
  89528. $signature: 20
  89529. };
  89530. A._modify_modifyNestedMap0.prototype = {
  89531. call$1(map) {
  89532. var nestedMap, _this = this,
  89533. t1 = type$.Value_2,
  89534. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  89535. t2 = _this.keyIterator,
  89536. key = t2.get$current(t2);
  89537. if (!t2.moveNext$0()) {
  89538. t2 = mutableMap.$index(0, key);
  89539. if (t2 == null)
  89540. t2 = B.C__SassNull0;
  89541. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  89542. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  89543. }
  89544. t2 = mutableMap.$index(0, key);
  89545. nestedMap = t2 == null ? null : t2.tryMap$0();
  89546. t2 = nestedMap == null;
  89547. if (t2 && !_this.addNesting)
  89548. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  89549. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  89550. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  89551. },
  89552. $signature: 472
  89553. };
  89554. A._deepMergeImpl_closure0.prototype = {
  89555. call$2(key, value) {
  89556. var valueMap, merged,
  89557. t1 = this.result,
  89558. t2 = t1.$index(0, key),
  89559. resultMap = t2 == null ? null : t2.tryMap$0();
  89560. if (resultMap == null)
  89561. t1.$indexSet(0, key, value);
  89562. else {
  89563. valueMap = value.tryMap$0();
  89564. if (valueMap != null) {
  89565. merged = A._deepMergeImpl0(resultMap, valueMap);
  89566. if (merged === resultMap)
  89567. return;
  89568. t1.$indexSet(0, key, merged);
  89569. } else
  89570. t1.$indexSet(0, key, value);
  89571. }
  89572. },
  89573. $signature: 49
  89574. };
  89575. A._NodeSassMap.prototype = {};
  89576. A.legacyMapClass_closure.prototype = {
  89577. call$3(thisArg, $length, dartValue) {
  89578. var t1, t2, t3, map;
  89579. if (dartValue == null) {
  89580. $length.toString;
  89581. t1 = type$.Value_2;
  89582. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  89583. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  89584. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  89585. A.MapBase__fillMapWithIterables(map, t2, t3);
  89586. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  89587. } else
  89588. t1 = dartValue;
  89589. J.set$dartValue$x(thisArg, t1);
  89590. },
  89591. call$2(thisArg, $length) {
  89592. return this.call$3(thisArg, $length, null);
  89593. },
  89594. "call*": "call$3",
  89595. $requiredArgCount: 2,
  89596. $defaultValues() {
  89597. return [null];
  89598. },
  89599. $signature: 473
  89600. };
  89601. A.legacyMapClass__closure.prototype = {
  89602. call$1(i) {
  89603. return A.SassNumber_SassNumber0(i, null);
  89604. },
  89605. $signature: 474
  89606. };
  89607. A.legacyMapClass__closure0.prototype = {
  89608. call$1(_) {
  89609. return B.C__SassNull0;
  89610. },
  89611. $signature: 227
  89612. };
  89613. A.legacyMapClass_closure0.prototype = {
  89614. call$2(thisArg, index) {
  89615. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  89616. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  89617. },
  89618. $signature: 229
  89619. };
  89620. A.legacyMapClass_closure1.prototype = {
  89621. call$2(thisArg, index) {
  89622. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  89623. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  89624. },
  89625. $signature: 229
  89626. };
  89627. A.legacyMapClass_closure2.prototype = {
  89628. call$1(thisArg) {
  89629. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  89630. return t1.get$length(t1);
  89631. },
  89632. $signature: 476
  89633. };
  89634. A.legacyMapClass_closure3.prototype = {
  89635. call$3(thisArg, index, key) {
  89636. var newKey, t2, newMap, t3, i, t4, t5,
  89637. t1 = J.getInterceptor$x(thisArg),
  89638. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  89639. $length = oldMap.get$length(oldMap);
  89640. A.IndexError_check(index, $length, oldMap, null, "index");
  89641. newKey = A.unwrapValue(key);
  89642. t2 = type$.Value_2;
  89643. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  89644. for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  89645. t4 = t3.get$current(t3);
  89646. if (i === index)
  89647. newMap.$indexSet(0, newKey, t4.value);
  89648. else {
  89649. t5 = t4.key;
  89650. if (newKey.$eq(0, t5))
  89651. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  89652. newMap.$indexSet(0, t5, t4.value);
  89653. }
  89654. ++i;
  89655. }
  89656. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  89657. },
  89658. "call*": "call$3",
  89659. $requiredArgCount: 3,
  89660. $signature: 230
  89661. };
  89662. A.legacyMapClass_closure4.prototype = {
  89663. call$3(thisArg, index, value) {
  89664. var t3,
  89665. t1 = J.getInterceptor$x(thisArg),
  89666. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  89667. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  89668. t2 = type$.Value_2;
  89669. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  89670. t3.$indexSet(0, key, A.unwrapValue(value));
  89671. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  89672. },
  89673. "call*": "call$3",
  89674. $requiredArgCount: 3,
  89675. $signature: 230
  89676. };
  89677. A.mapClass_closure.prototype = {
  89678. call$0() {
  89679. var t1 = type$.JSClass,
  89680. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  89681. t2 = J.getInterceptor$x(jsClass);
  89682. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  89683. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  89684. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  89685. return jsClass;
  89686. },
  89687. $signature: 25
  89688. };
  89689. A.mapClass__closure.prototype = {
  89690. call$2($self, contents) {
  89691. var t1;
  89692. if (contents == null)
  89693. t1 = B.SassMap_Map_empty0;
  89694. else {
  89695. t1 = type$.Value_2;
  89696. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  89697. }
  89698. return t1;
  89699. },
  89700. call$1($self) {
  89701. return this.call$2($self, null);
  89702. },
  89703. "call*": "call$2",
  89704. $requiredArgCount: 1,
  89705. $defaultValues() {
  89706. return [null];
  89707. },
  89708. $signature: 478
  89709. };
  89710. A.mapClass__closure0.prototype = {
  89711. call$1($self) {
  89712. return A.dartMapToImmutableMap($self._map0$_contents);
  89713. },
  89714. $signature: 479
  89715. };
  89716. A.mapClass__closure1.prototype = {
  89717. call$2($self, indexOrKey) {
  89718. var index, t1, entry;
  89719. if (typeof indexOrKey == "number") {
  89720. index = B.JSNumber_methods.floor$0(indexOrKey);
  89721. if (index < 0) {
  89722. t1 = $self._map0$_contents;
  89723. index = t1.get$length(t1) + index;
  89724. }
  89725. if (index >= 0) {
  89726. t1 = $self._map0$_contents;
  89727. t1 = index >= t1.get$length(t1);
  89728. } else
  89729. t1 = true;
  89730. if (t1)
  89731. return self.undefined;
  89732. t1 = $self._map0$_contents;
  89733. entry = t1.get$entries(t1).elementAt$1(0, index);
  89734. return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  89735. } else {
  89736. t1 = $self._map0$_contents.$index(0, indexOrKey);
  89737. return t1 == null ? self.undefined : t1;
  89738. }
  89739. },
  89740. $signature: 480
  89741. };
  89742. A.SassMap0.prototype = {
  89743. get$separator(_) {
  89744. var t1 = this._map0$_contents;
  89745. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  89746. },
  89747. get$asList() {
  89748. var result = A._setArrayType([], type$.JSArray_Value_2);
  89749. this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
  89750. return result;
  89751. },
  89752. get$lengthAsList() {
  89753. var t1 = this._map0$_contents;
  89754. return t1.get$length(t1);
  89755. },
  89756. accept$1$1(visitor) {
  89757. return visitor.visitMap$1(this);
  89758. },
  89759. accept$1(visitor) {
  89760. return this.accept$1$1(visitor, type$.dynamic);
  89761. },
  89762. assertMap$1($name) {
  89763. return this;
  89764. },
  89765. tryMap$0() {
  89766. return this;
  89767. },
  89768. $eq(_, other) {
  89769. var t1;
  89770. if (other == null)
  89771. return false;
  89772. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  89773. t1 = this._map0$_contents;
  89774. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  89775. } else
  89776. t1 = true;
  89777. return t1;
  89778. },
  89779. get$hashCode(_) {
  89780. var t1 = this._map0$_contents;
  89781. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  89782. }
  89783. };
  89784. A.SassMap_asList_closure0.prototype = {
  89785. call$2(key, value) {
  89786. this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false));
  89787. },
  89788. $signature: 49
  89789. };
  89790. A._ceil_closure0.prototype = {
  89791. call$1(value) {
  89792. return B.JSNumber_methods.ceil$0(value);
  89793. },
  89794. $signature: 33
  89795. };
  89796. A._clamp_closure0.prototype = {
  89797. call$1($arguments) {
  89798. var t1 = J.getInterceptor$asx($arguments),
  89799. min = t1.$index($arguments, 0).assertNumber$1("min"),
  89800. number = t1.$index($arguments, 1).assertNumber$1("number"),
  89801. max = t1.$index($arguments, 2).assertNumber$1("max");
  89802. number.convertValueToMatch$3(min, "number", "min");
  89803. max.convertValueToMatch$3(min, "max", "min");
  89804. if (min.greaterThanOrEquals$1(max).value)
  89805. return min;
  89806. if (min.greaterThanOrEquals$1(number).value)
  89807. return min;
  89808. if (number.greaterThanOrEquals$1(max).value)
  89809. return max;
  89810. return number;
  89811. },
  89812. $signature: 10
  89813. };
  89814. A._floor_closure0.prototype = {
  89815. call$1(value) {
  89816. return B.JSNumber_methods.floor$0(value);
  89817. },
  89818. $signature: 33
  89819. };
  89820. A._max_closure0.prototype = {
  89821. call$1($arguments) {
  89822. var t1, t2, max, _i, number;
  89823. 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) {
  89824. number = t1[_i].assertNumber$0();
  89825. if (max == null || max.lessThan$1(number).value)
  89826. max = number;
  89827. }
  89828. if (max != null)
  89829. return max;
  89830. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  89831. },
  89832. $signature: 10
  89833. };
  89834. A._min_closure0.prototype = {
  89835. call$1($arguments) {
  89836. var t1, t2, min, _i, number;
  89837. 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) {
  89838. number = t1[_i].assertNumber$0();
  89839. if (min == null || min.greaterThan$1(number).value)
  89840. min = number;
  89841. }
  89842. if (min != null)
  89843. return min;
  89844. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  89845. },
  89846. $signature: 10
  89847. };
  89848. A._round_closure0.prototype = {
  89849. call$1(number) {
  89850. return B.JSNumber_methods.round$0(number);
  89851. },
  89852. $signature: 33
  89853. };
  89854. A._abs_closure0.prototype = {
  89855. call$1(value) {
  89856. return Math.abs(value);
  89857. },
  89858. $signature: 33
  89859. };
  89860. A._hypot_closure0.prototype = {
  89861. call$1($arguments) {
  89862. var subtotal, i, i0, t3, t4,
  89863. t1 = J.$index$asx($arguments, 0).get$asList(),
  89864. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  89865. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  89866. t1 = numbers.length;
  89867. if (t1 === 0)
  89868. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  89869. for (subtotal = 0, i = 0; i < t1; i = i0) {
  89870. i0 = i + 1;
  89871. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  89872. }
  89873. t1 = Math.sqrt(subtotal);
  89874. t2 = numbers[0];
  89875. t3 = J.getInterceptor$x(t2);
  89876. t4 = t3.get$numeratorUnits(t2);
  89877. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  89878. },
  89879. $signature: 10
  89880. };
  89881. A._hypot__closure0.prototype = {
  89882. call$1(argument) {
  89883. return argument.assertNumber$0();
  89884. },
  89885. $signature: 481
  89886. };
  89887. A._log_closure0.prototype = {
  89888. call$1($arguments) {
  89889. var base,
  89890. _s18_ = " to have no units.",
  89891. _null = null,
  89892. t1 = J.getInterceptor$asx($arguments),
  89893. number = t1.$index($arguments, 0).assertNumber$1("number");
  89894. if (number.get$hasUnits())
  89895. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  89896. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  89897. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  89898. base = t1.$index($arguments, 1).assertNumber$1("base");
  89899. if (base.get$hasUnits())
  89900. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  89901. else
  89902. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  89903. },
  89904. $signature: 10
  89905. };
  89906. A._pow_closure0.prototype = {
  89907. call$1($arguments) {
  89908. var _s18_ = " to have no units.",
  89909. t1 = J.getInterceptor$asx($arguments),
  89910. base = t1.$index($arguments, 0).assertNumber$1("base"),
  89911. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  89912. if (base.get$hasUnits())
  89913. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, null));
  89914. else if (exponent.get$hasUnits())
  89915. throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  89916. else
  89917. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  89918. },
  89919. $signature: 10
  89920. };
  89921. A._sqrt_closure0.prototype = {
  89922. call$1($arguments) {
  89923. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  89924. if (number.get$hasUnits())
  89925. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  89926. else
  89927. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  89928. },
  89929. $signature: 10
  89930. };
  89931. A._acos_closure0.prototype = {
  89932. call$1($arguments) {
  89933. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  89934. if (number.get$hasUnits())
  89935. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  89936. else
  89937. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  89938. },
  89939. $signature: 10
  89940. };
  89941. A._asin_closure0.prototype = {
  89942. call$1($arguments) {
  89943. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  89944. if (number.get$hasUnits())
  89945. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  89946. else
  89947. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  89948. },
  89949. $signature: 10
  89950. };
  89951. A._atan_closure0.prototype = {
  89952. call$1($arguments) {
  89953. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  89954. if (number.get$hasUnits())
  89955. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  89956. else
  89957. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  89958. },
  89959. $signature: 10
  89960. };
  89961. A._atan2_closure0.prototype = {
  89962. call$1($arguments) {
  89963. var t1 = J.getInterceptor$asx($arguments),
  89964. y = t1.$index($arguments, 0).assertNumber$1("y");
  89965. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  89966. },
  89967. $signature: 10
  89968. };
  89969. A._cos_closure0.prototype = {
  89970. call$1($arguments) {
  89971. return A.SassNumber_SassNumber0(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  89972. },
  89973. $signature: 10
  89974. };
  89975. A._sin_closure0.prototype = {
  89976. call$1($arguments) {
  89977. return A.SassNumber_SassNumber0(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  89978. },
  89979. $signature: 10
  89980. };
  89981. A._tan_closure0.prototype = {
  89982. call$1($arguments) {
  89983. return A.SassNumber_SassNumber0(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  89984. },
  89985. $signature: 10
  89986. };
  89987. A._compatible_closure0.prototype = {
  89988. call$1($arguments) {
  89989. var t1 = J.getInterceptor$asx($arguments);
  89990. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89991. },
  89992. $signature: 20
  89993. };
  89994. A._isUnitless_closure0.prototype = {
  89995. call$1($arguments) {
  89996. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89997. },
  89998. $signature: 20
  89999. };
  90000. A._unit_closure0.prototype = {
  90001. call$1($arguments) {
  90002. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  90003. },
  90004. $signature: 17
  90005. };
  90006. A._percentage_closure0.prototype = {
  90007. call$1($arguments) {
  90008. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  90009. number.assertNoUnits$1("number");
  90010. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  90011. },
  90012. $signature: 10
  90013. };
  90014. A._randomFunction_closure0.prototype = {
  90015. call$1($arguments) {
  90016. var limit, t2, t3, t4, limitScalar,
  90017. t1 = J.getInterceptor$asx($arguments);
  90018. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  90019. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  90020. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  90021. if (limit.get$hasUnits()) {
  90022. t1 = limit.toString$0(0);
  90023. t2 = limit.get$unitString();
  90024. t3 = limit.get$unitString();
  90025. t4 = limit.get$unitString();
  90026. A.EvaluationContext_current0().warn$2(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, B.Deprecation_0bn);
  90027. }
  90028. limitScalar = limit.assertInt$1("limit");
  90029. if (limitScalar < 1)
  90030. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  90031. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  90032. },
  90033. $signature: 10
  90034. };
  90035. A._div_closure0.prototype = {
  90036. call$1($arguments) {
  90037. var t1 = J.getInterceptor$asx($arguments),
  90038. number1 = t1.$index($arguments, 0),
  90039. number2 = t1.$index($arguments, 1);
  90040. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0)) {
  90041. t1 = A.EvaluationContext_current0();
  90042. t1.warn$2(0, string$.math_d, null);
  90043. }
  90044. return number1.dividedBy$1(number2);
  90045. },
  90046. $signature: 3
  90047. };
  90048. A._numberFunction_closure0.prototype = {
  90049. call$1($arguments) {
  90050. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  90051. t1 = this.transform.call$1(number._number1$_value),
  90052. t2 = number.get$numeratorUnits(number);
  90053. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  90054. },
  90055. $signature: 10
  90056. };
  90057. A.CssMediaQuery0.prototype = {
  90058. merge$1(other) {
  90059. 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";
  90060. if (!_this.conjunction || !other.conjunction)
  90061. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90062. t1 = _this.modifier;
  90063. ourModifier = t1 == null ? _null : t1.toLowerCase();
  90064. t2 = _this.type;
  90065. t3 = t2 == null;
  90066. ourType = t3 ? _null : t2.toLowerCase();
  90067. t4 = other.modifier;
  90068. theirModifier = t4 == null ? _null : t4.toLowerCase();
  90069. t5 = other.type;
  90070. t6 = t5 == null;
  90071. theirType = t6 ? _null : t5.toLowerCase();
  90072. t7 = ourType == null;
  90073. if (t7 && theirType == null) {
  90074. t1 = A.List_List$of(_this.conditions, true, type$.String);
  90075. B.JSArray_methods.addAll$1(t1, other.conditions);
  90076. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  90077. }
  90078. t8 = ourModifier === "not";
  90079. if (t8 !== (theirModifier === "not")) {
  90080. if (ourType == theirType) {
  90081. negativeConditions = t8 ? _this.conditions : other.conditions;
  90082. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  90083. return B._SingletonCssMediaQueryMergeResult_empty0;
  90084. else
  90085. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90086. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  90087. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90088. if (t8) {
  90089. conditions = other.conditions;
  90090. type = theirType;
  90091. modifier = theirModifier;
  90092. } else {
  90093. conditions = _this.conditions;
  90094. type = ourType;
  90095. modifier = ourModifier;
  90096. }
  90097. } else if (t8) {
  90098. if (ourType != theirType)
  90099. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90100. fewerConditions = _this.conditions;
  90101. fewerConditions0 = other.conditions;
  90102. t3 = fewerConditions.length > fewerConditions0.length;
  90103. moreConditions = t3 ? fewerConditions : fewerConditions0;
  90104. if (t3)
  90105. fewerConditions = fewerConditions0;
  90106. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  90107. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  90108. conditions = moreConditions;
  90109. type = ourType;
  90110. modifier = ourModifier;
  90111. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  90112. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  90113. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90114. B.JSArray_methods.addAll$1(t3, other.conditions);
  90115. conditions = t3;
  90116. modifier = theirModifier;
  90117. } else {
  90118. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  90119. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90120. B.JSArray_methods.addAll$1(t3, other.conditions);
  90121. conditions = t3;
  90122. modifier = ourModifier;
  90123. } else {
  90124. if (ourType != theirType)
  90125. return B._SingletonCssMediaQueryMergeResult_empty0;
  90126. else {
  90127. modifier = ourModifier == null ? theirModifier : ourModifier;
  90128. t3 = A.List_List$of(_this.conditions, true, type$.String);
  90129. B.JSArray_methods.addAll$1(t3, other.conditions);
  90130. }
  90131. conditions = t3;
  90132. }
  90133. type = ourType;
  90134. }
  90135. t2 = type == ourType ? t2 : t5;
  90136. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  90137. },
  90138. $eq(_, other) {
  90139. if (other == null)
  90140. return false;
  90141. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  90142. },
  90143. get$hashCode(_) {
  90144. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  90145. },
  90146. toString$0(_) {
  90147. var t2, _this = this,
  90148. t1 = _this.modifier;
  90149. t1 = t1 != null ? "" + (t1 + " ") : "";
  90150. t2 = _this.type;
  90151. if (t2 != null) {
  90152. t1 += t2;
  90153. if (_this.conditions.length !== 0)
  90154. t1 += " and ";
  90155. }
  90156. t2 = _this.conjunction ? " and " : " or ";
  90157. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  90158. return t2.charCodeAt(0) == 0 ? t2 : t2;
  90159. }
  90160. };
  90161. A._SingletonCssMediaQueryMergeResult0.prototype = {
  90162. toString$0(_) {
  90163. return this._media_query0$_name;
  90164. }
  90165. };
  90166. A.MediaQuerySuccessfulMergeResult0.prototype = {
  90167. toString$0(_) {
  90168. return this.query.toString$0(0);
  90169. }
  90170. };
  90171. A.MediaQueryParser0.prototype = {
  90172. parse$0() {
  90173. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  90174. },
  90175. _media_query1$_mediaQuery$0() {
  90176. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  90177. if (_this.scanner.peekChar$0() === 40) {
  90178. conditions = A._setArrayType([_this._media_query1$_mediaInParens$0()], type$.JSArray_String);
  90179. _this.whitespace$0();
  90180. if (_this.scanIdentifier$1(_s3_)) {
  90181. _this.expectWhitespace$0();
  90182. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1(_s3_));
  90183. conjunction = true;
  90184. } else if (_this.scanIdentifier$1("or")) {
  90185. _this.expectWhitespace$0();
  90186. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1("or"));
  90187. conjunction = false;
  90188. } else
  90189. conjunction = true;
  90190. return A.CssMediaQuery$condition0(conditions, conjunction);
  90191. }
  90192. identifier1 = _this.identifier$0();
  90193. if (A.equalsIgnoreCase0(identifier1, "not")) {
  90194. _this.expectWhitespace$0();
  90195. if (!_this.lookingAtIdentifier$0())
  90196. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  90197. }
  90198. _this.whitespace$0();
  90199. if (!_this.lookingAtIdentifier$0())
  90200. return A.CssMediaQuery$type0(identifier1, _null, _null);
  90201. identifier2 = _this.identifier$0();
  90202. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  90203. _this.expectWhitespace$0();
  90204. type = identifier1;
  90205. modifier = _null;
  90206. } else {
  90207. _this.whitespace$0();
  90208. if (_this.scanIdentifier$1(_s3_))
  90209. _this.expectWhitespace$0();
  90210. else
  90211. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  90212. type = identifier2;
  90213. modifier = identifier1;
  90214. }
  90215. if (_this.scanIdentifier$1("not")) {
  90216. _this.expectWhitespace$0();
  90217. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  90218. }
  90219. return A.CssMediaQuery$type0(type, _this._media_query1$_mediaLogicSequence$1(_s3_), modifier);
  90220. },
  90221. _media_query1$_mediaLogicSequence$1(operator) {
  90222. var t1, t2, _this = this,
  90223. result = A._setArrayType([], type$.JSArray_String);
  90224. for (t1 = _this.scanner; true;) {
  90225. t1.expectChar$2$name(40, "media condition in parentheses");
  90226. t2 = _this.declarationValue$0();
  90227. t1.expectChar$1(41);
  90228. result.push("(" + t2 + ")");
  90229. _this.whitespace$0();
  90230. if (!_this.scanIdentifier$1(operator))
  90231. return result;
  90232. _this.expectWhitespace$0();
  90233. }
  90234. },
  90235. _media_query1$_mediaInParens$0() {
  90236. var t2,
  90237. t1 = this.scanner;
  90238. t1.expectChar$2$name(40, "media condition in parentheses");
  90239. t2 = this.declarationValue$0();
  90240. t1.expectChar$1(41);
  90241. return "(" + t2 + ")";
  90242. }
  90243. };
  90244. A.MediaQueryParser_parse_closure0.prototype = {
  90245. call$0() {
  90246. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  90247. t1 = this.$this,
  90248. t2 = t1.scanner;
  90249. do {
  90250. t1.whitespace$0();
  90251. queries.push(t1._media_query1$_mediaQuery$0());
  90252. t1.whitespace$0();
  90253. } while (t2.scanChar$1(44));
  90254. t2.expectDone$0();
  90255. return queries;
  90256. },
  90257. $signature: 482
  90258. };
  90259. A.ModifiableCssMediaRule0.prototype = {
  90260. accept$1$1(visitor) {
  90261. return visitor.visitCssMediaRule$1(this);
  90262. },
  90263. accept$1(visitor) {
  90264. return this.accept$1$1(visitor, type$.dynamic);
  90265. },
  90266. equalsIgnoringChildren$1(other) {
  90267. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  90268. },
  90269. copyWithoutChildren$0() {
  90270. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  90271. },
  90272. $isCssMediaRule0: 1,
  90273. get$span(receiver) {
  90274. return this.span;
  90275. }
  90276. };
  90277. A.MediaRule0.prototype = {
  90278. accept$1$1(visitor) {
  90279. return visitor.visitMediaRule$1(this);
  90280. },
  90281. accept$1(visitor) {
  90282. return this.accept$1$1(visitor, type$.dynamic);
  90283. },
  90284. toString$0(_) {
  90285. var t1 = this.children;
  90286. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  90287. },
  90288. get$span(receiver) {
  90289. return this.span;
  90290. }
  90291. };
  90292. A.MergedExtension0.prototype = {
  90293. unmerge$0() {
  90294. var $async$self = this;
  90295. return A._makeSyncStarIterable(function() {
  90296. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  90297. return function $async$unmerge$0($async$errorCode, $async$result) {
  90298. if ($async$errorCode === 1) {
  90299. $async$currentError = $async$result;
  90300. $async$goto = $async$handler;
  90301. }
  90302. while (true)
  90303. switch ($async$goto) {
  90304. case 0:
  90305. // Function start
  90306. left = $async$self.left;
  90307. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  90308. break;
  90309. case 2:
  90310. // then
  90311. $async$goto = 5;
  90312. return A._IterationMarker_yieldStar(left.unmerge$0());
  90313. case 5:
  90314. // after yield
  90315. // goto join
  90316. $async$goto = 3;
  90317. break;
  90318. case 4:
  90319. // else
  90320. $async$goto = 6;
  90321. return left;
  90322. case 6:
  90323. // after yield
  90324. case 3:
  90325. // join
  90326. right = $async$self.right;
  90327. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  90328. break;
  90329. case 7:
  90330. // then
  90331. $async$goto = 10;
  90332. return A._IterationMarker_yieldStar(right.unmerge$0());
  90333. case 10:
  90334. // after yield
  90335. // goto join
  90336. $async$goto = 8;
  90337. break;
  90338. case 9:
  90339. // else
  90340. $async$goto = 11;
  90341. return right;
  90342. case 11:
  90343. // after yield
  90344. case 8:
  90345. // join
  90346. // implicit return
  90347. return A._IterationMarker_endOfIteration();
  90348. case 1:
  90349. // rethrow
  90350. return A._IterationMarker_uncaughtError($async$currentError);
  90351. }
  90352. };
  90353. }, type$.Extension_2);
  90354. }
  90355. };
  90356. A.MergedMapView0.prototype = {
  90357. get$keys(_) {
  90358. var t1 = this._merged_map_view$_mapsByKey;
  90359. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  90360. },
  90361. get$length(_) {
  90362. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  90363. },
  90364. get$isEmpty(_) {
  90365. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  90366. },
  90367. get$isNotEmpty(_) {
  90368. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  90369. },
  90370. MergedMapView$10(maps, $K, $V) {
  90371. var t1, t2, t3, _i, map, t4, t5, t6;
  90372. 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) {
  90373. map = maps[_i];
  90374. if (t3._is(map))
  90375. for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
  90376. t6 = t4.__internal$_current;
  90377. if (t6 == null)
  90378. t6 = t5._as(t6);
  90379. A.setAll0(t2, t6.get$keys(t6), t6);
  90380. }
  90381. else
  90382. A.setAll0(t2, map.get$keys(map), map);
  90383. }
  90384. },
  90385. $index(_, key) {
  90386. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  90387. return t1 == null ? null : t1.$index(0, key);
  90388. },
  90389. $indexSet(_, key, value) {
  90390. var child = this._merged_map_view$_mapsByKey.$index(0, key);
  90391. if (child == null)
  90392. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  90393. child.$indexSet(0, key, value);
  90394. },
  90395. remove$1(_, key) {
  90396. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  90397. },
  90398. containsKey$1(key) {
  90399. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  90400. }
  90401. };
  90402. A.global_closure57.prototype = {
  90403. call$1($arguments) {
  90404. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  90405. },
  90406. $signature: 20
  90407. };
  90408. A.global_closure58.prototype = {
  90409. call$1($arguments) {
  90410. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  90411. },
  90412. $signature: 17
  90413. };
  90414. A.global_closure59.prototype = {
  90415. call$1($arguments) {
  90416. var value = J.$index$asx($arguments, 0);
  90417. if (value instanceof A.SassArgumentList0)
  90418. return new A.SassString0("arglist", false);
  90419. if (value instanceof A.SassBoolean0)
  90420. return new A.SassString0("bool", false);
  90421. if (value instanceof A.SassColor0)
  90422. return new A.SassString0("color", false);
  90423. if (value instanceof A.SassList0)
  90424. return new A.SassString0("list", false);
  90425. if (value instanceof A.SassMap0)
  90426. return new A.SassString0("map", false);
  90427. if (value.$eq(0, B.C__SassNull0))
  90428. return new A.SassString0("null", false);
  90429. if (value instanceof A.SassNumber0)
  90430. return new A.SassString0("number", false);
  90431. if (value instanceof A.SassFunction0)
  90432. return new A.SassString0("function", false);
  90433. if (value instanceof A.SassCalculation0)
  90434. return new A.SassString0("calculation", false);
  90435. return new A.SassString0("string", false);
  90436. },
  90437. $signature: 17
  90438. };
  90439. A.global_closure60.prototype = {
  90440. call$1($arguments) {
  90441. var t1, t2, t3, t4,
  90442. argumentList = J.$index$asx($arguments, 0);
  90443. if (argumentList instanceof A.SassArgumentList0) {
  90444. t1 = type$.Value_2;
  90445. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  90446. for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  90447. t4 = t3.get$current(t3);
  90448. t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
  90449. }
  90450. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  90451. } else
  90452. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  90453. },
  90454. $signature: 35
  90455. };
  90456. A.local_closure1.prototype = {
  90457. call$1($arguments) {
  90458. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  90459. },
  90460. $signature: 17
  90461. };
  90462. A.local_closure2.prototype = {
  90463. call$1($arguments) {
  90464. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  90465. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  90466. },
  90467. $signature: 21
  90468. };
  90469. A.local__closure0.prototype = {
  90470. call$1(argument) {
  90471. if (argument instanceof A.Value0)
  90472. return argument;
  90473. return new A.SassString0(J.toString$0$(argument), false);
  90474. },
  90475. $signature: 483
  90476. };
  90477. A.MixinRule0.prototype = {
  90478. get$hasContent() {
  90479. var result, _this = this,
  90480. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  90481. if (value === $) {
  90482. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  90483. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  90484. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  90485. value = result;
  90486. }
  90487. return value;
  90488. },
  90489. accept$1$1(visitor) {
  90490. return visitor.visitMixinRule$1(this);
  90491. },
  90492. accept$1(visitor) {
  90493. return this.accept$1$1(visitor, type$.dynamic);
  90494. },
  90495. toString$0(_) {
  90496. var t1 = "@mixin " + this.name,
  90497. t2 = this.$arguments;
  90498. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  90499. t1 += "(" + t2.toString$0(0) + ")";
  90500. t2 = this.children;
  90501. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  90502. return t2.charCodeAt(0) == 0 ? t2 : t2;
  90503. }
  90504. };
  90505. A._HasContentVisitor0.prototype = {
  90506. visitContentRule$1(_) {
  90507. return true;
  90508. }
  90509. };
  90510. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  90511. A.ExtendMode0.prototype = {
  90512. _enumToString$0() {
  90513. return "ExtendMode." + this._name;
  90514. },
  90515. toString$0(_) {
  90516. return this.name;
  90517. }
  90518. };
  90519. A.MultiSpan0.prototype = {
  90520. get$start(_) {
  90521. var t1 = this._multi_span0$_primary;
  90522. return t1.get$start(t1);
  90523. },
  90524. get$end(_) {
  90525. var t1 = this._multi_span0$_primary;
  90526. return t1.get$end(t1);
  90527. },
  90528. get$text() {
  90529. return this._multi_span0$_primary.get$text();
  90530. },
  90531. get$context(_) {
  90532. var t1 = this._multi_span0$_primary;
  90533. return t1.get$context(t1);
  90534. },
  90535. get$file(_) {
  90536. var t1 = this._multi_span0$_primary;
  90537. return t1.get$file(t1);
  90538. },
  90539. get$length(_) {
  90540. var t1 = this._multi_span0$_primary;
  90541. return t1.get$length(t1);
  90542. },
  90543. get$sourceUrl(_) {
  90544. var t1 = this._multi_span0$_primary;
  90545. return t1.get$sourceUrl(t1);
  90546. },
  90547. compareTo$1(_, other) {
  90548. return this._multi_span0$_primary.compareTo$1(0, other);
  90549. },
  90550. toString$0(_) {
  90551. return this._multi_span0$_primary.toString$0(0);
  90552. },
  90553. expand$1(_, other) {
  90554. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  90555. },
  90556. highlight$1$color(color) {
  90557. var t1 = color === true || false;
  90558. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  90559. },
  90560. message$2$color(_, message, color) {
  90561. var t1 = J.$eq$(color, true) || typeof color == "string",
  90562. t2 = typeof color == "string" ? color : null;
  90563. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  90564. },
  90565. message$1($receiver, message) {
  90566. return this.message$2$color($receiver, message, null);
  90567. },
  90568. $isComparable: 1,
  90569. $isFileSpan: 1,
  90570. $isSourceSpan: 1,
  90571. $isSourceSpanWithContext: 1
  90572. };
  90573. A.SupportsNegation0.prototype = {
  90574. toString$0(_) {
  90575. var t1 = this.condition;
  90576. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  90577. return "not (" + t1.toString$0(0) + ")";
  90578. else
  90579. return "not " + t1.toString$0(0);
  90580. },
  90581. $isAstNode0: 1,
  90582. get$span(receiver) {
  90583. return this.span;
  90584. }
  90585. };
  90586. A.NoOpImporter.prototype = {
  90587. canonicalize$1(_, url) {
  90588. return null;
  90589. },
  90590. load$1(_, url) {
  90591. return null;
  90592. },
  90593. toString$0(_) {
  90594. return "(unknown)";
  90595. }
  90596. };
  90597. A.NoSourceMapBuffer0.prototype = {
  90598. get$length(_) {
  90599. return this._no_source_map_buffer0$_buffer._contents.length;
  90600. },
  90601. forSpan$1$2(span, callback) {
  90602. return callback.call$0();
  90603. },
  90604. forSpan$2(span, callback) {
  90605. return this.forSpan$1$2(span, callback, type$.dynamic);
  90606. },
  90607. write$1(_, object) {
  90608. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  90609. return null;
  90610. },
  90611. writeCharCode$1(charCode) {
  90612. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  90613. return null;
  90614. },
  90615. toString$0(_) {
  90616. var t1 = this._no_source_map_buffer0$_buffer._contents;
  90617. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90618. },
  90619. buildSourceMap$1$prefix(prefix) {
  90620. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  90621. }
  90622. };
  90623. A.AstNode0.prototype = {};
  90624. A._FakeAstNode0.prototype = {
  90625. get$span(_) {
  90626. return this._node1$_callback.call$0();
  90627. },
  90628. $isAstNode0: 1
  90629. };
  90630. A.CssNode0.prototype = {
  90631. toString$0(_) {
  90632. return A.serialize0(this, true, null, true, null, false, null, true).css;
  90633. }
  90634. };
  90635. A.CssParentNode0.prototype = {};
  90636. A._IsInvisibleVisitor1.prototype = {
  90637. visitCssAtRule$1(rule) {
  90638. return false;
  90639. },
  90640. visitCssComment$1(comment) {
  90641. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  90642. },
  90643. visitCssStyleRule$1(rule) {
  90644. var t1 = rule._style_rule0$_selector._box0$_inner;
  90645. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  90646. }
  90647. };
  90648. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  90649. A.FileSystemException0.prototype = {
  90650. toString$0(_) {
  90651. var t1 = $.$get$context();
  90652. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  90653. },
  90654. get$message(receiver) {
  90655. return this.message;
  90656. }
  90657. };
  90658. A.Stderr0.prototype = {
  90659. writeln$1(object) {
  90660. var t1 = object == null ? "" : object;
  90661. J.write$1$x(this._node$_stderr, t1 + "\n");
  90662. },
  90663. writeln$0() {
  90664. return this.writeln$1(null);
  90665. }
  90666. };
  90667. A._readFile_closure0.prototype = {
  90668. call$0() {
  90669. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  90670. },
  90671. $signature: 87
  90672. };
  90673. A.fileExists_closure0.prototype = {
  90674. call$0() {
  90675. var error, systemError, exception,
  90676. t1 = this.path;
  90677. if (!J.existsSync$1$x(A.fs(), t1))
  90678. return false;
  90679. try {
  90680. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  90681. return t1;
  90682. } catch (exception) {
  90683. error = A.unwrapException(exception);
  90684. systemError = type$.JsSystemError._as(error);
  90685. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  90686. return false;
  90687. throw exception;
  90688. }
  90689. },
  90690. $signature: 29
  90691. };
  90692. A.dirExists_closure0.prototype = {
  90693. call$0() {
  90694. var error, systemError, exception,
  90695. t1 = this.path;
  90696. if (!J.existsSync$1$x(A.fs(), t1))
  90697. return false;
  90698. try {
  90699. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  90700. return t1;
  90701. } catch (exception) {
  90702. error = A.unwrapException(exception);
  90703. systemError = type$.JsSystemError._as(error);
  90704. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  90705. return false;
  90706. throw exception;
  90707. }
  90708. },
  90709. $signature: 29
  90710. };
  90711. A.listDir_closure0.prototype = {
  90712. call$0() {
  90713. var t1 = this.path;
  90714. if (!this.recursive)
  90715. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).where$1(0, new A.listDir__closure2());
  90716. else
  90717. return new A.listDir_closure_list0().call$1(t1);
  90718. },
  90719. $signature: 145
  90720. };
  90721. A.listDir__closure1.prototype = {
  90722. call$1(child) {
  90723. return A.join(this.path, A._asString(child), null);
  90724. },
  90725. $signature: 76
  90726. };
  90727. A.listDir__closure2.prototype = {
  90728. call$1(child) {
  90729. return !A.dirExists0(child);
  90730. },
  90731. $signature: 8
  90732. };
  90733. A.listDir_closure_list0.prototype = {
  90734. call$1($parent) {
  90735. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  90736. },
  90737. $signature: 146
  90738. };
  90739. A.listDir__list_closure0.prototype = {
  90740. call$1(child) {
  90741. var path = A.join(this.parent, A._asString(child), null);
  90742. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  90743. },
  90744. $signature: 147
  90745. };
  90746. A.ModifiableCssNode0.prototype = {
  90747. get$hasFollowingSibling() {
  90748. var t2,
  90749. t1 = this._node0$_parent;
  90750. if (t1 == null)
  90751. t1 = null;
  90752. else {
  90753. t1 = t1.children;
  90754. t2 = this._node0$_indexInParent;
  90755. t2.toString;
  90756. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  90757. }
  90758. return t1 === true;
  90759. },
  90760. get$isGroupEnd() {
  90761. return this.isGroupEnd;
  90762. }
  90763. };
  90764. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  90765. call$1(sibling) {
  90766. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  90767. },
  90768. $signature: 103
  90769. };
  90770. A.ModifiableCssParentNode0.prototype = {
  90771. get$isChildless() {
  90772. return false;
  90773. },
  90774. addChild$1(child) {
  90775. var t1;
  90776. child._node0$_parent = this;
  90777. t1 = this._node0$_children;
  90778. child._node0$_indexInParent = t1.length;
  90779. t1.push(child);
  90780. },
  90781. $isCssParentNode0: 1,
  90782. get$children(receiver) {
  90783. return this.children;
  90784. }
  90785. };
  90786. A.main_closure0.prototype = {
  90787. call$2(_, __) {
  90788. },
  90789. $signature: 484
  90790. };
  90791. A.main_closure1.prototype = {
  90792. call$2(_, __) {
  90793. },
  90794. $signature: 485
  90795. };
  90796. A.NodeToDartLogger.prototype = {
  90797. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  90798. var t1 = this._node,
  90799. warn = t1 == null ? null : J.get$warn$x(t1);
  90800. if (warn == null)
  90801. this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
  90802. else {
  90803. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  90804. warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  90805. }
  90806. },
  90807. warn$1($receiver, message) {
  90808. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  90809. },
  90810. warn$2$span($receiver, message, span) {
  90811. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  90812. },
  90813. debug$2(_, message, span) {
  90814. var t1 = this._node,
  90815. debug = t1 == null ? null : J.get$debug$x(t1);
  90816. if (debug == null)
  90817. this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
  90818. else
  90819. debug.call$2(message, {span: span});
  90820. },
  90821. _withAscii$1$1(callback) {
  90822. var t1,
  90823. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  90824. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  90825. try {
  90826. t1 = callback.call$0();
  90827. return t1;
  90828. } finally {
  90829. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  90830. }
  90831. },
  90832. _withAscii$1(callback) {
  90833. return this._withAscii$1$1(callback, type$.dynamic);
  90834. }
  90835. };
  90836. A.NodeToDartLogger_warn_closure.prototype = {
  90837. call$0() {
  90838. var _this = this;
  90839. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  90840. },
  90841. $signature: 1
  90842. };
  90843. A.NodeToDartLogger_debug_closure.prototype = {
  90844. call$0() {
  90845. return this.$this._fallback.debug$2(0, this.message, this.span);
  90846. },
  90847. $signature: 0
  90848. };
  90849. A.NullExpression0.prototype = {
  90850. accept$1$1(visitor) {
  90851. return visitor.visitNullExpression$1(this);
  90852. },
  90853. accept$1(visitor) {
  90854. return this.accept$1$1(visitor, type$.dynamic);
  90855. },
  90856. toString$0(_) {
  90857. return "null";
  90858. },
  90859. $isExpression0: 1,
  90860. $isAstNode0: 1,
  90861. get$span(receiver) {
  90862. return this.span;
  90863. }
  90864. };
  90865. A.legacyNullClass_closure.prototype = {
  90866. call$0() {
  90867. var t1 = type$.JSClass,
  90868. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  90869. jsClass.NULL = B.C__SassNull0;
  90870. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  90871. return jsClass;
  90872. },
  90873. $signature: 25
  90874. };
  90875. A.legacyNullClass__closure.prototype = {
  90876. call$2(_, __) {
  90877. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  90878. },
  90879. call$1(_) {
  90880. return this.call$2(_, null);
  90881. },
  90882. "call*": "call$2",
  90883. $requiredArgCount: 1,
  90884. $defaultValues() {
  90885. return [null];
  90886. },
  90887. $signature: 210
  90888. };
  90889. A._SassNull0.prototype = {
  90890. get$isTruthy() {
  90891. return false;
  90892. },
  90893. get$isBlank() {
  90894. return true;
  90895. },
  90896. get$realNull() {
  90897. return null;
  90898. },
  90899. accept$1$1(visitor) {
  90900. if (visitor._serialize0$_inspect)
  90901. visitor._serialize0$_buffer.write$1(0, "null");
  90902. return null;
  90903. },
  90904. accept$1(visitor) {
  90905. return this.accept$1$1(visitor, type$.dynamic);
  90906. },
  90907. unaryNot$0() {
  90908. return B.SassBoolean_true0;
  90909. }
  90910. };
  90911. A.NumberExpression0.prototype = {
  90912. accept$1$1(visitor) {
  90913. return visitor.visitNumberExpression$1(this);
  90914. },
  90915. accept$1(visitor) {
  90916. return this.accept$1$1(visitor, type$.dynamic);
  90917. },
  90918. toString$0(_) {
  90919. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  90920. },
  90921. $isExpression0: 1,
  90922. $isAstNode0: 1,
  90923. get$span(receiver) {
  90924. return this.span;
  90925. }
  90926. };
  90927. A._NodeSassNumber.prototype = {};
  90928. A.legacyNumberClass_closure.prototype = {
  90929. call$4(thisArg, value, unit, dartValue) {
  90930. var t1;
  90931. if (dartValue == null) {
  90932. value.toString;
  90933. t1 = A._parseNumber(value, unit);
  90934. } else
  90935. t1 = dartValue;
  90936. J.set$dartValue$x(thisArg, t1);
  90937. },
  90938. call$2(thisArg, value) {
  90939. return this.call$4(thisArg, value, null, null);
  90940. },
  90941. call$3(thisArg, value, unit) {
  90942. return this.call$4(thisArg, value, unit, null);
  90943. },
  90944. "call*": "call$4",
  90945. $requiredArgCount: 2,
  90946. $defaultValues() {
  90947. return [null, null];
  90948. },
  90949. $signature: 486
  90950. };
  90951. A.legacyNumberClass_closure0.prototype = {
  90952. call$1(thisArg) {
  90953. return J.get$dartValue$x(thisArg)._number1$_value;
  90954. },
  90955. $signature: 487
  90956. };
  90957. A.legacyNumberClass_closure1.prototype = {
  90958. call$2(thisArg, value) {
  90959. var t1 = J.getInterceptor$x(thisArg),
  90960. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  90961. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  90962. },
  90963. $signature: 488
  90964. };
  90965. A.legacyNumberClass_closure2.prototype = {
  90966. call$1(thisArg) {
  90967. var t1 = J.getInterceptor$x(thisArg),
  90968. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  90969. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  90970. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  90971. },
  90972. $signature: 489
  90973. };
  90974. A.legacyNumberClass_closure3.prototype = {
  90975. call$2(thisArg, unit) {
  90976. var t1 = J.getInterceptor$x(thisArg);
  90977. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  90978. },
  90979. $signature: 490
  90980. };
  90981. A._parseNumber_closure.prototype = {
  90982. call$1(unit) {
  90983. return unit.length === 0;
  90984. },
  90985. $signature: 8
  90986. };
  90987. A._parseNumber_closure0.prototype = {
  90988. call$1(unit) {
  90989. return unit.length === 0;
  90990. },
  90991. $signature: 8
  90992. };
  90993. A.numberClass_closure.prototype = {
  90994. call$0() {
  90995. var t1 = type$.JSClass,
  90996. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  90997. t2 = type$.String,
  90998. t3 = type$.Function;
  90999. 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));
  91000. 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));
  91001. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  91002. return jsClass;
  91003. },
  91004. $signature: 25
  91005. };
  91006. A.numberClass__closure.prototype = {
  91007. call$3($self, value, unitOrOptions) {
  91008. var t1, t2, _null = null;
  91009. if (typeof unitOrOptions == "string")
  91010. return A.SassNumber_SassNumber0(value, unitOrOptions);
  91011. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  91012. t1 = unitOrOptions == null;
  91013. if (t1)
  91014. t2 = _null;
  91015. else {
  91016. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  91017. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  91018. }
  91019. if (t1)
  91020. t1 = _null;
  91021. else {
  91022. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  91023. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  91024. }
  91025. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  91026. },
  91027. call$2($self, value) {
  91028. return this.call$3($self, value, null);
  91029. },
  91030. "call*": "call$3",
  91031. $requiredArgCount: 2,
  91032. $defaultValues() {
  91033. return [null];
  91034. },
  91035. $signature: 491
  91036. };
  91037. A.numberClass__closure0.prototype = {
  91038. call$1($self) {
  91039. return $self._number1$_value;
  91040. },
  91041. $signature: 492
  91042. };
  91043. A.numberClass__closure1.prototype = {
  91044. call$1($self) {
  91045. return A.fuzzyIsInt($self._number1$_value);
  91046. },
  91047. $signature: 231
  91048. };
  91049. A.numberClass__closure2.prototype = {
  91050. call$1($self) {
  91051. return A.fuzzyAsInt0($self._number1$_value);
  91052. },
  91053. $signature: 494
  91054. };
  91055. A.numberClass__closure3.prototype = {
  91056. call$1($self) {
  91057. return new self.immutable.List($self.get$numeratorUnits($self));
  91058. },
  91059. $signature: 232
  91060. };
  91061. A.numberClass__closure4.prototype = {
  91062. call$1($self) {
  91063. return new self.immutable.List($self.get$denominatorUnits($self));
  91064. },
  91065. $signature: 232
  91066. };
  91067. A.numberClass__closure5.prototype = {
  91068. call$1($self) {
  91069. return $self.get$hasUnits();
  91070. },
  91071. $signature: 231
  91072. };
  91073. A.numberClass__closure6.prototype = {
  91074. call$2($self, $name) {
  91075. return $self.assertInt$1($name);
  91076. },
  91077. call$1($self) {
  91078. return this.call$2($self, null);
  91079. },
  91080. "call*": "call$2",
  91081. $requiredArgCount: 1,
  91082. $defaultValues() {
  91083. return [null];
  91084. },
  91085. $signature: 496
  91086. };
  91087. A.numberClass__closure7.prototype = {
  91088. call$4($self, min, max, $name) {
  91089. return $self.valueInRange$3(min, max, $name);
  91090. },
  91091. call$3($self, min, max) {
  91092. return this.call$4($self, min, max, null);
  91093. },
  91094. "call*": "call$4",
  91095. $requiredArgCount: 3,
  91096. $defaultValues() {
  91097. return [null];
  91098. },
  91099. $signature: 497
  91100. };
  91101. A.numberClass__closure8.prototype = {
  91102. call$2($self, $name) {
  91103. $self.assertNoUnits$1($name);
  91104. return $self;
  91105. },
  91106. call$1($self) {
  91107. return this.call$2($self, null);
  91108. },
  91109. "call*": "call$2",
  91110. $requiredArgCount: 1,
  91111. $defaultValues() {
  91112. return [null];
  91113. },
  91114. $signature: 498
  91115. };
  91116. A.numberClass__closure9.prototype = {
  91117. call$3($self, unit, $name) {
  91118. $self.assertUnit$2(unit, $name);
  91119. return $self;
  91120. },
  91121. call$2($self, unit) {
  91122. return this.call$3($self, unit, null);
  91123. },
  91124. "call*": "call$3",
  91125. $requiredArgCount: 2,
  91126. $defaultValues() {
  91127. return [null];
  91128. },
  91129. $signature: 499
  91130. };
  91131. A.numberClass__closure10.prototype = {
  91132. call$2($self, unit) {
  91133. return $self.hasUnit$1(unit);
  91134. },
  91135. $signature: 233
  91136. };
  91137. A.numberClass__closure11.prototype = {
  91138. call$2($self, unit) {
  91139. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  91140. },
  91141. $signature: 233
  91142. };
  91143. A.numberClass__closure12.prototype = {
  91144. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91145. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91146. t2 = type$.String;
  91147. t1 = J.cast$1$0$ax(t1, t2);
  91148. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  91149. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  91150. },
  91151. call$3($self, numeratorUnits, denominatorUnits) {
  91152. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91153. },
  91154. "call*": "call$4",
  91155. $requiredArgCount: 3,
  91156. $defaultValues() {
  91157. return [null];
  91158. },
  91159. $signature: 234
  91160. };
  91161. A.numberClass__closure13.prototype = {
  91162. call$4($self, other, $name, otherName) {
  91163. return $self.convertToMatch$3(other, $name, otherName);
  91164. },
  91165. call$2($self, other) {
  91166. return this.call$4($self, other, null, null);
  91167. },
  91168. call$3($self, other, $name) {
  91169. return this.call$4($self, other, $name, null);
  91170. },
  91171. "call*": "call$4",
  91172. $requiredArgCount: 2,
  91173. $defaultValues() {
  91174. return [null, null];
  91175. },
  91176. $signature: 235
  91177. };
  91178. A.numberClass__closure14.prototype = {
  91179. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91180. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91181. t2 = type$.String;
  91182. t1 = J.cast$1$0$ax(t1, t2);
  91183. 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);
  91184. },
  91185. call$3($self, numeratorUnits, denominatorUnits) {
  91186. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91187. },
  91188. "call*": "call$4",
  91189. $requiredArgCount: 3,
  91190. $defaultValues() {
  91191. return [null];
  91192. },
  91193. $signature: 236
  91194. };
  91195. A.numberClass__closure15.prototype = {
  91196. call$4($self, other, $name, otherName) {
  91197. return $self.convertValueToMatch$3(other, $name, otherName);
  91198. },
  91199. call$2($self, other) {
  91200. return this.call$4($self, other, null, null);
  91201. },
  91202. call$3($self, other, $name) {
  91203. return this.call$4($self, other, $name, null);
  91204. },
  91205. "call*": "call$4",
  91206. $requiredArgCount: 2,
  91207. $defaultValues() {
  91208. return [null, null];
  91209. },
  91210. $signature: 137
  91211. };
  91212. A.numberClass__closure16.prototype = {
  91213. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91214. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91215. t2 = type$.String;
  91216. t1 = J.cast$1$0$ax(t1, t2);
  91217. 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);
  91218. },
  91219. call$3($self, numeratorUnits, denominatorUnits) {
  91220. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91221. },
  91222. "call*": "call$4",
  91223. $requiredArgCount: 3,
  91224. $defaultValues() {
  91225. return [null];
  91226. },
  91227. $signature: 234
  91228. };
  91229. A.numberClass__closure17.prototype = {
  91230. call$4($self, other, $name, otherName) {
  91231. return $self.coerceToMatch$3(other, $name, otherName);
  91232. },
  91233. call$2($self, other) {
  91234. return this.call$4($self, other, null, null);
  91235. },
  91236. call$3($self, other, $name) {
  91237. return this.call$4($self, other, $name, null);
  91238. },
  91239. "call*": "call$4",
  91240. $requiredArgCount: 2,
  91241. $defaultValues() {
  91242. return [null, null];
  91243. },
  91244. $signature: 235
  91245. };
  91246. A.numberClass__closure18.prototype = {
  91247. call$4($self, numeratorUnits, denominatorUnits, $name) {
  91248. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  91249. t2 = type$.String;
  91250. t1 = J.cast$1$0$ax(t1, t2);
  91251. 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);
  91252. },
  91253. call$3($self, numeratorUnits, denominatorUnits) {
  91254. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  91255. },
  91256. "call*": "call$4",
  91257. $requiredArgCount: 3,
  91258. $defaultValues() {
  91259. return [null];
  91260. },
  91261. $signature: 236
  91262. };
  91263. A.numberClass__closure19.prototype = {
  91264. call$4($self, other, $name, otherName) {
  91265. return $self.coerceValueToMatch$3(other, $name, otherName);
  91266. },
  91267. call$2($self, other) {
  91268. return this.call$4($self, other, null, null);
  91269. },
  91270. call$3($self, other, $name) {
  91271. return this.call$4($self, other, $name, null);
  91272. },
  91273. "call*": "call$4",
  91274. $requiredArgCount: 2,
  91275. $defaultValues() {
  91276. return [null, null];
  91277. },
  91278. $signature: 137
  91279. };
  91280. A._ConstructorOptions0.prototype = {};
  91281. A.SassNumber0.prototype = {
  91282. get$unitString() {
  91283. var _this = this;
  91284. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  91285. },
  91286. accept$1$1(visitor) {
  91287. return visitor.visitNumber$1(this);
  91288. },
  91289. accept$1(visitor) {
  91290. return this.accept$1$1(visitor, type$.dynamic);
  91291. },
  91292. withoutSlash$0() {
  91293. var _this = this;
  91294. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  91295. },
  91296. assertNumber$1($name) {
  91297. return this;
  91298. },
  91299. assertNumber$0() {
  91300. return this.assertNumber$1(null);
  91301. },
  91302. assertInt$1($name) {
  91303. var integer = A.fuzzyAsInt0(this._number1$_value);
  91304. if (integer != null)
  91305. return integer;
  91306. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  91307. },
  91308. assertInt$0() {
  91309. return this.assertInt$1(null);
  91310. },
  91311. valueInRange$3(min, max, $name) {
  91312. var _this = this,
  91313. result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  91314. if (result != null)
  91315. return result;
  91316. 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));
  91317. },
  91318. valueInRangeWithUnit$4(min, max, $name, unit) {
  91319. var result = A.fuzzyCheckRange0(this._number1$_value, min, max);
  91320. if (result != null)
  91321. return result;
  91322. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  91323. },
  91324. hasCompatibleUnits$1(other) {
  91325. var _this = this;
  91326. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  91327. return false;
  91328. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  91329. return false;
  91330. return _this.isComparableTo$1(other);
  91331. },
  91332. assertUnit$2(unit, $name) {
  91333. if (this.hasUnit$1(unit))
  91334. return;
  91335. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  91336. },
  91337. assertNoUnits$1($name) {
  91338. if (!this.get$hasUnits())
  91339. return;
  91340. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  91341. },
  91342. convertToMatch$3(other, $name, otherName) {
  91343. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  91344. t2 = other.get$numeratorUnits(other);
  91345. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  91346. },
  91347. convertValueToMatch$3(other, $name, otherName) {
  91348. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  91349. },
  91350. coerce$3(newNumerators, newDenominators, $name) {
  91351. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  91352. },
  91353. coerce$2(newNumerators, newDenominators) {
  91354. return this.coerce$3(newNumerators, newDenominators, null);
  91355. },
  91356. coerceValue$3(newNumerators, newDenominators, $name) {
  91357. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  91358. },
  91359. coerceValueToUnit$2(unit, $name) {
  91360. var t1 = type$.JSArray_String;
  91361. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  91362. },
  91363. coerceValueToUnit$1(unit) {
  91364. return this.coerceValueToUnit$2(unit, null);
  91365. },
  91366. coerceToMatch$3(other, $name, otherName) {
  91367. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  91368. t2 = other.get$numeratorUnits(other);
  91369. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  91370. },
  91371. coerceValueToMatch$3(other, $name, otherName) {
  91372. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  91373. },
  91374. coerceValueToMatch$1(other) {
  91375. return this.coerceValueToMatch$3(other, null, null);
  91376. },
  91377. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  91378. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  91379. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  91380. return _this._number1$_value;
  91381. t1 = J.getInterceptor$asx(newNumerators);
  91382. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  91383. if (coerceUnitless)
  91384. t2 = !_this.get$hasUnits() || !otherHasUnits;
  91385. else
  91386. t2 = false;
  91387. if (t2)
  91388. return _this._number1$_value;
  91389. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  91390. _box_0.value = _this._number1$_value;
  91391. t2 = _this.get$numeratorUnits(_this);
  91392. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  91393. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  91394. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  91395. t1 = _this.get$denominatorUnits(_this);
  91396. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  91397. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  91398. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  91399. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  91400. throw A.wrapException(compatibilityException.call$0());
  91401. return _box_0.value;
  91402. },
  91403. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  91404. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  91405. },
  91406. isComparableTo$1(other) {
  91407. var exception;
  91408. if (!this.get$hasUnits() || !other.get$hasUnits())
  91409. return true;
  91410. try {
  91411. this.greaterThan$1(other);
  91412. return true;
  91413. } catch (exception) {
  91414. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  91415. return false;
  91416. else
  91417. throw exception;
  91418. }
  91419. },
  91420. greaterThan$1(other) {
  91421. if (other instanceof A.SassNumber0)
  91422. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91423. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  91424. },
  91425. greaterThanOrEquals$1(other) {
  91426. if (other instanceof A.SassNumber0)
  91427. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91428. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  91429. },
  91430. lessThan$1(other) {
  91431. if (other instanceof A.SassNumber0)
  91432. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91433. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  91434. },
  91435. lessThanOrEquals$1(other) {
  91436. if (other instanceof A.SassNumber0)
  91437. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91438. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  91439. },
  91440. modulo$1(other) {
  91441. if (other instanceof A.SassNumber0)
  91442. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  91443. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  91444. },
  91445. plus$1(other) {
  91446. var _this = this;
  91447. if (other instanceof A.SassNumber0)
  91448. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  91449. if (!(other instanceof A.SassColor0))
  91450. return _this.super$Value$plus0(other);
  91451. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  91452. },
  91453. minus$1(other) {
  91454. var _this = this;
  91455. if (other instanceof A.SassNumber0)
  91456. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  91457. if (!(other instanceof A.SassColor0))
  91458. return _this.super$Value$minus0(other);
  91459. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  91460. },
  91461. times$1(other) {
  91462. var _this = this;
  91463. if (other instanceof A.SassNumber0) {
  91464. if (!other.get$hasUnits())
  91465. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  91466. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  91467. }
  91468. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  91469. },
  91470. dividedBy$1(other) {
  91471. var _this = this;
  91472. if (other instanceof A.SassNumber0) {
  91473. if (!other.get$hasUnits())
  91474. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  91475. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  91476. }
  91477. return _this.super$Value$dividedBy0(other);
  91478. },
  91479. unaryPlus$0() {
  91480. return this;
  91481. },
  91482. _number1$_coerceUnits$1$2(other, operation) {
  91483. var t1, exception;
  91484. try {
  91485. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  91486. return t1;
  91487. } catch (exception) {
  91488. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  91489. this.coerceValueToMatch$1(other);
  91490. throw exception;
  91491. } else
  91492. throw exception;
  91493. }
  91494. },
  91495. _number1$_coerceUnits$2(other, operation) {
  91496. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  91497. },
  91498. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  91499. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  91500. _box_0.value = value;
  91501. if (_this.get$numeratorUnits(_this).length === 0) {
  91502. if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  91503. return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
  91504. else if (_this.get$denominatorUnits(_this).length === 0)
  91505. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
  91506. } else if (otherNumerators.length === 0)
  91507. if (otherDenominators.length === 0)
  91508. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  91509. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  91510. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  91511. newNumerators = A._setArrayType([], type$.JSArray_String);
  91512. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  91513. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  91514. numerator = t1[_i];
  91515. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  91516. }
  91517. t1 = _this.get$denominatorUnits(_this);
  91518. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  91519. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  91520. numerator = otherNumerators[_i];
  91521. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  91522. }
  91523. t1 = _box_0.value;
  91524. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  91525. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  91526. },
  91527. _number1$_areAnyConvertible$2(units1, units2) {
  91528. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  91529. },
  91530. _number1$_unitString$2(numerators, denominators) {
  91531. var t2,
  91532. t1 = J.getInterceptor$asx(numerators);
  91533. if (t1.get$isEmpty(numerators)) {
  91534. t1 = J.getInterceptor$asx(denominators);
  91535. if (t1.get$isEmpty(denominators))
  91536. return "no units";
  91537. if (t1.get$length(denominators) === 1)
  91538. return J.$add$ansx(t1.get$single(denominators), "^-1");
  91539. return "(" + t1.join$1(denominators, "*") + ")^-1";
  91540. }
  91541. t2 = J.getInterceptor$asx(denominators);
  91542. if (t2.get$isEmpty(denominators))
  91543. return t1.join$1(numerators, "*");
  91544. return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
  91545. },
  91546. $eq(_, other) {
  91547. var _this = this;
  91548. if (other == null)
  91549. return false;
  91550. if (other instanceof A.SassNumber0) {
  91551. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  91552. return false;
  91553. if (!_this.get$hasUnits())
  91554. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  91555. 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))))
  91556. return false;
  91557. 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)));
  91558. } else
  91559. return false;
  91560. },
  91561. get$hashCode(_) {
  91562. var _this = this,
  91563. t1 = _this.hashCache;
  91564. 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;
  91565. },
  91566. _number1$_canonicalizeUnitList$1(units) {
  91567. var type,
  91568. t1 = units.length;
  91569. if (t1 === 0)
  91570. return units;
  91571. if (t1 === 1) {
  91572. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  91573. if (type == null)
  91574. t1 = units;
  91575. else {
  91576. t1 = B.Map_U8AHF.$index(0, type);
  91577. t1.toString;
  91578. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  91579. }
  91580. return t1;
  91581. }
  91582. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  91583. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  91584. B.JSArray_methods.sort$0(t1);
  91585. return t1;
  91586. },
  91587. _number1$_canonicalMultiplier$1(units) {
  91588. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  91589. },
  91590. canonicalMultiplierForUnit$1(unit) {
  91591. var t1,
  91592. innerMap = B.Map_K2BWj.$index(0, unit);
  91593. if (innerMap == null)
  91594. t1 = 1;
  91595. else {
  91596. t1 = innerMap.get$values(innerMap);
  91597. t1 = 1 / t1.get$first(t1);
  91598. }
  91599. return t1;
  91600. },
  91601. unitSuggestion$2($name, unit) {
  91602. var t2, t3, result, _this = this,
  91603. t1 = _this.get$denominatorUnits(_this);
  91604. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  91605. t2 = _this.get$numeratorUnits(_this);
  91606. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  91607. t3 = unit == null ? "" : " * 1" + unit;
  91608. result = "$" + $name + t1 + t2 + t3;
  91609. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  91610. },
  91611. unitSuggestion$1($name) {
  91612. return this.unitSuggestion$2($name, null);
  91613. }
  91614. };
  91615. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  91616. call$0() {
  91617. var t2, t3, message, t4, type, unit, _this = this,
  91618. t1 = _this.other;
  91619. if (t1 != null) {
  91620. t2 = _this.$this;
  91621. t3 = t2.toString$0(0) + " and";
  91622. message = new A.StringBuffer(t3);
  91623. t4 = _this.otherName;
  91624. if (t4 != null)
  91625. t3 = message._contents = t3 + (" $" + t4 + ":");
  91626. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  91627. message._contents = t1;
  91628. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  91629. message._contents = t1 + " (one has units and the other doesn't)";
  91630. t1 = message.toString$0(0) + ".";
  91631. t2 = _this.name;
  91632. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  91633. } else if (!_this.otherHasUnits) {
  91634. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  91635. t2 = _this.name;
  91636. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  91637. } else {
  91638. t1 = _this.newNumerators;
  91639. t2 = J.getInterceptor$asx(t1);
  91640. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  91641. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  91642. if (type != null) {
  91643. t1 = _this.$this.toString$0(0);
  91644. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type;
  91645. t3 = B.Map_U8AHF.$index(0, type);
  91646. t3.toString;
  91647. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  91648. t2 = _this.name;
  91649. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  91650. }
  91651. }
  91652. t3 = _this.newDenominators;
  91653. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  91654. t2 = _this.$this;
  91655. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  91656. t1 = _this.name;
  91657. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  91658. }
  91659. },
  91660. $signature: 505
  91661. };
  91662. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  91663. call$1(oldNumerator) {
  91664. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  91665. if (factor == null)
  91666. return false;
  91667. this._box_0.value *= factor;
  91668. return true;
  91669. },
  91670. $signature: 8
  91671. };
  91672. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  91673. call$0() {
  91674. return A.throwExpression(this.compatibilityException.call$0());
  91675. },
  91676. $signature: 0
  91677. };
  91678. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  91679. call$1(oldDenominator) {
  91680. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  91681. if (factor == null)
  91682. return false;
  91683. this._box_0.value /= factor;
  91684. return true;
  91685. },
  91686. $signature: 8
  91687. };
  91688. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  91689. call$0() {
  91690. return A.throwExpression(this.compatibilityException.call$0());
  91691. },
  91692. $signature: 0
  91693. };
  91694. A.SassNumber_plus_closure0.prototype = {
  91695. call$2(num1, num2) {
  91696. return num1 + num2;
  91697. },
  91698. $signature: 58
  91699. };
  91700. A.SassNumber_minus_closure0.prototype = {
  91701. call$2(num1, num2) {
  91702. return num1 - num2;
  91703. },
  91704. $signature: 58
  91705. };
  91706. A.SassNumber_multiplyUnits_closure3.prototype = {
  91707. call$1(denominator) {
  91708. var factor = A.conversionFactor0(this.numerator, denominator);
  91709. if (factor == null)
  91710. return false;
  91711. this._box_0.value /= factor;
  91712. return true;
  91713. },
  91714. $signature: 8
  91715. };
  91716. A.SassNumber_multiplyUnits_closure4.prototype = {
  91717. call$0() {
  91718. return this.newNumerators.push(this.numerator);
  91719. },
  91720. $signature: 0
  91721. };
  91722. A.SassNumber_multiplyUnits_closure5.prototype = {
  91723. call$1(denominator) {
  91724. var factor = A.conversionFactor0(this.numerator, denominator);
  91725. if (factor == null)
  91726. return false;
  91727. this._box_0.value /= factor;
  91728. return true;
  91729. },
  91730. $signature: 8
  91731. };
  91732. A.SassNumber_multiplyUnits_closure6.prototype = {
  91733. call$0() {
  91734. return this.newNumerators.push(this.numerator);
  91735. },
  91736. $signature: 0
  91737. };
  91738. A.SassNumber__areAnyConvertible_closure0.prototype = {
  91739. call$1(unit1) {
  91740. var innerMap = B.Map_K2BWj.$index(0, unit1);
  91741. if (innerMap == null)
  91742. return B.JSArray_methods.contains$1(this.units2, unit1);
  91743. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  91744. },
  91745. $signature: 8
  91746. };
  91747. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  91748. call$1(unit) {
  91749. var t1,
  91750. type = $.$get$_typesByUnit0().$index(0, unit);
  91751. if (type == null)
  91752. t1 = unit;
  91753. else {
  91754. t1 = B.Map_U8AHF.$index(0, type);
  91755. t1.toString;
  91756. t1 = B.JSArray_methods.get$first(t1);
  91757. }
  91758. return t1;
  91759. },
  91760. $signature: 5
  91761. };
  91762. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  91763. call$2(multiplier, unit) {
  91764. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  91765. },
  91766. $signature: 159
  91767. };
  91768. A.SassNumber_unitSuggestion_closure1.prototype = {
  91769. call$1(unit) {
  91770. return " * 1" + unit;
  91771. },
  91772. $signature: 5
  91773. };
  91774. A.SassNumber_unitSuggestion_closure2.prototype = {
  91775. call$1(unit) {
  91776. return " / 1" + unit;
  91777. },
  91778. $signature: 5
  91779. };
  91780. A.SupportsOperation0.prototype = {
  91781. toString$0(_) {
  91782. var _this = this;
  91783. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  91784. },
  91785. _operation0$_parenthesize$1(condition) {
  91786. var t1;
  91787. if (!(condition instanceof A.SupportsNegation0))
  91788. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  91789. else
  91790. t1 = true;
  91791. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  91792. },
  91793. $isAstNode0: 1,
  91794. get$span(receiver) {
  91795. return this.span;
  91796. }
  91797. };
  91798. A.ParentSelector0.prototype = {
  91799. accept$1$1(visitor) {
  91800. return visitor.visitParentSelector$1(this);
  91801. },
  91802. accept$1(visitor) {
  91803. return this.accept$1$1(visitor, type$.dynamic);
  91804. },
  91805. unify$1(compound) {
  91806. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  91807. }
  91808. };
  91809. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  91810. A.ParentStatement_closure0.prototype = {
  91811. call$1(child) {
  91812. var t1;
  91813. if (!(child instanceof A.VariableDeclaration0))
  91814. if (!(child instanceof A.FunctionRule0))
  91815. if (!(child instanceof A.MixinRule0))
  91816. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  91817. else
  91818. t1 = true;
  91819. else
  91820. t1 = true;
  91821. else
  91822. t1 = true;
  91823. return t1;
  91824. },
  91825. $signature: 224
  91826. };
  91827. A.ParentStatement__closure0.prototype = {
  91828. call$1($import) {
  91829. return $import instanceof A.DynamicImport0;
  91830. },
  91831. $signature: 225
  91832. };
  91833. A.ParenthesizedExpression0.prototype = {
  91834. accept$1$1(visitor) {
  91835. return visitor.visitParenthesizedExpression$1(this);
  91836. },
  91837. accept$1(visitor) {
  91838. return this.accept$1$1(visitor, type$.dynamic);
  91839. },
  91840. toString$0(_) {
  91841. return "(" + this.expression.toString$0(0) + ")";
  91842. },
  91843. $isExpression0: 1,
  91844. $isAstNode0: 1,
  91845. get$span(receiver) {
  91846. return this.span;
  91847. }
  91848. };
  91849. A.Parser1.prototype = {
  91850. _parser0$_parseIdentifier$0() {
  91851. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  91852. },
  91853. whitespace$0() {
  91854. do
  91855. this.whitespaceWithoutComments$0();
  91856. while (this.scanComment$0());
  91857. },
  91858. whitespaceWithoutComments$0() {
  91859. var t3,
  91860. t1 = this.scanner,
  91861. t2 = t1.string.length;
  91862. while (true) {
  91863. if (t1._string_scanner$_position !== t2) {
  91864. t3 = t1.peekChar$0();
  91865. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  91866. } else
  91867. t3 = false;
  91868. if (!t3)
  91869. break;
  91870. t1.readChar$0();
  91871. }
  91872. },
  91873. spaces$0() {
  91874. var t3,
  91875. t1 = this.scanner,
  91876. t2 = t1.string.length;
  91877. while (true) {
  91878. if (t1._string_scanner$_position !== t2) {
  91879. t3 = t1.peekChar$0();
  91880. t3 = t3 === 32 || t3 === 9;
  91881. } else
  91882. t3 = false;
  91883. if (!t3)
  91884. break;
  91885. t1.readChar$0();
  91886. }
  91887. },
  91888. scanComment$0() {
  91889. var next,
  91890. t1 = this.scanner;
  91891. if (t1.peekChar$0() !== 47)
  91892. return false;
  91893. next = t1.peekChar$1(1);
  91894. if (next === 47) {
  91895. this.silentComment$0();
  91896. return true;
  91897. } else if (next === 42) {
  91898. this.loudComment$0();
  91899. return true;
  91900. } else
  91901. return false;
  91902. },
  91903. expectWhitespace$0() {
  91904. var t2, t3,
  91905. t1 = this.scanner;
  91906. if (t1._string_scanner$_position !== t1.string.length) {
  91907. t2 = t1.peekChar$0();
  91908. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  91909. t2 = t3;
  91910. } else
  91911. t2 = true;
  91912. if (t2)
  91913. t1.error$1(0, "Expected whitespace.");
  91914. this.whitespace$0();
  91915. },
  91916. silentComment$0() {
  91917. var t2, t3,
  91918. t1 = this.scanner;
  91919. t1.expect$1("//");
  91920. t2 = t1.string.length;
  91921. while (true) {
  91922. if (t1._string_scanner$_position !== t2) {
  91923. t3 = t1.peekChar$0();
  91924. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  91925. } else
  91926. t3 = false;
  91927. if (!t3)
  91928. break;
  91929. t1.readChar$0();
  91930. }
  91931. },
  91932. loudComment$0() {
  91933. var next,
  91934. t1 = this.scanner;
  91935. t1.expect$1("/*");
  91936. for (; true;) {
  91937. if (t1.readChar$0() !== 42)
  91938. continue;
  91939. do
  91940. next = t1.readChar$0();
  91941. while (next === 42);
  91942. if (next === 47)
  91943. break;
  91944. }
  91945. },
  91946. identifier$2$normalize$unit(normalize, unit) {
  91947. var t2, first, _this = this,
  91948. _s20_ = "Expected identifier.",
  91949. text = new A.StringBuffer(""),
  91950. t1 = _this.scanner;
  91951. if (t1.scanChar$1(45)) {
  91952. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  91953. if (t1.scanChar$1(45)) {
  91954. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  91955. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  91956. t1 = text._contents;
  91957. return t1.charCodeAt(0) == 0 ? t1 : t1;
  91958. }
  91959. } else
  91960. t2 = "";
  91961. first = t1.peekChar$0();
  91962. if (first == null)
  91963. t1.error$1(0, _s20_);
  91964. else if (normalize && first === 95) {
  91965. t1.readChar$0();
  91966. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  91967. } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  91968. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  91969. else if (first === 92)
  91970. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  91971. else
  91972. t1.error$1(0, _s20_);
  91973. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  91974. t1 = text._contents;
  91975. return t1.charCodeAt(0) == 0 ? t1 : t1;
  91976. },
  91977. identifier$0() {
  91978. return this.identifier$2$normalize$unit(false, false);
  91979. },
  91980. identifier$1$normalize(normalize) {
  91981. return this.identifier$2$normalize$unit(normalize, false);
  91982. },
  91983. identifier$1$unit(unit) {
  91984. return this.identifier$2$normalize$unit(false, unit);
  91985. },
  91986. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  91987. var t1, next, second, t2;
  91988. for (t1 = this.scanner; true;) {
  91989. next = t1.peekChar$0();
  91990. if (next == null)
  91991. break;
  91992. else if (unit && next === 45) {
  91993. second = t1.peekChar$1(1);
  91994. if (second != null)
  91995. if (second !== 46)
  91996. t2 = second >= 48 && second <= 57;
  91997. else
  91998. t2 = true;
  91999. else
  92000. t2 = false;
  92001. if (t2)
  92002. break;
  92003. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92004. } else if (normalize && next === 95) {
  92005. t1.readChar$0();
  92006. text._contents += A.Primitives_stringFromCharCode(45);
  92007. } else {
  92008. if (next !== 95) {
  92009. if (!(next >= 97 && next <= 122))
  92010. t2 = next >= 65 && next <= 90;
  92011. else
  92012. t2 = true;
  92013. t2 = t2 || next >= 128;
  92014. } else
  92015. t2 = true;
  92016. if (!t2)
  92017. t2 = next >= 48 && next <= 57 || next === 45;
  92018. else
  92019. t2 = true;
  92020. if (t2)
  92021. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92022. else if (next === 92)
  92023. text._contents += A.S(this.escape$0());
  92024. else
  92025. break;
  92026. }
  92027. }
  92028. },
  92029. _parser0$_identifierBody$1(text) {
  92030. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  92031. },
  92032. string$0() {
  92033. var buffer, next, t2,
  92034. t1 = this.scanner,
  92035. quote = t1.readChar$0();
  92036. if (quote !== 39 && quote !== 34)
  92037. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  92038. buffer = new A.StringBuffer("");
  92039. for (; true;) {
  92040. next = t1.peekChar$0();
  92041. if (next === quote) {
  92042. t1.readChar$0();
  92043. break;
  92044. } else if (next == null || next === 10 || next === 13 || next === 12)
  92045. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  92046. else if (next === 92) {
  92047. t2 = t1.peekChar$1(1);
  92048. if (t2 === 10 || t2 === 13 || t2 === 12) {
  92049. t1.readChar$0();
  92050. t1.readChar$0();
  92051. } else
  92052. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  92053. } else
  92054. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92055. }
  92056. t1 = buffer._contents;
  92057. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92058. },
  92059. declarationValue$1$allowEmpty(allowEmpty) {
  92060. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  92061. buffer = new A.StringBuffer(""),
  92062. brackets = A._setArrayType([], type$.JSArray_int);
  92063. $label0$1:
  92064. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  92065. next = t1.peekChar$0();
  92066. switch (next) {
  92067. case 92:
  92068. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  92069. wroteNewline = false;
  92070. break;
  92071. case 34:
  92072. case 39:
  92073. start = t1._string_scanner$_position;
  92074. t2.call$0();
  92075. end = t1._string_scanner$_position;
  92076. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  92077. wroteNewline = false;
  92078. break;
  92079. case 47:
  92080. if (t1.peekChar$1(1) === 42) {
  92081. t3 = _this.get$loudComment();
  92082. start = t1._string_scanner$_position;
  92083. t3.call$0();
  92084. end = t1._string_scanner$_position;
  92085. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  92086. } else
  92087. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92088. wroteNewline = false;
  92089. break;
  92090. case 32:
  92091. case 9:
  92092. if (!wroteNewline) {
  92093. t3 = t1.peekChar$1(1);
  92094. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  92095. } else
  92096. t3 = true;
  92097. if (t3)
  92098. buffer._contents += A.Primitives_stringFromCharCode(32);
  92099. t1.readChar$0();
  92100. break;
  92101. case 10:
  92102. case 13:
  92103. case 12:
  92104. t3 = t1.peekChar$1(-1);
  92105. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  92106. buffer._contents += "\n";
  92107. t1.readChar$0();
  92108. wroteNewline = true;
  92109. break;
  92110. case 40:
  92111. case 123:
  92112. case 91:
  92113. next.toString;
  92114. buffer._contents += A.Primitives_stringFromCharCode(next);
  92115. brackets.push(A.opposite0(t1.readChar$0()));
  92116. wroteNewline = false;
  92117. break;
  92118. case 41:
  92119. case 125:
  92120. case 93:
  92121. if (brackets.length === 0)
  92122. break $label0$1;
  92123. next.toString;
  92124. buffer._contents += A.Primitives_stringFromCharCode(next);
  92125. t1.expectChar$1(brackets.pop());
  92126. wroteNewline = false;
  92127. break;
  92128. case 59:
  92129. if (brackets.length === 0)
  92130. break $label0$1;
  92131. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92132. break;
  92133. case 117:
  92134. case 85:
  92135. url = _this.tryUrl$0();
  92136. if (url != null)
  92137. buffer._contents += url;
  92138. else
  92139. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92140. wroteNewline = false;
  92141. break;
  92142. default:
  92143. if (next == null)
  92144. break $label0$1;
  92145. if (_this.lookingAtIdentifier$0())
  92146. buffer._contents += _this.identifier$0();
  92147. else
  92148. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92149. wroteNewline = false;
  92150. break;
  92151. }
  92152. }
  92153. if (brackets.length !== 0)
  92154. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  92155. if (!allowEmpty && buffer._contents.length === 0)
  92156. t1.error$1(0, "Expected token.");
  92157. t1 = buffer._contents;
  92158. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92159. },
  92160. declarationValue$0() {
  92161. return this.declarationValue$1$allowEmpty(false);
  92162. },
  92163. tryUrl$0() {
  92164. var buffer, next, t2, _this = this,
  92165. t1 = _this.scanner,
  92166. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  92167. if (!_this.scanIdentifier$1("url"))
  92168. return null;
  92169. if (!t1.scanChar$1(40)) {
  92170. t1.set$state(start);
  92171. return null;
  92172. }
  92173. _this.whitespace$0();
  92174. buffer = new A.StringBuffer("");
  92175. buffer._contents = "" + "url(";
  92176. for (; true;) {
  92177. next = t1.peekChar$0();
  92178. if (next == null)
  92179. break;
  92180. else if (next === 92)
  92181. buffer._contents += A.S(_this.escape$0());
  92182. else {
  92183. if (next !== 37)
  92184. if (next !== 38)
  92185. if (next !== 35)
  92186. t2 = next >= 42 && next <= 126 || next >= 128;
  92187. else
  92188. t2 = true;
  92189. else
  92190. t2 = true;
  92191. else
  92192. t2 = true;
  92193. if (t2)
  92194. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92195. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  92196. _this.whitespace$0();
  92197. if (t1.peekChar$0() !== 41)
  92198. break;
  92199. } else if (next === 41) {
  92200. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  92201. return t2.charCodeAt(0) == 0 ? t2 : t2;
  92202. } else
  92203. break;
  92204. }
  92205. }
  92206. t1.set$state(start);
  92207. return null;
  92208. },
  92209. variableName$0() {
  92210. this.scanner.expectChar$1(36);
  92211. return this.identifier$1$normalize(true);
  92212. },
  92213. escape$1$identifierStart(identifierStart) {
  92214. var value, first, i, next, t2, exception,
  92215. _s25_ = "Expected escape sequence.",
  92216. t1 = this.scanner,
  92217. start = t1._string_scanner$_position;
  92218. t1.expectChar$1(92);
  92219. value = 0;
  92220. first = t1.peekChar$0();
  92221. if (first == null)
  92222. t1.error$1(0, _s25_);
  92223. else if (first === 10 || first === 13 || first === 12)
  92224. t1.error$1(0, _s25_);
  92225. else if (A.isHex0(first)) {
  92226. for (i = 0; i < 6; ++i) {
  92227. next = t1.peekChar$0();
  92228. if (next == null || !A.isHex0(next))
  92229. break;
  92230. value *= 16;
  92231. value += A.asHex0(t1.readChar$0());
  92232. }
  92233. this.scanCharIf$1(A.character0__isWhitespace$closure());
  92234. } else
  92235. value = t1.readChar$0();
  92236. if (identifierStart) {
  92237. t2 = value;
  92238. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
  92239. } else {
  92240. t2 = value;
  92241. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
  92242. }
  92243. if (t2)
  92244. try {
  92245. t2 = A.Primitives_stringFromCharCode(value);
  92246. return t2;
  92247. } catch (exception) {
  92248. if (type$.RangeError._is(A.unwrapException(exception)))
  92249. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  92250. else
  92251. throw exception;
  92252. }
  92253. else {
  92254. if (!(value <= 31))
  92255. if (!J.$eq$(value, 127))
  92256. t1 = identifierStart && A.isDigit0(value);
  92257. else
  92258. t1 = true;
  92259. else
  92260. t1 = true;
  92261. if (t1) {
  92262. t1 = "" + A.Primitives_stringFromCharCode(92);
  92263. if (value > 15)
  92264. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  92265. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  92266. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92267. } else
  92268. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  92269. }
  92270. },
  92271. escape$0() {
  92272. return this.escape$1$identifierStart(false);
  92273. },
  92274. scanCharIf$1(condition) {
  92275. var t1 = this.scanner;
  92276. if (!condition.call$1(t1.peekChar$0()))
  92277. return false;
  92278. t1.readChar$0();
  92279. return true;
  92280. },
  92281. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  92282. var t3,
  92283. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  92284. t2 = this.scanner,
  92285. next = t2.peekChar$0();
  92286. if (next != null && t1.call$1(next)) {
  92287. t2.readChar$0();
  92288. return true;
  92289. } else if (next === 92) {
  92290. t3 = t2._string_scanner$_position;
  92291. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  92292. return true;
  92293. t2.set$state(new A._SpanScannerState(t2, t3));
  92294. }
  92295. return false;
  92296. },
  92297. scanIdentChar$1(char) {
  92298. return this.scanIdentChar$2$caseSensitive(char, false);
  92299. },
  92300. expectIdentChar$1(letter) {
  92301. var t1;
  92302. if (this.scanIdentChar$2$caseSensitive(letter, false))
  92303. return;
  92304. t1 = this.scanner;
  92305. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  92306. },
  92307. lookingAtIdentifier$1($forward) {
  92308. var t1, first, second;
  92309. if ($forward == null)
  92310. $forward = 0;
  92311. t1 = this.scanner;
  92312. first = t1.peekChar$1($forward);
  92313. if (first == null)
  92314. return false;
  92315. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  92316. return true;
  92317. if (first !== 45)
  92318. return false;
  92319. second = t1.peekChar$1($forward + 1);
  92320. if (second == null)
  92321. return false;
  92322. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  92323. },
  92324. lookingAtIdentifier$0() {
  92325. return this.lookingAtIdentifier$1(null);
  92326. },
  92327. lookingAtIdentifierBody$0() {
  92328. var t1,
  92329. next = this.scanner.peekChar$0();
  92330. if (next != null)
  92331. t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
  92332. else
  92333. t1 = false;
  92334. return t1;
  92335. },
  92336. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  92337. var t1, t2, _this = this;
  92338. if (!_this.lookingAtIdentifier$0())
  92339. return false;
  92340. t1 = _this.scanner;
  92341. t2 = t1._string_scanner$_position;
  92342. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  92343. return true;
  92344. else {
  92345. t1.set$state(new A._SpanScannerState(t1, t2));
  92346. return false;
  92347. }
  92348. },
  92349. scanIdentifier$1(text) {
  92350. return this.scanIdentifier$2$caseSensitive(text, false);
  92351. },
  92352. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  92353. var t1, t2, t3;
  92354. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  92355. t3 = t1.__internal$_current;
  92356. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  92357. return false;
  92358. }
  92359. return true;
  92360. },
  92361. expectIdentifier$2$name(text, $name) {
  92362. var t1, start, t2, t3, t4, t5, t6;
  92363. if ($name == null)
  92364. $name = '"' + text + '"';
  92365. t1 = this.scanner;
  92366. start = t1._string_scanner$_position;
  92367. for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  92368. t6 = t2.__internal$_current;
  92369. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  92370. continue;
  92371. t1.error$2$position(0, t4, start);
  92372. }
  92373. if (!this.lookingAtIdentifierBody$0())
  92374. return;
  92375. t1.error$2$position(0, t3, start);
  92376. },
  92377. expectIdentifier$1(text) {
  92378. return this.expectIdentifier$2$name(text, null);
  92379. },
  92380. rawText$1(consumer) {
  92381. var t1 = this.scanner,
  92382. start = t1._string_scanner$_position;
  92383. consumer.call$0();
  92384. return t1.substring$1(0, start);
  92385. },
  92386. spanFrom$1(state) {
  92387. var span = this.scanner.spanFrom$1(state);
  92388. if (this._parser0$_interpolationMap != null)
  92389. return new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  92390. return span;
  92391. },
  92392. error$3(_, message, span, trace) {
  92393. var exception = new A.StringScannerException(this.scanner.string, message, span);
  92394. if (trace == null)
  92395. throw A.wrapException(exception);
  92396. else
  92397. A.throwWithTrace0(exception, trace);
  92398. },
  92399. error$2($receiver, message, span) {
  92400. return this.error$3($receiver, message, span, null);
  92401. },
  92402. withErrorMessage$1$2(message, callback) {
  92403. var error, stackTrace, t1, exception;
  92404. try {
  92405. t1 = callback.call$0();
  92406. return t1;
  92407. } catch (exception) {
  92408. t1 = A.unwrapException(exception);
  92409. if (type$.SourceSpanFormatException._is(t1)) {
  92410. error = t1;
  92411. stackTrace = A.getTraceFromException(exception);
  92412. t1 = J.get$span$z(error);
  92413. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  92414. } else
  92415. throw exception;
  92416. }
  92417. },
  92418. withErrorMessage$2(message, callback) {
  92419. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  92420. },
  92421. wrapSpanFormatException$1$1(callback) {
  92422. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, entry, t2, exception, t3, t4, _this = this,
  92423. _s8_ = "expected";
  92424. try {
  92425. try {
  92426. t2 = callback.call$0();
  92427. return t2;
  92428. } catch (exception) {
  92429. t2 = A.unwrapException(exception);
  92430. if (type$.SourceSpanFormatException._is(t2)) {
  92431. error = t2;
  92432. stackTrace = A.getTraceFromException(exception);
  92433. map = _this._parser0$_interpolationMap;
  92434. if (map == null)
  92435. throw exception;
  92436. A.throwWithTrace0(map.mapException$1(error), stackTrace);
  92437. } else
  92438. throw exception;
  92439. }
  92440. } catch (exception) {
  92441. t2 = A.unwrapException(exception);
  92442. if (type$.SourceSpanFormatException._is(t2)) {
  92443. error0 = t2;
  92444. stackTrace0 = A.getTraceFromException(exception);
  92445. span = J.get$span$z(error0);
  92446. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  92447. span = _this._parser0$_adjustExceptionSpan$1(span);
  92448. A.throwWithTrace0(new A.SassFormatException0(error0._span_exception$_message, span), stackTrace0);
  92449. } else if (type$.MultiSourceSpanFormatException._is(t2)) {
  92450. error1 = t2;
  92451. stackTrace1 = A.getTraceFromException(exception);
  92452. span0 = J.get$span$z(error1);
  92453. t2 = type$.FileSpan;
  92454. t3 = type$.String;
  92455. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t2, t3);
  92456. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  92457. span0 = _this._parser0$_adjustExceptionSpan$1(span0);
  92458. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  92459. for (t4 = J.get$entries$z(secondarySpans), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  92460. entry = t4.get$current(t4);
  92461. J.$indexSet$ax(t1, _this._parser0$_adjustExceptionSpan$1(entry.key), entry.value);
  92462. }
  92463. secondarySpans = t1;
  92464. }
  92465. t1 = error1._span_exception$_message;
  92466. t4 = span0;
  92467. A.throwWithTrace0(new A.MultiSpanSassFormatException0(error1.get$primaryLabel(), A.ConstantMap_ConstantMap$from(secondarySpans, t2, t3), t1, t4), stackTrace1);
  92468. } else
  92469. throw exception;
  92470. }
  92471. },
  92472. wrapSpanFormatException$1(callback) {
  92473. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  92474. },
  92475. _parser0$_adjustExceptionSpan$1(span) {
  92476. var start, t1;
  92477. if (span.get$length(span) > 0)
  92478. return span;
  92479. start = this._parser0$_firstNewlineBefore$1(span.get$start(span));
  92480. if (start.$eq(0, span.get$start(span)))
  92481. t1 = span;
  92482. else {
  92483. t1 = start.offset;
  92484. t1 = A._FileSpan$(start.file, t1, t1);
  92485. }
  92486. return t1;
  92487. },
  92488. _parser0$_firstNewlineBefore$1($location) {
  92489. var lastNewline, codeUnit,
  92490. t1 = $location.file,
  92491. t2 = $location.offset,
  92492. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  92493. index = t2 - 1;
  92494. for (lastNewline = null; index >= 0;) {
  92495. codeUnit = B.JSString_methods.codeUnitAt$1(text, index);
  92496. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  92497. if (lastNewline == null)
  92498. t1 = $location;
  92499. else {
  92500. t2 = new A.FileLocation(t1, lastNewline);
  92501. t2.FileLocation$_$2(t1, lastNewline);
  92502. t1 = t2;
  92503. }
  92504. return t1;
  92505. }
  92506. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  92507. lastNewline = index;
  92508. --index;
  92509. }
  92510. return $location;
  92511. }
  92512. };
  92513. A.Parser__parseIdentifier_closure0.prototype = {
  92514. call$0() {
  92515. var t1 = this.$this,
  92516. result = t1.identifier$0();
  92517. t1.scanner.expectDone$0();
  92518. return result;
  92519. },
  92520. $signature: 32
  92521. };
  92522. A.Parser_scanIdentChar_matches0.prototype = {
  92523. call$1(actual) {
  92524. var t1 = this.char;
  92525. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  92526. },
  92527. $signature: 51
  92528. };
  92529. A.Parser_spanFrom_closure0.prototype = {
  92530. call$0() {
  92531. return this.$this._parser0$_interpolationMap.mapSpan$1(this.span);
  92532. },
  92533. $signature: 24
  92534. };
  92535. A.PlaceholderSelector0.prototype = {
  92536. accept$1$1(visitor) {
  92537. return visitor.visitPlaceholderSelector$1(this);
  92538. },
  92539. accept$1(visitor) {
  92540. return this.accept$1$1(visitor, type$.dynamic);
  92541. },
  92542. addSuffix$1(suffix) {
  92543. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  92544. },
  92545. $eq(_, other) {
  92546. if (other == null)
  92547. return false;
  92548. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  92549. },
  92550. get$hashCode(_) {
  92551. return B.JSString_methods.get$hashCode(this.name);
  92552. }
  92553. };
  92554. A.PlainCssCallable0.prototype = {
  92555. $eq(_, other) {
  92556. if (other == null)
  92557. return false;
  92558. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  92559. },
  92560. get$hashCode(_) {
  92561. return B.JSString_methods.get$hashCode(this.name);
  92562. },
  92563. $isAsyncCallable0: 1,
  92564. $isCallable0: 1,
  92565. get$name(receiver) {
  92566. return this.name;
  92567. }
  92568. };
  92569. A.PrefixedMapView0.prototype = {
  92570. get$keys(_) {
  92571. return new A._PrefixedKeys0(this);
  92572. },
  92573. get$length(_) {
  92574. var t1 = this._prefixed_map_view0$_map;
  92575. return t1.get$length(t1);
  92576. },
  92577. get$isEmpty(_) {
  92578. var t1 = this._prefixed_map_view0$_map;
  92579. return t1.get$isEmpty(t1);
  92580. },
  92581. get$isNotEmpty(_) {
  92582. var t1 = this._prefixed_map_view0$_map;
  92583. return t1.get$isNotEmpty(t1);
  92584. },
  92585. $index(_, key) {
  92586. 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;
  92587. },
  92588. containsKey$1(key) {
  92589. 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));
  92590. }
  92591. };
  92592. A._PrefixedKeys0.prototype = {
  92593. get$length(_) {
  92594. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  92595. return t1.get$length(t1);
  92596. },
  92597. get$iterator(_) {
  92598. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  92599. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  92600. return t1.get$iterator(t1);
  92601. },
  92602. contains$1(_, key) {
  92603. return this._prefixed_map_view0$_view.containsKey$1(key);
  92604. }
  92605. };
  92606. A._PrefixedKeys_iterator_closure0.prototype = {
  92607. call$1(key) {
  92608. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  92609. },
  92610. $signature: 5
  92611. };
  92612. A.PseudoSelector0.prototype = {
  92613. get$isHostContext() {
  92614. return this.isClass && this.name === "host-context" && this.selector != null;
  92615. },
  92616. get$specificity() {
  92617. var result, _this = this,
  92618. value = _this._pseudo$__PseudoSelector_specificity_FI;
  92619. if (value === $) {
  92620. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  92621. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92622. _this._pseudo$__PseudoSelector_specificity_FI = result;
  92623. value = result;
  92624. }
  92625. return value;
  92626. },
  92627. withSelector$1(selector) {
  92628. var _this = this;
  92629. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  92630. },
  92631. addSuffix$1(suffix) {
  92632. var _this = this;
  92633. if (_this.argument != null || _this.selector != null)
  92634. _this.super$SimpleSelector$addSuffix0(suffix);
  92635. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  92636. },
  92637. unify$1(compound) {
  92638. var other, result, t2, addedThis, _i, simple, _this = this,
  92639. t1 = _this.name;
  92640. if (t1 === "host" || t1 === "host-context") {
  92641. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  92642. return null;
  92643. } else if (compound.length === 1) {
  92644. other = B.JSArray_methods.get$first(compound);
  92645. if (!(other instanceof A.UniversalSelector0))
  92646. if (other instanceof A.PseudoSelector0)
  92647. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  92648. else
  92649. t1 = false;
  92650. else
  92651. t1 = true;
  92652. if (t1)
  92653. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  92654. }
  92655. if (B.JSArray_methods.contains$1(compound, _this))
  92656. return compound;
  92657. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  92658. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  92659. simple = compound[_i];
  92660. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  92661. if (t2)
  92662. return null;
  92663. result.push(_this);
  92664. addedThis = true;
  92665. }
  92666. result.push(simple);
  92667. }
  92668. if (!addedThis)
  92669. result.push(_this);
  92670. return result;
  92671. },
  92672. isSuperselector$1(other) {
  92673. var selector, t1, t2, _this = this;
  92674. if (_this.super$SimpleSelector$isSuperselector0(other))
  92675. return true;
  92676. selector = _this.selector;
  92677. if (selector == null)
  92678. return _this.$eq(0, other);
  92679. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  92680. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  92681. return t1 == null ? false : t1;
  92682. }
  92683. t1 = type$.JSArray_SimpleSelector_2;
  92684. t2 = _this.span;
  92685. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  92686. },
  92687. accept$1$1(visitor) {
  92688. return visitor.visitPseudoSelector$1(this);
  92689. },
  92690. accept$1(visitor) {
  92691. return this.accept$1$1(visitor, type$.dynamic);
  92692. },
  92693. $eq(_, other) {
  92694. var _this = this;
  92695. if (other == null)
  92696. return false;
  92697. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  92698. },
  92699. get$hashCode(_) {
  92700. var _this = this,
  92701. t1 = B.JSString_methods.get$hashCode(_this.name),
  92702. t2 = !_this.isClass ? 519018 : 218159;
  92703. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  92704. }
  92705. };
  92706. A.PseudoSelector_specificity_closure0.prototype = {
  92707. call$0() {
  92708. var selector, t2,
  92709. t1 = this.$this;
  92710. if (!t1.isClass)
  92711. return 1;
  92712. selector = t1.selector;
  92713. if (selector == null)
  92714. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  92715. switch (t1.normalizedName) {
  92716. case "where":
  92717. return 0;
  92718. case "is":
  92719. case "not":
  92720. case "has":
  92721. case "matches":
  92722. t1 = selector.components;
  92723. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  92724. case "nth-child":
  92725. case "nth-last-child":
  92726. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  92727. t2 = selector.components;
  92728. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  92729. default:
  92730. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  92731. }
  92732. },
  92733. $signature: 12
  92734. };
  92735. A.PseudoSelector_specificity__closure1.prototype = {
  92736. call$1(component) {
  92737. return component.get$specificity();
  92738. },
  92739. $signature: 237
  92740. };
  92741. A.PseudoSelector_specificity__closure2.prototype = {
  92742. call$1(component) {
  92743. return component.get$specificity();
  92744. },
  92745. $signature: 237
  92746. };
  92747. A.PseudoSelector_unify_closure0.prototype = {
  92748. call$1(simple) {
  92749. var t1;
  92750. if (simple instanceof A.PseudoSelector0)
  92751. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  92752. else
  92753. t1 = false;
  92754. return t1;
  92755. },
  92756. $signature: 14
  92757. };
  92758. A.PublicMemberMapView0.prototype = {
  92759. get$keys(_) {
  92760. var t1 = this._public_member_map_view0$_inner;
  92761. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  92762. },
  92763. containsKey$1(key) {
  92764. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  92765. },
  92766. $index(_, key) {
  92767. if (typeof key == "string" && A.isPublic0(key))
  92768. return this._public_member_map_view0$_inner.$index(0, key);
  92769. return null;
  92770. }
  92771. };
  92772. A.QualifiedName0.prototype = {
  92773. $eq(_, other) {
  92774. if (other == null)
  92775. return false;
  92776. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  92777. },
  92778. get$hashCode(_) {
  92779. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  92780. },
  92781. toString$0(_) {
  92782. var t1 = this.namespace,
  92783. t2 = this.name;
  92784. return t1 == null ? t2 : t1 + "|" + t2;
  92785. }
  92786. };
  92787. A.JSClass0.prototype = {};
  92788. A.JSClassExtension_setCustomInspect_closure.prototype = {
  92789. call$4($self, _, __, ___) {
  92790. return this.inspect.call$1($self);
  92791. },
  92792. call$3($self, _, __) {
  92793. return this.call$4($self, _, __, null);
  92794. },
  92795. "call*": "call$4",
  92796. $requiredArgCount: 3,
  92797. $defaultValues() {
  92798. return [null];
  92799. },
  92800. $signature: 507
  92801. };
  92802. A.JSClassExtension_get_defineMethod_closure.prototype = {
  92803. call$2($name, body) {
  92804. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  92805. return null;
  92806. },
  92807. $signature: 238
  92808. };
  92809. A.JSClassExtension_get_defineGetter_closure.prototype = {
  92810. call$2($name, body) {
  92811. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  92812. return null;
  92813. },
  92814. $signature: 238
  92815. };
  92816. A.RenderContext0.prototype = {};
  92817. A.RenderContextOptions0.prototype = {};
  92818. A.RenderContextResult0.prototype = {};
  92819. A.RenderContextResultStats0.prototype = {};
  92820. A.RenderOptions.prototype = {};
  92821. A.RenderResult.prototype = {};
  92822. A.RenderResultStats.prototype = {};
  92823. A.ReplaceExpressionVisitor0.prototype = {
  92824. visitBinaryOperationExpression$1(node) {
  92825. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  92826. },
  92827. visitBooleanExpression$1(node) {
  92828. return node;
  92829. },
  92830. visitColorExpression$1(node) {
  92831. return node;
  92832. },
  92833. visitFunctionExpression$1(node) {
  92834. return new A.FunctionExpression0(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  92835. },
  92836. visitIfExpression$1(node) {
  92837. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  92838. },
  92839. visitListExpression$1(node) {
  92840. var t1 = node.contents;
  92841. 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);
  92842. },
  92843. visitMapExpression$1(node) {
  92844. var t1 = node.pairs;
  92845. return new A.MapExpression0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitMapExpression_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Tuple2<Expression0,Expression0>>")), type$.Tuple2_Expression_Expression_2), node.span);
  92846. },
  92847. visitNullExpression$1(node) {
  92848. return node;
  92849. },
  92850. visitNumberExpression$1(node) {
  92851. return node;
  92852. },
  92853. visitParenthesizedExpression$1(node) {
  92854. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  92855. },
  92856. visitSelectorExpression$1(node) {
  92857. return node;
  92858. },
  92859. visitStringExpression$1(node) {
  92860. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  92861. },
  92862. visitSupportsExpression$1(node) {
  92863. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  92864. },
  92865. visitUnaryOperationExpression$1(node) {
  92866. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  92867. },
  92868. visitValueExpression$1(node) {
  92869. return node;
  92870. },
  92871. visitVariableExpression$1(node) {
  92872. return node;
  92873. },
  92874. visitArgumentInvocation$1(invocation) {
  92875. var t5, t6, _this = this,
  92876. t1 = invocation.positional,
  92877. t2 = type$.String,
  92878. t3 = type$.Expression_2,
  92879. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  92880. for (t5 = invocation.named, t5 = t5.get$entries(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  92881. t6 = t5.get$current(t5);
  92882. t4.$indexSet(0, t6.key, t6.value.accept$1(_this));
  92883. }
  92884. t5 = invocation.rest;
  92885. t5 = t5 == null ? null : t5.accept$1(_this);
  92886. t6 = invocation.keywordRest;
  92887. t6 = t6 == null ? null : t6.accept$1(_this);
  92888. 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);
  92889. },
  92890. visitSupportsCondition$1(condition) {
  92891. var _this = this;
  92892. if (condition instanceof A.SupportsOperation0)
  92893. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  92894. else if (condition instanceof A.SupportsNegation0)
  92895. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  92896. else if (condition instanceof A.SupportsInterpolation0)
  92897. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  92898. else if (condition instanceof A.SupportsDeclaration0)
  92899. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  92900. else
  92901. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition)));
  92902. },
  92903. visitInterpolation$1(interpolation) {
  92904. var t1 = interpolation.contents;
  92905. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  92906. }
  92907. };
  92908. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  92909. call$1(item) {
  92910. return item.accept$1(this.$this);
  92911. },
  92912. $signature: 101
  92913. };
  92914. A.ReplaceExpressionVisitor_visitMapExpression_closure0.prototype = {
  92915. call$1(pair) {
  92916. var t1 = this.$this;
  92917. return new A.Tuple2(pair.item1.accept$1(t1), pair.item2.accept$1(t1), type$.Tuple2_Expression_Expression_2);
  92918. },
  92919. $signature: 509
  92920. };
  92921. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  92922. call$1(expression) {
  92923. return expression.accept$1(this.$this);
  92924. },
  92925. $signature: 101
  92926. };
  92927. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  92928. call$1(node) {
  92929. return type$.Expression_2._is(node) ? node.accept$1(this.$this) : node;
  92930. },
  92931. $signature: 82
  92932. };
  92933. A.ImporterResult0.prototype = {
  92934. get$sourceMapUrl(_) {
  92935. var t1 = this._result$_sourceMapUrl;
  92936. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  92937. }
  92938. };
  92939. A.ReturnRule0.prototype = {
  92940. accept$1$1(visitor) {
  92941. return visitor.visitReturnRule$1(this);
  92942. },
  92943. accept$1(visitor) {
  92944. return this.accept$1$1(visitor, type$.dynamic);
  92945. },
  92946. toString$0(_) {
  92947. return "@return " + this.expression.toString$0(0) + ";";
  92948. },
  92949. $isAstNode0: 1,
  92950. $isStatement0: 1,
  92951. get$span(receiver) {
  92952. return this.span;
  92953. }
  92954. };
  92955. A.main_printError.prototype = {
  92956. call$2(error, stackTrace) {
  92957. var t1 = this._box_0;
  92958. if (t1.printedError)
  92959. $.$get$stderr().writeln$0();
  92960. t1.printedError = true;
  92961. t1 = $.$get$stderr();
  92962. t1.writeln$1(error);
  92963. if (stackTrace != null) {
  92964. t1.writeln$0();
  92965. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  92966. }
  92967. },
  92968. $signature: 510
  92969. };
  92970. A.main_closure.prototype = {
  92971. call$0() {
  92972. var t1, exception;
  92973. try {
  92974. t1 = this.destination;
  92975. if (t1 != null && !this._box_0.options.get$emitErrorCss())
  92976. A.deleteFile(t1);
  92977. } catch (exception) {
  92978. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  92979. throw exception;
  92980. }
  92981. },
  92982. $signature: 1
  92983. };
  92984. A.SassParser0.prototype = {
  92985. get$currentIndentation() {
  92986. return this._sass0$_currentIndentation;
  92987. },
  92988. get$indented() {
  92989. return true;
  92990. },
  92991. styleRuleSelector$0() {
  92992. var t4,
  92993. t1 = this.scanner,
  92994. t2 = t1._string_scanner$_position,
  92995. t3 = new A.StringBuffer(""),
  92996. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  92997. do {
  92998. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  92999. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  93000. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
  93001. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93002. },
  93003. expectStatementSeparator$1($name) {
  93004. var t1, _this = this;
  93005. if (!_this.atEndOfStatement$0())
  93006. _this._sass0$_expectNewline$0();
  93007. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  93008. return;
  93009. t1 = $name == null ? "here" : "beneath a " + $name;
  93010. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  93011. },
  93012. expectStatementSeparator$0() {
  93013. return this.expectStatementSeparator$1(null);
  93014. },
  93015. atEndOfStatement$0() {
  93016. var next = this.scanner.peekChar$0();
  93017. return next == null || next === 10 || next === 13 || next === 12;
  93018. },
  93019. lookingAtChildren$0() {
  93020. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  93021. },
  93022. importArgument$0() {
  93023. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  93024. t1 = _this.scanner;
  93025. switch (t1.peekChar$0()) {
  93026. case 117:
  93027. case 85:
  93028. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93029. if (_this.scanIdentifier$1("url"))
  93030. if (t1.scanChar$1(40)) {
  93031. t1.set$state(start);
  93032. return _this.super$StylesheetParser$importArgument0();
  93033. } else
  93034. t1.set$state(start);
  93035. break;
  93036. case 39:
  93037. case 34:
  93038. return _this.super$StylesheetParser$importArgument0();
  93039. }
  93040. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93041. next = t1.peekChar$0();
  93042. while (true) {
  93043. if (next != null)
  93044. if (next !== 44)
  93045. if (next !== 59)
  93046. t2 = !(next === 10 || next === 13 || next === 12);
  93047. else
  93048. t2 = false;
  93049. else
  93050. t2 = false;
  93051. else
  93052. t2 = false;
  93053. if (!t2)
  93054. break;
  93055. t1.readChar$0();
  93056. next = t1.peekChar$0();
  93057. }
  93058. url = t1.substring$1(0, start.position);
  93059. span = t1.spanFrom$1(start);
  93060. if (_this.isPlainImportUrl$1(url))
  93061. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  93062. else
  93063. try {
  93064. t1 = _this.parseImportUrl$1(url);
  93065. return new A.DynamicImport0(t1, span);
  93066. } catch (exception) {
  93067. t1 = A.unwrapException(exception);
  93068. if (type$.FormatException._is(t1)) {
  93069. innerError = t1;
  93070. stackTrace = A.getTraceFromException(exception);
  93071. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  93072. } else
  93073. throw exception;
  93074. }
  93075. },
  93076. scanElse$1(ifIndentation) {
  93077. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  93078. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  93079. return false;
  93080. t1 = _this.scanner;
  93081. t2 = t1._string_scanner$_position;
  93082. startIndentation = _this._sass0$_currentIndentation;
  93083. startNextIndentation = _this._sass0$_nextIndentation;
  93084. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  93085. _this._sass0$_readIndentation$0();
  93086. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  93087. return true;
  93088. t1.set$state(new A._SpanScannerState(t1, t2));
  93089. _this._sass0$_currentIndentation = startIndentation;
  93090. _this._sass0$_nextIndentation = startNextIndentation;
  93091. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  93092. return false;
  93093. },
  93094. children$1(_, child) {
  93095. var children = A._setArrayType([], type$.JSArray_Statement_2);
  93096. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  93097. return children;
  93098. },
  93099. statements$1(statement) {
  93100. var statements, t2, child,
  93101. t1 = this.scanner,
  93102. first = t1.peekChar$0();
  93103. if (first === 9 || first === 32)
  93104. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  93105. statements = A._setArrayType([], type$.JSArray_Statement_2);
  93106. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  93107. child = this._sass0$_child$1(statement);
  93108. if (child != null)
  93109. statements.push(child);
  93110. this._sass0$_readIndentation$0();
  93111. }
  93112. return statements;
  93113. },
  93114. _sass0$_child$1(child) {
  93115. var _this = this,
  93116. t1 = _this.scanner;
  93117. switch (t1.peekChar$0()) {
  93118. case 13:
  93119. case 10:
  93120. case 12:
  93121. return null;
  93122. case 36:
  93123. return _this.variableDeclarationWithoutNamespace$0();
  93124. case 47:
  93125. switch (t1.peekChar$1(1)) {
  93126. case 47:
  93127. return _this._sass0$_silentComment$0();
  93128. case 42:
  93129. return _this._sass0$_loudComment$0();
  93130. default:
  93131. return child.call$0();
  93132. }
  93133. default:
  93134. return child.call$0();
  93135. }
  93136. },
  93137. _sass0$_silentComment$0() {
  93138. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  93139. t1 = _this.scanner,
  93140. t2 = t1._string_scanner$_position;
  93141. t1.expect$1("//");
  93142. buffer = new A.StringBuffer("");
  93143. parentIndentation = _this._sass0$_currentIndentation;
  93144. t3 = t1.string.length;
  93145. t4 = 1 + parentIndentation;
  93146. t5 = 2 + parentIndentation;
  93147. $label0$0:
  93148. do {
  93149. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  93150. for (i = commentPrefix.length; true;) {
  93151. t6 = buffer._contents += commentPrefix;
  93152. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  93153. t6 += A.Primitives_stringFromCharCode(32);
  93154. buffer._contents = t6;
  93155. }
  93156. while (true) {
  93157. if (t1._string_scanner$_position !== t3) {
  93158. t7 = t1.peekChar$0();
  93159. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  93160. } else
  93161. t7 = false;
  93162. if (!t7)
  93163. break;
  93164. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  93165. buffer._contents = t6;
  93166. }
  93167. buffer._contents = t6 + "\n";
  93168. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  93169. break $label0$0;
  93170. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  93171. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  93172. _this._sass0$_readIndentation$0();
  93173. break;
  93174. }
  93175. _this._sass0$_readIndentation$0();
  93176. }
  93177. } while (t1.scan$1("//"));
  93178. t3 = buffer._contents;
  93179. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93180. },
  93181. _sass0$_loudComment$0() {
  93182. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  93183. t1 = _this.scanner,
  93184. t2 = t1._string_scanner$_position;
  93185. t1.expect$1("/*");
  93186. t3 = new A.StringBuffer("");
  93187. t4 = A._setArrayType([], type$.JSArray_Object);
  93188. buffer = new A.InterpolationBuffer0(t3, t4);
  93189. t3._contents = "" + "/*";
  93190. parentIndentation = _this._sass0$_currentIndentation;
  93191. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  93192. if (first) {
  93193. beginningOfComment = t1._string_scanner$_position;
  93194. _this.spaces$0();
  93195. t7 = t1.peekChar$0();
  93196. if (t7 === 10 || t7 === 13 || t7 === 12) {
  93197. _this._sass0$_readIndentation$0();
  93198. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  93199. } else {
  93200. end = t1._string_scanner$_position;
  93201. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  93202. }
  93203. } else {
  93204. t7 = t3._contents += "\n";
  93205. t7 += " * ";
  93206. t3._contents = t7;
  93207. }
  93208. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  93209. t7 += A.Primitives_stringFromCharCode(32);
  93210. t3._contents = t7;
  93211. }
  93212. $label0$1:
  93213. for (; t1._string_scanner$_position !== t6;)
  93214. switch (t1.peekChar$0()) {
  93215. case 10:
  93216. case 13:
  93217. case 12:
  93218. break $label0$1;
  93219. case 35:
  93220. if (t1.peekChar$1(1) === 123) {
  93221. t7 = _this.singleInterpolation$0();
  93222. buffer._interpolation_buffer0$_flushText$0();
  93223. t4.push(t7);
  93224. } else
  93225. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93226. break;
  93227. default:
  93228. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93229. break;
  93230. }
  93231. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  93232. break;
  93233. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  93234. _this._sass0$_expectNewline$0();
  93235. t7 = t3._contents += "\n";
  93236. t3._contents = t7 + " *";
  93237. }
  93238. _this._sass0$_readIndentation$0();
  93239. }
  93240. t4 = t3._contents;
  93241. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  93242. t3._contents += " */";
  93243. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  93244. },
  93245. whitespaceWithoutComments$0() {
  93246. var t1, t2, next;
  93247. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  93248. next = t1.peekChar$0();
  93249. if (next !== 9 && next !== 32)
  93250. break;
  93251. t1.readChar$0();
  93252. }
  93253. },
  93254. loudComment$0() {
  93255. var next,
  93256. t1 = this.scanner;
  93257. t1.expect$1("/*");
  93258. for (; true;) {
  93259. next = t1.readChar$0();
  93260. if (next === 10 || next === 13 || next === 12)
  93261. t1.error$1(0, "expected */.");
  93262. if (next !== 42)
  93263. continue;
  93264. do
  93265. next = t1.readChar$0();
  93266. while (next === 42);
  93267. if (next === 47)
  93268. break;
  93269. }
  93270. },
  93271. _sass0$_expectNewline$0() {
  93272. var t1 = this.scanner;
  93273. switch (t1.peekChar$0()) {
  93274. case 59:
  93275. t1.error$1(0, string$.semico);
  93276. break;
  93277. case 13:
  93278. t1.readChar$0();
  93279. if (t1.peekChar$0() === 10)
  93280. t1.readChar$0();
  93281. return;
  93282. case 10:
  93283. case 12:
  93284. t1.readChar$0();
  93285. return;
  93286. default:
  93287. t1.error$1(0, "expected newline.");
  93288. }
  93289. },
  93290. _sass0$_lookingAtDoubleNewline$0() {
  93291. var nextChar,
  93292. t1 = this.scanner;
  93293. switch (t1.peekChar$0()) {
  93294. case 13:
  93295. nextChar = t1.peekChar$1(1);
  93296. if (nextChar === 10) {
  93297. t1 = t1.peekChar$1(2);
  93298. return t1 === 10 || t1 === 13 || t1 === 12;
  93299. }
  93300. return nextChar === 13 || nextChar === 12;
  93301. case 10:
  93302. case 12:
  93303. t1 = t1.peekChar$1(1);
  93304. return t1 === 10 || t1 === 13 || t1 === 12;
  93305. default:
  93306. return false;
  93307. }
  93308. },
  93309. _sass0$_whileIndentedLower$1(body) {
  93310. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  93311. parentIndentation = _this._sass0$_currentIndentation;
  93312. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  93313. indentation = _this._sass0$_readIndentation$0();
  93314. if (childIndentation == null)
  93315. childIndentation = indentation;
  93316. if (childIndentation !== indentation) {
  93317. t3 = t1._string_scanner$_position;
  93318. t4 = t2.getColumn$1(t3);
  93319. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  93320. }
  93321. body.call$0();
  93322. }
  93323. },
  93324. _sass0$_readIndentation$0() {
  93325. var t1, _this = this,
  93326. currentIndentation = _this._sass0$_nextIndentation;
  93327. if (currentIndentation == null)
  93328. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  93329. _this._sass0$_currentIndentation = currentIndentation;
  93330. t1 = _this._sass0$_nextIndentationEnd;
  93331. t1.toString;
  93332. _this.scanner.set$state(t1);
  93333. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  93334. return currentIndentation;
  93335. },
  93336. _sass0$_peekIndentation$0() {
  93337. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  93338. cached = _this._sass0$_nextIndentation;
  93339. if (cached != null)
  93340. return cached;
  93341. t1 = _this.scanner;
  93342. t2 = t1._string_scanner$_position;
  93343. t3 = t1.string.length;
  93344. if (t2 === t3) {
  93345. _this._sass0$_nextIndentation = 0;
  93346. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  93347. return 0;
  93348. }
  93349. start = new A._SpanScannerState(t1, t2);
  93350. if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
  93351. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  93352. containsTab = A._Cell$();
  93353. containsSpace = A._Cell$();
  93354. nextIndentation = A._Cell$();
  93355. t2 = nextIndentation.__late_helper$_name;
  93356. do {
  93357. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  93358. nextIndentation.__late_helper$_value = 0;
  93359. for (; true;) {
  93360. next = t1.peekChar$0();
  93361. if (next === 32)
  93362. containsSpace.__late_helper$_value = true;
  93363. else if (next === 9)
  93364. containsTab.__late_helper$_value = true;
  93365. else
  93366. break;
  93367. t4 = nextIndentation.__late_helper$_value;
  93368. if (t4 === nextIndentation)
  93369. A.throwExpression(A.LateError$localNI(t2));
  93370. nextIndentation.__late_helper$_value = t4 + 1;
  93371. t1.readChar$0();
  93372. }
  93373. t4 = t1._string_scanner$_position;
  93374. if (t4 === t3) {
  93375. _this._sass0$_nextIndentation = 0;
  93376. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  93377. t1.set$state(start);
  93378. return 0;
  93379. }
  93380. } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
  93381. t2 = containsTab._readLocal$0();
  93382. t3 = containsSpace._readLocal$0();
  93383. if (t2) {
  93384. if (t3) {
  93385. t2 = t1._string_scanner$_position;
  93386. t3 = t1._sourceFile;
  93387. t4 = t3.getColumn$1(t2);
  93388. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  93389. } else if (_this._sass0$_spaces === true) {
  93390. t2 = t1._string_scanner$_position;
  93391. t3 = t1._sourceFile;
  93392. t4 = t3.getColumn$1(t2);
  93393. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  93394. }
  93395. } else if (t3 && _this._sass0$_spaces === false) {
  93396. t2 = t1._string_scanner$_position;
  93397. t3 = t1._sourceFile;
  93398. t4 = t3.getColumn$1(t2);
  93399. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  93400. }
  93401. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  93402. if (nextIndentation._readLocal$0() > 0)
  93403. if (_this._sass0$_spaces == null)
  93404. _this._sass0$_spaces = containsSpace._readLocal$0();
  93405. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93406. t1.set$state(start);
  93407. return nextIndentation._readLocal$0();
  93408. }
  93409. };
  93410. A.SassParser_children_closure0.prototype = {
  93411. call$0() {
  93412. var parsedChild = this.$this._sass0$_child$1(this.child);
  93413. if (parsedChild != null)
  93414. this.children.push(parsedChild);
  93415. },
  93416. $signature: 0
  93417. };
  93418. A._Exports.prototype = {};
  93419. A._wrapMain_closure.prototype = {
  93420. call$1(_) {
  93421. return A._translateReturnValue(this.main.call$0());
  93422. },
  93423. $signature: 88
  93424. };
  93425. A._wrapMain_closure0.prototype = {
  93426. call$1(args) {
  93427. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  93428. },
  93429. $signature: 88
  93430. };
  93431. A.ScssParser0.prototype = {
  93432. get$indented() {
  93433. return false;
  93434. },
  93435. get$currentIndentation() {
  93436. return 0;
  93437. },
  93438. styleRuleSelector$0() {
  93439. return this.almostAnyValue$0();
  93440. },
  93441. expectStatementSeparator$1($name) {
  93442. var t1, next;
  93443. this.whitespaceWithoutComments$0();
  93444. t1 = this.scanner;
  93445. if (t1._string_scanner$_position === t1.string.length)
  93446. return;
  93447. next = t1.peekChar$0();
  93448. if (next === 59 || next === 125)
  93449. return;
  93450. t1.expectChar$1(59);
  93451. },
  93452. expectStatementSeparator$0() {
  93453. return this.expectStatementSeparator$1(null);
  93454. },
  93455. atEndOfStatement$0() {
  93456. var next = this.scanner.peekChar$0();
  93457. return next == null || next === 59 || next === 125 || next === 123;
  93458. },
  93459. lookingAtChildren$0() {
  93460. return this.scanner.peekChar$0() === 123;
  93461. },
  93462. scanElse$1(ifIndentation) {
  93463. var t3, _this = this,
  93464. t1 = _this.scanner,
  93465. t2 = t1._string_scanner$_position;
  93466. _this.whitespace$0();
  93467. t3 = t1._string_scanner$_position;
  93468. if (t1.scanChar$1(64)) {
  93469. if (_this.scanIdentifier$2$caseSensitive("else", true))
  93470. return true;
  93471. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  93472. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_elseif_false_elseif, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  93473. t1.set$position(t1._string_scanner$_position - 2);
  93474. return true;
  93475. }
  93476. }
  93477. t1.set$state(new A._SpanScannerState(t1, t2));
  93478. return false;
  93479. },
  93480. children$1(_, child) {
  93481. var children, _this = this,
  93482. t1 = _this.scanner;
  93483. t1.expectChar$1(123);
  93484. _this.whitespaceWithoutComments$0();
  93485. children = A._setArrayType([], type$.JSArray_Statement_2);
  93486. for (; true;)
  93487. switch (t1.peekChar$0()) {
  93488. case 36:
  93489. children.push(_this.variableDeclarationWithoutNamespace$0());
  93490. break;
  93491. case 47:
  93492. switch (t1.peekChar$1(1)) {
  93493. case 47:
  93494. children.push(_this._scss0$_silentComment$0());
  93495. _this.whitespaceWithoutComments$0();
  93496. break;
  93497. case 42:
  93498. children.push(_this._scss0$_loudComment$0());
  93499. _this.whitespaceWithoutComments$0();
  93500. break;
  93501. default:
  93502. children.push(child.call$0());
  93503. break;
  93504. }
  93505. break;
  93506. case 59:
  93507. t1.readChar$0();
  93508. _this.whitespaceWithoutComments$0();
  93509. break;
  93510. case 125:
  93511. t1.expectChar$1(125);
  93512. return children;
  93513. default:
  93514. children.push(child.call$0());
  93515. break;
  93516. }
  93517. },
  93518. statements$1(statement) {
  93519. var t1, t2, child, _this = this,
  93520. statements = A._setArrayType([], type$.JSArray_Statement_2);
  93521. _this.whitespaceWithoutComments$0();
  93522. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  93523. switch (t1.peekChar$0()) {
  93524. case 36:
  93525. statements.push(_this.variableDeclarationWithoutNamespace$0());
  93526. break;
  93527. case 47:
  93528. switch (t1.peekChar$1(1)) {
  93529. case 47:
  93530. statements.push(_this._scss0$_silentComment$0());
  93531. _this.whitespaceWithoutComments$0();
  93532. break;
  93533. case 42:
  93534. statements.push(_this._scss0$_loudComment$0());
  93535. _this.whitespaceWithoutComments$0();
  93536. break;
  93537. default:
  93538. child = statement.call$0();
  93539. if (child != null)
  93540. statements.push(child);
  93541. break;
  93542. }
  93543. break;
  93544. case 59:
  93545. t1.readChar$0();
  93546. _this.whitespaceWithoutComments$0();
  93547. break;
  93548. default:
  93549. child = statement.call$0();
  93550. if (child != null)
  93551. statements.push(child);
  93552. break;
  93553. }
  93554. return statements;
  93555. },
  93556. _scss0$_silentComment$0() {
  93557. var t2, t3, _this = this,
  93558. t1 = _this.scanner,
  93559. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93560. t1.expect$1("//");
  93561. t2 = t1.string.length;
  93562. do {
  93563. while (true) {
  93564. if (t1._string_scanner$_position !== t2) {
  93565. t3 = t1.readChar$0();
  93566. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  93567. } else
  93568. t3 = false;
  93569. if (!t3)
  93570. break;
  93571. }
  93572. if (t1._string_scanner$_position === t2)
  93573. break;
  93574. _this.spaces$0();
  93575. } while (t1.scan$1("//"));
  93576. if (_this.get$plainCss())
  93577. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  93578. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  93579. },
  93580. _scss0$_loudComment$0() {
  93581. var t3, t4, buffer, t5, endPosition, t6, result,
  93582. t1 = this.scanner,
  93583. t2 = t1._string_scanner$_position;
  93584. t1.expect$1("/*");
  93585. t3 = new A.StringBuffer("");
  93586. t4 = A._setArrayType([], type$.JSArray_Object);
  93587. buffer = new A.InterpolationBuffer0(t3, t4);
  93588. t3._contents = "" + "/*";
  93589. for (; true;)
  93590. switch (t1.peekChar$0()) {
  93591. case 35:
  93592. if (t1.peekChar$1(1) === 123) {
  93593. t5 = this.singleInterpolation$0();
  93594. buffer._interpolation_buffer0$_flushText$0();
  93595. t4.push(t5);
  93596. } else
  93597. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93598. break;
  93599. case 42:
  93600. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93601. if (t1.peekChar$0() !== 47)
  93602. break;
  93603. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93604. endPosition = t1._string_scanner$_position;
  93605. t5 = t1._sourceFile;
  93606. t6 = new A._SpanScannerState(t1, t2).position;
  93607. t1 = new A._FileSpan(t5, t6, endPosition);
  93608. t1._FileSpan$3(t5, t6, endPosition);
  93609. t6 = type$.Object;
  93610. t5 = A.List_List$of(t4, true, t6);
  93611. t2 = t3._contents;
  93612. if (t2.length !== 0)
  93613. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  93614. result = A.List_List$from(t5, false, t6);
  93615. result.fixed$length = Array;
  93616. result.immutable$list = Array;
  93617. t2 = new A.Interpolation0(result, t1);
  93618. t2.Interpolation$20(t5, t1);
  93619. return new A.LoudComment0(t2);
  93620. case 13:
  93621. t1.readChar$0();
  93622. if (t1.peekChar$0() !== 10)
  93623. t3._contents += A.Primitives_stringFromCharCode(10);
  93624. break;
  93625. case 12:
  93626. t1.readChar$0();
  93627. t3._contents += A.Primitives_stringFromCharCode(10);
  93628. break;
  93629. default:
  93630. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  93631. break;
  93632. }
  93633. }
  93634. };
  93635. A.Selector0.prototype = {
  93636. assertNotBogus$1$name($name) {
  93637. var t1;
  93638. if (!this.accept$1(B._IsBogusVisitor_true0))
  93639. return;
  93640. t1 = this.toString$0(0);
  93641. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_XV6);
  93642. },
  93643. toString$0(_) {
  93644. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  93645. this.accept$1(visitor);
  93646. return visitor._serialize0$_buffer.toString$0(0);
  93647. },
  93648. $isAstNode0: 1,
  93649. get$span(receiver) {
  93650. return this.span;
  93651. }
  93652. };
  93653. A._IsInvisibleVisitor2.prototype = {
  93654. visitSelectorList$1(list) {
  93655. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  93656. },
  93657. visitComplexSelector$1(complex) {
  93658. var t1;
  93659. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  93660. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  93661. else
  93662. t1 = true;
  93663. return t1;
  93664. },
  93665. visitPlaceholderSelector$1(placeholder) {
  93666. return true;
  93667. },
  93668. visitPseudoSelector$1(pseudo) {
  93669. var t1,
  93670. selector = pseudo.selector;
  93671. if (selector == null)
  93672. return false;
  93673. if (pseudo.name === "not")
  93674. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true0);
  93675. else
  93676. t1 = this.visitSelectorList$1(selector);
  93677. return t1;
  93678. }
  93679. };
  93680. A._IsBogusVisitor0.prototype = {
  93681. visitComplexSelector$1(complex) {
  93682. var t2, t3,
  93683. t1 = complex.components;
  93684. if (t1.length === 0)
  93685. return complex.leadingCombinators.length !== 0;
  93686. else {
  93687. t2 = complex.leadingCombinators;
  93688. t3 = this.includeLeadingCombinator ? 0 : 1;
  93689. return t2.length > t3 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure0(this));
  93690. }
  93691. },
  93692. visitPseudoSelector$1(pseudo) {
  93693. var selector = pseudo.selector;
  93694. if (selector == null)
  93695. return false;
  93696. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  93697. }
  93698. };
  93699. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  93700. call$1(component) {
  93701. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  93702. },
  93703. $signature: 46
  93704. };
  93705. A._IsUselessVisitor0.prototype = {
  93706. visitComplexSelector$1(complex) {
  93707. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  93708. },
  93709. visitPseudoSelector$1(pseudo) {
  93710. return pseudo.accept$1(B._IsBogusVisitor_true0);
  93711. }
  93712. };
  93713. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  93714. call$1(component) {
  93715. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  93716. },
  93717. $signature: 46
  93718. };
  93719. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  93720. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  93721. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  93722. A.SelectorExpression0.prototype = {
  93723. accept$1$1(visitor) {
  93724. return visitor.visitSelectorExpression$1(this);
  93725. },
  93726. accept$1(visitor) {
  93727. return this.accept$1$1(visitor, type$.dynamic);
  93728. },
  93729. toString$0(_) {
  93730. return "&";
  93731. },
  93732. $isExpression0: 1,
  93733. $isAstNode0: 1,
  93734. get$span(receiver) {
  93735. return this.span;
  93736. }
  93737. };
  93738. A._nest_closure0.prototype = {
  93739. call$1($arguments) {
  93740. var t1 = {},
  93741. selectors = J.$index$asx($arguments, 0).get$asList();
  93742. if (selectors.length === 0)
  93743. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  93744. t1.first = true;
  93745. 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();
  93746. },
  93747. $signature: 21
  93748. };
  93749. A._nest__closure1.prototype = {
  93750. call$1(selector) {
  93751. var t1 = this._box_0,
  93752. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  93753. t1.first = false;
  93754. return result;
  93755. },
  93756. $signature: 239
  93757. };
  93758. A._nest__closure2.prototype = {
  93759. call$2($parent, child) {
  93760. return child.resolveParentSelectors$1($parent);
  93761. },
  93762. $signature: 240
  93763. };
  93764. A._append_closure1.prototype = {
  93765. call$1($arguments) {
  93766. var selectors = J.$index$asx($arguments, 0).get$asList();
  93767. if (selectors.length === 0)
  93768. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  93769. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2(A.EvaluationContext_current0().get$currentCallableSpan())).get$asSassList();
  93770. },
  93771. $signature: 21
  93772. };
  93773. A._append__closure1.prototype = {
  93774. call$1(selector) {
  93775. return A.SassApiValue_assertSelector0(selector, false, null);
  93776. },
  93777. $signature: 239
  93778. };
  93779. A._append__closure2.prototype = {
  93780. call$2($parent, child) {
  93781. var t1 = child.components,
  93782. t2 = this.span;
  93783. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), t2).resolveParentSelectors$1($parent);
  93784. },
  93785. $signature: 240
  93786. };
  93787. A._append___closure0.prototype = {
  93788. call$1(complex) {
  93789. var t1, component, newCompound, t2, t3;
  93790. if (complex.leadingCombinators.length !== 0)
  93791. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  93792. t1 = complex.components;
  93793. component = B.JSArray_methods.get$first(t1);
  93794. newCompound = A._prependParent0(component.selector);
  93795. if (newCompound == null)
  93796. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  93797. t2 = this.span;
  93798. t3 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2);
  93799. B.JSArray_methods.addAll$1(t3, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  93800. return A.ComplexSelector$0(B.List_empty14, t3, t2, false);
  93801. },
  93802. $signature: 48
  93803. };
  93804. A._extend_closure0.prototype = {
  93805. call$1($arguments) {
  93806. var target, source,
  93807. _s8_ = "selector",
  93808. _s8_0 = "extendee",
  93809. _s8_1 = "extender",
  93810. t1 = J.getInterceptor$asx($arguments),
  93811. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  93812. selector.assertNotBogus$1$name(_s8_);
  93813. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  93814. target.assertNotBogus$1$name(_s8_0);
  93815. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  93816. source.assertNotBogus$1$name(_s8_1);
  93817. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  93818. },
  93819. $signature: 21
  93820. };
  93821. A._replace_closure0.prototype = {
  93822. call$1($arguments) {
  93823. var target, source,
  93824. _s8_ = "selector",
  93825. _s8_0 = "original",
  93826. _s11_ = "replacement",
  93827. t1 = J.getInterceptor$asx($arguments),
  93828. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  93829. selector.assertNotBogus$1$name(_s8_);
  93830. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  93831. target.assertNotBogus$1$name(_s8_0);
  93832. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  93833. source.assertNotBogus$1$name(_s11_);
  93834. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  93835. },
  93836. $signature: 21
  93837. };
  93838. A._unify_closure0.prototype = {
  93839. call$1($arguments) {
  93840. var selector2, result,
  93841. _s9_ = "selector1",
  93842. _s9_0 = "selector2",
  93843. t1 = J.getInterceptor$asx($arguments),
  93844. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  93845. selector1.assertNotBogus$1$name(_s9_);
  93846. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  93847. selector2.assertNotBogus$1$name(_s9_0);
  93848. result = selector1.unify$1(selector2);
  93849. return result == null ? B.C__SassNull0 : result.get$asSassList();
  93850. },
  93851. $signature: 3
  93852. };
  93853. A._isSuperselector_closure0.prototype = {
  93854. call$1($arguments) {
  93855. var selector2,
  93856. t1 = J.getInterceptor$asx($arguments),
  93857. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  93858. selector1.assertNotBogus$1$name("super");
  93859. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  93860. selector2.assertNotBogus$1$name("sub");
  93861. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93862. },
  93863. $signature: 20
  93864. };
  93865. A._simpleSelectors_closure0.prototype = {
  93866. call$1($arguments) {
  93867. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  93868. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  93869. },
  93870. $signature: 21
  93871. };
  93872. A._simpleSelectors__closure0.prototype = {
  93873. call$1(simple) {
  93874. return new A.SassString0(A.serializeSelector0(simple, true), false);
  93875. },
  93876. $signature: 513
  93877. };
  93878. A._parse_closure0.prototype = {
  93879. call$1($arguments) {
  93880. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  93881. },
  93882. $signature: 21
  93883. };
  93884. A.SelectorParser0.prototype = {
  93885. parse$0() {
  93886. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  93887. },
  93888. parseCompoundSelector$0() {
  93889. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  93890. },
  93891. _selector$_selectorList$0() {
  93892. var t4, t5, lineBreak, _this = this,
  93893. t1 = _this.scanner,
  93894. t2 = t1._string_scanner$_position,
  93895. t3 = t1._sourceFile,
  93896. previousLine = t3.getLine$1(t2),
  93897. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  93898. _this.whitespace$0();
  93899. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  93900. _this.whitespace$0();
  93901. if (t1.peekChar$0() === 44)
  93902. continue;
  93903. t5 = t1._string_scanner$_position;
  93904. if (t5 === t4)
  93905. break;
  93906. lineBreak = t3.getLine$1(t5) !== previousLine;
  93907. if (lineBreak)
  93908. previousLine = t3.getLine$1(t1._string_scanner$_position);
  93909. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  93910. }
  93911. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93912. },
  93913. _selector$_complexSelector$1$lineBreak(lineBreak) {
  93914. var t4, t5, lastCompound, initialCombinators, next, t6, result, _this = this,
  93915. t1 = _this.scanner,
  93916. t2 = t1._string_scanner$_position,
  93917. componentStart = new A._SpanScannerState(t1, t2),
  93918. t3 = type$.JSArray_CssValue_Combinator_2,
  93919. combinators = A._setArrayType([], t3),
  93920. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  93921. $label0$1:
  93922. for (t4 = B.Set_2Vk2._map, t5 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  93923. _this.whitespace$0();
  93924. next = t1.peekChar$0();
  93925. switch (next) {
  93926. case 43:
  93927. t6 = t1._string_scanner$_position;
  93928. t1.readChar$0();
  93929. combinators.push(new A.CssValue0(B.Combinator_4QF0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  93930. break;
  93931. case 62:
  93932. t6 = t1._string_scanner$_position;
  93933. t1.readChar$0();
  93934. combinators.push(new A.CssValue0(B.Combinator_Cht0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  93935. break;
  93936. case 126:
  93937. t6 = t1._string_scanner$_position;
  93938. t1.readChar$0();
  93939. combinators.push(new A.CssValue0(B.Combinator_Htt0, _this.spanFrom$1(new A._SpanScannerState(t1, t6)), t5));
  93940. break;
  93941. default:
  93942. if (next != null)
  93943. t6 = !t4.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  93944. else
  93945. t6 = true;
  93946. if (t6)
  93947. break $label0$1;
  93948. if (lastCompound != null) {
  93949. t6 = _this.spanFrom$1(componentStart);
  93950. result = A.List_List$from(combinators, false, t5);
  93951. result.fixed$length = Array;
  93952. result.immutable$list = Array;
  93953. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t6));
  93954. } else if (combinators.length !== 0) {
  93955. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93956. initialCombinators = combinators;
  93957. }
  93958. lastCompound = _this._selector$_compoundSelector$0();
  93959. combinators = A._setArrayType([], t3);
  93960. if (t1.peekChar$0() === 38)
  93961. t1.error$1(0, string$.x22x26__ma);
  93962. break;
  93963. }
  93964. }
  93965. if (lastCompound != null) {
  93966. t3 = _this.spanFrom$1(componentStart);
  93967. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t5), t3));
  93968. } else if (combinators.length !== 0)
  93969. initialCombinators = combinators;
  93970. else
  93971. t1.error$1(0, "expected selector.");
  93972. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  93973. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  93974. },
  93975. _selector$_complexSelector$0() {
  93976. return this._selector$_complexSelector$1$lineBreak(false);
  93977. },
  93978. _selector$_compoundSelector$0() {
  93979. var t3, _this = this,
  93980. t1 = _this.scanner,
  93981. t2 = t1._string_scanner$_position,
  93982. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  93983. while (true) {
  93984. t3 = t1.peekChar$0();
  93985. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  93986. break;
  93987. components.push(_this._selector$_simpleSelector$1$allowParent(false));
  93988. }
  93989. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93990. },
  93991. _selector$_simpleSelector$1$allowParent(allowParent) {
  93992. var t2, $name, text, t3, suffix, _this = this,
  93993. t1 = _this.scanner,
  93994. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93995. if (allowParent == null)
  93996. allowParent = _this._selector$_allowParent;
  93997. switch (t1.peekChar$0()) {
  93998. case 91:
  93999. return _this._selector$_attributeSelector$0();
  94000. case 46:
  94001. t2 = t1._string_scanner$_position;
  94002. t1.expectChar$1(46);
  94003. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94004. case 35:
  94005. t2 = t1._string_scanner$_position;
  94006. t1.expectChar$1(35);
  94007. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94008. case 37:
  94009. t2 = t1._string_scanner$_position;
  94010. t1.expectChar$1(37);
  94011. $name = _this.identifier$0();
  94012. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  94013. if (!_this._selector$_allowPlaceholder)
  94014. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  94015. return new A.PlaceholderSelector0($name, t2);
  94016. case 58:
  94017. return _this._selector$_pseudoSelector$0();
  94018. case 38:
  94019. t2 = t1._string_scanner$_position;
  94020. t1.expectChar$1(38);
  94021. if (_this.lookingAtIdentifierBody$0()) {
  94022. text = new A.StringBuffer("");
  94023. _this._parser0$_identifierBody$1(text);
  94024. if (text._contents.length === 0)
  94025. t1.error$1(0, "Expected identifier body.");
  94026. t3 = text._contents;
  94027. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  94028. } else
  94029. suffix = null;
  94030. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  94031. if (!allowParent)
  94032. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  94033. return new A.ParentSelector0(suffix, t2);
  94034. default:
  94035. return _this._selector$_typeOrUniversalSelector$0();
  94036. }
  94037. },
  94038. _selector$_simpleSelector$0() {
  94039. return this._selector$_simpleSelector$1$allowParent(null);
  94040. },
  94041. _selector$_attributeSelector$0() {
  94042. var $name, operator, next, value, modifier, _this = this, _null = null,
  94043. t1 = _this.scanner,
  94044. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94045. t1.expectChar$1(91);
  94046. _this.whitespace$0();
  94047. $name = _this._selector$_attributeName$0();
  94048. _this.whitespace$0();
  94049. if (t1.scanChar$1(93))
  94050. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  94051. operator = _this._selector$_attributeOperator$0();
  94052. _this.whitespace$0();
  94053. next = t1.peekChar$0();
  94054. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  94055. _this.whitespace$0();
  94056. next = t1.peekChar$0();
  94057. modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  94058. t1.expectChar$1(93);
  94059. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  94060. },
  94061. _selector$_attributeName$0() {
  94062. var nameOrNamespace, _this = this,
  94063. t1 = _this.scanner;
  94064. if (t1.scanChar$1(42)) {
  94065. t1.expectChar$1(124);
  94066. return new A.QualifiedName0(_this.identifier$0(), "*");
  94067. }
  94068. if (t1.scanChar$1(124))
  94069. return new A.QualifiedName0(_this.identifier$0(), "");
  94070. nameOrNamespace = _this.identifier$0();
  94071. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  94072. return new A.QualifiedName0(nameOrNamespace, null);
  94073. t1.readChar$0();
  94074. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  94075. },
  94076. _selector$_attributeOperator$0() {
  94077. var t1 = this.scanner,
  94078. t2 = t1._string_scanner$_position;
  94079. switch (t1.readChar$0()) {
  94080. case 61:
  94081. return B.AttributeOperator_ES60;
  94082. case 126:
  94083. t1.expectChar$1(61);
  94084. return B.AttributeOperator_r600;
  94085. case 124:
  94086. t1.expectChar$1(61);
  94087. return B.AttributeOperator_ivT0;
  94088. case 94:
  94089. t1.expectChar$1(61);
  94090. return B.AttributeOperator_eot0;
  94091. case 36:
  94092. t1.expectChar$1(61);
  94093. return B.AttributeOperator_BGd0;
  94094. case 42:
  94095. t1.expectChar$1(61);
  94096. return B.AttributeOperator_8aB0;
  94097. default:
  94098. t1.error$2$position(0, 'Expected "]".', t2);
  94099. }
  94100. },
  94101. _selector$_pseudoSelector$0() {
  94102. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  94103. t1 = _this.scanner,
  94104. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94105. t1.expectChar$1(58);
  94106. element = t1.scanChar$1(58);
  94107. $name = _this.identifier$0();
  94108. if (!t1.scanChar$1(40))
  94109. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  94110. _this.whitespace$0();
  94111. unvendored = A.unvendor0($name);
  94112. if (element)
  94113. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  94114. selector = _this._selector$_selectorList$0();
  94115. argument = _null;
  94116. } else {
  94117. argument = _this.declarationValue$1$allowEmpty(true);
  94118. selector = _null;
  94119. }
  94120. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  94121. selector = _this._selector$_selectorList$0();
  94122. argument = _null;
  94123. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  94124. argument = _this._selector$_aNPlusB$0();
  94125. _this.whitespace$0();
  94126. t2 = t1.peekChar$1(-1);
  94127. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  94128. _this.expectIdentifier$1("of");
  94129. argument += " of";
  94130. _this.whitespace$0();
  94131. selector = _this._selector$_selectorList$0();
  94132. } else
  94133. selector = _null;
  94134. } else {
  94135. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  94136. selector = _null;
  94137. }
  94138. t1.expectChar$1(41);
  94139. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  94140. },
  94141. _selector$_aNPlusB$0() {
  94142. var t2, first, t3, next, last, _this = this,
  94143. t1 = _this.scanner;
  94144. switch (t1.peekChar$0()) {
  94145. case 101:
  94146. case 69:
  94147. _this.expectIdentifier$1("even");
  94148. return "even";
  94149. case 111:
  94150. case 79:
  94151. _this.expectIdentifier$1("odd");
  94152. return "odd";
  94153. case 43:
  94154. case 45:
  94155. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  94156. break;
  94157. default:
  94158. t2 = "";
  94159. }
  94160. first = t1.peekChar$0();
  94161. if (first != null && A.isDigit0(first)) {
  94162. while (true) {
  94163. t3 = t1.peekChar$0();
  94164. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  94165. break;
  94166. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94167. }
  94168. _this.whitespace$0();
  94169. if (!_this.scanIdentChar$1(110))
  94170. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94171. } else
  94172. _this.expectIdentChar$1(110);
  94173. t2 += A.Primitives_stringFromCharCode(110);
  94174. _this.whitespace$0();
  94175. next = t1.peekChar$0();
  94176. if (next !== 43 && next !== 45)
  94177. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94178. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94179. _this.whitespace$0();
  94180. last = t1.peekChar$0();
  94181. if (last == null || !A.isDigit0(last))
  94182. t1.error$1(0, "Expected a number.");
  94183. while (true) {
  94184. t3 = t1.peekChar$0();
  94185. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  94186. break;
  94187. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  94188. }
  94189. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94190. },
  94191. _selector$_typeOrUniversalSelector$0() {
  94192. var nameOrNamespace, _this = this,
  94193. t1 = _this.scanner,
  94194. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  94195. first = t1.peekChar$0();
  94196. if (first === 42) {
  94197. t1.readChar$0();
  94198. if (!t1.scanChar$1(124))
  94199. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  94200. if (t1.scanChar$1(42))
  94201. return new A.UniversalSelector0("*", _this.spanFrom$1(start));
  94202. else
  94203. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  94204. } else if (first === 124) {
  94205. t1.readChar$0();
  94206. if (t1.scanChar$1(42))
  94207. return new A.UniversalSelector0("", _this.spanFrom$1(start));
  94208. else
  94209. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""), _this.spanFrom$1(start));
  94210. }
  94211. nameOrNamespace = _this.identifier$0();
  94212. if (!t1.scanChar$1(124))
  94213. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  94214. else if (t1.scanChar$1(42))
  94215. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  94216. else
  94217. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  94218. }
  94219. };
  94220. A.SelectorParser_parse_closure0.prototype = {
  94221. call$0() {
  94222. var t1 = this.$this,
  94223. selector = t1._selector$_selectorList$0();
  94224. t1 = t1.scanner;
  94225. if (t1._string_scanner$_position !== t1.string.length)
  94226. t1.error$1(0, "expected selector.");
  94227. return selector;
  94228. },
  94229. $signature: 514
  94230. };
  94231. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  94232. call$0() {
  94233. var t1 = this.$this,
  94234. compound = t1._selector$_compoundSelector$0();
  94235. t1 = t1.scanner;
  94236. if (t1._string_scanner$_position !== t1.string.length)
  94237. t1.error$1(0, "expected selector.");
  94238. return compound;
  94239. },
  94240. $signature: 515
  94241. };
  94242. A.SelectorSearchVisitor0.prototype = {
  94243. visitAttributeSelector$1(attribute) {
  94244. return null;
  94245. },
  94246. visitClassSelector$1(klass) {
  94247. return null;
  94248. },
  94249. visitIDSelector$1(id) {
  94250. return null;
  94251. },
  94252. visitPlaceholderSelector$1(placeholder) {
  94253. return null;
  94254. },
  94255. visitTypeSelector$1(type) {
  94256. return null;
  94257. },
  94258. visitUniversalSelector$1(universal) {
  94259. return null;
  94260. },
  94261. visitComplexSelector$1(complex) {
  94262. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  94263. },
  94264. visitCompoundSelector$1(compound) {
  94265. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  94266. },
  94267. visitPseudoSelector$1(pseudo) {
  94268. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  94269. },
  94270. visitSelectorList$1(list) {
  94271. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  94272. }
  94273. };
  94274. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  94275. call$1(component) {
  94276. return this.$this.visitCompoundSelector$1(component.selector);
  94277. },
  94278. $signature() {
  94279. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  94280. }
  94281. };
  94282. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  94283. call$1(simple) {
  94284. return simple.accept$1(this.$this);
  94285. },
  94286. $signature() {
  94287. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  94288. }
  94289. };
  94290. A.serialize_closure0.prototype = {
  94291. call$1(codeUnit) {
  94292. return codeUnit > 127;
  94293. },
  94294. $signature: 51
  94295. };
  94296. A._SerializeVisitor0.prototype = {
  94297. visitCssStylesheet$1(node) {
  94298. var t1, t2, t3, t4, t5, t6, t7, t8, previous, previous0, t9, _this = this;
  94299. 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$.CssComment_2, t6 = type$.CssParentNode_2, t7 = _this._serialize0$_buffer, t8 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
  94300. previous0 = t1.get$current(t1);
  94301. if (t2)
  94302. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  94303. else
  94304. t9 = false;
  94305. if (t9)
  94306. continue;
  94307. if (previous != null) {
  94308. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  94309. t7.writeCharCode$1(59);
  94310. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  94311. if (t4)
  94312. t7.writeCharCode$1(32);
  94313. } else {
  94314. if (t4)
  94315. t7.write$1(0, t8);
  94316. if (previous.get$isGroupEnd())
  94317. if (t4)
  94318. t7.write$1(0, t8);
  94319. }
  94320. }
  94321. previous0.accept$1(_this);
  94322. previous = previous0;
  94323. }
  94324. if (previous != null)
  94325. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  94326. else
  94327. t1 = false;
  94328. if (t1)
  94329. t7.writeCharCode$1(59);
  94330. },
  94331. visitCssComment$1(node) {
  94332. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  94333. },
  94334. visitCssAtRule$1(node) {
  94335. var t1, _this = this;
  94336. _this._serialize0$_writeIndentation$0();
  94337. t1 = _this._serialize0$_buffer;
  94338. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  94339. if (!node.isChildless) {
  94340. if (_this._serialize0$_style !== B.OutputStyle_10)
  94341. t1.writeCharCode$1(32);
  94342. _this._serialize0$_visitChildren$1(node);
  94343. }
  94344. },
  94345. visitCssMediaRule$1(node) {
  94346. var t1, _this = this;
  94347. _this._serialize0$_writeIndentation$0();
  94348. t1 = _this._serialize0$_buffer;
  94349. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  94350. if (_this._serialize0$_style !== B.OutputStyle_10)
  94351. t1.writeCharCode$1(32);
  94352. _this._serialize0$_visitChildren$1(node);
  94353. },
  94354. visitCssImport$1(node) {
  94355. this._serialize0$_writeIndentation$0();
  94356. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  94357. },
  94358. _serialize0$_writeImportUrl$1(url) {
  94359. var urlContents, maybeQuote, _this = this;
  94360. if (_this._serialize0$_style !== B.OutputStyle_10 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  94361. _this._serialize0$_buffer.write$1(0, url);
  94362. return;
  94363. }
  94364. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  94365. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  94366. if (maybeQuote === 39 || maybeQuote === 34)
  94367. _this._serialize0$_buffer.write$1(0, urlContents);
  94368. else
  94369. _this._serialize0$_visitQuotedString$1(urlContents);
  94370. },
  94371. visitCssKeyframeBlock$1(node) {
  94372. var t1, _this = this;
  94373. _this._serialize0$_writeIndentation$0();
  94374. t1 = _this._serialize0$_buffer;
  94375. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  94376. if (_this._serialize0$_style !== B.OutputStyle_10)
  94377. t1.writeCharCode$1(32);
  94378. _this._serialize0$_visitChildren$1(node);
  94379. },
  94380. _serialize0$_visitMediaQuery$1(query) {
  94381. var t2, condition, operator, t3, _this = this,
  94382. t1 = query.modifier;
  94383. if (t1 != null) {
  94384. t2 = _this._serialize0$_buffer;
  94385. t2.write$1(0, t1);
  94386. t2.writeCharCode$1(32);
  94387. }
  94388. t1 = query.type;
  94389. if (t1 != null) {
  94390. t2 = _this._serialize0$_buffer;
  94391. t2.write$1(0, t1);
  94392. if (query.conditions.length !== 0)
  94393. t2.write$1(0, " and ");
  94394. }
  94395. t1 = query.conditions;
  94396. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  94397. t2 = _this._serialize0$_buffer;
  94398. t2.write$1(0, "not ");
  94399. condition = B.JSArray_methods.get$first(t1);
  94400. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  94401. } else {
  94402. operator = query.conjunction ? "and" : "or";
  94403. t2 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  94404. t3 = _this._serialize0$_buffer;
  94405. _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
  94406. }
  94407. },
  94408. visitCssStyleRule$1(node) {
  94409. var t1, _this = this;
  94410. _this._serialize0$_writeIndentation$0();
  94411. t1 = _this._serialize0$_buffer;
  94412. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  94413. if (_this._serialize0$_style !== B.OutputStyle_10)
  94414. t1.writeCharCode$1(32);
  94415. _this._serialize0$_visitChildren$1(node);
  94416. },
  94417. visitCssSupportsRule$1(node) {
  94418. var t1, _this = this;
  94419. _this._serialize0$_writeIndentation$0();
  94420. t1 = _this._serialize0$_buffer;
  94421. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  94422. if (_this._serialize0$_style !== B.OutputStyle_10)
  94423. t1.writeCharCode$1(32);
  94424. _this._serialize0$_visitChildren$1(node);
  94425. },
  94426. visitCssDeclaration$1(node) {
  94427. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  94428. _this._serialize0$_writeIndentation$0();
  94429. t1 = node.name;
  94430. _this._serialize0$_write$1(t1);
  94431. t2 = _this._serialize0$_buffer;
  94432. t2.writeCharCode$1(58);
  94433. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  94434. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  94435. else {
  94436. if (_this._serialize0$_style !== B.OutputStyle_10)
  94437. t2.writeCharCode$1(32);
  94438. try {
  94439. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  94440. } catch (exception) {
  94441. t1 = A.unwrapException(exception);
  94442. if (t1 instanceof A.MultiSpanSassScriptException0) {
  94443. error = t1;
  94444. stackTrace = A.getTraceFromException(exception);
  94445. t1 = error.message;
  94446. A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, node.value.span), stackTrace);
  94447. } else if (t1 instanceof A.SassScriptException0) {
  94448. error0 = t1;
  94449. stackTrace0 = A.getTraceFromException(exception);
  94450. A.throwWithTrace0(new A.SassException0(error0.message, node.value.span), stackTrace0);
  94451. } else
  94452. throw exception;
  94453. }
  94454. }
  94455. },
  94456. _serialize0$_writeFoldedValue$1(node) {
  94457. var t1, t2, next, t3,
  94458. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  94459. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  94460. next = scanner.readChar$0();
  94461. if (next !== 10) {
  94462. t2.writeCharCode$1(next);
  94463. continue;
  94464. }
  94465. t2.writeCharCode$1(32);
  94466. while (true) {
  94467. t3 = scanner.peekChar$0();
  94468. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  94469. break;
  94470. scanner.readChar$0();
  94471. }
  94472. }
  94473. },
  94474. _serialize0$_writeReindentedValue$1(node) {
  94475. var t1, _this = this,
  94476. value = type$.SassString_2._as(node.value.value)._string0$_text,
  94477. minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
  94478. if (minimumIndentation == null) {
  94479. _this._serialize0$_buffer.write$1(0, value);
  94480. return;
  94481. } else if (minimumIndentation === -1) {
  94482. t1 = _this._serialize0$_buffer;
  94483. t1.write$1(0, A.trimAsciiRight0(value, true));
  94484. t1.writeCharCode$1(32);
  94485. return;
  94486. }
  94487. t1 = node.name.span;
  94488. t1 = t1.get$start(t1);
  94489. _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  94490. },
  94491. _serialize0$_minimumIndentation$1(text) {
  94492. var character, t2, min, next, min0,
  94493. scanner = A.LineScanner$(text),
  94494. t1 = scanner.string.length;
  94495. while (true) {
  94496. if (scanner._string_scanner$_position !== t1) {
  94497. character = scanner.super$StringScanner$readChar();
  94498. scanner._adjustLineAndColumn$1(character);
  94499. t2 = character !== 10;
  94500. } else
  94501. t2 = false;
  94502. if (!t2)
  94503. break;
  94504. }
  94505. if (scanner._string_scanner$_position === t1)
  94506. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  94507. for (min = null; scanner._string_scanner$_position !== t1;) {
  94508. for (; scanner._string_scanner$_position !== t1;) {
  94509. next = scanner.peekChar$0();
  94510. if (next !== 32 && next !== 9)
  94511. break;
  94512. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  94513. }
  94514. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  94515. continue;
  94516. min0 = scanner._line_scanner$_column;
  94517. min = min == null ? min0 : Math.min(min, min0);
  94518. while (true) {
  94519. if (scanner._string_scanner$_position !== t1) {
  94520. character = scanner.super$StringScanner$readChar();
  94521. scanner._adjustLineAndColumn$1(character);
  94522. t2 = character !== 10;
  94523. } else
  94524. t2 = false;
  94525. if (!t2)
  94526. break;
  94527. }
  94528. }
  94529. return min == null ? -1 : min;
  94530. },
  94531. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  94532. var t1, t2, t3, character, lineStart, newlines, end,
  94533. scanner = A.LineScanner$(text);
  94534. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  94535. character = scanner.super$StringScanner$readChar();
  94536. scanner._adjustLineAndColumn$1(character);
  94537. if (character === 10)
  94538. break;
  94539. t3.writeCharCode$1(character);
  94540. }
  94541. for (; true;) {
  94542. lineStart = scanner._string_scanner$_position;
  94543. for (newlines = 1; true;) {
  94544. if (scanner._string_scanner$_position === t2) {
  94545. t3.writeCharCode$1(32);
  94546. return;
  94547. }
  94548. character = scanner.super$StringScanner$readChar();
  94549. scanner._adjustLineAndColumn$1(character);
  94550. if (character === 32 || character === 9)
  94551. continue;
  94552. if (character !== 10)
  94553. break;
  94554. lineStart = scanner._string_scanner$_position;
  94555. ++newlines;
  94556. }
  94557. this._serialize0$_writeTimes$2(10, newlines);
  94558. this._serialize0$_writeIndentation$0();
  94559. end = scanner._string_scanner$_position;
  94560. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  94561. for (; true;) {
  94562. if (scanner._string_scanner$_position === t2)
  94563. return;
  94564. character = scanner.super$StringScanner$readChar();
  94565. scanner._adjustLineAndColumn$1(character);
  94566. if (character === 10)
  94567. break;
  94568. t3.writeCharCode$1(character);
  94569. }
  94570. }
  94571. },
  94572. visitCalculation$1(value) {
  94573. var t2, _this = this,
  94574. t1 = _this._serialize0$_buffer;
  94575. t1.write$1(0, value.name);
  94576. t1.writeCharCode$1(40);
  94577. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  94578. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  94579. t1.writeCharCode$1(41);
  94580. },
  94581. _serialize0$_writeCalculationValue$1(value) {
  94582. var t1, t2, unit, left, parenthesizeLeft, operatorWhitespace, right, parenthesizeRight, _this = this;
  94583. if (value instanceof A.SassNumber0 && !isFinite(value._number1$_value)) {
  94584. t1 = J.getInterceptor$x(value);
  94585. if (t1.get$numeratorUnits(value).length > 1 || t1.get$denominatorUnits(value).length !== 0) {
  94586. if (!_this._serialize0$_inspect)
  94587. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", null));
  94588. _this._serialize0$_writeNumber$1(value._number1$_value);
  94589. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  94590. return;
  94591. }
  94592. t2 = value._number1$_value;
  94593. if (t2 === 1 / 0)
  94594. _this._serialize0$_buffer.write$1(0, "infinity");
  94595. else if (t2 === -1 / 0)
  94596. _this._serialize0$_buffer.write$1(0, "-infinity");
  94597. else if (isNaN(t2))
  94598. _this._serialize0$_buffer.write$1(0, "NaN");
  94599. unit = A.IterableExtension_get_firstOrNull(t1.get$numeratorUnits(value));
  94600. if (unit != null) {
  94601. t1 = _this._serialize0$_style !== B.OutputStyle_10;
  94602. if (t1)
  94603. _this._serialize0$_buffer.writeCharCode$1(32);
  94604. t2 = _this._serialize0$_buffer;
  94605. t2.writeCharCode$1(42);
  94606. if (t1)
  94607. t2.writeCharCode$1(32);
  94608. t2.writeCharCode$1(49);
  94609. t2.write$1(0, unit);
  94610. }
  94611. } else if (value instanceof A.Value0)
  94612. value.accept$1(_this);
  94613. else if (value instanceof A.CalculationInterpolation0)
  94614. _this._serialize0$_buffer.write$1(0, value.value);
  94615. else if (value instanceof A.CalculationOperation0) {
  94616. left = value.left;
  94617. if (!(left instanceof A.CalculationInterpolation0))
  94618. parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
  94619. else
  94620. parenthesizeLeft = true;
  94621. if (parenthesizeLeft)
  94622. _this._serialize0$_buffer.writeCharCode$1(40);
  94623. _this._serialize0$_writeCalculationValue$1(left);
  94624. if (parenthesizeLeft)
  94625. _this._serialize0$_buffer.writeCharCode$1(41);
  94626. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || value.operator.precedence === 1;
  94627. if (operatorWhitespace)
  94628. _this._serialize0$_buffer.writeCharCode$1(32);
  94629. t1 = _this._serialize0$_buffer;
  94630. t2 = value.operator;
  94631. t1.write$1(0, t2.operator);
  94632. if (operatorWhitespace)
  94633. t1.writeCharCode$1(32);
  94634. right = value.right;
  94635. if (!(right instanceof A.CalculationInterpolation0))
  94636. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator))) {
  94637. t2 = t2 === B.CalculationOperator_OvN0 && right instanceof A.SassNumber0 && !isFinite(right._number1$_value) && right.get$hasUnits();
  94638. parenthesizeRight = t2;
  94639. } else
  94640. parenthesizeRight = true;
  94641. else
  94642. parenthesizeRight = true;
  94643. if (parenthesizeRight)
  94644. t1.writeCharCode$1(40);
  94645. _this._serialize0$_writeCalculationValue$1(right);
  94646. if (parenthesizeRight)
  94647. t1.writeCharCode$1(41);
  94648. }
  94649. },
  94650. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  94651. if (outer === B.CalculationOperator_OvN0)
  94652. return true;
  94653. if (outer === B.CalculationOperator_IyK0)
  94654. return false;
  94655. return right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  94656. },
  94657. _serialize0$_writeRgb$1(value) {
  94658. var t3,
  94659. t1 = value._color1$_alpha,
  94660. opaque = A.fuzzyEquals0(t1, 1),
  94661. t2 = this._serialize0$_buffer;
  94662. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  94663. t2.write$1(0, value.get$red(value));
  94664. t3 = this._serialize0$_style === B.OutputStyle_10;
  94665. t2.write$1(0, t3 ? "," : ", ");
  94666. t2.write$1(0, value.get$green(value));
  94667. t2.write$1(0, t3 ? "," : ", ");
  94668. t2.write$1(0, value.get$blue(value));
  94669. if (!opaque) {
  94670. t2.write$1(0, t3 ? "," : ", ");
  94671. this._serialize0$_writeNumber$1(t1);
  94672. }
  94673. t2.writeCharCode$1(41);
  94674. },
  94675. _serialize0$_canUseShortHex$1(color) {
  94676. var t1 = color.get$red(color);
  94677. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  94678. t1 = color.get$green(color);
  94679. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  94680. t1 = color.get$blue(color);
  94681. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  94682. } else
  94683. t1 = false;
  94684. } else
  94685. t1 = false;
  94686. return t1;
  94687. },
  94688. _serialize0$_writeHexComponent$1(color) {
  94689. var t1 = this._serialize0$_buffer;
  94690. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  94691. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  94692. },
  94693. visitList$1(value) {
  94694. var t2, t3, singleton, t4, t5, _this = this,
  94695. t1 = value._list1$_hasBrackets;
  94696. if (t1)
  94697. _this._serialize0$_buffer.writeCharCode$1(91);
  94698. else if (value._list1$_contents.length === 0) {
  94699. if (!_this._serialize0$_inspect)
  94700. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  94701. _this._serialize0$_buffer.write$1(0, "()");
  94702. return;
  94703. }
  94704. t2 = _this._serialize0$_inspect;
  94705. if (t2)
  94706. if (value._list1$_contents.length === 1) {
  94707. t3 = value._list1$_separator;
  94708. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  94709. singleton = t3;
  94710. } else
  94711. singleton = false;
  94712. else
  94713. singleton = false;
  94714. if (singleton && !t1)
  94715. _this._serialize0$_buffer.writeCharCode$1(40);
  94716. t3 = value._list1$_contents;
  94717. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  94718. t4 = value._list1$_separator;
  94719. t5 = _this._serialize0$_separatorString$1(t4);
  94720. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  94721. if (singleton) {
  94722. t2 = _this._serialize0$_buffer;
  94723. t2.write$1(0, t4.separator);
  94724. if (!t1)
  94725. t2.writeCharCode$1(41);
  94726. }
  94727. if (t1)
  94728. _this._serialize0$_buffer.writeCharCode$1(93);
  94729. },
  94730. _serialize0$_separatorString$1(separator) {
  94731. switch (separator) {
  94732. case B.ListSeparator_rXA0:
  94733. return this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  94734. case B.ListSeparator_zg90:
  94735. return this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  94736. case B.ListSeparator_EVt0:
  94737. return " ";
  94738. default:
  94739. return "";
  94740. }
  94741. },
  94742. _serialize0$_elementNeedsParens$2(separator, value) {
  94743. var t1;
  94744. if (value instanceof A.SassList0) {
  94745. if (value._list1$_contents.length < 2)
  94746. return false;
  94747. if (value._list1$_hasBrackets)
  94748. return false;
  94749. switch (separator) {
  94750. case B.ListSeparator_rXA0:
  94751. return value._list1$_separator === B.ListSeparator_rXA0;
  94752. case B.ListSeparator_zg90:
  94753. t1 = value._list1$_separator;
  94754. return t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  94755. default:
  94756. return value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  94757. }
  94758. }
  94759. return false;
  94760. },
  94761. visitMap$1(map) {
  94762. var t1, t2, _this = this;
  94763. if (!_this._serialize0$_inspect)
  94764. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  94765. t1 = _this._serialize0$_buffer;
  94766. t1.writeCharCode$1(40);
  94767. t2 = map._map0$_contents;
  94768. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  94769. t1.writeCharCode$1(41);
  94770. },
  94771. _serialize0$_writeMapElement$1(value) {
  94772. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  94773. if (needsParens)
  94774. this._serialize0$_buffer.writeCharCode$1(40);
  94775. value.accept$1(this);
  94776. if (needsParens)
  94777. this._serialize0$_buffer.writeCharCode$1(41);
  94778. },
  94779. visitNumber$1(value) {
  94780. var t1, _this = this,
  94781. asSlash = value.asSlash;
  94782. if (asSlash != null) {
  94783. _this.visitNumber$1(asSlash.item1);
  94784. _this._serialize0$_buffer.writeCharCode$1(47);
  94785. _this.visitNumber$1(asSlash.item2);
  94786. return;
  94787. }
  94788. t1 = value._number1$_value;
  94789. if (!isFinite(t1)) {
  94790. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  94791. return;
  94792. }
  94793. _this._serialize0$_writeNumber$1(t1);
  94794. if (!_this._serialize0$_inspect) {
  94795. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  94796. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  94797. if (value.get$numeratorUnits(value).length !== 0)
  94798. _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  94799. } else
  94800. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  94801. },
  94802. _serialize0$_writeNumber$1(number) {
  94803. var text, _this = this,
  94804. integer = A.fuzzyAsInt0(number);
  94805. if (integer != null) {
  94806. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
  94807. return;
  94808. }
  94809. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  94810. if (text.length < 12) {
  94811. if (_this._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  94812. text = B.JSString_methods.substring$1(text, 1);
  94813. _this._serialize0$_buffer.write$1(0, text);
  94814. return;
  94815. }
  94816. _this._serialize0$_writeRounded$1(text);
  94817. },
  94818. _serialize0$_removeExponent$1(text) {
  94819. var buffer, t3, additionalZeroes,
  94820. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  94821. negative = t1 === 45,
  94822. exponent = A._Cell$(),
  94823. t2 = text.length,
  94824. i = 0;
  94825. while (true) {
  94826. if (!(i < t2)) {
  94827. buffer = null;
  94828. break;
  94829. }
  94830. c$0: {
  94831. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  94832. break c$0;
  94833. buffer = new A.StringBuffer("");
  94834. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  94835. if (negative) {
  94836. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  94837. buffer._contents = t1;
  94838. if (i > 3)
  94839. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  94840. } else if (i > 2)
  94841. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  94842. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  94843. break;
  94844. }
  94845. ++i;
  94846. }
  94847. if (buffer == null)
  94848. return text;
  94849. if (exponent._readLocal$0() > 0) {
  94850. t1 = exponent._readLocal$0();
  94851. t2 = buffer._contents;
  94852. t3 = negative ? 1 : 0;
  94853. additionalZeroes = t1 - (t2.length - 1 - t3);
  94854. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  94855. t1 += A.Primitives_stringFromCharCode(48);
  94856. buffer._contents = t1;
  94857. }
  94858. return t1.charCodeAt(0) == 0 ? t1 : t1;
  94859. } else {
  94860. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  94861. t2 = exponent.__late_helper$_name;
  94862. i = -1;
  94863. while (true) {
  94864. t3 = exponent.__late_helper$_value;
  94865. if (t3 === exponent)
  94866. A.throwExpression(A.LateError$localNI(t2));
  94867. if (!(i > t3))
  94868. break;
  94869. t1 += A.Primitives_stringFromCharCode(48);
  94870. --i;
  94871. }
  94872. if (negative) {
  94873. t2 = buffer._contents;
  94874. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  94875. } else
  94876. t2 = buffer;
  94877. t2 = t1 + A.S(t2);
  94878. return t2.charCodeAt(0) == 0 ? t2 : t2;
  94879. }
  94880. },
  94881. _serialize0$_writeRounded$1(text) {
  94882. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  94883. if (B.JSString_methods.endsWith$1(text, ".0")) {
  94884. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  94885. return;
  94886. }
  94887. t1 = text.length;
  94888. digits = new Uint8Array(t1 + 1);
  94889. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  94890. textIndex = negative ? 1 : 0;
  94891. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  94892. if (textIndex === t1) {
  94893. _this._serialize0$_buffer.write$1(0, text);
  94894. return;
  94895. }
  94896. textIndex0 = textIndex + 1;
  94897. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  94898. if (codeUnit === 46) {
  94899. textIndex = textIndex0;
  94900. break;
  94901. }
  94902. digitsIndex0 = digitsIndex + 1;
  94903. digits[digitsIndex] = codeUnit - 48;
  94904. }
  94905. indexAfterPrecision = textIndex + 10;
  94906. if (indexAfterPrecision >= t1) {
  94907. _this._serialize0$_buffer.write$1(0, text);
  94908. return;
  94909. }
  94910. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  94911. digitsIndex1 = digitsIndex0 + 1;
  94912. textIndex0 = textIndex + 1;
  94913. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  94914. }
  94915. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  94916. for (; true; digitsIndex0 = digitsIndex1) {
  94917. digitsIndex1 = digitsIndex0 - 1;
  94918. newDigit = digits[digitsIndex1] + 1;
  94919. digits[digitsIndex1] = newDigit;
  94920. if (newDigit !== 10)
  94921. break;
  94922. }
  94923. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  94924. digits[digitsIndex0] = 0;
  94925. while (true) {
  94926. t1 = digitsIndex0 > digitsIndex;
  94927. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  94928. break;
  94929. --digitsIndex0;
  94930. }
  94931. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  94932. _this._serialize0$_buffer.writeCharCode$1(48);
  94933. return;
  94934. }
  94935. if (negative)
  94936. _this._serialize0$_buffer.writeCharCode$1(45);
  94937. if (digits[0] === 0)
  94938. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  94939. else
  94940. writtenIndex = 0;
  94941. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  94942. t2.writeCharCode$1(48 + digits[writtenIndex]);
  94943. if (t1) {
  94944. t2.writeCharCode$1(46);
  94945. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  94946. t2.writeCharCode$1(48 + digits[writtenIndex]);
  94947. }
  94948. },
  94949. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  94950. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  94951. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  94952. if (forceDoubleQuote)
  94953. buffer.writeCharCode$1(34);
  94954. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  94955. char = B.JSString_methods._codeUnitAt$1(string, i);
  94956. switch (char) {
  94957. case 39:
  94958. if (forceDoubleQuote)
  94959. buffer.writeCharCode$1(39);
  94960. else {
  94961. if (includesDoubleQuote) {
  94962. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  94963. return;
  94964. } else
  94965. buffer.writeCharCode$1(39);
  94966. includesSingleQuote = true;
  94967. }
  94968. break;
  94969. case 34:
  94970. if (forceDoubleQuote) {
  94971. buffer.writeCharCode$1(92);
  94972. buffer.writeCharCode$1(34);
  94973. } else {
  94974. if (includesSingleQuote) {
  94975. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  94976. return;
  94977. } else
  94978. buffer.writeCharCode$1(34);
  94979. includesDoubleQuote = true;
  94980. }
  94981. break;
  94982. case 0:
  94983. case 1:
  94984. case 2:
  94985. case 3:
  94986. case 4:
  94987. case 5:
  94988. case 6:
  94989. case 7:
  94990. case 8:
  94991. case 10:
  94992. case 11:
  94993. case 12:
  94994. case 13:
  94995. case 14:
  94996. case 15:
  94997. case 16:
  94998. case 17:
  94999. case 18:
  95000. case 19:
  95001. case 20:
  95002. case 21:
  95003. case 22:
  95004. case 23:
  95005. case 24:
  95006. case 25:
  95007. case 26:
  95008. case 27:
  95009. case 28:
  95010. case 29:
  95011. case 30:
  95012. case 31:
  95013. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  95014. break;
  95015. case 92:
  95016. buffer.writeCharCode$1(92);
  95017. buffer.writeCharCode$1(92);
  95018. break;
  95019. default:
  95020. newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  95021. if (newIndex != null) {
  95022. i = newIndex;
  95023. break;
  95024. }
  95025. buffer.writeCharCode$1(char);
  95026. break;
  95027. }
  95028. }
  95029. if (forceDoubleQuote)
  95030. buffer.writeCharCode$1(34);
  95031. else {
  95032. quote = includesDoubleQuote ? 39 : 34;
  95033. t1 = _this._serialize0$_buffer;
  95034. t1.writeCharCode$1(quote);
  95035. t1.write$1(0, buffer);
  95036. t1.writeCharCode$1(quote);
  95037. }
  95038. },
  95039. _serialize0$_visitQuotedString$1(string) {
  95040. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  95041. },
  95042. _serialize0$_visitUnquotedString$1(string) {
  95043. var t1, t2, afterNewline, i, char, newIndex;
  95044. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  95045. char = B.JSString_methods._codeUnitAt$1(string, i);
  95046. switch (char) {
  95047. case 10:
  95048. t2.writeCharCode$1(32);
  95049. afterNewline = true;
  95050. break;
  95051. case 32:
  95052. if (!afterNewline)
  95053. t2.writeCharCode$1(32);
  95054. break;
  95055. default:
  95056. newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
  95057. if (newIndex != null) {
  95058. i = newIndex;
  95059. afterNewline = false;
  95060. break;
  95061. }
  95062. t2.writeCharCode$1(char);
  95063. afterNewline = false;
  95064. break;
  95065. }
  95066. }
  95067. },
  95068. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  95069. var t1;
  95070. if (this._serialize0$_style === B.OutputStyle_10)
  95071. return null;
  95072. if (codeUnit >= 57344 && codeUnit <= 63743) {
  95073. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  95074. return i;
  95075. }
  95076. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  95077. t1 = i + 1;
  95078. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  95079. return t1;
  95080. }
  95081. return null;
  95082. },
  95083. _serialize0$_writeEscape$4(buffer, character, string, i) {
  95084. var t1, next;
  95085. buffer.writeCharCode$1(92);
  95086. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  95087. t1 = i + 1;
  95088. if (string.length === t1)
  95089. return;
  95090. next = B.JSString_methods._codeUnitAt$1(string, t1);
  95091. if (A.isHex0(next) || next === 32 || next === 9)
  95092. buffer.writeCharCode$1(32);
  95093. },
  95094. visitAttributeSelector$1(attribute) {
  95095. var value, t2,
  95096. t1 = this._serialize0$_buffer;
  95097. t1.writeCharCode$1(91);
  95098. t1.write$1(0, attribute.name);
  95099. value = attribute.value;
  95100. if (value != null) {
  95101. t1.write$1(0, attribute.op);
  95102. if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  95103. t1.write$1(0, value);
  95104. t2 = attribute.modifier;
  95105. if (t2 != null)
  95106. t1.writeCharCode$1(32);
  95107. } else {
  95108. this._serialize0$_visitQuotedString$1(value);
  95109. t2 = attribute.modifier;
  95110. if (t2 != null)
  95111. if (this._serialize0$_style !== B.OutputStyle_10)
  95112. t1.writeCharCode$1(32);
  95113. }
  95114. if (t2 != null)
  95115. t1.write$1(0, t2);
  95116. }
  95117. t1.writeCharCode$1(93);
  95118. },
  95119. visitClassSelector$1(klass) {
  95120. var t1 = this._serialize0$_buffer;
  95121. t1.writeCharCode$1(46);
  95122. t1.write$1(0, klass.name);
  95123. },
  95124. visitComplexSelector$1(complex) {
  95125. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  95126. t1 = complex.leadingCombinators;
  95127. _this._serialize0$_writeCombinators$1(t1);
  95128. if (t1.length !== 0 && complex.components.length !== 0)
  95129. if (_this._serialize0$_style !== B.OutputStyle_10)
  95130. _this._serialize0$_buffer.writeCharCode$1(32);
  95131. 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) {
  95132. component = t1[i];
  95133. _this.visitCompoundSelector$1(component.selector);
  95134. t7 = component.combinators;
  95135. t8 = t7.length === 0;
  95136. if (!t8)
  95137. if (t6)
  95138. t4.writeCharCode$1(32);
  95139. t9 = t5 ? "" : " ";
  95140. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  95141. if (i !== t3)
  95142. t7 = !t5 || t8;
  95143. else
  95144. t7 = false;
  95145. if (t7)
  95146. t4.writeCharCode$1(32);
  95147. }
  95148. },
  95149. _serialize0$_writeCombinators$1(combinators) {
  95150. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  95151. t2 = this._serialize0$_buffer;
  95152. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  95153. },
  95154. visitCompoundSelector$1(compound) {
  95155. var t2, t3, _i,
  95156. t1 = this._serialize0$_buffer,
  95157. start = t1.get$length(t1);
  95158. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95159. t2[_i].accept$1(this);
  95160. if (t1.get$length(t1) === start)
  95161. t1.writeCharCode$1(42);
  95162. },
  95163. visitIDSelector$1(id) {
  95164. var t1 = this._serialize0$_buffer;
  95165. t1.writeCharCode$1(35);
  95166. t1.write$1(0, id.name);
  95167. },
  95168. visitSelectorList$1(list) {
  95169. var t1, t2, t3, t4, first, t5, _this = this,
  95170. complexes = list.components;
  95171. 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();) {
  95172. t5 = t1.get$current(t1);
  95173. if (first)
  95174. first = false;
  95175. else {
  95176. t3.writeCharCode$1(44);
  95177. if (t5.lineBreak) {
  95178. if (t2)
  95179. t3.write$1(0, t4);
  95180. _this._serialize0$_writeIndentation$0();
  95181. } else if (t2)
  95182. t3.writeCharCode$1(32);
  95183. }
  95184. _this.visitComplexSelector$1(t5);
  95185. }
  95186. },
  95187. visitParentSelector$1($parent) {
  95188. var t2,
  95189. t1 = this._serialize0$_buffer;
  95190. t1.writeCharCode$1(38);
  95191. t2 = $parent.suffix;
  95192. if (t2 != null)
  95193. t1.write$1(0, t2);
  95194. },
  95195. visitPlaceholderSelector$1(placeholder) {
  95196. var t1 = this._serialize0$_buffer;
  95197. t1.writeCharCode$1(37);
  95198. t1.write$1(0, placeholder.name);
  95199. },
  95200. visitPseudoSelector$1(pseudo) {
  95201. var t3, t4, t5,
  95202. innerSelector = pseudo.selector,
  95203. t1 = innerSelector == null,
  95204. t2 = !t1;
  95205. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true0))
  95206. return;
  95207. t3 = this._serialize0$_buffer;
  95208. t3.writeCharCode$1(58);
  95209. if (!pseudo.isSyntacticClass)
  95210. t3.writeCharCode$1(58);
  95211. t3.write$1(0, pseudo.name);
  95212. t4 = pseudo.argument;
  95213. t5 = t4 == null;
  95214. if (t5 && t1)
  95215. return;
  95216. t3.writeCharCode$1(40);
  95217. if (!t5) {
  95218. t3.write$1(0, t4);
  95219. if (t2)
  95220. t3.writeCharCode$1(32);
  95221. }
  95222. if (t2)
  95223. this.visitSelectorList$1(innerSelector);
  95224. t3.writeCharCode$1(41);
  95225. },
  95226. visitTypeSelector$1(type) {
  95227. this._serialize0$_buffer.write$1(0, type.name);
  95228. },
  95229. visitUniversalSelector$1(universal) {
  95230. var t2,
  95231. t1 = universal.namespace;
  95232. if (t1 != null) {
  95233. t2 = this._serialize0$_buffer;
  95234. t2.write$1(0, t1);
  95235. t2.writeCharCode$1(124);
  95236. }
  95237. this._serialize0$_buffer.writeCharCode$1(42);
  95238. },
  95239. _serialize0$_write$1(value) {
  95240. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  95241. },
  95242. _serialize0$_visitChildren$1($parent) {
  95243. var t2, t3, t4, t5, t6, t7, t8, t9, prePrevious, previous, t10, previous0, t11, savedIndentation, _this = this,
  95244. t1 = _this._serialize0$_buffer;
  95245. t1.writeCharCode$1(123);
  95246. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = !_this._serialize0$_inspect, t6 = A._instanceType(t2)._precomputed1, t7 = type$.CssComment_2, t8 = type$.CssParentNode_2, t9 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  95247. t10 = t2.__internal$_current;
  95248. previous0 = t10 == null ? t6._as(t10) : t10;
  95249. if (t5)
  95250. t10 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  95251. else
  95252. t10 = false;
  95253. if (t10)
  95254. continue;
  95255. t10 = previous == null;
  95256. if (!t10)
  95257. t11 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  95258. else
  95259. t11 = false;
  95260. if (t11)
  95261. t1.writeCharCode$1(59);
  95262. if (_this._serialize0$_isTrailingComment$2(previous0, t10 ? $parent : previous)) {
  95263. if (t4)
  95264. t1.writeCharCode$1(32);
  95265. savedIndentation = _this._serialize0$_indentation;
  95266. _this._serialize0$_indentation = 0;
  95267. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  95268. _this._serialize0$_indentation = savedIndentation;
  95269. } else {
  95270. if (t4)
  95271. t1.write$1(0, t9);
  95272. ++_this._serialize0$_indentation;
  95273. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  95274. --_this._serialize0$_indentation;
  95275. }
  95276. prePrevious = previous;
  95277. previous = previous0;
  95278. }
  95279. if (previous != null) {
  95280. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  95281. t1.writeCharCode$1(59);
  95282. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  95283. if (t4)
  95284. t1.writeCharCode$1(32);
  95285. } else {
  95286. _this._serialize0$_writeLineFeed$0();
  95287. _this._serialize0$_writeIndentation$0();
  95288. }
  95289. }
  95290. t1.writeCharCode$1(125);
  95291. },
  95292. _serialize0$_isTrailingComment$2(node, previous) {
  95293. var t1, t2, t3, searchFrom, endOffset, t4, span;
  95294. if (this._serialize0$_style === B.OutputStyle_10)
  95295. return false;
  95296. if (!type$.CssComment_2._is(node))
  95297. return false;
  95298. t1 = previous.get$span(previous);
  95299. t2 = node.span;
  95300. if (!(J.$eq$(t1.get$file(t1).url, t2.get$file(t2).url) && t1.get$start(t1).offset <= t2.get$start(t2).offset && t1.get$end(t1).offset >= t2.get$end(t2).offset)) {
  95301. t1 = t2.get$start(t2);
  95302. t1 = t1.file.getLine$1(t1.offset);
  95303. t2 = previous.get$span(previous);
  95304. t2 = t2.get$end(t2);
  95305. return t1 === t2.file.getLine$1(t2.offset);
  95306. }
  95307. t1 = t2.get$start(t2);
  95308. t3 = previous.get$span(previous);
  95309. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  95310. if (searchFrom < 0)
  95311. return false;
  95312. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  95313. t1 = previous.get$span(previous);
  95314. t1 = t1.get$file(t1);
  95315. t3 = previous.get$span(previous);
  95316. t3 = t3.get$start(t3);
  95317. t4 = previous.get$span(previous);
  95318. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  95319. t2 = t2.get$start(t2);
  95320. t2 = t2.file.getLine$1(t2.offset);
  95321. t4 = A.FileLocation$_(span.file, span._end);
  95322. return t2 === t4.file.getLine$1(t4.offset);
  95323. },
  95324. _serialize0$_writeLineFeed$0() {
  95325. if (this._serialize0$_style !== B.OutputStyle_10)
  95326. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  95327. },
  95328. _serialize0$_writeIndentation$0() {
  95329. var _this = this;
  95330. if (_this._serialize0$_style === B.OutputStyle_10)
  95331. return;
  95332. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  95333. },
  95334. _serialize0$_writeTimes$2(char, times) {
  95335. var t1, i;
  95336. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  95337. t1.writeCharCode$1(char);
  95338. },
  95339. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  95340. var t1, t2, first, value;
  95341. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  95342. value = t1.get$current(t1);
  95343. if (first)
  95344. first = false;
  95345. else
  95346. t2.write$1(0, text);
  95347. callback.call$1(value);
  95348. }
  95349. },
  95350. _serialize0$_writeBetween$3(iterable, text, callback) {
  95351. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  95352. }
  95353. };
  95354. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  95355. call$0() {
  95356. var t2, t3, minimumIndentation,
  95357. t1 = this.$this;
  95358. if (t1._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  95359. return;
  95360. t2 = this.node;
  95361. t3 = t2.text;
  95362. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  95363. return;
  95364. minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
  95365. if (minimumIndentation == null) {
  95366. t1._serialize0$_writeIndentation$0();
  95367. t1._serialize0$_buffer.write$1(0, t3);
  95368. return;
  95369. }
  95370. t2 = t2.span;
  95371. t2 = t2.get$start(t2);
  95372. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  95373. t1._serialize0$_writeIndentation$0();
  95374. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  95375. },
  95376. $signature: 1
  95377. };
  95378. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  95379. call$0() {
  95380. var t3, value,
  95381. t1 = this.$this,
  95382. t2 = t1._serialize0$_buffer;
  95383. t2.writeCharCode$1(64);
  95384. t3 = this.node;
  95385. t1._serialize0$_write$1(t3.name);
  95386. value = t3.value;
  95387. if (value != null) {
  95388. t2.writeCharCode$1(32);
  95389. t1._serialize0$_write$1(value);
  95390. }
  95391. },
  95392. $signature: 1
  95393. };
  95394. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  95395. call$0() {
  95396. var t3, firstQuery, t4, t5,
  95397. t1 = this.$this,
  95398. t2 = t1._serialize0$_buffer;
  95399. t2.write$1(0, "@media");
  95400. t3 = this.node.queries;
  95401. firstQuery = B.JSArray_methods.get$first(t3);
  95402. t4 = t1._serialize0$_style === B.OutputStyle_10;
  95403. if (t4)
  95404. if (firstQuery.modifier == null)
  95405. if (firstQuery.type == null) {
  95406. t5 = firstQuery.conditions;
  95407. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  95408. } else
  95409. t5 = true;
  95410. else
  95411. t5 = true;
  95412. else
  95413. t5 = true;
  95414. if (t5)
  95415. t2.writeCharCode$1(32);
  95416. t2 = t4 ? "," : ", ";
  95417. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  95418. },
  95419. $signature: 1
  95420. };
  95421. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  95422. call$0() {
  95423. var t3, t4, modifiers,
  95424. t1 = this.$this,
  95425. t2 = t1._serialize0$_buffer;
  95426. t2.write$1(0, "@import");
  95427. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  95428. if (t3)
  95429. t2.writeCharCode$1(32);
  95430. t4 = this.node;
  95431. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  95432. modifiers = t4.modifiers;
  95433. if (modifiers != null) {
  95434. if (t3)
  95435. t2.writeCharCode$1(32);
  95436. t2.write$1(0, modifiers);
  95437. }
  95438. },
  95439. $signature: 1
  95440. };
  95441. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  95442. call$0() {
  95443. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  95444. },
  95445. $signature: 0
  95446. };
  95447. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  95448. call$0() {
  95449. var t1 = this.$this,
  95450. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  95451. t3 = t1._serialize0$_buffer;
  95452. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  95453. },
  95454. $signature: 0
  95455. };
  95456. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  95457. call$0() {
  95458. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  95459. },
  95460. $signature: 0
  95461. };
  95462. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  95463. call$0() {
  95464. var t1 = this.$this,
  95465. t2 = t1._serialize0$_buffer;
  95466. t2.write$1(0, "@supports");
  95467. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  95468. t2.writeCharCode$1(32);
  95469. t1._serialize0$_write$1(this.node.condition);
  95470. },
  95471. $signature: 1
  95472. };
  95473. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  95474. call$0() {
  95475. var t1 = this.$this,
  95476. t2 = this.node;
  95477. if (t1._serialize0$_style === B.OutputStyle_10)
  95478. t1._serialize0$_writeFoldedValue$1(t2);
  95479. else
  95480. t1._serialize0$_writeReindentedValue$1(t2);
  95481. },
  95482. $signature: 1
  95483. };
  95484. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  95485. call$0() {
  95486. return this.node.value.value.accept$1(this.$this);
  95487. },
  95488. $signature: 0
  95489. };
  95490. A._SerializeVisitor_visitList_closure2.prototype = {
  95491. call$1(element) {
  95492. return !element.get$isBlank();
  95493. },
  95494. $signature: 45
  95495. };
  95496. A._SerializeVisitor_visitList_closure3.prototype = {
  95497. call$1(element) {
  95498. var t1 = this.$this,
  95499. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  95500. if (needsParens)
  95501. t1._serialize0$_buffer.writeCharCode$1(40);
  95502. element.accept$1(t1);
  95503. if (needsParens)
  95504. t1._serialize0$_buffer.writeCharCode$1(41);
  95505. },
  95506. $signature: 52
  95507. };
  95508. A._SerializeVisitor_visitList_closure4.prototype = {
  95509. call$1(element) {
  95510. element.accept$1(this.$this);
  95511. },
  95512. $signature: 52
  95513. };
  95514. A._SerializeVisitor_visitMap_closure0.prototype = {
  95515. call$1(entry) {
  95516. var t1 = this.$this;
  95517. t1._serialize0$_writeMapElement$1(entry.key);
  95518. t1._serialize0$_buffer.write$1(0, ": ");
  95519. t1._serialize0$_writeMapElement$1(entry.value);
  95520. },
  95521. $signature: 517
  95522. };
  95523. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  95524. call$1(complex) {
  95525. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  95526. },
  95527. $signature: 18
  95528. };
  95529. A._SerializeVisitor__write_closure0.prototype = {
  95530. call$0() {
  95531. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  95532. },
  95533. $signature: 0
  95534. };
  95535. A._SerializeVisitor__visitChildren_closure1.prototype = {
  95536. call$0() {
  95537. return this.child.accept$1(this.$this);
  95538. },
  95539. $signature: 0
  95540. };
  95541. A._SerializeVisitor__visitChildren_closure2.prototype = {
  95542. call$0() {
  95543. this.child.accept$1(this.$this);
  95544. },
  95545. $signature: 0
  95546. };
  95547. A.OutputStyle0.prototype = {
  95548. _enumToString$0() {
  95549. return "OutputStyle." + this._name;
  95550. }
  95551. };
  95552. A.LineFeed0.prototype = {
  95553. _enumToString$0() {
  95554. return "LineFeed." + this._name;
  95555. },
  95556. toString$0(_) {
  95557. return this.name;
  95558. }
  95559. };
  95560. A.SerializeResult0.prototype = {};
  95561. A.ShadowedModuleView0.prototype = {
  95562. get$url(_) {
  95563. var t1 = this._shadowed_view0$_inner;
  95564. return t1.get$url(t1);
  95565. },
  95566. get$upstream() {
  95567. return this._shadowed_view0$_inner.get$upstream();
  95568. },
  95569. get$extensionStore() {
  95570. return this._shadowed_view0$_inner.get$extensionStore();
  95571. },
  95572. get$css(_) {
  95573. var t1 = this._shadowed_view0$_inner;
  95574. return t1.get$css(t1);
  95575. },
  95576. get$transitivelyContainsCss() {
  95577. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  95578. },
  95579. get$transitivelyContainsExtensions() {
  95580. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  95581. },
  95582. setVariable$3($name, value, nodeWithSpan) {
  95583. if (!this.variables.containsKey$1($name))
  95584. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95585. else
  95586. return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  95587. },
  95588. variableIdentity$1($name) {
  95589. return this._shadowed_view0$_inner.variableIdentity$1($name);
  95590. },
  95591. $eq(_, other) {
  95592. var t1, t2, _this = this;
  95593. if (other == null)
  95594. return false;
  95595. if (other instanceof A.ShadowedModuleView0)
  95596. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  95597. t1 = _this.variables;
  95598. t1 = t1.get$keys(t1);
  95599. t2 = other.variables;
  95600. if (B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2))) {
  95601. t1 = _this.functions;
  95602. t1 = t1.get$keys(t1);
  95603. t2 = other.functions;
  95604. if (B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2))) {
  95605. t1 = _this.mixins;
  95606. t1 = t1.get$keys(t1);
  95607. t2 = other.mixins;
  95608. t2 = B.C_IterableEquality0.equals$2(0, t1, t2.get$keys(t2));
  95609. t1 = t2;
  95610. } else
  95611. t1 = false;
  95612. } else
  95613. t1 = false;
  95614. } else
  95615. t1 = false;
  95616. else
  95617. t1 = false;
  95618. return t1;
  95619. },
  95620. get$hashCode(_) {
  95621. var t1 = this._shadowed_view0$_inner;
  95622. return t1.get$hashCode(t1);
  95623. },
  95624. cloneCss$0() {
  95625. var _this = this;
  95626. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  95627. },
  95628. toString$0(_) {
  95629. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  95630. },
  95631. $isModule0: 1,
  95632. get$variables() {
  95633. return this.variables;
  95634. },
  95635. get$variableNodes() {
  95636. return this.variableNodes;
  95637. },
  95638. get$functions(receiver) {
  95639. return this.functions;
  95640. },
  95641. get$mixins() {
  95642. return this.mixins;
  95643. }
  95644. };
  95645. A.SilentComment0.prototype = {
  95646. accept$1$1(visitor) {
  95647. return visitor.visitSilentComment$1(this);
  95648. },
  95649. accept$1(visitor) {
  95650. return this.accept$1$1(visitor, type$.dynamic);
  95651. },
  95652. toString$0(_) {
  95653. return this.text;
  95654. },
  95655. $isAstNode0: 1,
  95656. $isStatement0: 1,
  95657. get$span(receiver) {
  95658. return this.span;
  95659. }
  95660. };
  95661. A.SimpleSelector0.prototype = {
  95662. get$specificity() {
  95663. return 1000;
  95664. },
  95665. addSuffix$1(suffix) {
  95666. 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)));
  95667. },
  95668. unify$1(compound) {
  95669. var other, t1, result, addedThis, _i, simple, _this = this;
  95670. if (compound.length === 1) {
  95671. other = B.JSArray_methods.get$first(compound);
  95672. if (!(other instanceof A.UniversalSelector0))
  95673. if (other instanceof A.PseudoSelector0)
  95674. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  95675. else
  95676. t1 = false;
  95677. else
  95678. t1 = true;
  95679. if (t1)
  95680. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  95681. }
  95682. if (B.JSArray_methods.contains$1(compound, _this))
  95683. return compound;
  95684. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  95685. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  95686. simple = compound[_i];
  95687. if (!addedThis && simple instanceof A.PseudoSelector0) {
  95688. result.push(_this);
  95689. addedThis = true;
  95690. }
  95691. result.push(simple);
  95692. }
  95693. if (!addedThis)
  95694. result.push(_this);
  95695. return result;
  95696. },
  95697. isSuperselector$1(other) {
  95698. var list;
  95699. if (this.$eq(0, other))
  95700. return true;
  95701. if (other instanceof A.PseudoSelector0 && other.isClass) {
  95702. list = other.selector;
  95703. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  95704. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  95705. }
  95706. return false;
  95707. }
  95708. };
  95709. A.SimpleSelector_isSuperselector_closure0.prototype = {
  95710. call$1(complex) {
  95711. var t1 = complex.components;
  95712. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  95713. },
  95714. $signature: 18
  95715. };
  95716. A.SimpleSelector_isSuperselector__closure0.prototype = {
  95717. call$1(simple) {
  95718. return this.$this.isSuperselector$1(simple);
  95719. },
  95720. $signature: 14
  95721. };
  95722. A.SingleUnitSassNumber0.prototype = {
  95723. get$numeratorUnits(_) {
  95724. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  95725. },
  95726. get$denominatorUnits(_) {
  95727. return B.List_empty;
  95728. },
  95729. get$hasUnits() {
  95730. return true;
  95731. },
  95732. withValue$1(value) {
  95733. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  95734. },
  95735. withSlash$2(numerator, denominator) {
  95736. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  95737. },
  95738. hasUnit$1(unit) {
  95739. return unit === this._single_unit$_unit;
  95740. },
  95741. hasCompatibleUnits$1(other) {
  95742. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  95743. },
  95744. hasPossiblyCompatibleUnits$1(other) {
  95745. var t1, knownCompatibilities, otherUnit;
  95746. if (!(other instanceof A.SingleUnitSassNumber0))
  95747. return false;
  95748. t1 = $.$get$_knownCompatibilitiesByUnit0();
  95749. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  95750. if (knownCompatibilities == null)
  95751. return true;
  95752. otherUnit = other._single_unit$_unit.toLowerCase();
  95753. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  95754. },
  95755. compatibleWithUnit$1(unit) {
  95756. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  95757. },
  95758. coerceToMatch$3(other, $name, otherName) {
  95759. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  95760. return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
  95761. },
  95762. coerceValueToMatch$3(other, $name, otherName) {
  95763. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  95764. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  95765. },
  95766. coerceValueToMatch$1(other) {
  95767. return this.coerceValueToMatch$3(other, null, null);
  95768. },
  95769. convertToMatch$3(other, $name, otherName) {
  95770. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  95771. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  95772. },
  95773. convertValueToMatch$3(other, $name, otherName) {
  95774. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  95775. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  95776. },
  95777. coerce$3(newNumerators, newDenominators, $name) {
  95778. var t1 = J.getInterceptor$asx(newNumerators);
  95779. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  95780. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  95781. },
  95782. coerce$2(newNumerators, newDenominators) {
  95783. return this.coerce$3(newNumerators, newDenominators, null);
  95784. },
  95785. coerceValue$3(newNumerators, newDenominators, $name) {
  95786. var t1 = J.getInterceptor$asx(newNumerators);
  95787. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  95788. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  95789. },
  95790. coerceValueToUnit$2(unit, $name) {
  95791. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  95792. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  95793. },
  95794. coerceValueToUnit$1(unit) {
  95795. return this.coerceValueToUnit$2(unit, null);
  95796. },
  95797. _single_unit$_coerceToUnit$1(unit) {
  95798. var t1 = this._single_unit$_unit;
  95799. if (t1 === unit)
  95800. return this;
  95801. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  95802. },
  95803. _single_unit$_coerceValueToUnit$1(unit) {
  95804. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  95805. },
  95806. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  95807. var mutableOtherDenominators, t1 = {};
  95808. t1.value = value;
  95809. t1.newNumerators = otherNumerators;
  95810. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  95811. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  95812. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  95813. },
  95814. unaryMinus$0() {
  95815. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  95816. },
  95817. $eq(_, other) {
  95818. var factor;
  95819. if (other == null)
  95820. return false;
  95821. if (other instanceof A.SingleUnitSassNumber0) {
  95822. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  95823. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  95824. } else
  95825. return false;
  95826. },
  95827. get$hashCode(_) {
  95828. var _this = this,
  95829. t1 = _this.hashCache;
  95830. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  95831. }
  95832. };
  95833. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  95834. call$1(factor) {
  95835. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  95836. },
  95837. $signature: 518
  95838. };
  95839. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  95840. call$1(factor) {
  95841. return this.$this._number1$_value * factor;
  95842. },
  95843. $signature: 33
  95844. };
  95845. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  95846. call$1(denominator) {
  95847. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  95848. if (factor == null)
  95849. return false;
  95850. this._box_0.value *= factor;
  95851. return true;
  95852. },
  95853. $signature: 8
  95854. };
  95855. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  95856. call$0() {
  95857. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  95858. t2 = this._box_0;
  95859. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  95860. t2.newNumerators = t1;
  95861. },
  95862. $signature: 0
  95863. };
  95864. A.SourceMapBuffer0.prototype = {
  95865. get$_source_map_buffer0$_targetLocation() {
  95866. var t1 = this._source_map_buffer0$_buffer._contents,
  95867. t2 = this._source_map_buffer0$_line;
  95868. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  95869. },
  95870. get$length(_) {
  95871. return this._source_map_buffer0$_buffer._contents.length;
  95872. },
  95873. forSpan$1$2(span, callback) {
  95874. var t1, _this = this,
  95875. wasInSpan = _this._source_map_buffer0$_inSpan;
  95876. _this._source_map_buffer0$_inSpan = true;
  95877. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  95878. try {
  95879. t1 = callback.call$0();
  95880. return t1;
  95881. } finally {
  95882. _this._source_map_buffer0$_inSpan = wasInSpan;
  95883. }
  95884. },
  95885. forSpan$2(span, callback) {
  95886. return this.forSpan$1$2(span, callback, type$.dynamic);
  95887. },
  95888. _source_map_buffer0$_addEntry$2(source, target) {
  95889. var entry, t2,
  95890. t1 = this._source_map_buffer0$_entries;
  95891. if (t1.length !== 0) {
  95892. entry = B.JSArray_methods.get$last(t1);
  95893. t2 = entry.source;
  95894. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  95895. return;
  95896. if (entry.target.offset === target.offset)
  95897. return;
  95898. }
  95899. t1.push(new A.Entry(source, target, null));
  95900. },
  95901. write$1(_, object) {
  95902. var t1, i,
  95903. string = J.toString$0$(object);
  95904. this._source_map_buffer0$_buffer._contents += string;
  95905. for (t1 = string.length, i = 0; i < t1; ++i)
  95906. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  95907. this._source_map_buffer0$_writeLine$0();
  95908. else
  95909. ++this._source_map_buffer0$_column;
  95910. },
  95911. writeCharCode$1(charCode) {
  95912. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  95913. if (charCode === 10)
  95914. this._source_map_buffer0$_writeLine$0();
  95915. else
  95916. ++this._source_map_buffer0$_column;
  95917. },
  95918. _source_map_buffer0$_writeLine$0() {
  95919. var _this = this,
  95920. t1 = _this._source_map_buffer0$_entries;
  95921. 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)
  95922. t1.pop();
  95923. ++_this._source_map_buffer0$_line;
  95924. _this._source_map_buffer0$_column = 0;
  95925. if (_this._source_map_buffer0$_inSpan)
  95926. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  95927. },
  95928. toString$0(_) {
  95929. var t1 = this._source_map_buffer0$_buffer._contents;
  95930. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95931. },
  95932. buildSourceMap$1$prefix(prefix) {
  95933. var i, t2, prefixColumn, _box_0 = {},
  95934. t1 = prefix.length;
  95935. if (t1 === 0)
  95936. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  95937. _box_0.prefixColumn = _box_0.prefixLines = 0;
  95938. for (i = 0, t2 = 0; i < t1; ++i)
  95939. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  95940. ++_box_0.prefixLines;
  95941. _box_0.prefixColumn = 0;
  95942. t2 = 0;
  95943. } else {
  95944. prefixColumn = t2 + 1;
  95945. _box_0.prefixColumn = prefixColumn;
  95946. t2 = prefixColumn;
  95947. }
  95948. t2 = this._source_map_buffer0$_entries;
  95949. 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>")));
  95950. }
  95951. };
  95952. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  95953. call$1(entry) {
  95954. var t1 = entry.source,
  95955. t2 = entry.target,
  95956. t3 = t2.line,
  95957. t4 = this._box_0,
  95958. t5 = t4.prefixLines;
  95959. t4 = t3 === 0 ? t4.prefixColumn : 0;
  95960. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  95961. },
  95962. $signature: 156
  95963. };
  95964. A.updateSourceSpanPrototype_closure.prototype = {
  95965. call$1(span) {
  95966. return span.get$start(span);
  95967. },
  95968. $signature: 241
  95969. };
  95970. A.updateSourceSpanPrototype_closure0.prototype = {
  95971. call$1(span) {
  95972. return span.get$end(span);
  95973. },
  95974. $signature: 241
  95975. };
  95976. A.updateSourceSpanPrototype_closure1.prototype = {
  95977. call$1(span) {
  95978. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  95979. },
  95980. $signature: 520
  95981. };
  95982. A.updateSourceSpanPrototype_closure2.prototype = {
  95983. call$1(span) {
  95984. return span.get$text();
  95985. },
  95986. $signature: 242
  95987. };
  95988. A.updateSourceSpanPrototype_closure3.prototype = {
  95989. call$1(span) {
  95990. return span.get$context(span);
  95991. },
  95992. $signature: 242
  95993. };
  95994. A.updateSourceSpanPrototype_closure4.prototype = {
  95995. call$1($location) {
  95996. return $location.get$line();
  95997. },
  95998. $signature: 243
  95999. };
  96000. A.updateSourceSpanPrototype_closure5.prototype = {
  96001. call$1($location) {
  96002. return $location.get$column();
  96003. },
  96004. $signature: 243
  96005. };
  96006. A.StatementSearchVisitor0.prototype = {
  96007. visitAtRootRule$1(node) {
  96008. return this.visitChildren$1(node.children);
  96009. },
  96010. visitAtRule$1(node) {
  96011. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  96012. },
  96013. visitContentBlock$1(node) {
  96014. return this.visitChildren$1(node.children);
  96015. },
  96016. visitDebugRule$1(node) {
  96017. return null;
  96018. },
  96019. visitDeclaration$1(node) {
  96020. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  96021. },
  96022. visitEachRule$1(node) {
  96023. return this.visitChildren$1(node.children);
  96024. },
  96025. visitErrorRule$1(node) {
  96026. return null;
  96027. },
  96028. visitExtendRule$1(node) {
  96029. return null;
  96030. },
  96031. visitForRule$1(node) {
  96032. return this.visitChildren$1(node.children);
  96033. },
  96034. visitForwardRule$1(node) {
  96035. return null;
  96036. },
  96037. visitFunctionRule$1(node) {
  96038. return this.visitChildren$1(node.children);
  96039. },
  96040. visitIfRule$1(node) {
  96041. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  96042. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  96043. },
  96044. visitImportRule$1(node) {
  96045. return null;
  96046. },
  96047. visitIncludeRule$1(node) {
  96048. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  96049. },
  96050. visitLoudComment$1(node) {
  96051. return null;
  96052. },
  96053. visitMediaRule$1(node) {
  96054. return this.visitChildren$1(node.children);
  96055. },
  96056. visitMixinRule$1(node) {
  96057. return this.visitChildren$1(node.children);
  96058. },
  96059. visitReturnRule$1(node) {
  96060. return null;
  96061. },
  96062. visitSilentComment$1(node) {
  96063. return null;
  96064. },
  96065. visitStyleRule$1(node) {
  96066. return this.visitChildren$1(node.children);
  96067. },
  96068. visitStylesheet$1(node) {
  96069. return this.visitChildren$1(node.children);
  96070. },
  96071. visitSupportsRule$1(node) {
  96072. return this.visitChildren$1(node.children);
  96073. },
  96074. visitUseRule$1(node) {
  96075. return null;
  96076. },
  96077. visitVariableDeclaration$1(node) {
  96078. return null;
  96079. },
  96080. visitWarnRule$1(node) {
  96081. return null;
  96082. },
  96083. visitWhileRule$1(node) {
  96084. return this.visitChildren$1(node.children);
  96085. },
  96086. visitChildren$1(children) {
  96087. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  96088. }
  96089. };
  96090. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  96091. call$1(clause) {
  96092. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  96093. },
  96094. $signature() {
  96095. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  96096. }
  96097. };
  96098. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  96099. call$1(child) {
  96100. return child.accept$1(this.$this);
  96101. },
  96102. $signature() {
  96103. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96104. }
  96105. };
  96106. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  96107. call$1(lastClause) {
  96108. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  96109. },
  96110. $signature() {
  96111. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  96112. }
  96113. };
  96114. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  96115. call$1(child) {
  96116. return child.accept$1(this.$this);
  96117. },
  96118. $signature() {
  96119. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96120. }
  96121. };
  96122. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  96123. call$1(child) {
  96124. return child.accept$1(this.$this);
  96125. },
  96126. $signature() {
  96127. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  96128. }
  96129. };
  96130. A.StaticImport0.prototype = {
  96131. toString$0(_) {
  96132. var t1 = this.url.toString$0(0),
  96133. t2 = this.modifiers;
  96134. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  96135. },
  96136. $isImport0: 1,
  96137. $isAstNode0: 1,
  96138. get$span(receiver) {
  96139. return this.span;
  96140. }
  96141. };
  96142. A.StderrLogger0.prototype = {
  96143. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  96144. var t2, t3, t4,
  96145. t1 = this.color;
  96146. if (t1) {
  96147. t2 = $.$get$stderr0();
  96148. t3 = t2._node$_stderr;
  96149. t4 = J.getInterceptor$x(t3);
  96150. t4.write$1(t3, "\x1b[33m\x1b[1m");
  96151. if (deprecation)
  96152. t4.write$1(t3, "Deprecation ");
  96153. t4.write$1(t3, "Warning\x1b[0m");
  96154. } else {
  96155. if (deprecation)
  96156. J.write$1$x($.$get$stderr0()._node$_stderr, "DEPRECATION ");
  96157. t2 = $.$get$stderr0();
  96158. J.write$1$x(t2._node$_stderr, "WARNING");
  96159. }
  96160. if (span == null)
  96161. t2.writeln$1(": " + message);
  96162. else if (trace != null)
  96163. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  96164. else
  96165. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  96166. if (trace != null)
  96167. t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  96168. t2.writeln$0();
  96169. },
  96170. warn$1($receiver, message) {
  96171. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  96172. },
  96173. warn$3$span$trace($receiver, message, span, trace) {
  96174. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  96175. },
  96176. warn$2$span($receiver, message, span) {
  96177. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  96178. },
  96179. warn$2$trace($receiver, message, trace) {
  96180. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  96181. },
  96182. debug$2(_, message, span) {
  96183. var url, t3, t4,
  96184. t1 = span.file,
  96185. t2 = span._file$_start;
  96186. if (A.FileLocation$_(t1, t2).file.url == null)
  96187. url = "-";
  96188. else {
  96189. t3 = A.FileLocation$_(t1, t2);
  96190. url = $.$get$context().prettyUri$1(t3.file.url);
  96191. }
  96192. t3 = $.$get$stderr0();
  96193. t2 = A.FileLocation$_(t1, t2);
  96194. t2 = t2.file.getLine$1(t2.offset);
  96195. t1 = t3._node$_stderr;
  96196. t4 = J.getInterceptor$x(t1);
  96197. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  96198. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  96199. t3.writeln$1(": " + message);
  96200. }
  96201. };
  96202. A.StringExpression0.prototype = {
  96203. get$span(_) {
  96204. return this.text.span;
  96205. },
  96206. accept$1$1(visitor) {
  96207. return visitor.visitStringExpression$1(this);
  96208. },
  96209. accept$1(visitor) {
  96210. return this.accept$1$1(visitor, type$.dynamic);
  96211. },
  96212. asInterpolation$1$static($static) {
  96213. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  96214. if (!this.hasQuotes)
  96215. return this.text;
  96216. t1 = this.text;
  96217. t2 = t1.contents;
  96218. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  96219. t3 = new A.StringBuffer("");
  96220. t4 = A._setArrayType([], type$.JSArray_Object);
  96221. buffer = new A.InterpolationBuffer0(t3, t4);
  96222. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  96223. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  96224. value = t2[_i];
  96225. if (t6._is(value)) {
  96226. buffer._interpolation_buffer0$_flushText$0();
  96227. t4.push(value);
  96228. } else if (typeof value == "string")
  96229. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  96230. }
  96231. t3._contents += A.Primitives_stringFromCharCode(quote);
  96232. return buffer.interpolation$1(t1.span);
  96233. },
  96234. asInterpolation$0() {
  96235. return this.asInterpolation$1$static(false);
  96236. },
  96237. toString$0(_) {
  96238. return this.asInterpolation$0().toString$0(0);
  96239. },
  96240. $isExpression0: 1,
  96241. $isAstNode0: 1
  96242. };
  96243. A.module_closure9.prototype = {
  96244. call$1($arguments) {
  96245. var limit, t2, chunks, i, lastEnd, match, t3,
  96246. t1 = J.getInterceptor$asx($arguments),
  96247. string = t1.$index($arguments, 0).assertString$1("string"),
  96248. separator = t1.$index($arguments, 1).assertString$1("separator");
  96249. t1 = t1.$index($arguments, 2).get$realNull();
  96250. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  96251. if (limit != null && limit < 1)
  96252. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  96253. t1 = string._string0$_text;
  96254. if (t1.length === 0)
  96255. return B.SassList_Sof2;
  96256. else {
  96257. t2 = separator._string0$_text;
  96258. if (t2.length === 0)
  96259. 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_rXA0, true);
  96260. }
  96261. chunks = A._setArrayType([], type$.JSArray_String);
  96262. 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();) {
  96263. match = t2.__js_helper$_current;
  96264. t3 = match.start;
  96265. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  96266. lastEnd = t3 + match.pattern.length;
  96267. ++i;
  96268. if (i === limit)
  96269. break;
  96270. }
  96271. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  96272. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_rXA0, true);
  96273. },
  96274. $signature: 21
  96275. };
  96276. A.module__closure2.prototype = {
  96277. call$1(rune) {
  96278. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  96279. },
  96280. $signature: 523
  96281. };
  96282. A.module__closure3.prototype = {
  96283. call$1(chunk) {
  96284. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  96285. },
  96286. $signature: 524
  96287. };
  96288. A._unquote_closure0.prototype = {
  96289. call$1($arguments) {
  96290. var string = J.$index$asx($arguments, 0).assertString$1("string");
  96291. if (!string._string0$_hasQuotes)
  96292. return string;
  96293. return new A.SassString0(string._string0$_text, false);
  96294. },
  96295. $signature: 17
  96296. };
  96297. A._quote_closure0.prototype = {
  96298. call$1($arguments) {
  96299. var string = J.$index$asx($arguments, 0).assertString$1("string");
  96300. if (string._string0$_hasQuotes)
  96301. return string;
  96302. return new A.SassString0(string._string0$_text, true);
  96303. },
  96304. $signature: 17
  96305. };
  96306. A._length_closure1.prototype = {
  96307. call$1($arguments) {
  96308. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  96309. },
  96310. $signature: 10
  96311. };
  96312. A._insert_closure0.prototype = {
  96313. call$1($arguments) {
  96314. var indexInt, codeUnitIndex, _s5_ = "index",
  96315. t1 = J.getInterceptor$asx($arguments),
  96316. string = t1.$index($arguments, 0).assertString$1("string"),
  96317. insert = t1.$index($arguments, 1).assertString$1("insert"),
  96318. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  96319. index.assertNoUnits$1(_s5_);
  96320. indexInt = index.assertInt$1(_s5_);
  96321. if (indexInt < 0)
  96322. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  96323. t1 = string._string0$_text;
  96324. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  96325. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  96326. },
  96327. $signature: 17
  96328. };
  96329. A._index_closure1.prototype = {
  96330. call$1($arguments) {
  96331. var t1 = J.getInterceptor$asx($arguments),
  96332. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  96333. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  96334. if (codeUnitIndex === -1)
  96335. return B.C__SassNull0;
  96336. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  96337. },
  96338. $signature: 3
  96339. };
  96340. A._slice_closure0.prototype = {
  96341. call$1($arguments) {
  96342. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  96343. _s8_ = "start-at",
  96344. t1 = J.getInterceptor$asx($arguments),
  96345. string = t1.$index($arguments, 0).assertString$1("string"),
  96346. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  96347. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  96348. start.assertNoUnits$1(_s8_);
  96349. end.assertNoUnits$1("end-at");
  96350. lengthInCodepoints = string.get$_string0$_sassLength();
  96351. endInt = end.assertInt$0();
  96352. if (endInt === 0)
  96353. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  96354. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  96355. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  96356. if (endCodepoint === lengthInCodepoints)
  96357. --endCodepoint;
  96358. if (endCodepoint < startCodepoint)
  96359. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  96360. t1 = string._string0$_text;
  96361. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  96362. },
  96363. $signature: 17
  96364. };
  96365. A._toUpperCase_closure0.prototype = {
  96366. call$1($arguments) {
  96367. var t1, t2, i, t3, t4,
  96368. string = J.$index$asx($arguments, 0).assertString$1("string");
  96369. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  96370. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  96371. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  96372. }
  96373. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  96374. },
  96375. $signature: 17
  96376. };
  96377. A._toLowerCase_closure0.prototype = {
  96378. call$1($arguments) {
  96379. var t1, t2, i, t3, t4,
  96380. string = J.$index$asx($arguments, 0).assertString$1("string");
  96381. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  96382. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  96383. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  96384. }
  96385. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  96386. },
  96387. $signature: 17
  96388. };
  96389. A._uniqueId_closure0.prototype = {
  96390. call$1($arguments) {
  96391. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  96392. $._previousUniqueId0 = t1;
  96393. if (t1 > Math.pow(36, 6))
  96394. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  96395. return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  96396. },
  96397. $signature: 17
  96398. };
  96399. A._NodeSassString.prototype = {};
  96400. A.legacyStringClass_closure.prototype = {
  96401. call$3(thisArg, value, dartValue) {
  96402. var t1;
  96403. if (dartValue == null) {
  96404. value.toString;
  96405. t1 = new A.SassString0(value, false);
  96406. } else
  96407. t1 = dartValue;
  96408. J.set$dartValue$x(thisArg, t1);
  96409. },
  96410. call$2(thisArg, value) {
  96411. return this.call$3(thisArg, value, null);
  96412. },
  96413. "call*": "call$3",
  96414. $requiredArgCount: 2,
  96415. $defaultValues() {
  96416. return [null];
  96417. },
  96418. $signature: 525
  96419. };
  96420. A.legacyStringClass_closure0.prototype = {
  96421. call$1(thisArg) {
  96422. return J.get$dartValue$x(thisArg)._string0$_text;
  96423. },
  96424. $signature: 526
  96425. };
  96426. A.legacyStringClass_closure1.prototype = {
  96427. call$2(thisArg, value) {
  96428. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  96429. },
  96430. $signature: 527
  96431. };
  96432. A.stringClass_closure.prototype = {
  96433. call$0() {
  96434. var t2,
  96435. t1 = type$.JSClass,
  96436. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  96437. 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));
  96438. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  96439. t2 = $.$get$_emptyQuoted0();
  96440. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  96441. return jsClass;
  96442. },
  96443. $signature: 25
  96444. };
  96445. A.stringClass__closure.prototype = {
  96446. call$3($self, textOrOptions, options) {
  96447. var t1;
  96448. if (typeof textOrOptions == "string") {
  96449. t1 = options == null ? null : J.get$quotes$x(options);
  96450. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  96451. } else {
  96452. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  96453. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  96454. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  96455. }
  96456. return t1;
  96457. },
  96458. call$1($self) {
  96459. return this.call$3($self, null, null);
  96460. },
  96461. call$2($self, textOrOptions) {
  96462. return this.call$3($self, textOrOptions, null);
  96463. },
  96464. "call*": "call$3",
  96465. $requiredArgCount: 1,
  96466. $defaultValues() {
  96467. return [null, null];
  96468. },
  96469. $signature: 528
  96470. };
  96471. A.stringClass__closure0.prototype = {
  96472. call$1($self) {
  96473. return $self._string0$_text;
  96474. },
  96475. $signature: 529
  96476. };
  96477. A.stringClass__closure1.prototype = {
  96478. call$1($self) {
  96479. return $self._string0$_hasQuotes;
  96480. },
  96481. $signature: 530
  96482. };
  96483. A.stringClass__closure2.prototype = {
  96484. call$1($self) {
  96485. return $self.get$_string0$_sassLength();
  96486. },
  96487. $signature: 531
  96488. };
  96489. A.stringClass__closure3.prototype = {
  96490. call$3($self, sassIndex, $name) {
  96491. var t1 = $self._string0$_text,
  96492. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  96493. if (index === 0)
  96494. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  96495. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  96496. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  96497. return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
  96498. },
  96499. call$2($self, sassIndex) {
  96500. return this.call$3($self, sassIndex, null);
  96501. },
  96502. "call*": "call$3",
  96503. $requiredArgCount: 2,
  96504. $defaultValues() {
  96505. return [null];
  96506. },
  96507. $signature: 532
  96508. };
  96509. A._ConstructorOptions1.prototype = {};
  96510. A.SassString0.prototype = {
  96511. get$_string0$_sassLength() {
  96512. var t1, result, _this = this,
  96513. value = _this._string0$__SassString__sassLength_FI;
  96514. if (value === $) {
  96515. t1 = new A.Runes(_this._string0$_text);
  96516. result = t1.get$length(t1);
  96517. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  96518. _this._string0$__SassString__sassLength_FI = result;
  96519. value = result;
  96520. }
  96521. return value;
  96522. },
  96523. get$isSpecialNumber() {
  96524. var t1, t2;
  96525. if (this._string0$_hasQuotes)
  96526. return false;
  96527. t1 = this._string0$_text;
  96528. if (t1.length < 6)
  96529. return false;
  96530. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  96531. if (t2 === 99) {
  96532. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  96533. if (t2 === 108) {
  96534. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  96535. return false;
  96536. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  96537. return false;
  96538. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  96539. return false;
  96540. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  96541. } else if (t2 === 97) {
  96542. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  96543. return false;
  96544. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  96545. return false;
  96546. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  96547. } else
  96548. return false;
  96549. } else if (t2 === 118) {
  96550. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  96551. return false;
  96552. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  96553. return false;
  96554. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  96555. } else if (t2 === 101) {
  96556. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  96557. return false;
  96558. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  96559. return false;
  96560. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  96561. } else if (t2 === 109) {
  96562. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  96563. if (t2 === 97) {
  96564. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  96565. return false;
  96566. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  96567. } else if (t2 === 105) {
  96568. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  96569. return false;
  96570. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  96571. } else
  96572. return false;
  96573. } else
  96574. return false;
  96575. },
  96576. get$isVar() {
  96577. if (this._string0$_hasQuotes)
  96578. return false;
  96579. var t1 = this._string0$_text;
  96580. if (t1.length < 8)
  96581. return false;
  96582. return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  96583. },
  96584. get$isBlank() {
  96585. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  96586. },
  96587. accept$1$1(visitor) {
  96588. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  96589. t2 = this._string0$_text;
  96590. if (t1)
  96591. visitor._serialize0$_visitQuotedString$1(t2);
  96592. else
  96593. visitor._serialize0$_visitUnquotedString$1(t2);
  96594. return null;
  96595. },
  96596. accept$1(visitor) {
  96597. return this.accept$1$1(visitor, type$.dynamic);
  96598. },
  96599. assertString$1($name) {
  96600. return this;
  96601. },
  96602. plus$1(other) {
  96603. var t1 = this._string0$_text,
  96604. t2 = this._string0$_hasQuotes;
  96605. if (other instanceof A.SassString0)
  96606. return new A.SassString0(t1 + other._string0$_text, t2);
  96607. else
  96608. return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  96609. },
  96610. $eq(_, other) {
  96611. if (other == null)
  96612. return false;
  96613. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  96614. },
  96615. get$hashCode(_) {
  96616. var t1 = this._string0$_hashCache;
  96617. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  96618. }
  96619. };
  96620. A.ModifiableCssStyleRule0.prototype = {
  96621. accept$1$1(visitor) {
  96622. return visitor.visitCssStyleRule$1(this);
  96623. },
  96624. accept$1(visitor) {
  96625. return this.accept$1$1(visitor, type$.dynamic);
  96626. },
  96627. equalsIgnoringChildren$1(other) {
  96628. var t1;
  96629. if (other instanceof A.ModifiableCssStyleRule0)
  96630. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  96631. else
  96632. t1 = false;
  96633. return t1;
  96634. },
  96635. copyWithoutChildren$0() {
  96636. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, this.originalSelector);
  96637. },
  96638. $isCssStyleRule0: 1,
  96639. get$span(receiver) {
  96640. return this.span;
  96641. }
  96642. };
  96643. A.StyleRule0.prototype = {
  96644. accept$1$1(visitor) {
  96645. return visitor.visitStyleRule$1(this);
  96646. },
  96647. accept$1(visitor) {
  96648. return this.accept$1$1(visitor, type$.dynamic);
  96649. },
  96650. toString$0(_) {
  96651. var t1 = this.children;
  96652. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  96653. },
  96654. get$span(receiver) {
  96655. return this.span;
  96656. }
  96657. };
  96658. A.CssStylesheet0.prototype = {
  96659. get$isGroupEnd() {
  96660. return false;
  96661. },
  96662. get$isChildless() {
  96663. return false;
  96664. },
  96665. accept$1$1(visitor) {
  96666. return visitor.visitCssStylesheet$1(this);
  96667. },
  96668. accept$1(visitor) {
  96669. return this.accept$1$1(visitor, type$.dynamic);
  96670. },
  96671. get$children(receiver) {
  96672. return this.children;
  96673. },
  96674. get$span(receiver) {
  96675. return this.span;
  96676. }
  96677. };
  96678. A.ModifiableCssStylesheet0.prototype = {
  96679. accept$1$1(visitor) {
  96680. return visitor.visitCssStylesheet$1(this);
  96681. },
  96682. accept$1(visitor) {
  96683. return this.accept$1$1(visitor, type$.dynamic);
  96684. },
  96685. equalsIgnoringChildren$1(other) {
  96686. return other instanceof A.ModifiableCssStylesheet0;
  96687. },
  96688. copyWithoutChildren$0() {
  96689. return A.ModifiableCssStylesheet$0(this.span);
  96690. },
  96691. $isCssStylesheet0: 1,
  96692. get$span(receiver) {
  96693. return this.span;
  96694. }
  96695. };
  96696. A.StylesheetParser0.prototype = {
  96697. parse$0() {
  96698. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  96699. },
  96700. parseArgumentDeclaration$0() {
  96701. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  96702. },
  96703. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  96704. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  96705. },
  96706. parseSignature$1$requireParens(requireParens) {
  96707. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  96708. },
  96709. _stylesheet0$_statement$1$root(root) {
  96710. var t2, _this = this,
  96711. t1 = _this.scanner;
  96712. switch (t1.peekChar$0()) {
  96713. case 64:
  96714. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  96715. case 43:
  96716. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  96717. return _this._stylesheet0$_styleRule$0();
  96718. _this._stylesheet0$_isUseAllowed = false;
  96719. t2 = t1._string_scanner$_position;
  96720. t1.readChar$0();
  96721. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  96722. case 61:
  96723. if (!_this.get$indented())
  96724. return _this._stylesheet0$_styleRule$0();
  96725. _this._stylesheet0$_isUseAllowed = false;
  96726. t2 = t1._string_scanner$_position;
  96727. t1.readChar$0();
  96728. _this.whitespace$0();
  96729. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  96730. case 125:
  96731. t1.error$2$length(0, 'unmatched "}".', 1);
  96732. break;
  96733. default:
  96734. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  96735. }
  96736. },
  96737. _stylesheet0$_statement$0() {
  96738. return this._stylesheet0$_statement$1$root(false);
  96739. },
  96740. variableDeclarationWithoutNamespace$2(namespace, start_) {
  96741. var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
  96742. _s97_ = string$.x21defau,
  96743. _s96_ = string$.x21globas,
  96744. precedingComment = _this.lastSilentComment;
  96745. _this.lastSilentComment = null;
  96746. if (start_ == null) {
  96747. t1 = _this.scanner;
  96748. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96749. } else
  96750. start = start_;
  96751. $name = _this.variableName$0();
  96752. t1 = namespace != null;
  96753. if (t1)
  96754. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  96755. if (_this.get$plainCss())
  96756. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  96757. _this.whitespace$0();
  96758. t2 = _this.scanner;
  96759. t2.expectChar$1(58);
  96760. _this.whitespace$0();
  96761. value = _this._stylesheet0$_expression$0();
  96762. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  96763. for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  96764. flag = _this.identifier$0();
  96765. if (flag === "default") {
  96766. if (guarded) {
  96767. endPosition = t2._string_scanner$_position;
  96768. t4 = t2._sourceFile;
  96769. t5 = flagStart.position;
  96770. t6 = new A._FileSpan(t4, t5, endPosition);
  96771. t6._FileSpan$3(t4, t5, endPosition);
  96772. if ($self instanceof A.DeprecationHandlingLogger0)
  96773. $self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s97_, t6, _null);
  96774. else
  96775. $self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
  96776. }
  96777. guarded = true;
  96778. } else if (flag === "global") {
  96779. if (t1) {
  96780. endPosition = t2._string_scanner$_position;
  96781. t4 = t2._sourceFile;
  96782. t5 = flagStart.position;
  96783. t6 = new A._FileSpan(t4, t5, endPosition);
  96784. t6._FileSpan$3(t4, t5, endPosition);
  96785. A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
  96786. } else if (global) {
  96787. endPosition = t2._string_scanner$_position;
  96788. t4 = t2._sourceFile;
  96789. t5 = flagStart.position;
  96790. t6 = new A._FileSpan(t4, t5, endPosition);
  96791. t6._FileSpan$3(t4, t5, endPosition);
  96792. if ($self instanceof A.DeprecationHandlingLogger0)
  96793. $self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s96_, t6, _null);
  96794. else
  96795. $self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
  96796. }
  96797. global = true;
  96798. } else {
  96799. endPosition = t2._string_scanner$_position;
  96800. t4 = t2._sourceFile;
  96801. t5 = flagStart.position;
  96802. t6 = new A._FileSpan(t4, t5, endPosition);
  96803. t6._FileSpan$3(t4, t5, endPosition);
  96804. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  96805. }
  96806. _this.whitespace$0();
  96807. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  96808. }
  96809. _this.expectStatementSeparator$1("variable declaration");
  96810. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  96811. if (global)
  96812. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  96813. return declaration;
  96814. },
  96815. variableDeclarationWithoutNamespace$0() {
  96816. return this.variableDeclarationWithoutNamespace$2(null, null);
  96817. },
  96818. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  96819. var t1, t2, variableOrInterpolation, t3, _this = this;
  96820. if (_this.get$plainCss())
  96821. return _this._stylesheet0$_styleRule$0();
  96822. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  96823. return _this._stylesheet0$_styleRule$0();
  96824. if (!_this.lookingAtIdentifier$0())
  96825. return _this._stylesheet0$_styleRule$0();
  96826. t1 = _this.scanner;
  96827. t2 = t1._string_scanner$_position;
  96828. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  96829. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  96830. return variableOrInterpolation;
  96831. else {
  96832. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  96833. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  96834. return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  96835. }
  96836. },
  96837. _stylesheet0$_declarationOrStyleRule$0() {
  96838. var t1, t2, declarationOrBuffer, _this = this;
  96839. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  96840. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  96841. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  96842. return _this._stylesheet0$_styleRule$0();
  96843. t1 = _this.scanner;
  96844. t2 = t1._string_scanner$_position;
  96845. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  96846. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  96847. },
  96848. _stylesheet0$_declarationOrBuffer$0() {
  96849. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  96850. t2 = _this.scanner,
  96851. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  96852. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  96853. first = t2.peekChar$0();
  96854. if (first !== 58)
  96855. if (first !== 42)
  96856. if (first !== 46)
  96857. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  96858. else
  96859. t3 = true;
  96860. else
  96861. t3 = true;
  96862. else
  96863. t3 = true;
  96864. if (t3) {
  96865. t3 = t2.readChar$0();
  96866. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  96867. t3 = _this.rawText$1(_this.get$whitespace());
  96868. nameBuffer._interpolation_buffer0$_text._contents += t3;
  96869. startsWithPunctuation = true;
  96870. } else
  96871. startsWithPunctuation = false;
  96872. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  96873. return nameBuffer;
  96874. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  96875. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  96876. return variableOrInterpolation;
  96877. else
  96878. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  96879. _this._stylesheet0$_isUseAllowed = false;
  96880. if (t2.matches$1("/*")) {
  96881. t3 = _this.rawText$1(_this.get$loudComment());
  96882. nameBuffer._interpolation_buffer0$_text._contents += t3;
  96883. }
  96884. midBuffer = new A.StringBuffer("");
  96885. t3 = _this.get$whitespace();
  96886. midBuffer._contents += _this.rawText$1(t3);
  96887. t4 = t2._string_scanner$_position;
  96888. if (!t2.scanChar$1(58)) {
  96889. if (midBuffer._contents.length !== 0)
  96890. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  96891. return nameBuffer;
  96892. }
  96893. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  96894. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  96895. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  96896. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  96897. _this.expectStatementSeparator$1("custom property");
  96898. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  96899. }
  96900. if (t2.scanChar$1(58)) {
  96901. t1 = nameBuffer;
  96902. t2 = t1._interpolation_buffer0$_text;
  96903. t3 = t2._contents += A.S(midBuffer);
  96904. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  96905. return t1;
  96906. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  96907. t1 = nameBuffer;
  96908. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  96909. return t1;
  96910. }
  96911. postColonWhitespace = _this.rawText$1(t3);
  96912. if (_this.lookingAtChildren$0())
  96913. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  96914. midBuffer._contents += postColonWhitespace;
  96915. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  96916. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  96917. t3 = t1.value = null;
  96918. try {
  96919. t3 = t1.value = _this._stylesheet0$_expression$0();
  96920. if (_this.lookingAtChildren$0()) {
  96921. if (couldBeSelector)
  96922. _this.expectStatementSeparator$0();
  96923. } else if (!_this.atEndOfStatement$0())
  96924. _this.expectStatementSeparator$0();
  96925. } catch (exception) {
  96926. if (type$.FormatException._is(A.unwrapException(exception))) {
  96927. if (!couldBeSelector)
  96928. throw exception;
  96929. t2.set$state(beforeDeclaration);
  96930. additional = _this.almostAnyValue$0();
  96931. if (!_this.get$indented() && t2.peekChar$0() === 59)
  96932. throw exception;
  96933. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  96934. nameBuffer.addInterpolation$1(additional);
  96935. return nameBuffer;
  96936. } else
  96937. throw exception;
  96938. }
  96939. if (_this.lookingAtChildren$0())
  96940. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  96941. else {
  96942. _this.expectStatementSeparator$0();
  96943. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  96944. }
  96945. },
  96946. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  96947. var t1, start, identifier, t2, buffer, _this = this;
  96948. if (!_this.lookingAtIdentifier$0())
  96949. return _this.interpolatedIdentifier$0();
  96950. t1 = _this.scanner;
  96951. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96952. identifier = _this.identifier$0();
  96953. if (t1.matches$1(".$")) {
  96954. t1.readChar$0();
  96955. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  96956. } else {
  96957. t2 = new A.StringBuffer("");
  96958. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96959. t2._contents = "" + identifier;
  96960. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  96961. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  96962. return buffer.interpolation$1(t1.spanFrom$1(start));
  96963. }
  96964. },
  96965. _stylesheet0$_styleRule$2(buffer, start_) {
  96966. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  96967. _this._stylesheet0$_isUseAllowed = false;
  96968. if (start_ == null) {
  96969. t2 = _this.scanner;
  96970. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  96971. } else
  96972. start = start_;
  96973. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  96974. if (buffer != null) {
  96975. buffer.addInterpolation$1(interpolation);
  96976. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  96977. } else
  96978. t2 = interpolation;
  96979. if (t2.contents.length === 0)
  96980. _this.scanner.error$1(0, 'expected "}".');
  96981. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  96982. _this._stylesheet0$_inStyleRule = true;
  96983. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  96984. },
  96985. _stylesheet0$_styleRule$0() {
  96986. return this._stylesheet0$_styleRule$2(null, null);
  96987. },
  96988. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  96989. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  96990. _s48_ = string$.Nested,
  96991. t1 = {},
  96992. t2 = _this.scanner,
  96993. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  96994. t1.name = null;
  96995. first = t2.peekChar$0();
  96996. if (first !== 58)
  96997. if (first !== 42)
  96998. if (first !== 46)
  96999. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  97000. else
  97001. t3 = true;
  97002. else
  97003. t3 = true;
  97004. else
  97005. t3 = true;
  97006. if (t3) {
  97007. t3 = new A.StringBuffer("");
  97008. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  97009. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  97010. t3._contents += _this.rawText$1(_this.get$whitespace());
  97011. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  97012. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  97013. } else if (!_this.get$plainCss()) {
  97014. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  97015. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  97016. return variableOrInterpolation;
  97017. else {
  97018. type$.Interpolation_2._as(variableOrInterpolation);
  97019. t1.name = variableOrInterpolation;
  97020. }
  97021. t3 = variableOrInterpolation;
  97022. } else {
  97023. $name = _this.interpolatedIdentifier$0();
  97024. t1.name = $name;
  97025. t3 = $name;
  97026. }
  97027. _this.whitespace$0();
  97028. t2.expectChar$1(58);
  97029. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  97030. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  97031. _this.expectStatementSeparator$1("custom property");
  97032. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  97033. }
  97034. _this.whitespace$0();
  97035. if (_this.lookingAtChildren$0()) {
  97036. if (_this.get$plainCss())
  97037. t2.error$1(0, _s48_);
  97038. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  97039. }
  97040. value = _this._stylesheet0$_expression$0();
  97041. if (_this.lookingAtChildren$0()) {
  97042. if (_this.get$plainCss())
  97043. t2.error$1(0, _s48_);
  97044. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  97045. } else {
  97046. _this.expectStatementSeparator$0();
  97047. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  97048. }
  97049. },
  97050. _stylesheet0$_propertyOrVariableDeclaration$0() {
  97051. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  97052. },
  97053. _stylesheet0$_declarationChild$0() {
  97054. if (this.scanner.peekChar$0() === 64)
  97055. return this._stylesheet0$_declarationAtRule$0();
  97056. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  97057. },
  97058. atRule$2$root(child, root) {
  97059. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  97060. _s9_ = "@use rule",
  97061. t1 = _this.scanner,
  97062. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97063. t1.expectChar$2$name(64, "@-rule");
  97064. $name = _this.interpolatedIdentifier$0();
  97065. _this.whitespace$0();
  97066. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  97067. _this._stylesheet0$_isUseAllowed = false;
  97068. switch ($name.get$asPlain()) {
  97069. case "at-root":
  97070. return _this._stylesheet0$_atRootRule$1(start);
  97071. case "content":
  97072. return _this._stylesheet0$_contentRule$1(start);
  97073. case "debug":
  97074. return _this._stylesheet0$_debugRule$1(start);
  97075. case "each":
  97076. return _this._stylesheet0$_eachRule$2(start, child);
  97077. case "else":
  97078. return _this._stylesheet0$_disallowedAtRule$1(start);
  97079. case "error":
  97080. return _this._stylesheet0$_errorRule$1(start);
  97081. case "extend":
  97082. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  97083. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  97084. value = _this.almostAnyValue$0();
  97085. optional = t1.scanChar$1(33);
  97086. if (optional)
  97087. _this.expectIdentifier$1("optional");
  97088. _this.expectStatementSeparator$1("@extend rule");
  97089. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  97090. case "for":
  97091. return _this._stylesheet0$_forRule$2(start, child);
  97092. case "forward":
  97093. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  97094. if (!root)
  97095. _this._stylesheet0$_disallowedAtRule$1(start);
  97096. return _this._stylesheet0$_forwardRule$1(start);
  97097. case "function":
  97098. return _this._stylesheet0$_functionRule$1(start);
  97099. case "if":
  97100. return _this._stylesheet0$_ifRule$2(start, child);
  97101. case "import":
  97102. return _this._stylesheet0$_importRule$1(start);
  97103. case "include":
  97104. return _this._stylesheet0$_includeRule$1(start);
  97105. case "media":
  97106. return _this.mediaRule$1(start);
  97107. case "mixin":
  97108. return _this._stylesheet0$_mixinRule$1(start);
  97109. case "-moz-document":
  97110. return _this.mozDocumentRule$2(start, $name);
  97111. case "return":
  97112. return _this._stylesheet0$_disallowedAtRule$1(start);
  97113. case "supports":
  97114. return _this.supportsRule$1(start);
  97115. case "use":
  97116. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  97117. if (!root)
  97118. _this._stylesheet0$_disallowedAtRule$1(start);
  97119. url = _this._stylesheet0$_urlString$0();
  97120. _this.whitespace$0();
  97121. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  97122. _this.whitespace$0();
  97123. configuration = _this._stylesheet0$_configuration$0();
  97124. _this.expectStatementSeparator$1(_s9_);
  97125. span = t1.spanFrom$1(start);
  97126. if (!_this._stylesheet0$_isUseAllowed)
  97127. _this.error$2(0, string$.x40use_r, span);
  97128. _this.expectStatementSeparator$1(_s9_);
  97129. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  97130. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  97131. return t1;
  97132. case "warn":
  97133. return _this._stylesheet0$_warnRule$1(start);
  97134. case "while":
  97135. return _this._stylesheet0$_whileRule$2(start, child);
  97136. default:
  97137. return _this.unknownAtRule$2(start, $name);
  97138. }
  97139. },
  97140. _stylesheet0$_declarationAtRule$0() {
  97141. var _this = this,
  97142. t1 = _this.scanner,
  97143. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97144. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  97145. case "content":
  97146. return _this._stylesheet0$_contentRule$1(start);
  97147. case "debug":
  97148. return _this._stylesheet0$_debugRule$1(start);
  97149. case "each":
  97150. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97151. case "else":
  97152. return _this._stylesheet0$_disallowedAtRule$1(start);
  97153. case "error":
  97154. return _this._stylesheet0$_errorRule$1(start);
  97155. case "for":
  97156. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97157. case "if":
  97158. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97159. case "include":
  97160. return _this._stylesheet0$_includeRule$1(start);
  97161. case "warn":
  97162. return _this._stylesheet0$_warnRule$1(start);
  97163. case "while":
  97164. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  97165. default:
  97166. return _this._stylesheet0$_disallowedAtRule$1(start);
  97167. }
  97168. },
  97169. _stylesheet0$_functionChild$0() {
  97170. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
  97171. t1 = _this.scanner;
  97172. if (t1.peekChar$0() !== 64) {
  97173. t2 = t1._string_scanner$_position;
  97174. state = new A._SpanScannerState(t1, t2);
  97175. try {
  97176. namespace = _this.identifier$0();
  97177. t1.expectChar$1(46);
  97178. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  97179. return t2;
  97180. } catch (exception) {
  97181. t2 = A.unwrapException(exception);
  97182. t3 = type$.SourceSpanFormatException;
  97183. if (t3._is(t2)) {
  97184. variableDeclarationError = t2;
  97185. stackTrace = A.getTraceFromException(exception);
  97186. t1.set$state(state);
  97187. statement = null;
  97188. try {
  97189. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  97190. } catch (exception) {
  97191. if (t3._is(A.unwrapException(exception)))
  97192. throw A.wrapException(variableDeclarationError);
  97193. else
  97194. throw exception;
  97195. }
  97196. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  97197. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  97198. } else
  97199. throw exception;
  97200. }
  97201. }
  97202. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97203. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  97204. case "debug":
  97205. return _this._stylesheet0$_debugRule$1(start);
  97206. case "each":
  97207. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  97208. case "else":
  97209. return _this._stylesheet0$_disallowedAtRule$1(start);
  97210. case "error":
  97211. return _this._stylesheet0$_errorRule$1(start);
  97212. case "for":
  97213. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  97214. case "if":
  97215. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  97216. case "return":
  97217. value = _this._stylesheet0$_expression$0();
  97218. _this.expectStatementSeparator$1("@return rule");
  97219. return new A.ReturnRule0(value, t1.spanFrom$1(start));
  97220. case "warn":
  97221. return _this._stylesheet0$_warnRule$1(start);
  97222. case "while":
  97223. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  97224. default:
  97225. return _this._stylesheet0$_disallowedAtRule$1(start);
  97226. }
  97227. },
  97228. _stylesheet0$_plainAtRuleName$0() {
  97229. this.scanner.expectChar$2$name(64, "@-rule");
  97230. var $name = this.identifier$0();
  97231. this.whitespace$0();
  97232. return $name;
  97233. },
  97234. _stylesheet0$_atRootRule$1(start) {
  97235. var t2, t3, t4, buffer, t5, query, _this = this,
  97236. t1 = _this.scanner;
  97237. if (t1.peekChar$0() === 40) {
  97238. t2 = t1._string_scanner$_position;
  97239. t3 = new A.StringBuffer("");
  97240. t4 = A._setArrayType([], type$.JSArray_Object);
  97241. buffer = new A.InterpolationBuffer0(t3, t4);
  97242. t1.expectChar$1(40);
  97243. t3._contents += A.Primitives_stringFromCharCode(40);
  97244. _this.whitespace$0();
  97245. t5 = _this._stylesheet0$_expression$0();
  97246. buffer._interpolation_buffer0$_flushText$0();
  97247. t4.push(t5);
  97248. if (t1.scanChar$1(58)) {
  97249. _this.whitespace$0();
  97250. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  97251. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  97252. t5 = _this._stylesheet0$_expression$0();
  97253. buffer._interpolation_buffer0$_flushText$0();
  97254. t4.push(t5);
  97255. }
  97256. t1.expectChar$1(41);
  97257. _this.whitespace$0();
  97258. t3._contents += A.Primitives_stringFromCharCode(41);
  97259. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97260. _this.whitespace$0();
  97261. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  97262. } else if (_this.lookingAtChildren$0())
  97263. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  97264. else
  97265. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  97266. },
  97267. _stylesheet0$_contentRule$1(start) {
  97268. var t1, $arguments, t2, t3, _this = this;
  97269. if (!_this._stylesheet0$_inMixin)
  97270. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  97271. _this.whitespace$0();
  97272. t1 = _this.scanner;
  97273. if (t1.peekChar$0() === 40)
  97274. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  97275. else {
  97276. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  97277. t3 = t2.offset;
  97278. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  97279. }
  97280. _this.expectStatementSeparator$1("@content rule");
  97281. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  97282. },
  97283. _stylesheet0$_debugRule$1(start) {
  97284. var value = this._stylesheet0$_expression$0();
  97285. this.expectStatementSeparator$1("@debug rule");
  97286. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  97287. },
  97288. _stylesheet0$_eachRule$2(start, child) {
  97289. var variables, t1, _this = this,
  97290. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97291. _this._stylesheet0$_inControlDirective = true;
  97292. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  97293. _this.whitespace$0();
  97294. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  97295. _this.whitespace$0();
  97296. t1.expectChar$1(36);
  97297. variables.push(_this.identifier$1$normalize(true));
  97298. _this.whitespace$0();
  97299. }
  97300. _this.expectIdentifier$1("in");
  97301. _this.whitespace$0();
  97302. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  97303. },
  97304. _stylesheet0$_errorRule$1(start) {
  97305. var value = this._stylesheet0$_expression$0();
  97306. this.expectStatementSeparator$1("@error rule");
  97307. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  97308. },
  97309. _stylesheet0$_functionRule$1(start) {
  97310. var $name, $arguments, _this = this,
  97311. precedingComment = _this.lastSilentComment;
  97312. _this.lastSilentComment = null;
  97313. $name = _this.identifier$1$normalize(true);
  97314. _this.whitespace$0();
  97315. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  97316. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  97317. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  97318. else if (_this._stylesheet0$_inControlDirective)
  97319. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  97320. switch (A.unvendor0($name)) {
  97321. case "calc":
  97322. case "element":
  97323. case "expression":
  97324. case "url":
  97325. case "and":
  97326. case "or":
  97327. case "not":
  97328. case "clamp":
  97329. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  97330. break;
  97331. }
  97332. _this.whitespace$0();
  97333. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  97334. },
  97335. _stylesheet0$_forRule$2(start, child) {
  97336. var variable, from, _this = this, t1 = {},
  97337. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97338. _this._stylesheet0$_inControlDirective = true;
  97339. variable = _this.variableName$0();
  97340. _this.whitespace$0();
  97341. _this.expectIdentifier$1("from");
  97342. _this.whitespace$0();
  97343. t1.exclusive = null;
  97344. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  97345. if (t1.exclusive == null)
  97346. _this.scanner.error$1(0, 'Expected "to" or "through".');
  97347. _this.whitespace$0();
  97348. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  97349. },
  97350. _stylesheet0$_forwardRule$1(start) {
  97351. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  97352. url = _this._stylesheet0$_urlString$0();
  97353. _this.whitespace$0();
  97354. if (_this.scanIdentifier$1("as")) {
  97355. _this.whitespace$0();
  97356. prefix = _this.identifier$1$normalize(true);
  97357. _this.scanner.expectChar$1(42);
  97358. _this.whitespace$0();
  97359. } else
  97360. prefix = _null;
  97361. if (_this.scanIdentifier$1("show")) {
  97362. members = _this._stylesheet0$_memberList$0();
  97363. shownMixinsAndFunctions = members.item1;
  97364. shownVariables = members.item2;
  97365. hiddenVariables = _null;
  97366. hiddenMixinsAndFunctions = hiddenVariables;
  97367. } else {
  97368. if (_this.scanIdentifier$1("hide")) {
  97369. members = _this._stylesheet0$_memberList$0();
  97370. hiddenMixinsAndFunctions = members.item1;
  97371. hiddenVariables = members.item2;
  97372. } else {
  97373. hiddenVariables = _null;
  97374. hiddenMixinsAndFunctions = hiddenVariables;
  97375. }
  97376. shownVariables = _null;
  97377. shownMixinsAndFunctions = shownVariables;
  97378. }
  97379. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  97380. _this.expectStatementSeparator$1("@forward rule");
  97381. span = _this.scanner.spanFrom$1(start);
  97382. if (!_this._stylesheet0$_isUseAllowed)
  97383. _this.error$2(0, string$.x40forwa, span);
  97384. if (shownMixinsAndFunctions != null) {
  97385. shownVariables.toString;
  97386. t1 = type$.String;
  97387. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  97388. t3 = type$.UnmodifiableSetView_String;
  97389. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  97390. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  97391. return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  97392. } else if (hiddenMixinsAndFunctions != null) {
  97393. hiddenVariables.toString;
  97394. t1 = type$.String;
  97395. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  97396. t3 = type$.UnmodifiableSetView_String;
  97397. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  97398. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  97399. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  97400. } else
  97401. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  97402. },
  97403. _stylesheet0$_memberList$0() {
  97404. var _this = this,
  97405. t1 = type$.String,
  97406. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  97407. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  97408. t1 = _this.scanner;
  97409. do {
  97410. _this.whitespace$0();
  97411. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  97412. _this.whitespace$0();
  97413. } while (t1.scanChar$1(44));
  97414. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  97415. },
  97416. _stylesheet0$_ifRule$2(start, child) {
  97417. var condition, children, clauses, lastClause, span, _this = this,
  97418. ifIndentation = _this.get$currentIndentation(),
  97419. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97420. _this._stylesheet0$_inControlDirective = true;
  97421. condition = _this._stylesheet0$_expression$0();
  97422. children = _this.children$1(0, child);
  97423. _this.whitespaceWithoutComments$0();
  97424. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  97425. while (true) {
  97426. if (!_this.scanElse$1(ifIndentation)) {
  97427. lastClause = null;
  97428. break;
  97429. }
  97430. _this.whitespace$0();
  97431. if (_this.scanIdentifier$1("if")) {
  97432. _this.whitespace$0();
  97433. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  97434. } else {
  97435. lastClause = A.ElseClause$0(_this.children$1(0, child));
  97436. break;
  97437. }
  97438. }
  97439. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  97440. span = _this.scanner.spanFrom$1(start);
  97441. _this.whitespaceWithoutComments$0();
  97442. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  97443. },
  97444. _stylesheet0$_importRule$1(start) {
  97445. var argument, t3, _this = this,
  97446. imports = A._setArrayType([], type$.JSArray_Import_2),
  97447. t1 = _this.scanner,
  97448. t2 = _this.logger;
  97449. do {
  97450. _this.whitespace$0();
  97451. argument = _this.importArgument$0();
  97452. t3 = argument instanceof A.DynamicImport0;
  97453. if (t3)
  97454. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_import_true_import, string$.Sass__, argument.span, null);
  97455. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  97456. _this._stylesheet0$_disallowedAtRule$1(start);
  97457. imports.push(argument);
  97458. _this.whitespace$0();
  97459. } while (t1.scanChar$1(44));
  97460. _this.expectStatementSeparator$1("@import rule");
  97461. t1 = t1.spanFrom$1(start);
  97462. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  97463. },
  97464. importArgument$0() {
  97465. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  97466. t1 = _this.scanner,
  97467. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  97468. next = t1.peekChar$0();
  97469. if (next === 117 || next === 85) {
  97470. url = _this.dynamicUrl$0();
  97471. _this.whitespace$0();
  97472. modifiers = _this.tryImportModifiers$0();
  97473. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  97474. }
  97475. url = _this.string$0();
  97476. urlSpan = t1.spanFrom$1(start);
  97477. _this.whitespace$0();
  97478. modifiers = _this.tryImportModifiers$0();
  97479. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  97480. t2 = urlSpan;
  97481. 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));
  97482. } else
  97483. try {
  97484. t1 = _this.parseImportUrl$1(url);
  97485. return new A.DynamicImport0(t1, urlSpan);
  97486. } catch (exception) {
  97487. t1 = A.unwrapException(exception);
  97488. if (type$.FormatException._is(t1)) {
  97489. innerError = t1;
  97490. stackTrace = A.getTraceFromException(exception);
  97491. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  97492. } else
  97493. throw exception;
  97494. }
  97495. },
  97496. parseImportUrl$1(url) {
  97497. var t1 = $.$get$windows();
  97498. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  97499. return t1.toUri$1(url).toString$0(0);
  97500. A.Uri_parse(url);
  97501. return url;
  97502. },
  97503. isPlainImportUrl$1(url) {
  97504. var first;
  97505. if (url.length < 5)
  97506. return false;
  97507. if (B.JSString_methods.endsWith$1(url, ".css"))
  97508. return true;
  97509. first = B.JSString_methods._codeUnitAt$1(url, 0);
  97510. if (first === 47)
  97511. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  97512. if (first !== 104)
  97513. return false;
  97514. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  97515. },
  97516. tryImportModifiers$0() {
  97517. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  97518. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  97519. return null;
  97520. t1 = _this.scanner;
  97521. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97522. t2 = new A.StringBuffer("");
  97523. t3 = A._setArrayType([], type$.JSArray_Object);
  97524. buffer = new A.InterpolationBuffer0(t2, t3);
  97525. for (; true;)
  97526. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97527. if (!(t3.length === 0 && t2._contents.length === 0))
  97528. t2._contents += A.Primitives_stringFromCharCode(32);
  97529. identifier = _this.interpolatedIdentifier$0();
  97530. buffer.addInterpolation$1(identifier);
  97531. t4 = identifier.get$asPlain();
  97532. $name = t4 == null ? null : t4.toLowerCase();
  97533. if ($name !== "and" && t1.scanChar$1(40)) {
  97534. if ($name === "supports") {
  97535. query = _this._stylesheet0$_importSupportsQuery$0();
  97536. t4 = !(query instanceof A.SupportsDeclaration0);
  97537. if (t4)
  97538. t2._contents += A.Primitives_stringFromCharCode(40);
  97539. buffer._interpolation_buffer0$_flushText$0();
  97540. t3.push(new A.SupportsExpression0(query));
  97541. if (t4)
  97542. t2._contents += A.Primitives_stringFromCharCode(41);
  97543. } else {
  97544. t2._contents += A.Primitives_stringFromCharCode(40);
  97545. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  97546. t2._contents += A.Primitives_stringFromCharCode(41);
  97547. }
  97548. t1.expectChar$1(41);
  97549. _this.whitespace$0();
  97550. } else {
  97551. _this.whitespace$0();
  97552. if (t1.scanChar$1(44)) {
  97553. t2._contents += ", ";
  97554. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  97555. endPosition = t1._string_scanner$_position;
  97556. t4 = t1._sourceFile;
  97557. t5 = start.position;
  97558. t1 = new A._FileSpan(t4, t5, endPosition);
  97559. t1._FileSpan$3(t4, t5, endPosition);
  97560. t5 = type$.Object;
  97561. t4 = A.List_List$of(t3, true, t5);
  97562. t3 = t2._contents;
  97563. if (t3.length !== 0)
  97564. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  97565. result = A.List_List$from(t4, false, t5);
  97566. result.fixed$length = Array;
  97567. result.immutable$list = Array;
  97568. t2 = new A.Interpolation0(result, t1);
  97569. t2.Interpolation$20(t4, t1);
  97570. return t2;
  97571. }
  97572. }
  97573. } else if (t1.peekChar$0() === 40) {
  97574. if (!(t3.length === 0 && t2._contents.length === 0))
  97575. t2._contents += A.Primitives_stringFromCharCode(32);
  97576. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  97577. endPosition = t1._string_scanner$_position;
  97578. t1 = t1._sourceFile;
  97579. t4 = start.position;
  97580. t5 = new A._FileSpan(t1, t4, endPosition);
  97581. t5._FileSpan$3(t1, t4, endPosition);
  97582. t4 = type$.Object;
  97583. t3 = A.List_List$of(t3, true, t4);
  97584. t1 = t2._contents;
  97585. if (t1.length !== 0)
  97586. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  97587. result = A.List_List$from(t3, false, t4);
  97588. result.fixed$length = Array;
  97589. result.immutable$list = Array;
  97590. t1 = new A.Interpolation0(result, t5);
  97591. t1.Interpolation$20(t3, t5);
  97592. return t1;
  97593. } else {
  97594. endPosition = t1._string_scanner$_position;
  97595. t1 = t1._sourceFile;
  97596. t4 = start.position;
  97597. t5 = new A._FileSpan(t1, t4, endPosition);
  97598. t5._FileSpan$3(t1, t4, endPosition);
  97599. t4 = type$.Object;
  97600. t3 = A.List_List$of(t3, true, t4);
  97601. t1 = t2._contents;
  97602. if (t1.length !== 0)
  97603. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  97604. result = A.List_List$from(t3, false, t4);
  97605. result.fixed$length = Array;
  97606. result.immutable$list = Array;
  97607. t1 = new A.Interpolation0(result, t5);
  97608. t1.Interpolation$20(t3, t5);
  97609. return t1;
  97610. }
  97611. },
  97612. _stylesheet0$_importSupportsQuery$0() {
  97613. var t1, t2, $function, $name, _this = this;
  97614. if (_this.scanIdentifier$1("not")) {
  97615. _this.whitespace$0();
  97616. t1 = _this.scanner;
  97617. t2 = t1._string_scanner$_position;
  97618. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97619. } else {
  97620. t1 = _this.scanner;
  97621. if (t1.peekChar$0() === 40)
  97622. return _this._stylesheet0$_supportsCondition$0();
  97623. else {
  97624. $function = _this._stylesheet0$_tryImportSupportsFunction$0();
  97625. if ($function != null)
  97626. return $function;
  97627. t2 = t1._string_scanner$_position;
  97628. $name = _this._stylesheet0$_expression$0();
  97629. t1.expectChar$1(58);
  97630. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  97631. }
  97632. }
  97633. },
  97634. _stylesheet0$_tryImportSupportsFunction$0() {
  97635. var t1, start, $name, value, _this = this;
  97636. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  97637. return null;
  97638. t1 = _this.scanner;
  97639. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97640. $name = _this.interpolatedIdentifier$0();
  97641. if (!t1.scanChar$1(40)) {
  97642. t1.set$state(start);
  97643. return null;
  97644. }
  97645. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  97646. t1.expectChar$1(41);
  97647. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  97648. },
  97649. _stylesheet0$_includeRule$1(start) {
  97650. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  97651. $name = _this.identifier$0(),
  97652. t1 = _this.scanner;
  97653. if (t1.scanChar$1(46)) {
  97654. name0 = _this._stylesheet0$_publicIdentifier$0();
  97655. namespace = $name;
  97656. $name = name0;
  97657. } else {
  97658. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  97659. namespace = _null;
  97660. }
  97661. _this.whitespace$0();
  97662. if (t1.peekChar$0() === 40)
  97663. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  97664. else {
  97665. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  97666. t3 = t2.offset;
  97667. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  97668. }
  97669. _this.whitespace$0();
  97670. if (_this.scanIdentifier$1("using")) {
  97671. _this.whitespace$0();
  97672. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  97673. _this.whitespace$0();
  97674. } else
  97675. contentArguments = _null;
  97676. t2 = contentArguments == null;
  97677. if (!t2 || _this.lookingAtChildren$0()) {
  97678. if (t2) {
  97679. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  97680. t3 = t2.offset;
  97681. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  97682. } else
  97683. contentArguments_ = contentArguments;
  97684. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  97685. _this._stylesheet0$_inContentBlock = true;
  97686. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  97687. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  97688. } else {
  97689. _this.expectStatementSeparator$0();
  97690. $content = _null;
  97691. }
  97692. t1 = t1.spanFrom$2(start, start);
  97693. t2 = $content == null ? $arguments : $content;
  97694. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  97695. },
  97696. mediaRule$1(start) {
  97697. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  97698. },
  97699. _stylesheet0$_mixinRule$1(start) {
  97700. var $name, t1, $arguments, t2, t3, _this = this,
  97701. precedingComment = _this.lastSilentComment;
  97702. _this.lastSilentComment = null;
  97703. $name = _this.identifier$1$normalize(true);
  97704. _this.whitespace$0();
  97705. t1 = _this.scanner;
  97706. if (t1.peekChar$0() === 40)
  97707. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  97708. else {
  97709. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  97710. t3 = t2.offset;
  97711. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  97712. }
  97713. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  97714. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  97715. else if (_this._stylesheet0$_inControlDirective)
  97716. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  97717. _this.whitespace$0();
  97718. _this._stylesheet0$_inMixin = true;
  97719. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  97720. },
  97721. mozDocumentRule$2(start, $name) {
  97722. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  97723. t1 = _this.scanner,
  97724. t2 = t1._string_scanner$_position,
  97725. t3 = new A.StringBuffer(""),
  97726. t4 = A._setArrayType([], type$.JSArray_Object),
  97727. buffer = new A.InterpolationBuffer0(t3, t4);
  97728. _box_0.needsDeprecationWarning = false;
  97729. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  97730. if (t1.peekChar$0() === 35) {
  97731. t7 = _this.singleInterpolation$0();
  97732. buffer._interpolation_buffer0$_flushText$0();
  97733. t4.push(t7);
  97734. _box_0.needsDeprecationWarning = true;
  97735. } else {
  97736. t7 = t1._string_scanner$_position;
  97737. identifier = _this.identifier$0();
  97738. switch (identifier) {
  97739. case "url":
  97740. case "url-prefix":
  97741. case "domain":
  97742. contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  97743. if (contents != null)
  97744. buffer.addInterpolation$1(contents);
  97745. else {
  97746. t1.expectChar$1(40);
  97747. _this.whitespace$0();
  97748. argument = _this.interpolatedString$0();
  97749. t1.expectChar$1(41);
  97750. t7 = t3._contents += identifier;
  97751. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  97752. buffer.addInterpolation$1(argument.asInterpolation$0());
  97753. t3._contents += A.Primitives_stringFromCharCode(41);
  97754. }
  97755. t7 = t3._contents;
  97756. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  97757. 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("")'))
  97758. _box_0.needsDeprecationWarning = true;
  97759. break;
  97760. case "regexp":
  97761. t3._contents += "regexp(";
  97762. t1.expectChar$1(40);
  97763. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  97764. t1.expectChar$1(41);
  97765. t3._contents += A.Primitives_stringFromCharCode(41);
  97766. _box_0.needsDeprecationWarning = true;
  97767. break;
  97768. default:
  97769. endPosition = t1._string_scanner$_position;
  97770. t8 = t1._sourceFile;
  97771. t9 = new A._FileSpan(t8, t7, endPosition);
  97772. t9._FileSpan$3(t8, t7, endPosition);
  97773. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  97774. }
  97775. }
  97776. _this.whitespace$0();
  97777. if (!t1.scanChar$1(44))
  97778. break;
  97779. t3._contents += A.Primitives_stringFromCharCode(44);
  97780. start0 = t1._string_scanner$_position;
  97781. t5.call$0();
  97782. end = t1._string_scanner$_position;
  97783. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  97784. }
  97785. 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)))));
  97786. },
  97787. supportsRule$1(start) {
  97788. var _this = this,
  97789. condition = _this._stylesheet0$_supportsCondition$0();
  97790. _this.whitespace$0();
  97791. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  97792. },
  97793. _stylesheet0$_useNamespace$2(url, start) {
  97794. var namespace, basename, dot, t1, exception, _this = this;
  97795. if (_this.scanIdentifier$1("as")) {
  97796. _this.whitespace$0();
  97797. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  97798. }
  97799. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  97800. dot = B.JSString_methods.indexOf$1(basename, ".");
  97801. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  97802. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  97803. try {
  97804. t1 = A.SpanScanner$(namespace, null);
  97805. t1 = new A.Parser1(t1, _this.logger, null)._parser0$_parseIdentifier$0();
  97806. return t1;
  97807. } catch (exception) {
  97808. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  97809. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  97810. else
  97811. throw exception;
  97812. }
  97813. },
  97814. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  97815. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  97816. if (!_this.scanIdentifier$1("with"))
  97817. return null;
  97818. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  97819. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  97820. _this.whitespace$0();
  97821. t1 = _this.scanner;
  97822. t1.expectChar$1(40);
  97823. for (t2 = t1.string; true;) {
  97824. _this.whitespace$0();
  97825. t3 = t1._string_scanner$_position;
  97826. t1.expectChar$1(36);
  97827. $name = _this.identifier$1$normalize(true);
  97828. _this.whitespace$0();
  97829. t1.expectChar$1(58);
  97830. _this.whitespace$0();
  97831. expression = _this.expressionUntilComma$0();
  97832. t4 = t1._string_scanner$_position;
  97833. if (allowGuarded && t1.scanChar$1(33))
  97834. if (_this.identifier$0() === "default") {
  97835. _this.whitespace$0();
  97836. guarded = true;
  97837. } else {
  97838. endPosition = t1._string_scanner$_position;
  97839. t5 = t1._sourceFile;
  97840. t6 = new A._FileSpan(t5, t4, endPosition);
  97841. t6._FileSpan$3(t5, t4, endPosition);
  97842. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  97843. guarded = false;
  97844. }
  97845. else
  97846. guarded = false;
  97847. endPosition = t1._string_scanner$_position;
  97848. t4 = t1._sourceFile;
  97849. span = new A._FileSpan(t4, t3, endPosition);
  97850. span._FileSpan$3(t4, t3, endPosition);
  97851. if (variableNames.contains$1(0, $name))
  97852. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  97853. variableNames.add$1(0, $name);
  97854. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  97855. if (!t1.scanChar$1(44))
  97856. break;
  97857. _this.whitespace$0();
  97858. if (!_this._stylesheet0$_lookingAtExpression$0())
  97859. break;
  97860. }
  97861. t1.expectChar$1(41);
  97862. return configuration;
  97863. },
  97864. _stylesheet0$_configuration$0() {
  97865. return this._stylesheet0$_configuration$1$allowGuarded(false);
  97866. },
  97867. _stylesheet0$_warnRule$1(start) {
  97868. var value = this._stylesheet0$_expression$0();
  97869. this.expectStatementSeparator$1("@warn rule");
  97870. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  97871. },
  97872. _stylesheet0$_whileRule$2(start, child) {
  97873. var _this = this,
  97874. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  97875. _this._stylesheet0$_inControlDirective = true;
  97876. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  97877. },
  97878. unknownAtRule$2(start, $name) {
  97879. var t2, t3, rule, _this = this, t1 = {},
  97880. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  97881. _this._stylesheet0$_inUnknownAtRule = true;
  97882. t1.value = null;
  97883. t2 = _this.scanner;
  97884. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  97885. if (_this.lookingAtChildren$0())
  97886. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  97887. else {
  97888. _this.expectStatementSeparator$0();
  97889. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  97890. }
  97891. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  97892. return rule;
  97893. },
  97894. _stylesheet0$_disallowedAtRule$1(start) {
  97895. this.almostAnyValue$0();
  97896. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  97897. },
  97898. _stylesheet0$_argumentDeclaration$0() {
  97899. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  97900. t1 = _this.scanner,
  97901. t2 = t1._string_scanner$_position;
  97902. t1.expectChar$1(40);
  97903. _this.whitespace$0();
  97904. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  97905. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  97906. t3 = t1.string;
  97907. while (true) {
  97908. if (!(t1.peekChar$0() === 36)) {
  97909. restArgument = null;
  97910. break;
  97911. }
  97912. t4 = t1._string_scanner$_position;
  97913. t1.expectChar$1(36);
  97914. $name = _this.identifier$1$normalize(true);
  97915. _this.whitespace$0();
  97916. if (t1.scanChar$1(58)) {
  97917. _this.whitespace$0();
  97918. defaultValue = _this.expressionUntilComma$0();
  97919. } else {
  97920. if (t1.scanChar$1(46)) {
  97921. t1.expectChar$1(46);
  97922. t1.expectChar$1(46);
  97923. _this.whitespace$0();
  97924. restArgument = $name;
  97925. break;
  97926. }
  97927. defaultValue = null;
  97928. }
  97929. endPosition = t1._string_scanner$_position;
  97930. t5 = t1._sourceFile;
  97931. t6 = new A._FileSpan(t5, t4, endPosition);
  97932. t6._FileSpan$3(t5, t4, endPosition);
  97933. $arguments.push(new A.Argument0($name, defaultValue, t6));
  97934. if (!named.add$1(0, $name))
  97935. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  97936. if (!t1.scanChar$1(44)) {
  97937. restArgument = null;
  97938. break;
  97939. }
  97940. _this.whitespace$0();
  97941. }
  97942. t1.expectChar$1(41);
  97943. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  97944. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  97945. },
  97946. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  97947. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  97948. t1 = _this.scanner,
  97949. t2 = t1._string_scanner$_position;
  97950. t1.expectChar$1(40);
  97951. _this.whitespace$0();
  97952. positional = A._setArrayType([], type$.JSArray_Expression_2);
  97953. t3 = type$.String;
  97954. t4 = type$.Expression_2;
  97955. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  97956. t5 = !mixin;
  97957. t6 = t1.string;
  97958. rest = _null;
  97959. while (true) {
  97960. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  97961. keywordRest = _null;
  97962. break;
  97963. }
  97964. expression = _this.expressionUntilComma$1$singleEquals(t5);
  97965. _this.whitespace$0();
  97966. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  97967. _this.whitespace$0();
  97968. t7 = expression.name;
  97969. if (named.containsKey$1(t7))
  97970. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  97971. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  97972. } else if (t1.scanChar$1(46)) {
  97973. t1.expectChar$1(46);
  97974. t1.expectChar$1(46);
  97975. if (rest != null) {
  97976. _this.whitespace$0();
  97977. keywordRest = expression;
  97978. break;
  97979. }
  97980. rest = expression;
  97981. } else if (named.__js_helper$_length !== 0)
  97982. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  97983. else
  97984. positional.push(expression);
  97985. _this.whitespace$0();
  97986. if (!t1.scanChar$1(44)) {
  97987. keywordRest = _null;
  97988. break;
  97989. }
  97990. _this.whitespace$0();
  97991. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  97992. t5 = t1._sourceFile;
  97993. t6 = t1._string_scanner$_position;
  97994. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  97995. t7 = new A._FileSpan(t5, t6, t6);
  97996. t7._FileSpan$3(t5, t6, t6);
  97997. t6 = A._setArrayType([""], type$.JSArray_Object);
  97998. result = A.List_List$from(t6, false, type$.Object);
  97999. result.fixed$length = Array;
  98000. result.immutable$list = Array;
  98001. t5 = new A.Interpolation0(result, t7);
  98002. t5.Interpolation$20(t6, t7);
  98003. positional.push(new A.StringExpression0(t5, false));
  98004. keywordRest = _null;
  98005. break;
  98006. }
  98007. }
  98008. t1.expectChar$1(41);
  98009. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  98010. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  98011. },
  98012. _stylesheet0$_argumentInvocation$0() {
  98013. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  98014. },
  98015. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  98016. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  98017. },
  98018. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  98019. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  98020. },
  98021. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  98022. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  98023. _s20_ = "Expected expression.",
  98024. _box_0 = {},
  98025. t1 = until != null;
  98026. if (t1 && until.call$0())
  98027. _this.scanner.error$1(0, _s20_);
  98028. if (bracketList) {
  98029. t2 = _this.scanner;
  98030. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  98031. t2.expectChar$1(91);
  98032. _this.whitespace$0();
  98033. if (t2.scanChar$1(93)) {
  98034. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  98035. t2 = t2.spanFrom$1(beforeBracket);
  98036. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  98037. }
  98038. } else
  98039. beforeBracket = null;
  98040. t2 = _this.scanner;
  98041. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  98042. wasInParentheses = _this._stylesheet0$_inParentheses;
  98043. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  98044. _box_0.allowSlash = true;
  98045. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  98046. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  98047. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  98048. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  98049. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  98050. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  98051. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  98052. $label0$0:
  98053. for (t3 = type$.JSArray_Expression_2; true;) {
  98054. _this.whitespace$0();
  98055. if (t1 && until.call$0())
  98056. break $label0$0;
  98057. first = t2.peekChar$0();
  98058. switch (first) {
  98059. case 40:
  98060. addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
  98061. break;
  98062. case 91:
  98063. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  98064. break;
  98065. case 36:
  98066. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  98067. break;
  98068. case 38:
  98069. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  98070. break;
  98071. case 39:
  98072. case 34:
  98073. addSingleExpression.call$1(_this.interpolatedString$0());
  98074. break;
  98075. case 35:
  98076. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  98077. break;
  98078. case 61:
  98079. t2.readChar$0();
  98080. if (singleEquals && t2.peekChar$0() !== 61)
  98081. addOperator.call$1(B.BinaryOperator_2jN0);
  98082. else {
  98083. t2.expectChar$1(61);
  98084. addOperator.call$1(B.BinaryOperator_ql50);
  98085. }
  98086. break;
  98087. case 33:
  98088. next = t2.peekChar$1(1);
  98089. if (next === 61) {
  98090. t2.readChar$0();
  98091. t2.readChar$0();
  98092. addOperator.call$1(B.BinaryOperator_ViB0);
  98093. } else {
  98094. if (next != null)
  98095. if ((next | 32) >>> 0 !== 105)
  98096. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  98097. else
  98098. t4 = true;
  98099. else
  98100. t4 = true;
  98101. if (t4)
  98102. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  98103. else
  98104. break $label0$0;
  98105. }
  98106. break;
  98107. case 60:
  98108. t2.readChar$0();
  98109. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg0 : B.BinaryOperator_U8c0);
  98110. break;
  98111. case 62:
  98112. t2.readChar$0();
  98113. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg0 : B.BinaryOperator_cIH0);
  98114. break;
  98115. case 42:
  98116. t2.readChar$0();
  98117. addOperator.call$1(B.BinaryOperator_qN20);
  98118. break;
  98119. case 43:
  98120. if (_box_0.singleExpression_ == null)
  98121. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98122. else {
  98123. t2.readChar$0();
  98124. addOperator.call$1(B.BinaryOperator_anB0);
  98125. }
  98126. break;
  98127. case 45:
  98128. next = t2.peekChar$1(1);
  98129. if (next != null && next >= 48 && next <= 57 || next === 46)
  98130. if (_box_0.singleExpression_ != null) {
  98131. t4 = t2.peekChar$1(-1);
  98132. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  98133. } else
  98134. t4 = true;
  98135. else
  98136. t4 = false;
  98137. if (t4)
  98138. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98139. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  98140. addSingleExpression.call$1(_this.identifierLike$0());
  98141. else if (_box_0.singleExpression_ == null)
  98142. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98143. else {
  98144. t2.readChar$0();
  98145. addOperator.call$1(B.BinaryOperator_olz0);
  98146. }
  98147. break;
  98148. case 47:
  98149. if (_box_0.singleExpression_ == null)
  98150. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  98151. else {
  98152. t2.readChar$0();
  98153. addOperator.call$1(B.BinaryOperator_t8B0);
  98154. }
  98155. break;
  98156. case 37:
  98157. t2.readChar$0();
  98158. addOperator.call$1(B.BinaryOperator_OTG0);
  98159. break;
  98160. case 48:
  98161. case 49:
  98162. case 50:
  98163. case 51:
  98164. case 52:
  98165. case 53:
  98166. case 54:
  98167. case 55:
  98168. case 56:
  98169. case 57:
  98170. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98171. break;
  98172. case 46:
  98173. if (t2.peekChar$1(1) === 46)
  98174. break $label0$0;
  98175. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  98176. break;
  98177. case 97:
  98178. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  98179. addOperator.call$1(B.BinaryOperator_SNp0);
  98180. else
  98181. addSingleExpression.call$1(_this.identifierLike$0());
  98182. break;
  98183. case 111:
  98184. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  98185. addOperator.call$1(B.BinaryOperator_M6L0);
  98186. else
  98187. addSingleExpression.call$1(_this.identifierLike$0());
  98188. break;
  98189. case 117:
  98190. case 85:
  98191. if (t2.peekChar$1(1) === 43)
  98192. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  98193. else
  98194. addSingleExpression.call$1(_this.identifierLike$0());
  98195. break;
  98196. case 98:
  98197. case 99:
  98198. case 100:
  98199. case 101:
  98200. case 102:
  98201. case 103:
  98202. case 104:
  98203. case 105:
  98204. case 106:
  98205. case 107:
  98206. case 108:
  98207. case 109:
  98208. case 110:
  98209. case 112:
  98210. case 113:
  98211. case 114:
  98212. case 115:
  98213. case 116:
  98214. case 118:
  98215. case 119:
  98216. case 120:
  98217. case 121:
  98218. case 122:
  98219. case 65:
  98220. case 66:
  98221. case 67:
  98222. case 68:
  98223. case 69:
  98224. case 70:
  98225. case 71:
  98226. case 72:
  98227. case 73:
  98228. case 74:
  98229. case 75:
  98230. case 76:
  98231. case 77:
  98232. case 78:
  98233. case 79:
  98234. case 80:
  98235. case 81:
  98236. case 82:
  98237. case 83:
  98238. case 84:
  98239. case 86:
  98240. case 87:
  98241. case 88:
  98242. case 89:
  98243. case 90:
  98244. case 95:
  98245. case 92:
  98246. addSingleExpression.call$1(_this.identifierLike$0());
  98247. break;
  98248. case 44:
  98249. if (_this._stylesheet0$_inParentheses) {
  98250. _this._stylesheet0$_inParentheses = false;
  98251. if (_box_0.allowSlash) {
  98252. resetState.call$0();
  98253. break;
  98254. }
  98255. }
  98256. commaExpressions = _box_0.commaExpressions_;
  98257. if (commaExpressions == null)
  98258. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  98259. if (_box_0.singleExpression_ == null)
  98260. t2.error$1(0, _s20_);
  98261. resolveSpaceExpressions.call$0();
  98262. t4 = _box_0.singleExpression_;
  98263. t4.toString;
  98264. commaExpressions.push(t4);
  98265. t2.readChar$0();
  98266. _box_0.allowSlash = true;
  98267. _box_0.singleExpression_ = null;
  98268. break;
  98269. default:
  98270. if (first != null && first >= 128) {
  98271. addSingleExpression.call$1(_this.identifierLike$0());
  98272. break;
  98273. } else
  98274. break $label0$0;
  98275. }
  98276. }
  98277. if (bracketList)
  98278. t2.expectChar$1(93);
  98279. commaExpressions = _box_0.commaExpressions_;
  98280. spaceExpressions = _box_0.spaceExpressions_;
  98281. if (commaExpressions != null) {
  98282. resolveSpaceExpressions.call$0();
  98283. _this._stylesheet0$_inParentheses = wasInParentheses;
  98284. singleExpression = _box_0.singleExpression_;
  98285. if (singleExpression != null)
  98286. commaExpressions.push(singleExpression);
  98287. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  98288. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  98289. } else if (bracketList && spaceExpressions != null) {
  98290. resolveOperations.call$0();
  98291. t1 = _box_0.singleExpression_;
  98292. t1.toString;
  98293. spaceExpressions.push(t1);
  98294. beforeBracket.toString;
  98295. t2 = t2.spanFrom$1(beforeBracket);
  98296. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  98297. } else {
  98298. resolveSpaceExpressions.call$0();
  98299. if (bracketList) {
  98300. t1 = _box_0.singleExpression_;
  98301. t1.toString;
  98302. t3 = A._setArrayType([t1], t3);
  98303. beforeBracket.toString;
  98304. t2 = t2.spanFrom$1(beforeBracket);
  98305. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  98306. }
  98307. t1 = _box_0.singleExpression_;
  98308. t1.toString;
  98309. return t1;
  98310. }
  98311. },
  98312. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  98313. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  98314. },
  98315. _stylesheet0$_expression$1$bracketList(bracketList) {
  98316. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  98317. },
  98318. _stylesheet0$_expression$0() {
  98319. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  98320. },
  98321. _stylesheet0$_expression$1$until(until) {
  98322. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  98323. },
  98324. expressionUntilComma$1$singleEquals(singleEquals) {
  98325. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  98326. },
  98327. expressionUntilComma$0() {
  98328. return this.expressionUntilComma$1$singleEquals(false);
  98329. },
  98330. _stylesheet0$_isSlashOperand$1(expression) {
  98331. var t1;
  98332. if (!(expression instanceof A.NumberExpression0))
  98333. if (!(expression instanceof A.CalculationExpression0))
  98334. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  98335. else
  98336. t1 = true;
  98337. else
  98338. t1 = true;
  98339. return t1;
  98340. },
  98341. _stylesheet0$_singleExpression$0() {
  98342. var next, _this = this,
  98343. t1 = _this.scanner,
  98344. first = t1.peekChar$0();
  98345. switch (first) {
  98346. case 40:
  98347. return _this._stylesheet0$_parentheses$0();
  98348. case 47:
  98349. return _this._stylesheet0$_unaryOperation$0();
  98350. case 46:
  98351. return _this._stylesheet0$_number$0();
  98352. case 91:
  98353. return _this._stylesheet0$_expression$1$bracketList(true);
  98354. case 36:
  98355. return _this._stylesheet0$_variable$0();
  98356. case 38:
  98357. return _this._stylesheet0$_selector$0();
  98358. case 39:
  98359. case 34:
  98360. return _this.interpolatedString$0();
  98361. case 35:
  98362. return _this._stylesheet0$_hashExpression$0();
  98363. case 43:
  98364. next = t1.peekChar$1(1);
  98365. return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  98366. case 45:
  98367. return _this._stylesheet0$_minusExpression$0();
  98368. case 33:
  98369. return _this._stylesheet0$_importantExpression$0();
  98370. case 117:
  98371. case 85:
  98372. if (t1.peekChar$1(1) === 43)
  98373. return _this._stylesheet0$_unicodeRange$0();
  98374. else
  98375. return _this.identifierLike$0();
  98376. case 48:
  98377. case 49:
  98378. case 50:
  98379. case 51:
  98380. case 52:
  98381. case 53:
  98382. case 54:
  98383. case 55:
  98384. case 56:
  98385. case 57:
  98386. return _this._stylesheet0$_number$0();
  98387. case 97:
  98388. case 98:
  98389. case 99:
  98390. case 100:
  98391. case 101:
  98392. case 102:
  98393. case 103:
  98394. case 104:
  98395. case 105:
  98396. case 106:
  98397. case 107:
  98398. case 108:
  98399. case 109:
  98400. case 110:
  98401. case 111:
  98402. case 112:
  98403. case 113:
  98404. case 114:
  98405. case 115:
  98406. case 116:
  98407. case 118:
  98408. case 119:
  98409. case 120:
  98410. case 121:
  98411. case 122:
  98412. case 65:
  98413. case 66:
  98414. case 67:
  98415. case 68:
  98416. case 69:
  98417. case 70:
  98418. case 71:
  98419. case 72:
  98420. case 73:
  98421. case 74:
  98422. case 75:
  98423. case 76:
  98424. case 77:
  98425. case 78:
  98426. case 79:
  98427. case 80:
  98428. case 81:
  98429. case 82:
  98430. case 83:
  98431. case 84:
  98432. case 86:
  98433. case 87:
  98434. case 88:
  98435. case 89:
  98436. case 90:
  98437. case 95:
  98438. case 92:
  98439. return _this.identifierLike$0();
  98440. default:
  98441. if (first != null && first >= 128)
  98442. return _this.identifierLike$0();
  98443. t1.error$1(0, "Expected expression.");
  98444. }
  98445. },
  98446. _stylesheet0$_parentheses$0() {
  98447. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  98448. if (_this.get$plainCss())
  98449. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  98450. wasInParentheses = _this._stylesheet0$_inParentheses;
  98451. _this._stylesheet0$_inParentheses = true;
  98452. try {
  98453. t1 = _this.scanner;
  98454. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98455. t1.expectChar$1(40);
  98456. _this.whitespace$0();
  98457. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  98458. t1.expectChar$1(41);
  98459. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  98460. t1 = t1.spanFrom$1(start);
  98461. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  98462. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  98463. }
  98464. first = _this.expressionUntilComma$0();
  98465. if (t1.scanChar$1(58)) {
  98466. _this.whitespace$0();
  98467. t1 = _this._stylesheet0$_map$2(first, start);
  98468. return t1;
  98469. }
  98470. if (!t1.scanChar$1(44)) {
  98471. t1.expectChar$1(41);
  98472. t1 = t1.spanFrom$1(start);
  98473. return new A.ParenthesizedExpression0(first, t1);
  98474. }
  98475. _this.whitespace$0();
  98476. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  98477. for (; true;) {
  98478. if (!_this._stylesheet0$_lookingAtExpression$0())
  98479. break;
  98480. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  98481. if (!t1.scanChar$1(44))
  98482. break;
  98483. _this.whitespace$0();
  98484. }
  98485. t1.expectChar$1(41);
  98486. t1 = t1.spanFrom$1(start);
  98487. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  98488. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  98489. } finally {
  98490. _this._stylesheet0$_inParentheses = wasInParentheses;
  98491. }
  98492. },
  98493. _stylesheet0$_map$2(first, start) {
  98494. var t2, key, _this = this,
  98495. t1 = type$.Tuple2_Expression_Expression_2,
  98496. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
  98497. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  98498. _this.whitespace$0();
  98499. if (!_this._stylesheet0$_lookingAtExpression$0())
  98500. break;
  98501. key = _this.expressionUntilComma$0();
  98502. t2.expectChar$1(58);
  98503. _this.whitespace$0();
  98504. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  98505. }
  98506. t2.expectChar$1(41);
  98507. t2 = t2.spanFrom$1(start);
  98508. return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
  98509. },
  98510. _stylesheet0$_hashExpression$0() {
  98511. var start, first, t2, identifier, buffer, _this = this,
  98512. t1 = _this.scanner;
  98513. if (t1.peekChar$1(1) === 123)
  98514. return _this.identifierLike$0();
  98515. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98516. t1.expectChar$1(35);
  98517. first = t1.peekChar$0();
  98518. if (first != null && A.isDigit0(first))
  98519. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  98520. t2 = t1._string_scanner$_position;
  98521. identifier = _this.interpolatedIdentifier$0();
  98522. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  98523. t1.set$state(new A._SpanScannerState(t1, t2));
  98524. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  98525. }
  98526. t2 = new A.StringBuffer("");
  98527. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  98528. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  98529. buffer.addInterpolation$1(identifier);
  98530. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  98531. },
  98532. _stylesheet0$_hexColorContents$1(start) {
  98533. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  98534. digit1 = _this._stylesheet0$_hexDigit$0(),
  98535. digit2 = _this._stylesheet0$_hexDigit$0(),
  98536. digit3 = _this._stylesheet0$_hexDigit$0(),
  98537. t1 = _this.scanner;
  98538. if (!A.isHex0(t1.peekChar$0())) {
  98539. red = (digit1 << 4 >>> 0) + digit1;
  98540. green = (digit2 << 4 >>> 0) + digit2;
  98541. blue = (digit3 << 4 >>> 0) + digit3;
  98542. alpha = null;
  98543. } else {
  98544. digit4 = _this._stylesheet0$_hexDigit$0();
  98545. t2 = digit1 << 4 >>> 0;
  98546. t3 = digit3 << 4 >>> 0;
  98547. if (!A.isHex0(t1.peekChar$0())) {
  98548. red = t2 + digit1;
  98549. green = (digit2 << 4 >>> 0) + digit2;
  98550. blue = t3 + digit3;
  98551. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  98552. } else {
  98553. red = t2 + digit2;
  98554. green = t3 + digit4;
  98555. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  98556. alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  98557. }
  98558. }
  98559. return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  98560. },
  98561. _stylesheet0$_isHexColor$1(interpolation) {
  98562. var t1,
  98563. plain = interpolation.get$asPlain();
  98564. if (plain == null)
  98565. return false;
  98566. t1 = plain.length;
  98567. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  98568. return false;
  98569. t1 = new A.CodeUnits(plain);
  98570. return t1.every$1(t1, A.character0__isHex$closure());
  98571. },
  98572. _stylesheet0$_hexDigit$0() {
  98573. var t1 = this.scanner,
  98574. char = t1.peekChar$0();
  98575. if (char == null || !A.isHex0(char))
  98576. t1.error$1(0, "Expected hex digit.");
  98577. return A.asHex0(t1.readChar$0());
  98578. },
  98579. _stylesheet0$_minusExpression$0() {
  98580. var _this = this,
  98581. next = _this.scanner.peekChar$1(1);
  98582. if (A.isDigit0(next) || next === 46)
  98583. return _this._stylesheet0$_number$0();
  98584. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  98585. return _this.identifierLike$0();
  98586. return _this._stylesheet0$_unaryOperation$0();
  98587. },
  98588. _stylesheet0$_importantExpression$0() {
  98589. var t1 = this.scanner,
  98590. t2 = t1._string_scanner$_position;
  98591. t1.readChar$0();
  98592. this.whitespace$0();
  98593. this.expectIdentifier$1("important");
  98594. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  98595. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  98596. },
  98597. _stylesheet0$_unaryOperation$0() {
  98598. var _this = this,
  98599. t1 = _this.scanner,
  98600. t2 = t1._string_scanner$_position,
  98601. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  98602. if (operator == null)
  98603. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  98604. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  98605. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  98606. _this.whitespace$0();
  98607. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  98608. },
  98609. _stylesheet0$_unaryOperatorFor$1(character) {
  98610. switch (character) {
  98611. case 43:
  98612. return B.UnaryOperator_gg40;
  98613. case 45:
  98614. return B.UnaryOperator_TLI0;
  98615. case 47:
  98616. return B.UnaryOperator_Ix10;
  98617. default:
  98618. return null;
  98619. }
  98620. },
  98621. _stylesheet0$_number$0() {
  98622. var number, unit, _this = this,
  98623. t1 = _this.scanner,
  98624. t2 = t1._string_scanner$_position,
  98625. first = t1.peekChar$0(),
  98626. t3 = first !== 43;
  98627. if (!t3 || first === 45)
  98628. t1.readChar$0();
  98629. if (t1.peekChar$0() !== 46)
  98630. _this._stylesheet0$_consumeNaturalNumber$0();
  98631. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  98632. _this._stylesheet0$_tryExponent$0();
  98633. number = A.double_parse(t1.substring$1(0, t2));
  98634. if (t1.scanChar$1(37))
  98635. unit = "%";
  98636. else {
  98637. if (_this.lookingAtIdentifier$0())
  98638. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  98639. else
  98640. t3 = false;
  98641. unit = t3 ? _this.identifier$1$unit(true) : null;
  98642. }
  98643. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  98644. },
  98645. _stylesheet0$_consumeNaturalNumber$0() {
  98646. var t2,
  98647. t1 = this.scanner;
  98648. if (!A.isDigit0(t1.readChar$0()))
  98649. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  98650. while (true) {
  98651. t2 = t1.peekChar$0();
  98652. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  98653. break;
  98654. t1.readChar$0();
  98655. }
  98656. },
  98657. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  98658. var t2,
  98659. t1 = this.scanner;
  98660. if (t1.peekChar$0() !== 46)
  98661. return;
  98662. if (!A.isDigit0(t1.peekChar$1(1))) {
  98663. if (allowTrailingDot)
  98664. return;
  98665. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  98666. }
  98667. t1.readChar$0();
  98668. while (true) {
  98669. t2 = t1.peekChar$0();
  98670. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  98671. break;
  98672. t1.readChar$0();
  98673. }
  98674. },
  98675. _stylesheet0$_tryExponent$0() {
  98676. var next, t2,
  98677. t1 = this.scanner,
  98678. first = t1.peekChar$0();
  98679. if (first !== 101 && first !== 69)
  98680. return;
  98681. next = t1.peekChar$1(1);
  98682. if (!A.isDigit0(next) && next !== 45 && next !== 43)
  98683. return;
  98684. t1.readChar$0();
  98685. if (next === 43 || next === 45)
  98686. t1.readChar$0();
  98687. if (!A.isDigit0(t1.peekChar$0()))
  98688. t1.error$1(0, "Expected digit.");
  98689. while (true) {
  98690. t2 = t1.peekChar$0();
  98691. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  98692. break;
  98693. t1.readChar$0();
  98694. }
  98695. },
  98696. _stylesheet0$_unicodeRange$0() {
  98697. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  98698. _s26_ = "Expected at most 6 digits.",
  98699. t1 = _this.scanner,
  98700. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98701. _this.expectIdentChar$1(117);
  98702. t1.expectChar$1(43);
  98703. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  98704. ++firstRangeLength;
  98705. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  98706. ++firstRangeLength;
  98707. if (firstRangeLength === 0)
  98708. t1.error$1(0, 'Expected hex digit or "?".');
  98709. else if (firstRangeLength > 6)
  98710. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  98711. else if (hasQuestionMark) {
  98712. t2 = t1.substring$1(0, start.position);
  98713. t1 = t1.spanFrom$1(start);
  98714. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  98715. }
  98716. if (t1.scanChar$1(45)) {
  98717. t2 = t1._string_scanner$_position;
  98718. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  98719. ++secondRangeLength;
  98720. if (secondRangeLength === 0)
  98721. t1.error$1(0, "Expected hex digit.");
  98722. else if (secondRangeLength > 6)
  98723. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  98724. }
  98725. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  98726. t1.error$1(0, "Expected end of identifier.");
  98727. t2 = t1.substring$1(0, start.position);
  98728. t1 = t1.spanFrom$1(start);
  98729. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  98730. },
  98731. _stylesheet0$_variable$0() {
  98732. var _this = this,
  98733. t1 = _this.scanner,
  98734. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  98735. $name = _this.variableName$0();
  98736. if (_this.get$plainCss())
  98737. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  98738. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  98739. },
  98740. _stylesheet0$_selector$0() {
  98741. var t1, start, _this = this;
  98742. if (_this.get$plainCss())
  98743. _this.scanner.error$2$length(0, string$.The_pa, 1);
  98744. t1 = _this.scanner;
  98745. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98746. t1.expectChar$1(38);
  98747. if (t1.scanChar$1(38)) {
  98748. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  98749. t1.set$position(t1._string_scanner$_position - 1);
  98750. }
  98751. return new A.SelectorExpression0(t1.spanFrom$1(start));
  98752. },
  98753. interpolatedString$0() {
  98754. var t3, t4, buffer, next, second, t5,
  98755. t1 = this.scanner,
  98756. t2 = t1._string_scanner$_position,
  98757. quote = t1.readChar$0();
  98758. if (quote !== 39 && quote !== 34)
  98759. t1.error$2$position(0, "Expected string.", t2);
  98760. t3 = new A.StringBuffer("");
  98761. t4 = A._setArrayType([], type$.JSArray_Object);
  98762. buffer = new A.InterpolationBuffer0(t3, t4);
  98763. for (; true;) {
  98764. next = t1.peekChar$0();
  98765. if (next === quote) {
  98766. t1.readChar$0();
  98767. break;
  98768. } else if (next == null || next === 10 || next === 13 || next === 12)
  98769. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  98770. else if (next === 92) {
  98771. second = t1.peekChar$1(1);
  98772. if (second === 10 || second === 13 || second === 12) {
  98773. t1.readChar$0();
  98774. t1.readChar$0();
  98775. if (second === 13)
  98776. t1.scanChar$1(10);
  98777. } else
  98778. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  98779. } else if (next === 35)
  98780. if (t1.peekChar$1(1) === 123) {
  98781. t5 = this.singleInterpolation$0();
  98782. buffer._interpolation_buffer0$_flushText$0();
  98783. t4.push(t5);
  98784. } else
  98785. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  98786. else
  98787. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  98788. }
  98789. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  98790. },
  98791. identifierLike$0() {
  98792. var invocation, expression, color, specialFunction, _this = this,
  98793. t1 = _this.scanner,
  98794. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  98795. identifier = _this.interpolatedIdentifier$0(),
  98796. plain = identifier.get$asPlain(),
  98797. lower = A._Cell$(),
  98798. t2 = plain == null,
  98799. t3 = !t2;
  98800. if (t3) {
  98801. if (plain === "if" && t1.peekChar$0() === 40) {
  98802. invocation = _this._stylesheet0$_argumentInvocation$0();
  98803. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  98804. } else if (plain === "not") {
  98805. _this.whitespace$0();
  98806. expression = _this._stylesheet0$_singleExpression$0();
  98807. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  98808. }
  98809. lower.__late_helper$_value = plain.toLowerCase();
  98810. if (t1.peekChar$0() !== 40) {
  98811. switch (plain) {
  98812. case "false":
  98813. return new A.BooleanExpression0(false, identifier.span);
  98814. case "null":
  98815. return new A.NullExpression0(identifier.span);
  98816. case "true":
  98817. return new A.BooleanExpression0(true, identifier.span);
  98818. }
  98819. color = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  98820. if (color != null) {
  98821. t1 = identifier.span;
  98822. return new A.ColorExpression0(A.SassColor$rgbInternal0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
  98823. }
  98824. }
  98825. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  98826. if (specialFunction != null)
  98827. return specialFunction;
  98828. }
  98829. switch (t1.peekChar$0()) {
  98830. case 46:
  98831. if (t1.peekChar$1(1) === 46)
  98832. return new A.StringExpression0(identifier, false);
  98833. t1.readChar$0();
  98834. if (t3)
  98835. return _this.namespacedExpression$2(plain, start);
  98836. _this.error$2(0, string$.Interpn, identifier.span);
  98837. break;
  98838. case 40:
  98839. if (t2)
  98840. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  98841. else
  98842. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  98843. default:
  98844. return new A.StringExpression0(identifier, false);
  98845. }
  98846. },
  98847. namespacedExpression$2(namespace, start) {
  98848. var $name, _this = this,
  98849. t1 = _this.scanner;
  98850. if (t1.peekChar$0() === 36) {
  98851. $name = _this.variableName$0();
  98852. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  98853. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  98854. }
  98855. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  98856. },
  98857. trySpecialFunction$2($name, start) {
  98858. var t2, buffer, t3, next, _this = this, _null = null,
  98859. t1 = _this.scanner,
  98860. calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
  98861. if (calculation != null)
  98862. return calculation;
  98863. switch (A.unvendor0($name)) {
  98864. case "calc":
  98865. case "element":
  98866. case "expression":
  98867. if (!t1.scanChar$1(40))
  98868. return _null;
  98869. t2 = new A.StringBuffer("");
  98870. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  98871. t3 = "" + $name;
  98872. t2._contents = t3;
  98873. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  98874. break;
  98875. case "progid":
  98876. if (!t1.scanChar$1(58))
  98877. return _null;
  98878. t2 = new A.StringBuffer("");
  98879. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  98880. t3 = "" + $name;
  98881. t2._contents = t3;
  98882. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  98883. next = t1.peekChar$0();
  98884. while (true) {
  98885. if (next != null) {
  98886. if (!(next >= 97 && next <= 122))
  98887. t3 = next >= 65 && next <= 90;
  98888. else
  98889. t3 = true;
  98890. t3 = t3 || next === 46;
  98891. } else
  98892. t3 = false;
  98893. if (!t3)
  98894. break;
  98895. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  98896. next = t1.peekChar$0();
  98897. }
  98898. t1.expectChar$1(40);
  98899. t2._contents += A.Primitives_stringFromCharCode(40);
  98900. break;
  98901. case "url":
  98902. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  98903. default:
  98904. return _null;
  98905. }
  98906. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  98907. t1.expectChar$1(41);
  98908. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  98909. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  98910. },
  98911. _stylesheet0$_tryCalculation$2($name, start) {
  98912. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  98913. switch ($name) {
  98914. case "calc":
  98915. $arguments = _this._stylesheet0$_calculationArguments$1(1);
  98916. t1 = _this.scanner.spanFrom$1(start);
  98917. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  98918. case "min":
  98919. case "max":
  98920. t1 = _this.scanner;
  98921. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  98922. $arguments = null;
  98923. try {
  98924. $arguments = _this._stylesheet0$_calculationArguments$0();
  98925. } catch (exception) {
  98926. if (type$.FormatException._is(A.unwrapException(exception))) {
  98927. t1.set$state(beforeArguments);
  98928. return null;
  98929. } else
  98930. throw exception;
  98931. }
  98932. t2 = $arguments;
  98933. t1 = t1.spanFrom$1(start);
  98934. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
  98935. case "clamp":
  98936. $arguments = _this._stylesheet0$_calculationArguments$1(3);
  98937. t1 = _this.scanner.spanFrom$1(start);
  98938. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  98939. default:
  98940. return null;
  98941. }
  98942. },
  98943. _stylesheet0$_calculationArguments$1(maxArgs) {
  98944. var interpolation, $arguments, t2, _this = this,
  98945. t1 = _this.scanner;
  98946. t1.expectChar$1(40);
  98947. interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  98948. if (interpolation != null) {
  98949. t1.expectChar$1(41);
  98950. return A._setArrayType([interpolation], type$.JSArray_Expression_2);
  98951. }
  98952. _this.whitespace$0();
  98953. $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
  98954. t2 = maxArgs != null;
  98955. while (true) {
  98956. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  98957. break;
  98958. _this.whitespace$0();
  98959. $arguments.push(_this._stylesheet0$_calculationSum$0());
  98960. }
  98961. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  98962. return $arguments;
  98963. },
  98964. _stylesheet0$_calculationArguments$0() {
  98965. return this._stylesheet0$_calculationArguments$1(null);
  98966. },
  98967. _stylesheet0$_calculationSum$0() {
  98968. var t1, next, t2, t3, _this = this,
  98969. sum = _this._stylesheet0$_calculationProduct$0();
  98970. for (t1 = _this.scanner; true;) {
  98971. next = t1.peekChar$0();
  98972. t2 = next === 43;
  98973. if (t2 || next === 45) {
  98974. t3 = t1.peekChar$1(-1);
  98975. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  98976. t3 = t1.peekChar$1(1);
  98977. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  98978. } else
  98979. t3 = true;
  98980. if (t3)
  98981. t1.error$1(0, string$.x22x2b__an);
  98982. t1.readChar$0();
  98983. _this.whitespace$0();
  98984. t2 = t2 ? B.BinaryOperator_anB0 : B.BinaryOperator_olz0;
  98985. sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
  98986. } else
  98987. return sum;
  98988. }
  98989. },
  98990. _stylesheet0$_calculationProduct$0() {
  98991. var t1, next, t2, _this = this,
  98992. product = _this._stylesheet0$_calculationValue$0();
  98993. for (t1 = _this.scanner; true;) {
  98994. _this.whitespace$0();
  98995. next = t1.peekChar$0();
  98996. t2 = next === 42;
  98997. if (t2 || next === 47) {
  98998. t1.readChar$0();
  98999. _this.whitespace$0();
  99000. t2 = t2 ? B.BinaryOperator_qN20 : B.BinaryOperator_t8B0;
  99001. product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
  99002. } else
  99003. return product;
  99004. }
  99005. },
  99006. _stylesheet0$_calculationValue$0() {
  99007. var t2, value, start, ident, lowerCase, calculation, _this = this,
  99008. t1 = _this.scanner,
  99009. next = t1.peekChar$0();
  99010. if (next === 43 || next === 46 || A.isDigit0(next))
  99011. return _this._stylesheet0$_number$0();
  99012. else if (next === 36)
  99013. return _this._stylesheet0$_variable$0();
  99014. else if (next === 40) {
  99015. t2 = t1._string_scanner$_position;
  99016. t1.readChar$0();
  99017. value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  99018. if (value == null) {
  99019. _this.whitespace$0();
  99020. value = _this._stylesheet0$_calculationSum$0();
  99021. }
  99022. _this.whitespace$0();
  99023. t1.expectChar$1(41);
  99024. return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99025. } else if (_this.lookingAtIdentifier$0()) {
  99026. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99027. ident = _this.identifier$0();
  99028. if (t1.scanChar$1(46))
  99029. return _this.namespacedExpression$2(ident, start);
  99030. if (t1.peekChar$0() !== 40)
  99031. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([ident], type$.JSArray_Object), t1.spanFrom$1(start)), false);
  99032. lowerCase = ident.toLowerCase();
  99033. calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
  99034. if (calculation != null)
  99035. return calculation;
  99036. else if (lowerCase === "if")
  99037. return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99038. else
  99039. return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  99040. } else if (next === 45)
  99041. return _this._stylesheet0$_number$0();
  99042. else
  99043. t1.error$1(0, string$.Expectn);
  99044. },
  99045. _stylesheet0$_containsCalculationInterpolation$0() {
  99046. var t2, parens, next, target, t3, _null = null,
  99047. _s64_ = string$.The_gi,
  99048. _s17_ = "Invalid position ",
  99049. brackets = A._setArrayType([], type$.JSArray_int),
  99050. t1 = this.scanner,
  99051. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99052. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  99053. next = t1.peekChar$0();
  99054. switch (next) {
  99055. case 92:
  99056. target = 1;
  99057. break;
  99058. case 47:
  99059. target = 2;
  99060. break;
  99061. case 39:
  99062. case 34:
  99063. target = 3;
  99064. break;
  99065. case 35:
  99066. target = 4;
  99067. break;
  99068. case 40:
  99069. target = 5;
  99070. break;
  99071. case 123:
  99072. case 91:
  99073. target = 6;
  99074. break;
  99075. case 41:
  99076. target = 7;
  99077. break;
  99078. case 125:
  99079. case 93:
  99080. target = 8;
  99081. break;
  99082. default:
  99083. target = 9;
  99084. break;
  99085. }
  99086. c$0:
  99087. for (; true;)
  99088. switch (target) {
  99089. case 1:
  99090. t1.readChar$0();
  99091. t1.readChar$0();
  99092. break c$0;
  99093. case 2:
  99094. if (!this.scanComment$0())
  99095. t1.readChar$0();
  99096. break c$0;
  99097. case 3:
  99098. this.interpolatedString$0();
  99099. break c$0;
  99100. case 4:
  99101. if (parens === 0 && t1.peekChar$1(1) === 123) {
  99102. if (start._scanner !== t1)
  99103. A.throwExpression(A.ArgumentError$(_s64_, _null));
  99104. t3 = start.position;
  99105. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  99106. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  99107. t1._string_scanner$_position = t3;
  99108. t1._lastMatch = null;
  99109. return true;
  99110. }
  99111. t1.readChar$0();
  99112. break c$0;
  99113. case 5:
  99114. ++parens;
  99115. target = 6;
  99116. continue c$0;
  99117. case 6:
  99118. next.toString;
  99119. brackets.push(A.opposite0(next));
  99120. t1.readChar$0();
  99121. break c$0;
  99122. case 7:
  99123. --parens;
  99124. target = 8;
  99125. continue c$0;
  99126. case 8:
  99127. if (brackets.length === 0 || brackets.pop() !== next) {
  99128. if (start._scanner !== t1)
  99129. A.throwExpression(A.ArgumentError$(_s64_, _null));
  99130. t3 = start.position;
  99131. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  99132. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  99133. t1._string_scanner$_position = t3;
  99134. t1._lastMatch = null;
  99135. return false;
  99136. }
  99137. t1.readChar$0();
  99138. break c$0;
  99139. case 9:
  99140. t1.readChar$0();
  99141. break c$0;
  99142. }
  99143. }
  99144. t1.set$state(start);
  99145. return false;
  99146. },
  99147. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  99148. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  99149. t1 = _this.scanner,
  99150. t2 = t1._string_scanner$_position;
  99151. if (!t1.scanChar$1(40))
  99152. return null;
  99153. _this.whitespaceWithoutComments$0();
  99154. t3 = new A.StringBuffer("");
  99155. t4 = A._setArrayType([], type$.JSArray_Object);
  99156. buffer = new A.InterpolationBuffer0(t3, t4);
  99157. t5 = "" + ($name == null ? "url" : $name);
  99158. t3._contents = t5;
  99159. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  99160. for (; true;) {
  99161. next = t1.peekChar$0();
  99162. if (next == null)
  99163. break;
  99164. else if (next === 92)
  99165. t3._contents += A.S(_this.escape$0());
  99166. else {
  99167. if (next !== 33)
  99168. if (next !== 37)
  99169. if (next !== 38)
  99170. t5 = next >= 42 && next <= 126 || next >= 128;
  99171. else
  99172. t5 = true;
  99173. else
  99174. t5 = true;
  99175. else
  99176. t5 = true;
  99177. if (t5)
  99178. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99179. else if (next === 35)
  99180. if (t1.peekChar$1(1) === 123) {
  99181. t5 = _this.singleInterpolation$0();
  99182. buffer._interpolation_buffer0$_flushText$0();
  99183. t4.push(t5);
  99184. } else
  99185. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99186. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  99187. _this.whitespaceWithoutComments$0();
  99188. if (t1.peekChar$0() !== 41)
  99189. break;
  99190. } else if (next === 41) {
  99191. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99192. endPosition = t1._string_scanner$_position;
  99193. t2 = t1._sourceFile;
  99194. t5 = start.position;
  99195. t1 = new A._FileSpan(t2, t5, endPosition);
  99196. t1._FileSpan$3(t2, t5, endPosition);
  99197. t5 = type$.Object;
  99198. t2 = A.List_List$of(t4, true, t5);
  99199. t4 = t3._contents;
  99200. if (t4.length !== 0)
  99201. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  99202. result = A.List_List$from(t2, false, t5);
  99203. result.fixed$length = Array;
  99204. result.immutable$list = Array;
  99205. t3 = new A.Interpolation0(result, t1);
  99206. t3.Interpolation$20(t2, t1);
  99207. return t3;
  99208. } else
  99209. break;
  99210. }
  99211. }
  99212. t1.set$state(new A._SpanScannerState(t1, t2));
  99213. return null;
  99214. },
  99215. _stylesheet0$_tryUrlContents$1(start) {
  99216. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  99217. },
  99218. dynamicUrl$0() {
  99219. var contents, _this = this,
  99220. t1 = _this.scanner,
  99221. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99222. _this.expectIdentifier$1("url");
  99223. contents = _this._stylesheet0$_tryUrlContents$1(start);
  99224. if (contents != null)
  99225. return new A.StringExpression0(contents, false);
  99226. 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));
  99227. },
  99228. almostAnyValue$1$omitComments(omitComments) {
  99229. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  99230. t1 = _this.scanner,
  99231. t2 = t1._string_scanner$_position,
  99232. t3 = new A.StringBuffer(""),
  99233. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  99234. $label0$1:
  99235. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  99236. next = t1.peekChar$0();
  99237. switch (next) {
  99238. case 92:
  99239. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99240. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99241. break;
  99242. case 34:
  99243. case 39:
  99244. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  99245. break;
  99246. case 47:
  99247. commentStart = t1._string_scanner$_position;
  99248. if (_this.scanComment$0()) {
  99249. if (t6) {
  99250. end = t1._string_scanner$_position;
  99251. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  99252. }
  99253. } else
  99254. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99255. break;
  99256. case 35:
  99257. if (t1.peekChar$1(1) === 123)
  99258. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  99259. else
  99260. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99261. break;
  99262. case 13:
  99263. case 10:
  99264. case 12:
  99265. if (_this.get$indented())
  99266. break $label0$1;
  99267. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99268. break;
  99269. case 33:
  99270. case 59:
  99271. case 123:
  99272. case 125:
  99273. break $label0$1;
  99274. case 117:
  99275. case 85:
  99276. t7 = t1._string_scanner$_position;
  99277. if (!_this.scanIdentifier$1("url")) {
  99278. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99279. break;
  99280. }
  99281. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  99282. if (contents == null) {
  99283. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  99284. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  99285. t1._string_scanner$_position = t7;
  99286. t1._lastMatch = null;
  99287. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99288. } else
  99289. buffer.addInterpolation$1(contents);
  99290. break;
  99291. default:
  99292. if (next == null)
  99293. break $label0$1;
  99294. if (_this.lookingAtIdentifier$0())
  99295. t3._contents += _this.identifier$0();
  99296. else
  99297. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99298. break;
  99299. }
  99300. }
  99301. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99302. },
  99303. almostAnyValue$0() {
  99304. return this.almostAnyValue$1$omitComments(false);
  99305. },
  99306. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  99307. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  99308. t1 = _this.scanner,
  99309. t2 = t1._string_scanner$_position,
  99310. t3 = new A.StringBuffer(""),
  99311. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  99312. brackets = A._setArrayType([], type$.JSArray_int);
  99313. $label0$1:
  99314. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  99315. next = t1.peekChar$0();
  99316. switch (next) {
  99317. case 92:
  99318. t3._contents += A.S(_this.escape$1$identifierStart(true));
  99319. wroteNewline = false;
  99320. break;
  99321. case 34:
  99322. case 39:
  99323. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  99324. wroteNewline = false;
  99325. break;
  99326. case 47:
  99327. if (t1.peekChar$1(1) === 42) {
  99328. t8 = _this.get$loudComment();
  99329. start = t1._string_scanner$_position;
  99330. t8.call$0();
  99331. end = t1._string_scanner$_position;
  99332. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  99333. } else
  99334. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99335. wroteNewline = false;
  99336. break;
  99337. case 35:
  99338. if (t1.peekChar$1(1) === 123)
  99339. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  99340. else
  99341. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99342. wroteNewline = false;
  99343. break;
  99344. case 32:
  99345. case 9:
  99346. if (!wroteNewline) {
  99347. t8 = t1.peekChar$1(1);
  99348. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  99349. } else
  99350. t8 = true;
  99351. if (t8)
  99352. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99353. else
  99354. t1.readChar$0();
  99355. break;
  99356. case 10:
  99357. case 13:
  99358. case 12:
  99359. if (_this.get$indented())
  99360. break $label0$1;
  99361. t8 = t1.peekChar$1(-1);
  99362. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  99363. t3._contents += "\n";
  99364. t1.readChar$0();
  99365. wroteNewline = true;
  99366. break;
  99367. case 40:
  99368. case 123:
  99369. case 91:
  99370. next.toString;
  99371. t3._contents += A.Primitives_stringFromCharCode(next);
  99372. brackets.push(A.opposite0(t1.readChar$0()));
  99373. wroteNewline = false;
  99374. break;
  99375. case 41:
  99376. case 125:
  99377. case 93:
  99378. if (brackets.length === 0)
  99379. break $label0$1;
  99380. next.toString;
  99381. t3._contents += A.Primitives_stringFromCharCode(next);
  99382. t1.expectChar$1(brackets.pop());
  99383. wroteNewline = false;
  99384. break;
  99385. case 59:
  99386. if (t7 && brackets.length === 0)
  99387. break $label0$1;
  99388. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99389. wroteNewline = false;
  99390. break;
  99391. case 58:
  99392. if (t6 && brackets.length === 0)
  99393. break $label0$1;
  99394. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99395. wroteNewline = false;
  99396. break;
  99397. case 117:
  99398. case 85:
  99399. t8 = t1._string_scanner$_position;
  99400. if (!_this.scanIdentifier$1("url")) {
  99401. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99402. wroteNewline = false;
  99403. break;
  99404. }
  99405. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  99406. if (contents == null) {
  99407. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  99408. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  99409. t1._string_scanner$_position = t8;
  99410. t1._lastMatch = null;
  99411. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99412. } else
  99413. buffer.addInterpolation$1(contents);
  99414. wroteNewline = false;
  99415. break;
  99416. default:
  99417. if (next == null)
  99418. break $label0$1;
  99419. if (_this.lookingAtIdentifier$0())
  99420. t3._contents += _this.identifier$0();
  99421. else
  99422. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99423. wroteNewline = false;
  99424. break;
  99425. }
  99426. }
  99427. if (brackets.length !== 0)
  99428. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  99429. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  99430. t1.error$1(0, "Expected token.");
  99431. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99432. },
  99433. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  99434. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  99435. },
  99436. _stylesheet0$_interpolatedDeclarationValue$0() {
  99437. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  99438. },
  99439. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  99440. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  99441. },
  99442. interpolatedIdentifier$0() {
  99443. var first, _this = this,
  99444. _s20_ = "Expected identifier.",
  99445. t1 = _this.scanner,
  99446. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99447. t2 = new A.StringBuffer(""),
  99448. t3 = A._setArrayType([], type$.JSArray_Object),
  99449. buffer = new A.InterpolationBuffer0(t2, t3);
  99450. if (t1.scanChar$1(45)) {
  99451. t2._contents += A.Primitives_stringFromCharCode(45);
  99452. if (t1.scanChar$1(45)) {
  99453. t2._contents += A.Primitives_stringFromCharCode(45);
  99454. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  99455. return buffer.interpolation$1(t1.spanFrom$1(start));
  99456. }
  99457. }
  99458. first = t1.peekChar$0();
  99459. if (first == null)
  99460. t1.error$1(0, _s20_);
  99461. else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  99462. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99463. else if (first === 92)
  99464. t2._contents += A.S(_this.escape$1$identifierStart(true));
  99465. else if (first === 35 && t1.peekChar$1(1) === 123) {
  99466. t2 = _this.singleInterpolation$0();
  99467. buffer._interpolation_buffer0$_flushText$0();
  99468. t3.push(t2);
  99469. } else
  99470. t1.error$1(0, _s20_);
  99471. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  99472. return buffer.interpolation$1(t1.spanFrom$1(start));
  99473. },
  99474. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  99475. var t1, t2, t3, next, t4;
  99476. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  99477. next = t2.peekChar$0();
  99478. if (next == null)
  99479. break;
  99480. else {
  99481. if (next !== 95)
  99482. if (next !== 45) {
  99483. if (!(next >= 97 && next <= 122))
  99484. t4 = next >= 65 && next <= 90;
  99485. else
  99486. t4 = true;
  99487. if (!t4)
  99488. t4 = next >= 48 && next <= 57;
  99489. else
  99490. t4 = true;
  99491. t4 = t4 || next >= 128;
  99492. } else
  99493. t4 = true;
  99494. else
  99495. t4 = true;
  99496. if (t4)
  99497. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  99498. else if (next === 92)
  99499. t3._contents += A.S(this.escape$0());
  99500. else if (next === 35 && t2.peekChar$1(1) === 123) {
  99501. t4 = this.singleInterpolation$0();
  99502. buffer._interpolation_buffer0$_flushText$0();
  99503. t1.push(t4);
  99504. } else
  99505. break;
  99506. }
  99507. }
  99508. },
  99509. singleInterpolation$0() {
  99510. var contents, _this = this,
  99511. t1 = _this.scanner,
  99512. t2 = t1._string_scanner$_position;
  99513. t1.expect$1("#{");
  99514. _this.whitespace$0();
  99515. contents = _this._stylesheet0$_expression$0();
  99516. t1.expectChar$1(125);
  99517. if (_this.get$plainCss())
  99518. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99519. return contents;
  99520. },
  99521. _stylesheet0$_mediaQueryList$0() {
  99522. var t4, _this = this,
  99523. t1 = _this.scanner,
  99524. t2 = t1._string_scanner$_position,
  99525. t3 = new A.StringBuffer(""),
  99526. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  99527. for (; true;) {
  99528. _this.whitespace$0();
  99529. _this._stylesheet0$_mediaQuery$1(buffer);
  99530. _this.whitespace$0();
  99531. if (!t1.scanChar$1(44))
  99532. break;
  99533. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  99534. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  99535. }
  99536. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99537. },
  99538. _stylesheet0$_mediaQuery$1(buffer) {
  99539. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  99540. if (_this.scanner.peekChar$0() === 40) {
  99541. _this._stylesheet0$_mediaInParens$1(buffer);
  99542. _this.whitespace$0();
  99543. if (_this.scanIdentifier$1(_s3_)) {
  99544. buffer._interpolation_buffer0$_text._contents += " and ";
  99545. _this.expectWhitespace$0();
  99546. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  99547. } else if (_this.scanIdentifier$1("or")) {
  99548. buffer._interpolation_buffer0$_text._contents += " or ";
  99549. _this.expectWhitespace$0();
  99550. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  99551. }
  99552. return;
  99553. }
  99554. identifier1 = _this.interpolatedIdentifier$0();
  99555. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  99556. _this.expectWhitespace$0();
  99557. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  99558. buffer._interpolation_buffer0$_text._contents += "not ";
  99559. _this._stylesheet0$_mediaOrInterp$1(buffer);
  99560. return;
  99561. }
  99562. }
  99563. _this.whitespace$0();
  99564. buffer.addInterpolation$1(identifier1);
  99565. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  99566. return;
  99567. t1 = buffer._interpolation_buffer0$_text;
  99568. t1._contents += A.Primitives_stringFromCharCode(32);
  99569. identifier2 = _this.interpolatedIdentifier$0();
  99570. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  99571. _this.expectWhitespace$0();
  99572. t1._contents += " and ";
  99573. } else {
  99574. _this.whitespace$0();
  99575. buffer.addInterpolation$1(identifier2);
  99576. if (_this.scanIdentifier$1(_s3_)) {
  99577. _this.expectWhitespace$0();
  99578. t1._contents += " and ";
  99579. } else
  99580. return;
  99581. }
  99582. if (_this.scanIdentifier$1("not")) {
  99583. _this.expectWhitespace$0();
  99584. t1._contents += "not ";
  99585. _this._stylesheet0$_mediaOrInterp$1(buffer);
  99586. return;
  99587. }
  99588. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  99589. return;
  99590. },
  99591. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  99592. var t1, t2, _this = this;
  99593. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  99594. _this._stylesheet0$_mediaOrInterp$1(buffer);
  99595. _this.whitespace$0();
  99596. if (!_this.scanIdentifier$1(operator))
  99597. return;
  99598. _this.expectWhitespace$0();
  99599. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  99600. t2 += operator;
  99601. t1._contents = t2;
  99602. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  99603. }
  99604. },
  99605. _stylesheet0$_mediaOrInterp$1(buffer) {
  99606. var interpolation;
  99607. if (this.scanner.peekChar$0() === 35) {
  99608. interpolation = this.singleInterpolation$0();
  99609. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  99610. } else
  99611. this._stylesheet0$_mediaInParens$1(buffer);
  99612. },
  99613. _stylesheet0$_mediaInParens$1(buffer) {
  99614. var t2, t3, t4, next, t5, _this = this,
  99615. t1 = _this.scanner;
  99616. t1.expectChar$2$name(40, "media condition in parentheses");
  99617. t2 = buffer._interpolation_buffer0$_text;
  99618. t2._contents += A.Primitives_stringFromCharCode(40);
  99619. _this.whitespace$0();
  99620. if (t1.peekChar$0() === 40) {
  99621. _this._stylesheet0$_mediaInParens$1(buffer);
  99622. _this.whitespace$0();
  99623. if (_this.scanIdentifier$1("and")) {
  99624. t2._contents += " and ";
  99625. _this.expectWhitespace$0();
  99626. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  99627. } else if (_this.scanIdentifier$1("or")) {
  99628. t2._contents += " or ";
  99629. _this.expectWhitespace$0();
  99630. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  99631. }
  99632. } else if (_this.scanIdentifier$1("not")) {
  99633. t2._contents += "not ";
  99634. _this.expectWhitespace$0();
  99635. _this._stylesheet0$_mediaOrInterp$1(buffer);
  99636. } else {
  99637. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  99638. buffer._interpolation_buffer0$_flushText$0();
  99639. t4 = buffer._interpolation_buffer0$_contents;
  99640. t4.push(t3);
  99641. if (t1.scanChar$1(58)) {
  99642. _this.whitespace$0();
  99643. t3 = t2._contents += A.Primitives_stringFromCharCode(58);
  99644. t2._contents = t3 + A.Primitives_stringFromCharCode(32);
  99645. t3 = _this._stylesheet0$_expression$0();
  99646. buffer._interpolation_buffer0$_flushText$0();
  99647. t4.push(t3);
  99648. } else {
  99649. next = t1.peekChar$0();
  99650. t3 = next !== 60;
  99651. if (!t3 || next === 62 || next === 61) {
  99652. t2._contents += A.Primitives_stringFromCharCode(32);
  99653. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  99654. if ((!t3 || next === 62) && t1.scanChar$1(61))
  99655. t2._contents += A.Primitives_stringFromCharCode(61);
  99656. t2._contents += A.Primitives_stringFromCharCode(32);
  99657. _this.whitespace$0();
  99658. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  99659. buffer._interpolation_buffer0$_flushText$0();
  99660. t4.push(t5);
  99661. if (!t3 || next === 62) {
  99662. next.toString;
  99663. t3 = t1.scanChar$1(next);
  99664. } else
  99665. t3 = false;
  99666. if (t3) {
  99667. t3 = t2._contents += A.Primitives_stringFromCharCode(32);
  99668. t2._contents = t3 + A.Primitives_stringFromCharCode(next);
  99669. if (t1.scanChar$1(61))
  99670. t2._contents += A.Primitives_stringFromCharCode(61);
  99671. t2._contents += A.Primitives_stringFromCharCode(32);
  99672. _this.whitespace$0();
  99673. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  99674. buffer._interpolation_buffer0$_flushText$0();
  99675. t4.push(t3);
  99676. }
  99677. }
  99678. }
  99679. }
  99680. t1.expectChar$1(41);
  99681. _this.whitespace$0();
  99682. t2._contents += A.Primitives_stringFromCharCode(41);
  99683. },
  99684. _stylesheet0$_expressionUntilComparison$0() {
  99685. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  99686. },
  99687. _stylesheet0$_supportsCondition$0() {
  99688. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  99689. t1 = _this.scanner,
  99690. t2 = t1._string_scanner$_position;
  99691. if (_this.scanIdentifier$1("not")) {
  99692. _this.whitespace$0();
  99693. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99694. }
  99695. condition = _this._stylesheet0$_supportsConditionInParens$0();
  99696. _this.whitespace$0();
  99697. for (operator = null; _this.lookingAtIdentifier$0();) {
  99698. if (operator != null)
  99699. _this.expectIdentifier$1(operator);
  99700. else if (_this.scanIdentifier$1("or"))
  99701. operator = "or";
  99702. else {
  99703. _this.expectIdentifier$1("and");
  99704. operator = "and";
  99705. }
  99706. _this.whitespace$0();
  99707. right = _this._stylesheet0$_supportsConditionInParens$0();
  99708. endPosition = t1._string_scanner$_position;
  99709. t3 = t1._sourceFile;
  99710. t4 = new A._FileSpan(t3, t2, endPosition);
  99711. t4._FileSpan$3(t3, t2, endPosition);
  99712. condition = new A.SupportsOperation0(condition, right, operator, t4);
  99713. lowerOperator = operator.toLowerCase();
  99714. if (lowerOperator !== "and" && lowerOperator !== "or")
  99715. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  99716. _this.whitespace$0();
  99717. }
  99718. return condition;
  99719. },
  99720. _stylesheet0$_supportsConditionInParens$0() {
  99721. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  99722. t1 = _this.scanner,
  99723. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99724. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  99725. identifier0 = _this.interpolatedIdentifier$0();
  99726. t2 = identifier0.get$asPlain();
  99727. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  99728. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  99729. if (t1.scanChar$1(40)) {
  99730. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  99731. t1.expectChar$1(41);
  99732. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  99733. } else {
  99734. t2 = identifier0.contents;
  99735. if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
  99736. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  99737. else
  99738. return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  99739. }
  99740. }
  99741. t1.expectChar$1(40);
  99742. _this.whitespace$0();
  99743. if (_this.scanIdentifier$1("not")) {
  99744. _this.whitespace$0();
  99745. condition = _this._stylesheet0$_supportsConditionInParens$0();
  99746. t1.expectChar$1(41);
  99747. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  99748. } else if (t1.peekChar$0() === 40) {
  99749. condition = _this._stylesheet0$_supportsCondition$0();
  99750. t1.expectChar$1(41);
  99751. return condition;
  99752. }
  99753. $name = null;
  99754. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99755. wasInParentheses = _this._stylesheet0$_inParentheses;
  99756. try {
  99757. $name = _this._stylesheet0$_expression$0();
  99758. t1.expectChar$1(58);
  99759. } catch (exception) {
  99760. if (type$.FormatException._is(A.unwrapException(exception))) {
  99761. t1.set$state(nameStart);
  99762. _this._stylesheet0$_inParentheses = wasInParentheses;
  99763. identifier = _this.interpolatedIdentifier$0();
  99764. operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  99765. if (operation != null) {
  99766. t1.expectChar$1(41);
  99767. return operation;
  99768. }
  99769. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  99770. t2.addInterpolation$1(identifier);
  99771. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  99772. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  99773. if (t1.peekChar$0() === 58)
  99774. throw exception;
  99775. t1.expectChar$1(41);
  99776. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  99777. } else
  99778. throw exception;
  99779. }
  99780. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  99781. t1.expectChar$1(41);
  99782. return declaration;
  99783. },
  99784. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  99785. var value, _this = this;
  99786. if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  99787. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  99788. else {
  99789. _this.whitespace$0();
  99790. value = _this._stylesheet0$_expression$0();
  99791. }
  99792. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  99793. },
  99794. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  99795. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  99796. t1 = interpolation.contents;
  99797. if (t1.length !== 1)
  99798. return _null;
  99799. expression = B.JSArray_methods.get$first(t1);
  99800. if (!type$.Expression_2._is(expression))
  99801. return _null;
  99802. t1 = _this.scanner;
  99803. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99804. _this.whitespace$0();
  99805. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  99806. if (operator != null)
  99807. _this.expectIdentifier$1(operator);
  99808. else if (_this.scanIdentifier$1("and"))
  99809. operator = "and";
  99810. else {
  99811. if (!_this.scanIdentifier$1("or")) {
  99812. if (beforeWhitespace._scanner !== t1)
  99813. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  99814. t2 = beforeWhitespace.position;
  99815. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  99816. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  99817. t1._string_scanner$_position = t2;
  99818. return t1._lastMatch = null;
  99819. }
  99820. operator = "or";
  99821. }
  99822. _this.whitespace$0();
  99823. right = _this._stylesheet0$_supportsConditionInParens$0();
  99824. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  99825. endPosition = t1._string_scanner$_position;
  99826. t5 = t1._sourceFile;
  99827. t6 = new A._FileSpan(t5, t2, endPosition);
  99828. t6._FileSpan$3(t5, t2, endPosition);
  99829. operation = new A.SupportsOperation0(t4, right, operator, t6);
  99830. lowerOperator = operator.toLowerCase();
  99831. if (lowerOperator !== "and" && lowerOperator !== "or")
  99832. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  99833. _this.whitespace$0();
  99834. }
  99835. return operation;
  99836. },
  99837. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  99838. var second,
  99839. t1 = this.scanner,
  99840. first = t1.peekChar$0();
  99841. if (first == null)
  99842. return false;
  99843. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  99844. return true;
  99845. if (first === 35)
  99846. return t1.peekChar$1(1) === 123;
  99847. if (first !== 45)
  99848. return false;
  99849. second = t1.peekChar$1(1);
  99850. if (second == null)
  99851. return false;
  99852. if (second === 35)
  99853. return t1.peekChar$1(2) === 123;
  99854. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  99855. },
  99856. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  99857. var t1 = this.scanner,
  99858. first = t1.peekChar$0();
  99859. if (first == null)
  99860. return false;
  99861. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
  99862. return true;
  99863. return first === 35 && t1.peekChar$1(1) === 123;
  99864. },
  99865. _stylesheet0$_lookingAtExpression$0() {
  99866. var next,
  99867. t1 = this.scanner,
  99868. character = t1.peekChar$0();
  99869. if (character == null)
  99870. return false;
  99871. if (character === 46)
  99872. return t1.peekChar$1(1) !== 46;
  99873. if (character === 33) {
  99874. next = t1.peekChar$1(1);
  99875. if (next != null)
  99876. if ((next | 32) >>> 0 !== 105)
  99877. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  99878. else
  99879. t1 = true;
  99880. else
  99881. t1 = true;
  99882. return t1;
  99883. }
  99884. if (character !== 40)
  99885. if (character !== 47)
  99886. if (character !== 91)
  99887. if (character !== 39)
  99888. if (character !== 34)
  99889. if (character !== 35)
  99890. if (character !== 43)
  99891. if (character !== 45)
  99892. if (character !== 92)
  99893. if (character !== 36)
  99894. if (character !== 38)
  99895. t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
  99896. else
  99897. t1 = true;
  99898. else
  99899. t1 = true;
  99900. else
  99901. t1 = true;
  99902. else
  99903. t1 = true;
  99904. else
  99905. t1 = true;
  99906. else
  99907. t1 = true;
  99908. else
  99909. t1 = true;
  99910. else
  99911. t1 = true;
  99912. else
  99913. t1 = true;
  99914. else
  99915. t1 = true;
  99916. else
  99917. t1 = true;
  99918. return t1;
  99919. },
  99920. _stylesheet0$_withChildren$1$3(child, start, create) {
  99921. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  99922. this.whitespaceWithoutComments$0();
  99923. return result;
  99924. },
  99925. _stylesheet0$_withChildren$3(child, start, create) {
  99926. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  99927. },
  99928. _stylesheet0$_urlString$0() {
  99929. var innerError, stackTrace, t2, exception,
  99930. t1 = this.scanner,
  99931. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99932. url = this.string$0();
  99933. try {
  99934. t2 = A.Uri_parse(url);
  99935. return t2;
  99936. } catch (exception) {
  99937. t2 = A.unwrapException(exception);
  99938. if (type$.FormatException._is(t2)) {
  99939. innerError = t2;
  99940. stackTrace = A.getTraceFromException(exception);
  99941. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  99942. } else
  99943. throw exception;
  99944. }
  99945. },
  99946. _stylesheet0$_publicIdentifier$0() {
  99947. var _this = this,
  99948. t1 = _this.scanner,
  99949. t2 = t1._string_scanner$_position,
  99950. result = _this.identifier$1$normalize(true);
  99951. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  99952. return result;
  99953. },
  99954. _stylesheet0$_assertPublic$2(identifier, span) {
  99955. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  99956. if (!(first === 45 || first === 95))
  99957. return;
  99958. this.error$2(0, string$.Privat, span.call$0());
  99959. },
  99960. get$plainCss() {
  99961. return false;
  99962. }
  99963. };
  99964. A.StylesheetParser_parse_closure0.prototype = {
  99965. call$0() {
  99966. var statements, t4,
  99967. t1 = this.$this,
  99968. t2 = t1.scanner,
  99969. t3 = t2._string_scanner$_position;
  99970. t2.scanChar$1(65279);
  99971. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  99972. t2.expectDone$0();
  99973. t4 = t1._stylesheet0$_globalVariables;
  99974. t4 = t4.get$values(t4);
  99975. 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));
  99976. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  99977. },
  99978. $signature: 535
  99979. };
  99980. A.StylesheetParser_parse__closure1.prototype = {
  99981. call$0() {
  99982. var t1 = this.$this;
  99983. if (t1.scanner.scan$1("@charset")) {
  99984. t1.whitespace$0();
  99985. t1.string$0();
  99986. return null;
  99987. }
  99988. return t1._stylesheet0$_statement$1$root(true);
  99989. },
  99990. $signature: 536
  99991. };
  99992. A.StylesheetParser_parse__closure2.prototype = {
  99993. call$1(declaration) {
  99994. var t1 = declaration.name,
  99995. t2 = declaration.expression;
  99996. return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
  99997. },
  99998. $signature: 537
  99999. };
  100000. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  100001. call$0() {
  100002. var $arguments,
  100003. t1 = this.$this,
  100004. t2 = t1.scanner;
  100005. t2.expectChar$2$name(64, "@-rule");
  100006. t1.identifier$0();
  100007. t1.whitespace$0();
  100008. t1.identifier$0();
  100009. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  100010. t1.whitespace$0();
  100011. t2.expectChar$1(123);
  100012. return $arguments;
  100013. },
  100014. $signature: 538
  100015. };
  100016. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  100017. call$0() {
  100018. var result = this.production.call$0();
  100019. this.$this.scanner.expectDone$0();
  100020. return result;
  100021. },
  100022. $signature() {
  100023. return this.T._eval$1("0()");
  100024. }
  100025. };
  100026. A.StylesheetParser_parseSignature_closure.prototype = {
  100027. call$0() {
  100028. var $arguments, t2, t3,
  100029. t1 = this.$this,
  100030. $name = t1.identifier$0();
  100031. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  100032. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  100033. else {
  100034. t2 = t1.scanner;
  100035. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  100036. t3 = t2.offset;
  100037. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  100038. }
  100039. t1.scanner.expectDone$0();
  100040. return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
  100041. },
  100042. $signature: 539
  100043. };
  100044. A.StylesheetParser__statement_closure0.prototype = {
  100045. call$0() {
  100046. return this.$this._stylesheet0$_statement$0();
  100047. },
  100048. $signature: 132
  100049. };
  100050. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  100051. call$0() {
  100052. return this.$this.scanner.spanFrom$1(this.start);
  100053. },
  100054. $signature: 24
  100055. };
  100056. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  100057. call$0() {
  100058. return this.declaration;
  100059. },
  100060. $signature: 540
  100061. };
  100062. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  100063. call$2(children, span) {
  100064. return A.Declaration$nested0(this.name, children, span, null);
  100065. },
  100066. $signature: 92
  100067. };
  100068. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  100069. call$2(children, span) {
  100070. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  100071. },
  100072. $signature: 92
  100073. };
  100074. A.StylesheetParser__styleRule_closure0.prototype = {
  100075. call$2(children, span) {
  100076. var _this = this,
  100077. t1 = _this.$this;
  100078. if (t1.get$indented() && children.length === 0)
  100079. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  100080. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  100081. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  100082. },
  100083. $signature: 542
  100084. };
  100085. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  100086. call$2(children, span) {
  100087. return A.Declaration$nested0(this._box_0.name, children, span, null);
  100088. },
  100089. $signature: 92
  100090. };
  100091. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  100092. call$2(children, span) {
  100093. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  100094. },
  100095. $signature: 92
  100096. };
  100097. A.StylesheetParser__atRootRule_closure1.prototype = {
  100098. call$2(children, span) {
  100099. return A.AtRootRule$0(children, span, this.query);
  100100. },
  100101. $signature: 245
  100102. };
  100103. A.StylesheetParser__atRootRule_closure2.prototype = {
  100104. call$2(children, span) {
  100105. return A.AtRootRule$0(children, span, null);
  100106. },
  100107. $signature: 245
  100108. };
  100109. A.StylesheetParser__eachRule_closure0.prototype = {
  100110. call$2(children, span) {
  100111. var _this = this;
  100112. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  100113. return A.EachRule$0(_this.variables, _this.list, children, span);
  100114. },
  100115. $signature: 544
  100116. };
  100117. A.StylesheetParser__functionRule_closure0.prototype = {
  100118. call$2(children, span) {
  100119. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  100120. },
  100121. $signature: 545
  100122. };
  100123. A.StylesheetParser__forRule_closure1.prototype = {
  100124. call$0() {
  100125. var t1 = this.$this;
  100126. if (!t1.lookingAtIdentifier$0())
  100127. return false;
  100128. if (t1.scanIdentifier$1("to"))
  100129. return this._box_0.exclusive = true;
  100130. else if (t1.scanIdentifier$1("through")) {
  100131. this._box_0.exclusive = false;
  100132. return true;
  100133. } else
  100134. return false;
  100135. },
  100136. $signature: 29
  100137. };
  100138. A.StylesheetParser__forRule_closure2.prototype = {
  100139. call$2(children, span) {
  100140. var t1, _this = this;
  100141. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  100142. t1 = _this._box_0.exclusive;
  100143. t1.toString;
  100144. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  100145. },
  100146. $signature: 546
  100147. };
  100148. A.StylesheetParser__memberList_closure0.prototype = {
  100149. call$0() {
  100150. var t1 = this.$this;
  100151. if (t1.scanner.peekChar$0() === 36)
  100152. this.variables.add$1(0, t1.variableName$0());
  100153. else
  100154. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  100155. },
  100156. $signature: 1
  100157. };
  100158. A.StylesheetParser__includeRule_closure0.prototype = {
  100159. call$2(children, span) {
  100160. return A.ContentBlock$0(this.contentArguments_, children, span);
  100161. },
  100162. $signature: 547
  100163. };
  100164. A.StylesheetParser_mediaRule_closure0.prototype = {
  100165. call$2(children, span) {
  100166. return A.MediaRule$0(this.query, children, span);
  100167. },
  100168. $signature: 548
  100169. };
  100170. A.StylesheetParser__mixinRule_closure0.prototype = {
  100171. call$2(children, span) {
  100172. var _this = this;
  100173. _this.$this._stylesheet0$_inMixin = false;
  100174. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  100175. },
  100176. $signature: 549
  100177. };
  100178. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  100179. call$2(children, span) {
  100180. var _this = this;
  100181. if (_this._box_0.needsDeprecationWarning)
  100182. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_GbU, string$.x40_moz_, span, null);
  100183. return A.AtRule$0(_this.name, span, children, _this.value);
  100184. },
  100185. $signature: 246
  100186. };
  100187. A.StylesheetParser_supportsRule_closure0.prototype = {
  100188. call$2(children, span) {
  100189. return A.SupportsRule$0(this.condition, children, span);
  100190. },
  100191. $signature: 551
  100192. };
  100193. A.StylesheetParser__whileRule_closure0.prototype = {
  100194. call$2(children, span) {
  100195. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  100196. return A.WhileRule$0(this.condition, children, span);
  100197. },
  100198. $signature: 552
  100199. };
  100200. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  100201. call$2(children, span) {
  100202. return A.AtRule$0(this.name, span, children, this._box_0.value);
  100203. },
  100204. $signature: 246
  100205. };
  100206. A.StylesheetParser__expression_resetState0.prototype = {
  100207. call$0() {
  100208. var t2,
  100209. t1 = this._box_0;
  100210. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  100211. t2 = this.$this;
  100212. t2.scanner.set$state(this.start);
  100213. t1.allowSlash = true;
  100214. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  100215. },
  100216. $signature: 0
  100217. };
  100218. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  100219. call$0() {
  100220. var t2, t3, t4, t5, t6, t7, _this = this,
  100221. t1 = _this._box_0,
  100222. operator = t1.operators_.pop(),
  100223. left = t1.operands_.pop(),
  100224. right = t1.singleExpression_;
  100225. if (right == null) {
  100226. t2 = _this.$this.scanner;
  100227. t3 = operator.operator.length;
  100228. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  100229. }
  100230. if (t1.allowSlash) {
  100231. t2 = _this.$this;
  100232. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_t8B0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  100233. } else
  100234. t2 = false;
  100235. if (t2)
  100236. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_t8B0, left, right, true);
  100237. else {
  100238. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  100239. t2 = t1.allowSlash = false;
  100240. if (operator === B.BinaryOperator_anB0 || operator === B.BinaryOperator_olz0) {
  100241. t3 = _this.$this;
  100242. t4 = t3.scanner.string;
  100243. t5 = right.get$span(right);
  100244. t5 = t5.get$start(t5);
  100245. t6 = right.get$span(right);
  100246. t7 = operator.operator;
  100247. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  100248. t2 = left.get$span(left);
  100249. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  100250. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  100251. }
  100252. if (t2) {
  100253. t2 = left.toString$0(0);
  100254. t4 = right.toString$0(0);
  100255. t5 = left.toString$0(0);
  100256. t6 = right.toString$0(0);
  100257. t1 = t1.singleExpression_;
  100258. A.WarnForDeprecation_warnForDeprecation0(t3.logger, B.Deprecation_EsU, "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);
  100259. }
  100260. }
  100261. }
  100262. },
  100263. $signature: 0
  100264. };
  100265. A.StylesheetParser__expression_resolveOperations0.prototype = {
  100266. call$0() {
  100267. var t1,
  100268. operators = this._box_0.operators_;
  100269. if (operators == null)
  100270. return;
  100271. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  100272. t1.call$0();
  100273. },
  100274. $signature: 0
  100275. };
  100276. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  100277. call$1(expression) {
  100278. var t2, spaceExpressions, _this = this,
  100279. t1 = _this._box_0;
  100280. if (t1.singleExpression_ != null) {
  100281. t2 = _this.$this;
  100282. if (t2._stylesheet0$_inParentheses) {
  100283. t2._stylesheet0$_inParentheses = false;
  100284. if (t1.allowSlash) {
  100285. _this.resetState.call$0();
  100286. return;
  100287. }
  100288. }
  100289. spaceExpressions = t1.spaceExpressions_;
  100290. if (spaceExpressions == null)
  100291. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  100292. _this.resolveOperations.call$0();
  100293. t2 = t1.singleExpression_;
  100294. t2.toString;
  100295. spaceExpressions.push(t2);
  100296. t1.allowSlash = true;
  100297. }
  100298. t1.singleExpression_ = expression;
  100299. },
  100300. $signature: 553
  100301. };
  100302. A.StylesheetParser__expression_addOperator0.prototype = {
  100303. call$1(operator) {
  100304. var t2, t3, operators, operands, t4, singleExpression,
  100305. t1 = this.$this;
  100306. if (t1.get$plainCss() && operator !== B.BinaryOperator_t8B0 && operator !== B.BinaryOperator_2jN0) {
  100307. t2 = t1.scanner;
  100308. t3 = operator.operator.length;
  100309. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  100310. }
  100311. t2 = this._box_0;
  100312. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B0;
  100313. operators = t2.operators_;
  100314. if (operators == null)
  100315. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  100316. operands = t2.operands_;
  100317. if (operands == null)
  100318. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  100319. t3 = this.resolveOneOperation;
  100320. t4 = operator.precedence;
  100321. while (true) {
  100322. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  100323. break;
  100324. t3.call$0();
  100325. }
  100326. operators.push(operator);
  100327. singleExpression = t2.singleExpression_;
  100328. if (singleExpression == null) {
  100329. t3 = t1.scanner;
  100330. t4 = operator.operator.length;
  100331. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  100332. }
  100333. operands.push(singleExpression);
  100334. t1.whitespace$0();
  100335. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  100336. },
  100337. $signature: 554
  100338. };
  100339. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  100340. call$0() {
  100341. var t1, spaceExpressions, singleExpression, t2;
  100342. this.resolveOperations.call$0();
  100343. t1 = this._box_0;
  100344. spaceExpressions = t1.spaceExpressions_;
  100345. if (spaceExpressions != null) {
  100346. singleExpression = t1.singleExpression_;
  100347. if (singleExpression == null)
  100348. this.$this.scanner.error$1(0, "Expected expression.");
  100349. spaceExpressions.push(singleExpression);
  100350. t2 = B.JSArray_methods.get$first(spaceExpressions);
  100351. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  100352. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  100353. t1.spaceExpressions_ = null;
  100354. }
  100355. },
  100356. $signature: 0
  100357. };
  100358. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  100359. call$0() {
  100360. return this.$this.scanner.peekChar$0() === 44;
  100361. },
  100362. $signature: 29
  100363. };
  100364. A.StylesheetParser__unicodeRange_closure1.prototype = {
  100365. call$1(char) {
  100366. return char != null && A.isHex0(char);
  100367. },
  100368. $signature: 34
  100369. };
  100370. A.StylesheetParser__unicodeRange_closure2.prototype = {
  100371. call$1(char) {
  100372. return char != null && A.isHex0(char);
  100373. },
  100374. $signature: 34
  100375. };
  100376. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  100377. call$0() {
  100378. return this.$this.scanner.spanFrom$1(this.start);
  100379. },
  100380. $signature: 24
  100381. };
  100382. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  100383. call$1(contents) {
  100384. return new A.StringExpression0(contents, false);
  100385. },
  100386. $signature: 555
  100387. };
  100388. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  100389. call$0() {
  100390. var t1 = this.$this.scanner,
  100391. next = t1.peekChar$0();
  100392. if (next === 61)
  100393. return t1.peekChar$1(1) !== 61;
  100394. return next === 60 || next === 62;
  100395. },
  100396. $signature: 29
  100397. };
  100398. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  100399. call$0() {
  100400. return this.$this.scanner.spanFrom$1(this.start);
  100401. },
  100402. $signature: 24
  100403. };
  100404. A.Stylesheet0.prototype = {
  100405. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  100406. var t1, t2, t3, t4, _i, child;
  100407. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  100408. child = t1[_i];
  100409. if (child instanceof A.UseRule0)
  100410. t4.push(child);
  100411. else if (child instanceof A.ForwardRule0)
  100412. t3.push(child);
  100413. else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
  100414. break;
  100415. }
  100416. },
  100417. accept$1$1(visitor) {
  100418. return visitor.visitStylesheet$1(this);
  100419. },
  100420. accept$1(visitor) {
  100421. return this.accept$1$1(visitor, type$.dynamic);
  100422. },
  100423. toString$0(_) {
  100424. var t1 = this.children;
  100425. return (t1 && B.JSArray_methods).join$1(t1, " ");
  100426. },
  100427. get$span(receiver) {
  100428. return this.span;
  100429. }
  100430. };
  100431. A.SupportsExpression0.prototype = {
  100432. get$span(_) {
  100433. var t1 = this.condition;
  100434. return t1.get$span(t1);
  100435. },
  100436. accept$1$1(visitor) {
  100437. return visitor.visitSupportsExpression$1(this);
  100438. },
  100439. accept$1(visitor) {
  100440. return this.accept$1$1(visitor, type$.dynamic);
  100441. },
  100442. toString$0(_) {
  100443. return this.condition.toString$0(0);
  100444. },
  100445. $isExpression0: 1,
  100446. $isAstNode0: 1
  100447. };
  100448. A.ModifiableCssSupportsRule0.prototype = {
  100449. accept$1$1(visitor) {
  100450. return visitor.visitCssSupportsRule$1(this);
  100451. },
  100452. accept$1(visitor) {
  100453. return this.accept$1$1(visitor, type$.dynamic);
  100454. },
  100455. equalsIgnoringChildren$1(other) {
  100456. var t1, t2;
  100457. if (other instanceof A.ModifiableCssSupportsRule0) {
  100458. t1 = this.condition;
  100459. t2 = other.condition;
  100460. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  100461. } else
  100462. t1 = false;
  100463. return t1;
  100464. },
  100465. copyWithoutChildren$0() {
  100466. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  100467. },
  100468. $isCssSupportsRule0: 1,
  100469. get$span(receiver) {
  100470. return this.span;
  100471. }
  100472. };
  100473. A.SupportsRule0.prototype = {
  100474. accept$1$1(visitor) {
  100475. return visitor.visitSupportsRule$1(this);
  100476. },
  100477. accept$1(visitor) {
  100478. return this.accept$1$1(visitor, type$.dynamic);
  100479. },
  100480. toString$0(_) {
  100481. var t1 = this.children;
  100482. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  100483. },
  100484. get$span(receiver) {
  100485. return this.span;
  100486. }
  100487. };
  100488. A.NodeToDartImporter.prototype = {
  100489. canonicalize$1(_, url) {
  100490. var t1,
  100491. result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  100492. if (result == null)
  100493. return null;
  100494. t1 = self.URL;
  100495. if (result instanceof t1)
  100496. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  100497. t1 = self.Promise;
  100498. if (result instanceof t1)
  100499. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  100500. else
  100501. A.jsThrow(new self.Error(string$.The_ca));
  100502. },
  100503. load$1(_, url) {
  100504. var t1, contents, syntax, t2,
  100505. result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
  100506. if (result == null)
  100507. return null;
  100508. t1 = self.Promise;
  100509. if (result instanceof t1)
  100510. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  100511. type$.NodeImporterResult._as(result);
  100512. t1 = J.getInterceptor$x(result);
  100513. contents = t1.get$contents(result);
  100514. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  100515. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  100516. syntax = t1.get$syntax(result);
  100517. if (contents == null || syntax == null)
  100518. A.jsThrow(new self.Error(string$.The_lo));
  100519. t2 = A.parseSyntax(syntax);
  100520. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  100521. }
  100522. };
  100523. A.Syntax0.prototype = {
  100524. _enumToString$0() {
  100525. return "Syntax." + this._name;
  100526. },
  100527. toString$0(_) {
  100528. return this._syntax0$_name;
  100529. }
  100530. };
  100531. A.TypeSelector0.prototype = {
  100532. get$specificity() {
  100533. return 1;
  100534. },
  100535. accept$1$1(visitor) {
  100536. return visitor.visitTypeSelector$1(this);
  100537. },
  100538. accept$1(visitor) {
  100539. return this.accept$1$1(visitor, type$.dynamic);
  100540. },
  100541. addSuffix$1(suffix) {
  100542. var t1 = this.name;
  100543. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  100544. },
  100545. unify$1(compound) {
  100546. var unified, t1;
  100547. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
  100548. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  100549. if (unified == null)
  100550. return null;
  100551. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  100552. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  100553. return t1;
  100554. } else {
  100555. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  100556. B.JSArray_methods.addAll$1(t1, compound);
  100557. return t1;
  100558. }
  100559. },
  100560. isSuperselector$1(other) {
  100561. var t1, t2;
  100562. if (!this.super$SimpleSelector$isSuperselector0(other))
  100563. if (other instanceof A.TypeSelector0) {
  100564. t1 = this.name;
  100565. t2 = other.name;
  100566. if (t1.name === t2.name) {
  100567. t1 = t1.namespace;
  100568. t1 = t1 === "*" || t1 == t2.namespace;
  100569. } else
  100570. t1 = false;
  100571. } else
  100572. t1 = false;
  100573. else
  100574. t1 = true;
  100575. return t1;
  100576. },
  100577. $eq(_, other) {
  100578. if (other == null)
  100579. return false;
  100580. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  100581. },
  100582. get$hashCode(_) {
  100583. var t1 = this.name;
  100584. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  100585. }
  100586. };
  100587. A.Types.prototype = {};
  100588. A.UnaryOperationExpression0.prototype = {
  100589. accept$1$1(visitor) {
  100590. return visitor.visitUnaryOperationExpression$1(this);
  100591. },
  100592. accept$1(visitor) {
  100593. return this.accept$1$1(visitor, type$.dynamic);
  100594. },
  100595. toString$0(_) {
  100596. var operand, needsParens,
  100597. t1 = this.operator,
  100598. t2 = t1.operator;
  100599. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  100600. operand = this.operand;
  100601. if (!(operand instanceof A.BinaryOperationExpression0))
  100602. if (!(operand instanceof A.UnaryOperationExpression0)) {
  100603. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length > 1;
  100604. needsParens = t2;
  100605. } else
  100606. needsParens = true;
  100607. else
  100608. needsParens = true;
  100609. if (needsParens)
  100610. t1 += "40";
  100611. t1 += operand.toString$0(0);
  100612. if (needsParens)
  100613. t1 += "41";
  100614. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100615. },
  100616. $isExpression0: 1,
  100617. $isAstNode0: 1,
  100618. get$span(receiver) {
  100619. return this.span;
  100620. }
  100621. };
  100622. A.UnaryOperator0.prototype = {
  100623. _enumToString$0() {
  100624. return "UnaryOperator." + this._name;
  100625. },
  100626. toString$0(_) {
  100627. return this.name;
  100628. }
  100629. };
  100630. A.UnitlessSassNumber0.prototype = {
  100631. get$numeratorUnits(_) {
  100632. return B.List_empty;
  100633. },
  100634. get$denominatorUnits(_) {
  100635. return B.List_empty;
  100636. },
  100637. get$hasUnits() {
  100638. return false;
  100639. },
  100640. withValue$1(value) {
  100641. return new A.UnitlessSassNumber0(value, null);
  100642. },
  100643. withSlash$2(numerator, denominator) {
  100644. return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  100645. },
  100646. hasUnit$1(unit) {
  100647. return false;
  100648. },
  100649. hasCompatibleUnits$1(other) {
  100650. return other instanceof A.UnitlessSassNumber0;
  100651. },
  100652. hasPossiblyCompatibleUnits$1(other) {
  100653. return other instanceof A.UnitlessSassNumber0;
  100654. },
  100655. compatibleWithUnit$1(unit) {
  100656. return true;
  100657. },
  100658. coerceToMatch$3(other, $name, otherName) {
  100659. return other.withValue$1(this._number1$_value);
  100660. },
  100661. coerceValueToMatch$3(other, $name, otherName) {
  100662. return this._number1$_value;
  100663. },
  100664. coerceValueToMatch$1(other) {
  100665. return this.coerceValueToMatch$3(other, null, null);
  100666. },
  100667. convertToMatch$3(other, $name, otherName) {
  100668. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  100669. },
  100670. convertValueToMatch$3(other, $name, otherName) {
  100671. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  100672. },
  100673. coerce$3(newNumerators, newDenominators, $name) {
  100674. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  100675. },
  100676. coerce$2(newNumerators, newDenominators) {
  100677. return this.coerce$3(newNumerators, newDenominators, null);
  100678. },
  100679. coerceValue$3(newNumerators, newDenominators, $name) {
  100680. return this._number1$_value;
  100681. },
  100682. coerceValueToUnit$2(unit, $name) {
  100683. return this._number1$_value;
  100684. },
  100685. coerceValueToUnit$1(unit) {
  100686. return this.coerceValueToUnit$2(unit, null);
  100687. },
  100688. greaterThan$1(other) {
  100689. var t1, t2;
  100690. if (other instanceof A.SassNumber0) {
  100691. t1 = this._number1$_value;
  100692. t2 = other._number1$_value;
  100693. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  100694. }
  100695. return this.super$SassNumber$greaterThan0(other);
  100696. },
  100697. greaterThanOrEquals$1(other) {
  100698. var t1, t2;
  100699. if (other instanceof A.SassNumber0) {
  100700. t1 = this._number1$_value;
  100701. t2 = other._number1$_value;
  100702. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  100703. }
  100704. return this.super$SassNumber$greaterThanOrEquals0(other);
  100705. },
  100706. lessThan$1(other) {
  100707. var t1, t2;
  100708. if (other instanceof A.SassNumber0) {
  100709. t1 = this._number1$_value;
  100710. t2 = other._number1$_value;
  100711. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  100712. }
  100713. return this.super$SassNumber$lessThan0(other);
  100714. },
  100715. lessThanOrEquals$1(other) {
  100716. var t1, t2;
  100717. if (other instanceof A.SassNumber0) {
  100718. t1 = this._number1$_value;
  100719. t2 = other._number1$_value;
  100720. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  100721. }
  100722. return this.super$SassNumber$lessThanOrEquals0(other);
  100723. },
  100724. modulo$1(other) {
  100725. if (other instanceof A.SassNumber0)
  100726. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  100727. return this.super$SassNumber$modulo0(other);
  100728. },
  100729. plus$1(other) {
  100730. if (other instanceof A.SassNumber0)
  100731. return other.withValue$1(this._number1$_value + other._number1$_value);
  100732. return this.super$SassNumber$plus0(other);
  100733. },
  100734. minus$1(other) {
  100735. if (other instanceof A.SassNumber0)
  100736. return other.withValue$1(this._number1$_value - other._number1$_value);
  100737. return this.super$SassNumber$minus0(other);
  100738. },
  100739. times$1(other) {
  100740. if (other instanceof A.SassNumber0)
  100741. return other.withValue$1(this._number1$_value * other._number1$_value);
  100742. return this.super$SassNumber$times0(other);
  100743. },
  100744. dividedBy$1(other) {
  100745. var t1, t2;
  100746. if (other instanceof A.SassNumber0) {
  100747. t1 = this._number1$_value / other._number1$_value;
  100748. if (other.get$hasUnits()) {
  100749. t2 = other.get$denominatorUnits(other);
  100750. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  100751. t1 = t2;
  100752. } else
  100753. t1 = new A.UnitlessSassNumber0(t1, null);
  100754. return t1;
  100755. }
  100756. return this.super$SassNumber$dividedBy0(other);
  100757. },
  100758. unaryMinus$0() {
  100759. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  100760. },
  100761. $eq(_, other) {
  100762. if (other == null)
  100763. return false;
  100764. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  100765. },
  100766. get$hashCode(_) {
  100767. var t1 = this.hashCache;
  100768. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  100769. }
  100770. };
  100771. A.UniversalSelector0.prototype = {
  100772. get$specificity() {
  100773. return 0;
  100774. },
  100775. accept$1$1(visitor) {
  100776. return visitor.visitUniversalSelector$1(this);
  100777. },
  100778. accept$1(visitor) {
  100779. return this.accept$1$1(visitor, type$.dynamic);
  100780. },
  100781. unify$1(compound) {
  100782. var unified, t1, _this = this,
  100783. first = B.JSArray_methods.get$first(compound);
  100784. if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
  100785. unified = A.unifyUniversalAndElement0(_this, first);
  100786. if (unified == null)
  100787. return null;
  100788. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  100789. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  100790. return t1;
  100791. } else {
  100792. if (compound.length === 1)
  100793. if (first instanceof A.PseudoSelector0)
  100794. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  100795. else
  100796. t1 = false;
  100797. else
  100798. t1 = false;
  100799. if (t1)
  100800. return null;
  100801. }
  100802. t1 = _this.namespace;
  100803. if (t1 != null && t1 !== "*") {
  100804. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  100805. B.JSArray_methods.addAll$1(t1, compound);
  100806. return t1;
  100807. }
  100808. if (compound.length !== 0)
  100809. return compound;
  100810. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  100811. },
  100812. isSuperselector$1(other) {
  100813. var t1 = this.namespace;
  100814. if (t1 === "*")
  100815. return true;
  100816. if (other instanceof A.TypeSelector0)
  100817. return t1 == other.name.namespace;
  100818. if (other instanceof A.UniversalSelector0)
  100819. return t1 == other.namespace;
  100820. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  100821. },
  100822. $eq(_, other) {
  100823. if (other == null)
  100824. return false;
  100825. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  100826. },
  100827. get$hashCode(_) {
  100828. return J.get$hashCode$(this.namespace);
  100829. }
  100830. };
  100831. A.UnprefixedMapView0.prototype = {
  100832. get$keys(_) {
  100833. return new A._UnprefixedKeys0(this);
  100834. },
  100835. $index(_, key) {
  100836. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  100837. },
  100838. containsKey$1(key) {
  100839. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  100840. },
  100841. remove$1(_, key) {
  100842. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  100843. }
  100844. };
  100845. A._UnprefixedKeys0.prototype = {
  100846. get$iterator(_) {
  100847. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  100848. 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);
  100849. return t1.get$iterator(t1);
  100850. },
  100851. contains$1(_, key) {
  100852. return this._unprefixed_map_view0$_view.containsKey$1(key);
  100853. }
  100854. };
  100855. A._UnprefixedKeys_iterator_closure1.prototype = {
  100856. call$1(key) {
  100857. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  100858. },
  100859. $signature: 8
  100860. };
  100861. A._UnprefixedKeys_iterator_closure2.prototype = {
  100862. call$1(key) {
  100863. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  100864. },
  100865. $signature: 5
  100866. };
  100867. A.JSUrl0.prototype = {};
  100868. A.UseRule0.prototype = {
  100869. UseRule$4$configuration0(url, namespace, span, configuration) {
  100870. var t1, t2, _i, variable;
  100871. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100872. variable = t1[_i];
  100873. if (variable.isGuarded)
  100874. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  100875. }
  100876. },
  100877. accept$1$1(visitor) {
  100878. return visitor.visitUseRule$1(this);
  100879. },
  100880. accept$1(visitor) {
  100881. return this.accept$1$1(visitor, type$.dynamic);
  100882. },
  100883. toString$0(_) {
  100884. var t1 = this.url,
  100885. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  100886. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  100887. dot = B.JSString_methods.indexOf$1(basename, ".");
  100888. t1 = this.namespace;
  100889. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  100890. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  100891. else
  100892. t1 = t2;
  100893. t2 = this.configuration;
  100894. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  100895. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100896. },
  100897. $isAstNode0: 1,
  100898. $isStatement0: 1,
  100899. get$span(receiver) {
  100900. return this.span;
  100901. }
  100902. };
  100903. A.UserDefinedCallable0.prototype = {
  100904. get$name(_) {
  100905. return this.declaration.name;
  100906. },
  100907. $isAsyncCallable0: 1,
  100908. $isCallable0: 1
  100909. };
  100910. A.resolveImportPath_closure1.prototype = {
  100911. call$0() {
  100912. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  100913. },
  100914. $signature: 43
  100915. };
  100916. A.resolveImportPath_closure2.prototype = {
  100917. call$0() {
  100918. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  100919. },
  100920. $signature: 43
  100921. };
  100922. A._tryPathAsDirectory_closure0.prototype = {
  100923. call$0() {
  100924. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  100925. },
  100926. $signature: 43
  100927. };
  100928. A._exactlyOne_closure0.prototype = {
  100929. call$1(path) {
  100930. var t1 = $.$get$context();
  100931. return " " + t1.prettyUri$1(t1.toUri$1(path));
  100932. },
  100933. $signature: 5
  100934. };
  100935. A._PropertyDescriptor0.prototype = {};
  100936. A.futureToPromise_closure0.prototype = {
  100937. call$2(resolve, reject) {
  100938. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  100939. },
  100940. $signature: 556
  100941. };
  100942. A.futureToPromise__closure0.prototype = {
  100943. call$1(result) {
  100944. return this.resolve.call$1(result);
  100945. },
  100946. $signature: 27
  100947. };
  100948. A.futureToPromise__closure1.prototype = {
  100949. call$2(error, stackTrace) {
  100950. A.attachTrace0(error, stackTrace);
  100951. this.reject.call$1(error);
  100952. },
  100953. $signature: 62
  100954. };
  100955. A.objectToMap_closure.prototype = {
  100956. call$2(key, value) {
  100957. this.map.$indexSet(0, key, value);
  100958. return value;
  100959. },
  100960. $signature: 122
  100961. };
  100962. A.indent_closure0.prototype = {
  100963. call$1(line) {
  100964. return B.JSString_methods.$mul(" ", this.indentation) + line;
  100965. },
  100966. $signature: 5
  100967. };
  100968. A.flattenVertically_closure1.prototype = {
  100969. call$1(inner) {
  100970. return A.QueueList_QueueList$from(inner, this.T);
  100971. },
  100972. $signature() {
  100973. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  100974. }
  100975. };
  100976. A.flattenVertically_closure2.prototype = {
  100977. call$1(queue) {
  100978. this.result.push(queue.removeFirst$0());
  100979. return queue.get$length(queue) === 0;
  100980. },
  100981. $signature() {
  100982. return this.T._eval$1("bool(QueueList<0>)");
  100983. }
  100984. };
  100985. A.longestCommonSubsequence_backtrack0.prototype = {
  100986. call$2(i, j) {
  100987. var selection, t1, _this = this;
  100988. if (i === -1 || j === -1)
  100989. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  100990. selection = _this.selections[i][j];
  100991. if (selection != null) {
  100992. t1 = _this.call$2(i - 1, j - 1);
  100993. J.add$1$ax(t1, selection);
  100994. return t1;
  100995. }
  100996. t1 = _this.lengths;
  100997. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  100998. },
  100999. $signature() {
  101000. return this.T._eval$1("List<0>(int,int)");
  101001. }
  101002. };
  101003. A.mapAddAll2_closure0.prototype = {
  101004. call$2(key, inner) {
  101005. var t1 = this.destination,
  101006. innerDestination = t1.$index(0, key);
  101007. if (innerDestination != null)
  101008. innerDestination.addAll$1(0, inner);
  101009. else
  101010. t1.$indexSet(0, key, inner);
  101011. },
  101012. $signature() {
  101013. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  101014. }
  101015. };
  101016. A.CssValue0.prototype = {
  101017. $eq(_, other) {
  101018. if (other == null)
  101019. return false;
  101020. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  101021. },
  101022. get$hashCode(_) {
  101023. return J.get$hashCode$(this.value);
  101024. },
  101025. toString$0(_) {
  101026. return J.toString$0$(this.value);
  101027. },
  101028. $isAstNode0: 1,
  101029. get$span(receiver) {
  101030. return this.span;
  101031. }
  101032. };
  101033. A.ValueExpression0.prototype = {
  101034. accept$1$1(visitor) {
  101035. return visitor.visitValueExpression$1(this);
  101036. },
  101037. accept$1(visitor) {
  101038. return this.accept$1$1(visitor, type$.dynamic);
  101039. },
  101040. toString$0(_) {
  101041. return A.serializeValue0(this.value, true, true);
  101042. },
  101043. $isExpression0: 1,
  101044. $isAstNode0: 1,
  101045. get$span(receiver) {
  101046. return this.span;
  101047. }
  101048. };
  101049. A.valueClass_closure.prototype = {
  101050. call$0() {
  101051. var t2,
  101052. t1 = type$.JSClass,
  101053. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  101054. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  101055. t1 = type$.String;
  101056. t2 = type$.Function;
  101057. 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));
  101058. A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertColor", new A.valueClass__closure8(), "assertFunction", new A.valueClass__closure9(), "assertMap", new A.valueClass__closure10(), "assertNumber", new A.valueClass__closure11(), "assertString", new A.valueClass__closure12(), "tryMap", new A.valueClass__closure13(), "equals", new A.valueClass__closure14(), "hashCode", new A.valueClass__closure15(), "toString", new A.valueClass__closure16()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  101059. return jsClass;
  101060. },
  101061. $signature: 25
  101062. };
  101063. A.valueClass__closure.prototype = {
  101064. call$1($self) {
  101065. return J.toString$0$($self);
  101066. },
  101067. $signature: 59
  101068. };
  101069. A.valueClass__closure0.prototype = {
  101070. call$1($self) {
  101071. return new self.immutable.List($self.get$asList());
  101072. },
  101073. $signature: 557
  101074. };
  101075. A.valueClass__closure1.prototype = {
  101076. call$1($self) {
  101077. return $self.get$hasBrackets();
  101078. },
  101079. $signature: 45
  101080. };
  101081. A.valueClass__closure2.prototype = {
  101082. call$1($self) {
  101083. return $self.get$isTruthy();
  101084. },
  101085. $signature: 45
  101086. };
  101087. A.valueClass__closure3.prototype = {
  101088. call$1($self) {
  101089. return $self.get$realNull();
  101090. },
  101091. $signature: 219
  101092. };
  101093. A.valueClass__closure4.prototype = {
  101094. call$1($self) {
  101095. return $self.get$separator($self).separator;
  101096. },
  101097. $signature: 558
  101098. };
  101099. A.valueClass__closure5.prototype = {
  101100. call$3($self, sassIndex, $name) {
  101101. return $self.sassIndexToListIndex$2(sassIndex, $name);
  101102. },
  101103. call$2($self, sassIndex) {
  101104. return this.call$3($self, sassIndex, null);
  101105. },
  101106. "call*": "call$3",
  101107. $requiredArgCount: 2,
  101108. $defaultValues() {
  101109. return [null];
  101110. },
  101111. $signature: 559
  101112. };
  101113. A.valueClass__closure6.prototype = {
  101114. call$2($self, index) {
  101115. return index < 1 && index >= -1 ? $self : self.undefined;
  101116. },
  101117. $signature: 228
  101118. };
  101119. A.valueClass__closure7.prototype = {
  101120. call$2($self, $name) {
  101121. return $self.assertBoolean$1($name);
  101122. },
  101123. call$1($self) {
  101124. return this.call$2($self, null);
  101125. },
  101126. "call*": "call$2",
  101127. $requiredArgCount: 1,
  101128. $defaultValues() {
  101129. return [null];
  101130. },
  101131. $signature: 560
  101132. };
  101133. A.valueClass__closure8.prototype = {
  101134. call$2($self, $name) {
  101135. return $self.assertColor$1($name);
  101136. },
  101137. call$1($self) {
  101138. return this.call$2($self, null);
  101139. },
  101140. "call*": "call$2",
  101141. $requiredArgCount: 1,
  101142. $defaultValues() {
  101143. return [null];
  101144. },
  101145. $signature: 561
  101146. };
  101147. A.valueClass__closure9.prototype = {
  101148. call$2($self, $name) {
  101149. return $self.assertFunction$1($name);
  101150. },
  101151. call$1($self) {
  101152. return this.call$2($self, null);
  101153. },
  101154. "call*": "call$2",
  101155. $requiredArgCount: 1,
  101156. $defaultValues() {
  101157. return [null];
  101158. },
  101159. $signature: 562
  101160. };
  101161. A.valueClass__closure10.prototype = {
  101162. call$2($self, $name) {
  101163. return $self.assertMap$1($name);
  101164. },
  101165. call$1($self) {
  101166. return this.call$2($self, null);
  101167. },
  101168. "call*": "call$2",
  101169. $requiredArgCount: 1,
  101170. $defaultValues() {
  101171. return [null];
  101172. },
  101173. $signature: 563
  101174. };
  101175. A.valueClass__closure11.prototype = {
  101176. call$2($self, $name) {
  101177. return $self.assertNumber$1($name);
  101178. },
  101179. call$1($self) {
  101180. return this.call$2($self, null);
  101181. },
  101182. "call*": "call$2",
  101183. $requiredArgCount: 1,
  101184. $defaultValues() {
  101185. return [null];
  101186. },
  101187. $signature: 564
  101188. };
  101189. A.valueClass__closure12.prototype = {
  101190. call$2($self, $name) {
  101191. return $self.assertString$1($name);
  101192. },
  101193. call$1($self) {
  101194. return this.call$2($self, null);
  101195. },
  101196. "call*": "call$2",
  101197. $requiredArgCount: 1,
  101198. $defaultValues() {
  101199. return [null];
  101200. },
  101201. $signature: 565
  101202. };
  101203. A.valueClass__closure13.prototype = {
  101204. call$1($self) {
  101205. return $self.tryMap$0();
  101206. },
  101207. $signature: 566
  101208. };
  101209. A.valueClass__closure14.prototype = {
  101210. call$2($self, other) {
  101211. return $self.$eq(0, other);
  101212. },
  101213. $signature: 567
  101214. };
  101215. A.valueClass__closure15.prototype = {
  101216. call$2($self, _) {
  101217. return $self.get$hashCode($self);
  101218. },
  101219. call$1($self) {
  101220. return this.call$2($self, null);
  101221. },
  101222. "call*": "call$2",
  101223. $requiredArgCount: 1,
  101224. $defaultValues() {
  101225. return [null];
  101226. },
  101227. $signature: 568
  101228. };
  101229. A.valueClass__closure16.prototype = {
  101230. call$1($self) {
  101231. return A.serializeValue0($self, true, true);
  101232. },
  101233. $signature: 211
  101234. };
  101235. A.Value0.prototype = {
  101236. get$isTruthy() {
  101237. return true;
  101238. },
  101239. get$separator(_) {
  101240. return B.ListSeparator_undecided_null_undecided0;
  101241. },
  101242. get$hasBrackets() {
  101243. return false;
  101244. },
  101245. get$asList() {
  101246. return A._setArrayType([this], type$.JSArray_Value_2);
  101247. },
  101248. get$lengthAsList() {
  101249. return 1;
  101250. },
  101251. get$isBlank() {
  101252. return false;
  101253. },
  101254. get$isSpecialNumber() {
  101255. return false;
  101256. },
  101257. get$isVar() {
  101258. return false;
  101259. },
  101260. get$realNull() {
  101261. return this;
  101262. },
  101263. sassIndexToListIndex$2(sassIndex, $name) {
  101264. var t1, t2, index,
  101265. indexValue = sassIndex.assertNumber$1($name);
  101266. if (indexValue.get$hasUnits()) {
  101267. t1 = indexValue.get$unitString();
  101268. t2 = indexValue.unitSuggestion$1($name == null ? "index" : $name);
  101269. A.EvaluationContext_current0().warn$2(0, "$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  101270. }
  101271. index = indexValue.assertInt$1($name);
  101272. if (index === 0)
  101273. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  101274. if (Math.abs(index) > this.get$lengthAsList())
  101275. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  101276. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  101277. },
  101278. assertBoolean$1($name) {
  101279. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  101280. },
  101281. assertCalculation$1($name) {
  101282. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  101283. },
  101284. assertColor$1($name) {
  101285. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  101286. },
  101287. assertFunction$1($name) {
  101288. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  101289. },
  101290. assertMap$1($name) {
  101291. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  101292. },
  101293. tryMap$0() {
  101294. return null;
  101295. },
  101296. assertNumber$1($name) {
  101297. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  101298. },
  101299. assertNumber$0() {
  101300. return this.assertNumber$1(null);
  101301. },
  101302. assertString$1($name) {
  101303. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  101304. },
  101305. _value$_selectorString$1($name) {
  101306. var string = this._value$_selectorStringOrNull$0();
  101307. if (string != null)
  101308. return string;
  101309. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  101310. },
  101311. _value$_selectorStringOrNull$0() {
  101312. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  101313. if (_this instanceof A.SassString0)
  101314. return _this._string0$_text;
  101315. if (!(_this instanceof A.SassList0))
  101316. return _null;
  101317. t1 = _this._list1$_contents;
  101318. t2 = t1.length;
  101319. if (t2 === 0)
  101320. return _null;
  101321. result = A._setArrayType([], type$.JSArray_String);
  101322. t3 = _this._list1$_separator;
  101323. switch (t3) {
  101324. case B.ListSeparator_rXA0:
  101325. for (_i = 0; _i < t2; ++_i) {
  101326. complex = t1[_i];
  101327. if (complex instanceof A.SassString0)
  101328. result.push(complex._string0$_text);
  101329. else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_EVt0) {
  101330. string = complex._value$_selectorStringOrNull$0();
  101331. if (string == null)
  101332. return _null;
  101333. result.push(string);
  101334. } else
  101335. return _null;
  101336. }
  101337. break;
  101338. case B.ListSeparator_zg90:
  101339. return _null;
  101340. default:
  101341. for (_i = 0; _i < t2; ++_i) {
  101342. compound = t1[_i];
  101343. if (compound instanceof A.SassString0)
  101344. result.push(compound._string0$_text);
  101345. else
  101346. return _null;
  101347. }
  101348. break;
  101349. }
  101350. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA0 ? ", " : " ");
  101351. },
  101352. withListContents$2$separator(contents, separator) {
  101353. var t1 = separator == null ? this.get$separator(this) : separator,
  101354. t2 = this.get$hasBrackets();
  101355. return A.SassList$0(contents, t1, t2);
  101356. },
  101357. withListContents$1(contents) {
  101358. return this.withListContents$2$separator(contents, null);
  101359. },
  101360. greaterThan$1(other) {
  101361. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  101362. },
  101363. greaterThanOrEquals$1(other) {
  101364. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  101365. },
  101366. lessThan$1(other) {
  101367. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  101368. },
  101369. lessThanOrEquals$1(other) {
  101370. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  101371. },
  101372. times$1(other) {
  101373. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  101374. },
  101375. modulo$1(other) {
  101376. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  101377. },
  101378. plus$1(other) {
  101379. if (other instanceof A.SassString0)
  101380. return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  101381. else if (other instanceof A.SassCalculation0)
  101382. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  101383. else
  101384. return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  101385. },
  101386. minus$1(other) {
  101387. if (other instanceof A.SassCalculation0)
  101388. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  101389. else
  101390. return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  101391. },
  101392. dividedBy$1(other) {
  101393. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  101394. },
  101395. unaryPlus$0() {
  101396. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  101397. },
  101398. unaryMinus$0() {
  101399. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  101400. },
  101401. unaryNot$0() {
  101402. return B.SassBoolean_false0;
  101403. },
  101404. withoutSlash$0() {
  101405. return this;
  101406. },
  101407. toString$0(_) {
  101408. return A.serializeValue0(this, true, true);
  101409. }
  101410. };
  101411. A.VariableExpression0.prototype = {
  101412. accept$1$1(visitor) {
  101413. return visitor.visitVariableExpression$1(this);
  101414. },
  101415. accept$1(visitor) {
  101416. return this.accept$1$1(visitor, type$.dynamic);
  101417. },
  101418. toString$0(_) {
  101419. var t1 = this.namespace,
  101420. t2 = this.name;
  101421. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  101422. },
  101423. $isExpression0: 1,
  101424. $isAstNode0: 1,
  101425. get$span(receiver) {
  101426. return this.span;
  101427. }
  101428. };
  101429. A.VariableDeclaration0.prototype = {
  101430. accept$1$1(visitor) {
  101431. return visitor.visitVariableDeclaration$1(this);
  101432. },
  101433. accept$1(visitor) {
  101434. return this.accept$1$1(visitor, type$.dynamic);
  101435. },
  101436. toString$0(_) {
  101437. var t1 = this.namespace;
  101438. t1 = t1 != null ? "" + (t1 + ".") : "";
  101439. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  101440. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101441. },
  101442. $isAstNode0: 1,
  101443. $isStatement0: 1,
  101444. get$span(receiver) {
  101445. return this.span;
  101446. }
  101447. };
  101448. A.WarnRule0.prototype = {
  101449. accept$1$1(visitor) {
  101450. return visitor.visitWarnRule$1(this);
  101451. },
  101452. accept$1(visitor) {
  101453. return this.accept$1$1(visitor, type$.dynamic);
  101454. },
  101455. toString$0(_) {
  101456. return "@warn " + this.expression.toString$0(0) + ";";
  101457. },
  101458. $isAstNode0: 1,
  101459. $isStatement0: 1,
  101460. get$span(receiver) {
  101461. return this.span;
  101462. }
  101463. };
  101464. A.WhileRule0.prototype = {
  101465. accept$1$1(visitor) {
  101466. return visitor.visitWhileRule$1(this);
  101467. },
  101468. accept$1(visitor) {
  101469. return this.accept$1$1(visitor, type$.dynamic);
  101470. },
  101471. toString$0(_) {
  101472. var t1 = this.children;
  101473. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  101474. },
  101475. get$span(receiver) {
  101476. return this.span;
  101477. }
  101478. };
  101479. (function aliases() {
  101480. var _ = J.LegacyJavaScriptObject.prototype;
  101481. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  101482. _ = A.JsLinkedHashMap.prototype;
  101483. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  101484. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  101485. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  101486. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  101487. _ = A._BufferingStreamSubscription.prototype;
  101488. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  101489. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  101490. _ = A.ListMixin.prototype;
  101491. _.super$ListMixin$setRange = _.setRange$4;
  101492. _ = A.Iterable.prototype;
  101493. _.super$Iterable$where = _.where$1;
  101494. _.super$Iterable$skipWhile = _.skipWhile$1;
  101495. _ = A.ModifiableCssParentNode.prototype;
  101496. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  101497. _ = A.SimpleSelector.prototype;
  101498. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  101499. _.super$SimpleSelector$unify = _.unify$1;
  101500. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  101501. _ = A.Parser.prototype;
  101502. _.super$Parser$silentComment = _.silentComment$0;
  101503. _ = A.StylesheetParser.prototype;
  101504. _.super$StylesheetParser$importArgument = _.importArgument$0;
  101505. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  101506. _ = A.Value.prototype;
  101507. _.super$Value$assertMap = _.assertMap$1;
  101508. _.super$Value$plus = _.plus$1;
  101509. _.super$Value$minus = _.minus$1;
  101510. _.super$Value$dividedBy = _.dividedBy$1;
  101511. _ = A.SassNumber.prototype;
  101512. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  101513. _.super$SassNumber$coerce = _.coerce$3;
  101514. _.super$SassNumber$coerceValue = _.coerceValue$3;
  101515. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  101516. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  101517. _.super$SassNumber$greaterThan = _.greaterThan$1;
  101518. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  101519. _.super$SassNumber$lessThan = _.lessThan$1;
  101520. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  101521. _.super$SassNumber$modulo = _.modulo$1;
  101522. _.super$SassNumber$plus = _.plus$1;
  101523. _.super$SassNumber$minus = _.minus$1;
  101524. _.super$SassNumber$times = _.times$1;
  101525. _.super$SassNumber$dividedBy = _.dividedBy$1;
  101526. _ = A.AnySelectorVisitor.prototype;
  101527. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  101528. _ = A.EveryCssVisitor.prototype;
  101529. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  101530. _ = A.ReplaceExpressionVisitor.prototype;
  101531. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  101532. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  101533. _ = A.SourceSpanMixin.prototype;
  101534. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  101535. _.super$SourceSpanMixin$$eq = _.$eq;
  101536. _ = A.StringScanner.prototype;
  101537. _.super$StringScanner$readChar = _.readChar$0;
  101538. _.super$StringScanner$scanChar = _.scanChar$1;
  101539. _.super$StringScanner$scan = _.scan$1;
  101540. _.super$StringScanner$matches = _.matches$1;
  101541. _ = A.AnySelectorVisitor0.prototype;
  101542. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  101543. _ = A.EveryCssVisitor0.prototype;
  101544. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  101545. _ = A.ModifiableCssParentNode0.prototype;
  101546. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  101547. _ = A.SassNumber0.prototype;
  101548. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  101549. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  101550. _.super$SassNumber$coerce0 = _.coerce$3;
  101551. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  101552. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  101553. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  101554. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  101555. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  101556. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  101557. _.super$SassNumber$lessThan0 = _.lessThan$1;
  101558. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  101559. _.super$SassNumber$modulo0 = _.modulo$1;
  101560. _.super$SassNumber$plus0 = _.plus$1;
  101561. _.super$SassNumber$minus0 = _.minus$1;
  101562. _.super$SassNumber$times0 = _.times$1;
  101563. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  101564. _ = A.Parser1.prototype;
  101565. _.super$Parser$silentComment0 = _.silentComment$0;
  101566. _ = A.ReplaceExpressionVisitor0.prototype;
  101567. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  101568. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  101569. _ = A.SimpleSelector0.prototype;
  101570. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  101571. _.super$SimpleSelector$unify0 = _.unify$1;
  101572. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  101573. _ = A.StylesheetParser0.prototype;
  101574. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  101575. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  101576. _ = A.Value0.prototype;
  101577. _.super$Value$assertMap0 = _.assertMap$1;
  101578. _.super$Value$plus0 = _.plus$1;
  101579. _.super$Value$minus0 = _.minus$1;
  101580. _.super$Value$dividedBy0 = _.dividedBy$1;
  101581. })();
  101582. (function installTearOffs() {
  101583. var _static_2 = hunkHelpers._static_2,
  101584. _instance_1_i = hunkHelpers._instance_1i,
  101585. _instance_1_u = hunkHelpers._instance_1u,
  101586. _static_1 = hunkHelpers._static_1,
  101587. _static_0 = hunkHelpers._static_0,
  101588. _static = hunkHelpers.installStaticTearOff,
  101589. _instance = hunkHelpers.installInstanceTearOff,
  101590. _instance_2_u = hunkHelpers._instance_2u,
  101591. _instance_0_i = hunkHelpers._instance_0i,
  101592. _instance_0_u = hunkHelpers._instance_0u;
  101593. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 247);
  101594. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  101595. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  101596. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  101597. _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 134);
  101598. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  101599. _instance_1_u(A.GeneralConstantMap.prototype, "get$containsKey", "containsKey$1", 9);
  101600. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  101601. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 135);
  101602. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 135);
  101603. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 135);
  101604. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  101605. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 133);
  101606. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 65);
  101607. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  101608. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 572, 0);
  101609. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  101610. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  101611. }], 573, 1);
  101612. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  101613. return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
  101614. }], 574, 1);
  101615. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  101616. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
  101617. }], 575, 1);
  101618. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  101619. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  101620. }], 576, 0);
  101621. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  101622. return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
  101623. }], 577, 0);
  101624. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  101625. return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
  101626. }], 578, 0);
  101627. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 579, 0);
  101628. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 580, 0);
  101629. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 581, 0);
  101630. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 582, 0);
  101631. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 583, 0);
  101632. _static_1(A, "async___printToZone$closure", "_printToZone", 113);
  101633. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 584, 0);
  101634. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  101635. return [null];
  101636. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 223, 0, 0);
  101637. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 65);
  101638. var _;
  101639. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
  101640. _instance(_, "get$addError", 0, 1, function() {
  101641. return [null];
  101642. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 144, 0, 0);
  101643. _instance_0_i(_, "get$close", "close$0", 500);
  101644. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
  101645. _instance_2_u(_, "get$_addError", "_addError$2", 65);
  101646. _instance_0_u(_, "get$_close", "_close$0", 0);
  101647. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  101648. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  101649. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 585, 0, 0);
  101650. _instance_0_i(_, "get$resume", "resume$0", 0);
  101651. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  101652. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  101653. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
  101654. _instance_2_u(_, "get$_onError", "_onError$2", 65);
  101655. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  101656. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  101657. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  101658. _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
  101659. _instance_2_u(_, "get$_handleError", "_handleError$2", 319);
  101660. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  101661. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 250);
  101662. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 134);
  101663. _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 247);
  101664. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  101665. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  101666. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 162, 0, 0);
  101667. _instance_1_i(_, "get$contains", "contains$1", 9);
  101668. _instance_1_i(_, "get$add", "add$1", 9);
  101669. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 162, 0, 0);
  101670. _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 9);
  101671. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  101672. _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  101673. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 88);
  101674. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 134);
  101675. _static_2(A, "core__identical$closure", "identical", 250);
  101676. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  101677. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  101678. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
  101679. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  101680. return A.max(a, b, type$.num);
  101681. }], 586, 1);
  101682. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
  101683. _instance(_, "get$setError", 0, 1, function() {
  101684. return [null];
  101685. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 144, 0, 0);
  101686. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  101687. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  101688. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  101689. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 251);
  101690. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  101691. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  101692. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  101693. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  101694. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  101695. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 409);
  101696. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  101697. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  101698. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  101699. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 67);
  101700. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  101701. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  101702. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  101703. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  101704. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 204);
  101705. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 204);
  101706. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  101707. _static_1(A, "color0___opacify$closure", "_opacify", 26);
  101708. _static_1(A, "color0___transparentize$closure", "_transparentize", 26);
  101709. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  101710. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  101711. _instance_0_u(_, "get$string", "string$0", 32);
  101712. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  101713. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 289, 0, 0);
  101714. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 110);
  101715. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 110);
  101716. _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"], 294, 0, 0);
  101717. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  101718. return {color: null};
  101719. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 109, 0, 0);
  101720. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  101721. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  101722. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  101723. return {color: null};
  101724. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 155, 0, 0);
  101725. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
  101726. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  101727. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  101728. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
  101729. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  101730. _static_1(A, "utils__isPublic$closure", "isPublic", 8);
  101731. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 82);
  101732. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  101733. _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"], 404, 0, 0);
  101734. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 160);
  101735. _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"], 257, 0, 0);
  101736. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 160);
  101737. _instance_1_u(A.RecursiveStatementVisitor.prototype, "get$visitChildren", "visitChildren$1", 272);
  101738. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  101739. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  101740. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 275);
  101741. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 111);
  101742. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  101743. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  101744. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  101745. return {color: null};
  101746. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 109, 0, 0);
  101747. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 90);
  101748. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 90);
  101749. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 90);
  101750. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 90);
  101751. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 214);
  101752. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 214);
  101753. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  101754. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  101755. }], 589, 0);
  101756. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  101757. return A._collect($event, soFar, type$.dynamic);
  101758. }], 590, 0);
  101759. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  101760. _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"], 315, 0, 0);
  101761. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 191);
  101762. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 82);
  101763. _static_1(A, "color2___opacify$closure", "_opacify0", 23);
  101764. _static_1(A, "color2___transparentize$closure", "_transparentize0", 23);
  101765. _static(A, "compile__compile$closure", 1, function() {
  101766. return [null];
  101767. }, ["call$2", "call$1"], ["compile0", function(path) {
  101768. return A.compile0(path, null);
  101769. }], 591, 0);
  101770. _static(A, "compile__compileString$closure", 1, function() {
  101771. return [null];
  101772. }, ["call$2", "call$1"], ["compileString0", function(text) {
  101773. return A.compileString0(text, null);
  101774. }], 592, 0);
  101775. _static(A, "compile__compileAsync$closure", 1, function() {
  101776. return [null];
  101777. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  101778. return A.compileAsync1(path, null);
  101779. }], 593, 0);
  101780. _static(A, "compile__compileStringAsync$closure", 1, function() {
  101781. return [null];
  101782. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  101783. return A.compileStringAsync1(text, null);
  101784. }], 594, 0);
  101785. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 595);
  101786. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 252);
  101787. _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"], 401, 0, 0);
  101788. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 191);
  101789. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 252);
  101790. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  101791. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 596);
  101792. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  101793. return {color: null};
  101794. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 109, 0, 0);
  101795. _static_2(A, "legacy__render$closure", "render", 597);
  101796. _static_1(A, "legacy__renderSync$closure", "renderSync", 598);
  101797. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  101798. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 70);
  101799. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  101800. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  101801. return {color: null};
  101802. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 155, 0, 0);
  101803. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
  101804. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  101805. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  101806. _instance_0_u(_, "get$string", "string$0", 32);
  101807. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  101808. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  101809. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  101810. _static_1(A, "sass__main$closure", "main0", 599);
  101811. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  101812. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  101813. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  101814. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  101815. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  101816. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  101817. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 516);
  101818. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 111);
  101819. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  101820. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
  101821. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  101822. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  101823. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 533, 0, 0);
  101824. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 132);
  101825. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 132);
  101826. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  101827. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  101828. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  101829. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 600);
  101830. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 601);
  101831. _static_1(A, "utils0__isPublic$closure", "isPublic0", 8);
  101832. _static(A, "path__absolute$closure", 1, function() {
  101833. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  101834. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
  101835. return A.absolute(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  101836. }, function(part1, part2) {
  101837. return A.absolute(part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null);
  101838. }, function(part1, part2, part3) {
  101839. return A.absolute(part1, part2, part3, null, null, null, null, null, null, null, null, null, null, null, null);
  101840. }, function(part1, part2, part3, part4) {
  101841. return A.absolute(part1, part2, part3, part4, null, null, null, null, null, null, null, null, null, null, null);
  101842. }, function(part1, part2, part3, part4, part5, part6) {
  101843. return A.absolute(part1, part2, part3, part4, part5, part6, null, null, null, null, null, null, null, null, null);
  101844. }, function(part1, part2, part3, part4, part5) {
  101845. return A.absolute(part1, part2, part3, part4, part5, null, null, null, null, null, null, null, null, null, null);
  101846. }], 602, 0);
  101847. _static_1(A, "path__prettyUri$closure", "prettyUri", 76);
  101848. _static_1(A, "character__isWhitespace$closure", "isWhitespace", 34);
  101849. _static_1(A, "character__isNewline$closure", "isNewline", 34);
  101850. _static_1(A, "character__isHex$closure", "isHex", 34);
  101851. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 44);
  101852. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 44);
  101853. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 44);
  101854. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 44);
  101855. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 58);
  101856. _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 34);
  101857. _static_1(A, "character0__isNewline$closure", "isNewline0", 34);
  101858. _static_1(A, "character0__isHex$closure", "isHex0", 34);
  101859. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 44);
  101860. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 44);
  101861. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 44);
  101862. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 44);
  101863. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 448);
  101864. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 58);
  101865. _static_1(A, "value0__wrapValue$closure", "wrapValue", 403);
  101866. })();
  101867. (function inheritance() {
  101868. var _mixin = hunkHelpers.mixin,
  101869. _inherit = hunkHelpers.inherit,
  101870. _inheritMany = hunkHelpers.inheritMany;
  101871. _inherit(A.Object, null);
  101872. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, 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._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, 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.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._SetBase_Object_SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, 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._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, 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._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A.BinaryOperationExpression, A.BooleanExpression, A.CalculationExpression, 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.ImporterResult, A.InterpolationBuffer, A.InterpolationMap, A.FileSystemException, A.Stderr, A._QuietLogger, A.DeprecationHandlingLogger, 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.CalculationInterpolation, A._ColorFormatEnum, A.SpanColorFormat, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.EveryCssVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.DependencyReport, A.RecursiveStatementVisitor, A.ReplaceExpressionVisitor, A.SelectorSearchVisitor, A._SerializeVisitor, A.SerializeResult, 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.Tuple2, A.Tuple3, A.Tuple4, 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.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.BinaryOperationExpression0, A.BooleanExpression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DeprecationHandlingLogger0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.EveryCssVisitor0, A.SassScriptException0, 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.LazyFileSpan0, A.ListExpression0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, 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.SerializeResult0, 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]);
  101873. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
  101874. _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
  101875. _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.Module1, 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.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._NodeSassColor, A._Channels, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporter0, A.CanonicalizeOptions, A.NodeImporterResult0, A.NodeImporterResult1, A._NodeSassList, A._ConstructorOptions, A.NodeLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._NodeSassNumber, A._ConstructorOptions0, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._NodeSassString, A._ConstructorOptions1, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
  101876. _inherit(J.JSUnmodifiableArray, J.JSArray);
  101877. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  101878. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes]);
  101879. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  101880. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  101881. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  101882. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.GeneralConstantMap__typeTest_closure, 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.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_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.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_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_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_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_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, 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.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__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.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Deprecation_fromId_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, 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.Environment__fromOneModule_closure, A.Environment__fromOneModule__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_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, 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_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__closure, A.global_closure25, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module_closure7, A.module__closure1, A.module_closure8, 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._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, 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.FilesystemImporter_canonicalize_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.DeprecationHandlingLogger_summarize_closure, A.DeprecationHandlingLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, 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_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, 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_visitDeclaration_closure1, 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_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitStringExpression_closure0, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._EvaluateVisitor__stackTrace_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__closure0, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__topologicalModules_visitModule, 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_visitDeclaration_closure, 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_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitStringExpression_closure, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._EvaluateVisitor__stackTrace_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_visitMapExpression_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_importForwards_closure2, A.AsyncEnvironment_importForwards_closure3, A.AsyncEnvironment_importForwards_closure4, 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.AsyncEnvironment__fromOneModule_closure0, A.AsyncEnvironment__fromOneModule__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_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_closure38, A._EvaluateVisitor__closure9, A._EvaluateVisitor__loadModule__closure5, A._EvaluateVisitor__combineCss_closure8, A._EvaluateVisitor__combineCss_closure9, A._EvaluateVisitor__combineCss_closure10, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__topologicalModules_visitModule2, 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_visitDeclaration_closure5, 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_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure14, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure10, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitStringExpression_closure2, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._EvaluateVisitor__stackTrace_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.booleanClass__closure, A.BuiltInCallable$mixin_closure0, A.CalculationExpression__verifyArguments_closure0, A.SassCalculation__verifyLength_closure0, A.global_closure30, A.global_closure31, 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__closure0, A.global_closure56, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module_closure16, A.module_closure17, A.module__closure4, A.module_closure18, 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.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, 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.SassColor_SassColor$hwb_toRgb0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A._compileStylesheet_closure1, A.ComplexSelectorComponent_toString_closure0, A.Configuration_toString_closure0, A._disallowedFunctionNames_closure0, A.DeprecationHandlingLogger_summarize_closure1, A.DeprecationHandlingLogger_summarize_closure2, A.EachRule_toString_closure0, A.Environment_importForwards_closure2, A.Environment_importForwards_closure3, A.Environment_importForwards_closure4, 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.Environment__fromOneModule_closure0, A.Environment__fromOneModule__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_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor__closure6, A._EvaluateVisitor__loadModule__closure3, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_closure7, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__topologicalModules_visitModule1, 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_visitDeclaration_closure3, 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_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure7, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitStringExpression_closure1, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._EvaluateVisitor__stackTrace_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.EveryCssVisitor_visitCssAtRule_closure0, A.EveryCssVisitor_visitCssKeyframeBlock_closure0, A.EveryCssVisitor_visitCssMediaRule_closure0, A.EveryCssVisitor_visitCssStyleRule_closure0, A.EveryCssVisitor_visitCssStylesheet_closure0, A.EveryCssVisitor_visitCssSupportsRule_closure0, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore_addExtensions_closure2, A.ExtensionStore_addExtensions__closure2, A.ExtensionStore_addExtensions__closure3, 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_closure2, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.Interpolation_toString_closure0, A.InterpolationMap_mapException_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure0, 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_resolveParentSelectors_closure0, A.SelectorList_resolveParentSelectors__closure1, A.SelectorList_resolveParentSelectors__closure2, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.listClass__closure, A.SassList_isBlank_closure0, A.MapExpression_toString_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.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.mapClass__closure, A.mapClass__closure0, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._abs_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._sqrt_closure0, A._acos_closure0, A._asin_closure0, A._atan_closure0, A._atan2_closure0, A._cos_closure0, A._sin_closure0, A._tan_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._numberFunction_closure0, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.local_closure1, A.local_closure2, A.local__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.legacyNullClass__closure, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, 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.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_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_visitMapExpression_closure0, A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A._wrapMain_closure, A._wrapMain_closure0, A._IsBogusVisitor_visitComplexSelector_closure0, A._IsUselessVisitor_visitComplexSelector_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.SelectorSearchVisitor_visitComplexSelector_closure0, A.SelectorSearchVisitor_visitCompoundSelector_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SimpleSelector_isSuperselector_closure0, A.SimpleSelector_isSuperselector__closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A.module_closure9, 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.legacyStringClass_closure, A.legacyStringClass_closure0, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.StylesheetParser_parse__closure2, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, 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__closure15, A.valueClass__closure16]);
  101883. _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._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A.MapMixin_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.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ComplexSelector_specificity_closure, A.CompoundSelector_specificity_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, 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.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__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__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure3, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, 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__closure14]);
  101884. _inherit(A.CastList, A._CastListBase);
  101885. _inherit(A.MapBase, A.MapMixin);
  101886. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
  101887. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]);
  101888. _inherit(A.ListBase, A._ListBase_Object_ListMixin);
  101889. _inherit(A.UnmodifiableListBase, A.ListBase);
  101890. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  101891. _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__asyncCompleteWithValue_closure, A._Future__chainFuture_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.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_closure0, 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_closure0, 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__closure4, 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_closure2, 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_visitIfRule_closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule__closure0, A._EvaluateVisitor_visitIncludeRule___closure0, A._EvaluateVisitor_visitIncludeRule____closure0, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__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__visitCalculationValue_closure0, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure2, 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_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, 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_closure0, 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_visitIfRule_closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitIncludeRule__closure, A._EvaluateVisitor_visitIncludeRule___closure, A._EvaluateVisitor_visitIncludeRule____closure, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__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__visitCalculationValue_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, 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_closure, 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.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure10, 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_closure6, 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_visitIfRule_closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor_visitIncludeRule_closure11, A._EvaluateVisitor_visitIncludeRule_closure12, A._EvaluateVisitor_visitIncludeRule_closure13, A._EvaluateVisitor_visitIncludeRule__closure2, A._EvaluateVisitor_visitIncludeRule___closure2, A._EvaluateVisitor_visitIncludeRule____closure2, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__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__visitCalculationValue_closure2, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure6, 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_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.legacyBooleanClass_closure, A.booleanClass_closure, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure7, 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_closure4, 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_visitIfRule_closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitIncludeRule__closure1, A._EvaluateVisitor_visitIncludeRule___closure1, A._EvaluateVisitor_visitIncludeRule____closure1, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__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__visitCalculationValue_closure1, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor_visitFunctionExpression_closure4, 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_closure3, 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.functionClass_closure, A.NodeImporter__tryPath_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure1, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.NodeToDartLogger_warn_closure, A.NodeToDartLogger_debug_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.main_closure, 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.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.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
  101892. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  101893. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
  101894. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  101895. _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
  101896. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  101897. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  101898. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  101899. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  101900. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  101901. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  101902. _inheritMany(A.ConstantMap, [A.ConstantStringMap, A.GeneralConstantMap]);
  101903. _inherit(A.Instantiation1, A.Instantiation);
  101904. _inherit(A.NullError, A.TypeError);
  101905. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  101906. _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  101907. _inherit(A.NativeTypedArray, A.NativeTypedData);
  101908. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  101909. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  101910. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  101911. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  101912. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  101913. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  101914. _inherit(A._TypeError, A._Error);
  101915. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  101916. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  101917. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  101918. _inherit(A._ControllerStream, A._StreamImpl);
  101919. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  101920. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  101921. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  101922. _inherit(A._ExpandStream, A._ForwardingStream);
  101923. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  101924. _inherit(A._IdentityHashMap, A._HashMap);
  101925. _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
  101926. _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
  101927. _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
  101928. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  101929. _inherit(A.SetBase, A._SetBase_Object_SetMixin);
  101930. _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
  101931. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  101932. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  101933. _inherit(A.Converter, A.StreamTransformerBase);
  101934. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
  101935. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  101936. _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
  101937. _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
  101938. _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
  101939. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  101940. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  101941. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  101942. _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
  101943. _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
  101944. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  101945. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  101946. _inherit(A._DataUri, A._Uri);
  101947. _inherit(A.ArgParserException, A.FormatException);
  101948. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  101949. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  101950. _inherit(A._CastQueueList, A.QueueList);
  101951. _inherit(A._UnionSet_SetBase_UnmodifiableSetMixin, A.SetBase);
  101952. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  101953. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  101954. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  101955. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  101956. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  101957. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  101958. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  101959. _inherit(A.InternalStyle, A.Style);
  101960. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  101961. _inherit(A.CssNode, A.AstNode);
  101962. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  101963. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  101964. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  101965. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  101966. _inherit(A.CssStylesheet, A.CssParentNode);
  101967. _inheritMany(A._Enum, [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.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  101968. _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]);
  101969. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  101970. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  101971. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  101972. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  101973. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  101974. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  101975. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  101976. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  101977. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  101978. _inherit(A.ExplicitConfiguration, A.Configuration);
  101979. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  101980. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  101981. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  101982. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  101983. _inherit(A.MergedExtension, A.Extension);
  101984. _inherit(A.Importer, A.AsyncImporter);
  101985. _inherit(A.FilesystemImporter, A.Importer);
  101986. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  101987. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  101988. _inherit(A.CssParser, A.ScssParser);
  101989. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  101990. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
  101991. _inherit(A.SassArgumentList, A.SassList);
  101992. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  101993. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  101994. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  101995. _inherit(A.SingleMapping, A.Mapping);
  101996. _inherit(A.FileLocation, A.SourceLocationMixin);
  101997. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  101998. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  101999. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  102000. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  102001. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  102002. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
  102003. _inherit(A.SassArgumentList0, A.SassList0);
  102004. _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
  102005. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  102006. _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]);
  102007. _inherit(A.CssNode0, A.AstNode0);
  102008. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  102009. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  102010. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  102011. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  102012. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  102013. _inherit(A.CompileStringOptions, A.CompileOptions);
  102014. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  102015. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  102016. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  102017. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  102018. _inherit(A.CssParser0, A.ScssParser0);
  102019. _inherit(A._NodeException, A.JsError);
  102020. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  102021. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  102022. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  102023. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  102024. _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
  102025. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  102026. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  102027. _inherit(A.MergedExtension0, A.Extension0);
  102028. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  102029. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  102030. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  102031. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  102032. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  102033. _inherit(A.CssStylesheet0, A.CssParentNode0);
  102034. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  102035. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
  102036. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
  102037. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  102038. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
  102039. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  102040. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  102041. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  102042. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  102043. _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
  102044. _mixin(A._SetBase_Object_SetMixin, A.SetMixin);
  102045. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  102046. _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
  102047. _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  102048. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102049. _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
  102050. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102051. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102052. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  102053. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  102054. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  102055. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102056. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102057. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  102058. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  102059. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  102060. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  102061. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  102062. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  102063. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  102064. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  102065. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102066. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102067. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  102068. })();
  102069. var init = {
  102070. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  102071. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
  102072. mangledNames: {},
  102073. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(String)", "bool(Object?)", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "int()", "bool(SimpleSelector)", "bool(SimpleSelector0)", "bool(ComplexSelector)", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(ComplexSelector0)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "SassColor0(List<Value0>)", "FileSpan()", "JSClass0()", "SassColor(List<Value>)", "~(Object?)", "Null(~())", "bool()", "Value()", "Future<Null>(Future<~>())", "String()", "double(double)", "bool(int?)", "SassMap0(List<Value0>)", "Value(Value)", "SassMap(List<Value>)", "Value?()", "Future<~>()", "Value0?()", "Value0(Value0)", "Value0()", "String?()", "bool(num,num)", "bool(Value0)", "bool(ComplexSelectorComponent0)", "bool(ComplexSelectorComponent)", "ComplexSelector0(ComplexSelector0)", "~(Value0,Value0)", "~(Value)", "bool(int)", "~(Value0)", "~(Value,Value)", "ValueExpression(Value)", "ValueExpression0(Value0)", "double(SassColor0)", "ComplexSelector(ComplexSelector)", "double(double,double)", "String(Object)", "~(Module0<Callable0>)", "Future<Value>()", "Null(Object,StackTrace)", "~(Module<Callable>)", "Future<Value?>()", "~(Object,StackTrace)", "bool(Object)", "bool(SelectorList)", "Future<Value0?>()", "Frame()", "bool(SelectorList0)", "Future<Value0>()", "Null(@)", "bool(Value)", "double(Value0)", "~(String,Value)", "String(@)", "Uri(Uri)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Future<Value0?>(Statement0)", "Value?(Statement)", "Object()", "Object(Object)", "Null([Object?])", "Value0?(Statement0)", "Stylesheet?()", "SassRuntimeException(AstNode)", "@()", "@(@)", "Future<Value0>(List<Value0>)", "Frame(String)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Declaration0(List<Statement0>,FileSpan)", "double(Value)", "int(Uri)", "Declaration(List<Statement>,FileSpan)", "SassRuntimeException0(AstNode0)", "Null(_NodeSassColor,num)", "Tuple3<Importer,Uri,Uri>?()", "~(String,Value0)", "Future<Value?>(Statement)", "Expression0(Expression0)", "bool(Module0<AsyncCallable0>)", "bool(ModifiableCssNode0)", "bool(_Highlight)", "Callable?()", "String(Expression0)", "Null(Module<AsyncCallable>)", "AsyncCallable?()", "String(String{color:Object?})", "Statement()", "~(Object)", "Null(Module0<AsyncCallable0>)", "~(String)", "Iterable<String>(Module0<AsyncCallable0>)", "Map<ComplexSelector,Extension>()", "bool(Module<Callable>)", "Iterable<String>(Module<Callable>)", "int(_NodeSassColor)", "bool(Module<AsyncCallable>)", "int(SassColor0)", "Iterable<String>(Module<AsyncCallable>)", "~(String,Object?)", "Iterable<String>(Module0<Callable0>)", "AsyncCallable0?()", "Callable0?()", "String(Expression)", "Expression(Expression)", "Map<ComplexSelector0,Extension0>()", "bool(ModifiableCssNode)", "List<String>()", "bool(@)", "Statement0()", "~(@)", "int(Object?)", "~(~())", "bool(Module0<Callable0>)", "double(SassNumber0,SassNumber0[String?,String?])", "AstNode?()", "bool(String?)", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "Uri(String)", "~(Object[StackTrace?])", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "int(int)", "bool(Statement)", "bool(Import)", "VariableDeclaration()", "AtRootRule(List<Statement>,FileSpan)", "String(String{color:@})", "Entry(Entry)", "int(double)", "Trace()", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "Set<0^>()<Object?>", "~(Module<AsyncCallable>)", "~(@,@)", "List<ExtensionStore>()", "bool(ModifiableCssParentNode)", "~(Object?,Object?)", "Future<SassNumber>()", "int(ComplexSelector)", "bool(UseRule)", "bool(ForwardRule)", "AsyncCallable?(Module<AsyncCallable>)", "Future<Object>()", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "Future<String>(Object?)", "double(double,double?,num)", "String(SassNumber)", "Frame(Tuple2<String,AstNode>)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "SassNumber()", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Uri?/()", "int(Frame)", "String(Frame)", "int(int,double?)", "bool(Frame)", "Future<Value>(List<Value>)", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "AstNode0(AstNode0)", "SassFunction0(List<Value0>)", "Callable?(Module<Callable>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "~(Module0<AsyncCallable0>)", "List<ExtensionStore0>()", "bool(ModifiableCssParentNode0)", "Map<String,Callable>(Module<Callable>)", "Future<SassNumber0>()", "AtRule(List<Statement>,FileSpan)", "bool(UseRule0)", "bool(ForwardRule0)", "~(Uint8List,String,int)", "~(Iterable<ExtensionStore>)", "List<Extension>()", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "String(Value0)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "Trace(String)", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "bool(Queue<Object?>)", "Value0?(Value0)", "SassNumber0()", "String(_NodeException)", "List<Extension0>()", "~([Object?])", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "double(SassNumber0,Object,Object[String?])", "int(ComplexSelector0)", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "~(String,@)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "String(int)", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "bool(Object?,Object?)", "Future<~>?()", "~(Iterable<ExtensionStore0>)", "int(int,SimpleSelector)", "AtRootQuery()", "Map<String,Value>(Module<AsyncCallable>)", "String(BuiltInCallable)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "Map<String,AstNode>(Module<AsyncCallable>)", "~(List<Value>)", "List<CssMediaQuery>()", "EvaluateResult()", "Module<Callable>()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "~(String,int)", "CssValue<String>(Interpolation)", "SassNumber(Value)", "UserDefinedCallable<Environment>(ContentBlock)", "SelectorList()", "Value(Expression)", "~(List<Statement>)", "Tuple2<Expression,Expression>(Tuple2<Expression,Expression>)", "CompoundSelector()", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Future<Stylesheet?>()", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "Statement({root:bool})", "String(Trace)", "Value(Object)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "Frame(String,String)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Frame(Frame)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "~(String,int?)", "Statement?()", "String(Argument0)", "int(int,int)", "ArgParser()", "ImmutableMap(SassArgumentList0)", "String(MapEntry<String,ConfiguredValue>)", "bool(Deprecation)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "0&(List<Value>)", "@(String)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "UseRule()", "Value?(Module<Callable>)", "Module<Callable>?(Module<Callable>)", "~(@,StackTrace)", "StyleRule(List<Statement>,FileSpan)", "Future<~>(List<Value0>)", "Null(@,@)", "EachRule(List<Statement>,FileSpan)", "Future<EvaluateResult0>()", "Future<Module0<AsyncCallable0>>()", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "Future<CssValue0<Value0>>(Expression0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "Future<Value0?>(Value0)", "ContentBlock(List<Statement>,FileSpan)", "Future<CssValue0<String>>(Interpolation0)", "Uint8List(@,@)", "MediaRule(List<Statement>,FileSpan)", "MixinRule(List<Statement>,FileSpan)", "Null(@,StackTrace)", "SupportsRule(List<Statement>,FileSpan)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "WhileRule(List<Statement>,FileSpan)", "Set<Deprecation>()", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "~(Expression)", "bool(Extension)", "Future<Value0>(Expression0)", "Value0/()", "Set<ModifiableBox<SelectorList>>()", "Object?(Object?)", "~(BinaryOperator)", "int(int,ComplexSelectorComponent)", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "AtRootQuery0()", "String(CssValue<Combinator>)", "0&(Object[Object?])", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableBox<SelectorList>>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "List<SimpleSelector>(Extender)", "SassString(SimpleSelector)", "0&(List<Value0>)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "List<Extender>?(SimpleSelector)", "double(_NodeSassColor)", "List<Extender>(PseudoSelector)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "SassString(int)", "SassString(String)", "AsyncImporter0(NodeImporter0)", "0&(@)", "PseudoSelector(ComplexSelector)", "int(int,ComplexSelectorComponent0)", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "SassScriptException()", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "Object(String)", "List<Value>(Value)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "SingleUnitSassNumber(double)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "bool(Queue<List<ComplexSelectorComponent>>)", "Object(Value0)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "EvaluateResult0()", "Module0<Callable0>()", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "bool(Version)", "bool(List<Iterable<ComplexSelectorComponent>>)", "CssValue0<String>(Interpolation0)", "bool(Tuple3<Importer,Uri,Uri>)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Uri(Tuple3<Importer,Uri,Uri>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "bool(PseudoSelector)", "Future<~>(List<Value>)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableBox0<SelectorList0>>)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "SelectorList?(PseudoSelector)", "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>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "bool(List<Value>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Future<EvaluateResult>()", "Future<Module<AsyncCallable>>()", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "@(@,String)", "int(num)", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "~(String,Option)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "Module<AsyncCallable>(Module<AsyncCallable>)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "String(Argument)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "SassList(ComplexSelector)", "int(_NodeSassMap)", "Null(Function,Function)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "Future<CssValue<Value>>(Expression)", "int?(SassNumber0)", "Iterable<ComplexSelector>(ComplexSelector)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "Future<@>()", "Future<Value?>(Value)", "SimpleSelector(SimpleSelector)", "Future<CssValue<String>>(Interpolation)", "~(List<Value0>)", "SassScriptException0()", "~(int,@)", "String(Object,@,@[@])", "String(Tuple2<Expression,Expression>)", "Tuple2<Expression0,Expression0>(Tuple2<Expression0,Expression0>)", "~(String,StackTrace?)", "String(String?)", "String(Value)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "SassMap(Value)", "JSUrl0?(FileSpan)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "~(Symbol0,@)", "SassString0(int)", "SassString0(String)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "Value?(Module<AsyncCallable>)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "_Future<@>(@)", "StyleRule0(List<Statement0>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "SassMap(SassMap)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "bool(String?,String?)", "Future<Value>(Expression)", "Value/()", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?,Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?,Object?,Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?,Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?,Object?,Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "~([Future<~>?])", "0^(0^,0^)<num>", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "String(int,IfClause)", "~(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?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "int(String?)", "Stylesheet0?()", "SassArgumentList0(Object,Object,Object[String?])"],
  102074. interceptorsByTag: null,
  102075. leafTags: null,
  102076. arrayRti: Symbol("$ti")
  102077. };
  102078. 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","Module1":"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","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","NativeFloat32List":"NativeTypedArrayOfDouble","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"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"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_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":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.V":"4","MapMixin.K":"3"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.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"],"Iterable.E":"2","ListIterable.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":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_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":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"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"]},"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":[]},"NullThrownError":{"TypeError":[],"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"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":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnionSet":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"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"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Version":{"VersionRange":[],"Comparable":["VersionRange"]},"VersionRange":{"Comparable":["VersionRange"]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"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":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"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":[]},"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":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"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":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LazyFileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"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":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"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":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"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":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.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":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2","MapMixin.K":"1"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"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":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"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":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.V":"1","MapMixin.K":"String"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  102079. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"SetBase":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_SetBase_Object_SetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Iterator":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
  102080. var string$ = {
  102081. x0a_BUG_: "\n\nBUG: This should include a source span!",
  102082. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  102083. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  102084. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  102085. x0a_This: "\n\nThis is only an error because you've set the ",
  102086. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  102087. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  102088. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  102089. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  102090. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  102091. x20It_wi: " It will be omitted from the generated CSS.",
  102092. 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",
  102093. x20depre: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  102094. x20in_in: " in interpolation here.\nIt may end up represented as ",
  102095. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  102096. x20is_av: " is available from multiple global modules.",
  102097. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  102098. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  102099. 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",
  102100. x20must_: " must not be greater than the number of characters in the file, ",
  102101. x20repet: " repetitive deprecation warnings omitted.",
  102102. x20targe: " targetLocations if the interpolation has ",
  102103. 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",
  102104. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  102105. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  102106. x20was_n: " was not declared with !default in the @used module.",
  102107. x20was_p: " was passed both by position and by name.",
  102108. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  102109. x21globai: "!global isn't allowed for variables in other modules.",
  102110. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  102111. x22x20can_: "\" can't be used as a parent in a compound selector.",
  102112. 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',
  102113. 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',
  102114. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  102115. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  102116. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  102117. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  102118. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  102119. x22packa: '"package:" URLs aren\'t supported on this platform.',
  102120. x24css_a: "$css and $module may not both be passed at once.",
  102121. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  102122. x24selec: "$selectors: At least one selector must be passed.",
  102123. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  102124. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  102125. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  102126. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  102127. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  102128. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  102129. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  102130. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  102131. x2c_whic: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  102132. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
  102133. x3d_____: "===== asynchronous gap ===========================\n",
  102134. 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.",
  102135. x40conte: "@content is only allowed within mixin declarations.",
  102136. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  102137. x40exten: "@extend may only be used within style rules.",
  102138. x40forwa: "@forward rules must be written before any other rules.",
  102139. x40funct: "@function if($condition, $if-true, $if-false) {",
  102140. x40use_r: "@use rules must be written before any other rules.",
  102141. A_list: "A list with more than one element must have an explicit separator.",
  102142. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  102143. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  102144. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  102145. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  102146. 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.",
  102147. At_rul: "At-rules may not be used within nested declarations.",
  102148. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  102149. Cannotfq: "Cannot extract a file path from a URI with a query component",
  102150. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  102151. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  102152. Could_: 'Could not find an option with short name "-',
  102153. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  102154. Declarm: "Declarations may only be used within style rules.",
  102155. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  102156. Either: "Either options.data or options.file must be set.",
  102157. Entrie: "Entries may not be removed from MergedMapView.",
  102158. 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",
  102159. Evalua: "Evaluation handles @include and its content block together.",
  102160. Expand: "Expandos are not allowed on strings, numbers, booleans or null",
  102161. Expectn: "Expected number, variable, function, or calculation.",
  102162. Expectv: "Expected variable, mixin, or function name",
  102163. Functi: "Functions may not be declared in control directives.",
  102164. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  102165. If_con: "If conditions is longer than one element, conjunction may not be null.",
  102166. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  102167. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  102168. Indent: "Indenting at the beginning of the document is illegal.",
  102169. Interpn: "Interpolation isn't allowed in namespaces.",
  102170. Interpp: "Interpolation isn't allowed in plain CSS.",
  102171. Invali: 'Invalid return value for custom function "',
  102172. It_s_n: "It's not clear which file to import. Found:\n",
  102173. May_on: "May only contains Strings or Expressions.",
  102174. Media_: "Media rules may not be used within nested declarations.",
  102175. Mixinsb: "Mixins may not be declared in control directives.",
  102176. Mixinscf: "Mixins may not contain function declarations.",
  102177. Mixinscm: "Mixins may not contain mixin declarations.",
  102178. Modulel: "Module loop: this module is already being loaded.",
  102179. Modulen: "Module namespaces aren't allowed in plain CSS.",
  102180. Nested: "Nested declarations aren't allowed in plain CSS.",
  102181. New_en: "New entries may not be added to MergedMapView.",
  102182. No_Sasc: "No Sass callable is currently being evaluated.",
  102183. No_Sass: "No Sass stylesheet is currently being evaluated.",
  102184. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  102185. Only_2: "Only 2 slash-separated elements allowed, but ",
  102186. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  102187. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  102188. Other_: "Other modules' members can't be defined with !global.",
  102189. Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  102190. Placeh: "Placeholder selectors aren't allowed here.",
  102191. Plain_: "Plain CSS functions don't support keyword arguments.",
  102192. Positi: "Positional arguments must come before keyword arguments.",
  102193. Privat: "Private members can't be accessed from outside their modules.",
  102194. RGB_pa: "RGB parameters may not be passed along with ",
  102195. Sass__: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  102196. Sass_v: "Sass variables aren't allowed in plain CSS.",
  102197. Silent: "Silent comments aren't allowed in plain CSS.",
  102198. Style_: "Style rules may not be used within nested declarations.",
  102199. Suppor: "Supports rules may not be used within nested declarations.",
  102200. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  102201. The_ca: "The canonicalize() method must return a URL.",
  102202. The_fie: "The findFileUrl() method must return a URL.",
  102203. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  102204. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  102205. The_lo: "The load() function must return an object with contents and syntax fields.",
  102206. The_pa: "The parent selector isn't allowed in plain CSS.",
  102207. The_sa: "The same variable may only be configured once.",
  102208. The_ta: 'The target selector was not found.\nUse "@extend ',
  102209. There_: "There's already a module with namespace \"",
  102210. This_d: 'This declaration has no argument named "$',
  102211. This_f: "This function isn't allowed in plain CSS.",
  102212. This_ma: 'This module and the new module both define a variable named "$',
  102213. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  102214. This_s: "This selector doesn't have any properties and won't be rendered.",
  102215. This_v: "This variable was not declared with !default in the @used module.",
  102216. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  102217. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  102218. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  102219. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  102220. Variab_: "Variable keyword argument map must have string keys.\n",
  102221. Variabs: "Variable keyword arguments must be a map (was ",
  102222. You_ma: "You may not @extend selectors across media queries.",
  102223. You_pr: "You probably don't mean to use the color value ",
  102224. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  102225. addExt_: "addExtension() can't be called for a const ExtensionStore.",
  102226. addExts: "addExtensions() can't be called for a const ExtensionStore.",
  102227. addSel: "addSelector() can't be called for a const ExtensionStore.",
  102228. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  102229. conten: "content-exists() may only be called within a mixin.",
  102230. leadin: "leadingCombinators and components may not both be empty.",
  102231. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  102232. math_r: "math.random() will no longer ignore $limit units (",
  102233. must_b: "must be a UniversalSelector or a TypeSelector",
  102234. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  102235. semico: "semicolons aren't allowed in the indented syntax.",
  102236. throug: "through() must return false for at least one parent of "
  102237. };
  102238. var type$ = (function rtii() {
  102239. var findType = A.findType;
  102240. return {
  102241. $env_1_1_String: findType("@<String>"),
  102242. ArgParser: findType("ArgParser"),
  102243. Argument: findType("Argument"),
  102244. ArgumentDeclaration: findType("ArgumentDeclaration"),
  102245. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  102246. Argument_2: findType("Argument0"),
  102247. AstNode: findType("AstNode"),
  102248. AstNode_2: findType("AstNode0"),
  102249. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  102250. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  102251. AsyncCallable: findType("AsyncCallable"),
  102252. AsyncCallable_2: findType("AsyncCallable0"),
  102253. AsyncImporter: findType("AsyncImporter0"),
  102254. Box_SelectorList: findType("Box<SelectorList>"),
  102255. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  102256. BuiltInCallable: findType("BuiltInCallable"),
  102257. BuiltInCallable_2: findType("BuiltInCallable0"),
  102258. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  102259. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  102260. BuiltInModule_Callable: findType("BuiltInModule<Callable>"),
  102261. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable0>"),
  102262. Callable: findType("Callable"),
  102263. Callable_2: findType("Callable0"),
  102264. ChangeType: findType("ChangeType"),
  102265. Comparable_dynamic: findType("Comparable<@>"),
  102266. Comparable_nullable_Object: findType("Comparable<Object?>"),
  102267. CompileResult: findType("CompileResult"),
  102268. CompileResult_2: findType("CompileResult0"),
  102269. ComplexSelector: findType("ComplexSelector"),
  102270. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  102271. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  102272. ComplexSelector_2: findType("ComplexSelector0"),
  102273. Configuration: findType("Configuration"),
  102274. Configuration_2: findType("Configuration0"),
  102275. ConfiguredValue: findType("ConfiguredValue"),
  102276. ConfiguredValue_2: findType("ConfiguredValue0"),
  102277. ConfiguredVariable: findType("ConfiguredVariable"),
  102278. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  102279. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  102280. ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
  102281. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  102282. CssAtRule: findType("CssAtRule"),
  102283. CssAtRule_2: findType("CssAtRule0"),
  102284. CssComment: findType("CssComment"),
  102285. CssComment_2: findType("CssComment0"),
  102286. CssImport: findType("CssImport"),
  102287. CssImport_2: findType("CssImport0"),
  102288. CssMediaQuery: findType("CssMediaQuery"),
  102289. CssMediaQuery_2: findType("CssMediaQuery0"),
  102290. CssMediaRule: findType("CssMediaRule"),
  102291. CssMediaRule_2: findType("CssMediaRule0"),
  102292. CssParentNode: findType("CssParentNode"),
  102293. CssParentNode_2: findType("CssParentNode0"),
  102294. CssStyleRule: findType("CssStyleRule"),
  102295. CssStyleRule_2: findType("CssStyleRule0"),
  102296. CssStylesheet: findType("CssStylesheet"),
  102297. CssStylesheet_2: findType("CssStylesheet0"),
  102298. CssSupportsRule: findType("CssSupportsRule"),
  102299. CssSupportsRule_2: findType("CssSupportsRule0"),
  102300. CssValue_Combinator: findType("CssValue<Combinator>"),
  102301. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  102302. CssValue_List_String: findType("CssValue<List<String>>"),
  102303. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  102304. CssValue_String: findType("CssValue<String>"),
  102305. CssValue_String_2: findType("CssValue0<String>"),
  102306. CssValue_Value: findType("CssValue<Value>"),
  102307. CssValue_Value_2: findType("CssValue0<Value0>"),
  102308. DateTime: findType("DateTime"),
  102309. Deprecation: findType("Deprecation"),
  102310. Deprecation_2: findType("Deprecation0"),
  102311. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  102312. Error: findType("Error"),
  102313. EvaluateResult: findType("EvaluateResult"),
  102314. EvaluateResult_2: findType("EvaluateResult0"),
  102315. EvaluationContext: findType("EvaluationContext"),
  102316. EvaluationContext_2: findType("EvaluationContext0"),
  102317. Exception: findType("Exception"),
  102318. Expression: findType("Expression"),
  102319. Expression_2: findType("Expression0"),
  102320. Extender: findType("Extender"),
  102321. Extender_2: findType("Extender0"),
  102322. Extension: findType("Extension"),
  102323. Extension_2: findType("Extension0"),
  102324. FileLocation: findType("FileLocation"),
  102325. FileSpan: findType("FileSpan"),
  102326. FormatException: findType("FormatException"),
  102327. Frame: findType("Frame"),
  102328. Function: findType("Function"),
  102329. FutureOr_EvaluateResult: findType("EvaluateResult/"),
  102330. FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
  102331. FutureOr_nullable_Uri: findType("Uri?/"),
  102332. Future_dynamic: findType("Future<@>"),
  102333. Future_void: findType("Future<~>"),
  102334. IfClause: findType("IfClause"),
  102335. IfClause_2: findType("IfClause0"),
  102336. ImmutableList: findType("ImmutableList"),
  102337. ImmutableMap: findType("ImmutableMap"),
  102338. Import: findType("Import"),
  102339. Import_2: findType("Import0"),
  102340. Importer: findType("Importer0"),
  102341. ImporterResult: findType("ImporterResult"),
  102342. ImporterResult_2: findType("ImporterResult0"),
  102343. InternalStyle: findType("InternalStyle"),
  102344. Interpolation: findType("Interpolation"),
  102345. InterpolationBuffer: findType("InterpolationBuffer"),
  102346. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  102347. Interpolation_2: findType("Interpolation0"),
  102348. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  102349. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  102350. Iterable_dynamic: findType("Iterable<@>"),
  102351. JSArray_Argument: findType("JSArray<Argument>"),
  102352. JSArray_Argument_2: findType("JSArray<Argument0>"),
  102353. JSArray_AstNode: findType("JSArray<AstNode>"),
  102354. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  102355. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  102356. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  102357. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  102358. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  102359. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  102360. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  102361. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  102362. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  102363. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  102364. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  102365. JSArray_Callable: findType("JSArray<Callable>"),
  102366. JSArray_Callable_2: findType("JSArray<Callable0>"),
  102367. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  102368. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  102369. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  102370. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  102371. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  102372. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  102373. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  102374. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  102375. JSArray_CssNode: findType("JSArray<CssNode>"),
  102376. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  102377. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  102378. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  102379. JSArray_Entry: findType("JSArray<Entry>"),
  102380. JSArray_Expression: findType("JSArray<Expression>"),
  102381. JSArray_Expression_2: findType("JSArray<Expression0>"),
  102382. JSArray_Extender: findType("JSArray<Extender>"),
  102383. JSArray_Extender_2: findType("JSArray<Extender0>"),
  102384. JSArray_Extension: findType("JSArray<Extension>"),
  102385. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  102386. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  102387. JSArray_Extension_2: findType("JSArray<Extension0>"),
  102388. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  102389. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  102390. JSArray_Frame: findType("JSArray<Frame>"),
  102391. JSArray_IfClause: findType("JSArray<IfClause>"),
  102392. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  102393. JSArray_Import: findType("JSArray<Import>"),
  102394. JSArray_Import_2: findType("JSArray<Import0>"),
  102395. JSArray_Importer: findType("JSArray<Importer0>"),
  102396. JSArray_Importer_2: findType("JSArray<Importer>"),
  102397. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  102398. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  102399. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  102400. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  102401. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  102402. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  102403. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  102404. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  102405. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  102406. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  102407. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  102408. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  102409. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  102410. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  102411. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  102412. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
  102413. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
  102414. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  102415. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  102416. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  102417. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  102418. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  102419. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  102420. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  102421. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  102422. JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
  102423. JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
  102424. JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
  102425. JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
  102426. JSArray_Object: findType("JSArray<Object>"),
  102427. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  102428. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  102429. JSArray_SassList: findType("JSArray<SassList>"),
  102430. JSArray_SassList_2: findType("JSArray<SassList0>"),
  102431. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  102432. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  102433. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  102434. JSArray_Statement: findType("JSArray<Statement>"),
  102435. JSArray_Statement_2: findType("JSArray<Statement0>"),
  102436. JSArray_String: findType("JSArray<String>"),
  102437. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  102438. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  102439. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  102440. JSArray_Trace: findType("JSArray<Trace>"),
  102441. JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
  102442. JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
  102443. JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
  102444. JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
  102445. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
  102446. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
  102447. JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
  102448. JSArray_UseRule: findType("JSArray<UseRule>"),
  102449. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  102450. JSArray_Value: findType("JSArray<Value>"),
  102451. JSArray_Value_2: findType("JSArray<Value0>"),
  102452. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  102453. JSArray__Highlight: findType("JSArray<_Highlight>"),
  102454. JSArray__Line: findType("JSArray<_Line>"),
  102455. JSArray_dynamic: findType("JSArray<@>"),
  102456. JSArray_int: findType("JSArray<int>"),
  102457. JSArray_nullable_String: findType("JSArray<String?>"),
  102458. JSClass: findType("JSClass0"),
  102459. JSFunction: findType("JSFunction0"),
  102460. JSNull: findType("JSNull"),
  102461. JSUrl: findType("JSUrl0"),
  102462. JavaScriptFunction: findType("JavaScriptFunction"),
  102463. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  102464. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  102465. JsSystemError: findType("JsSystemError"),
  102466. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  102467. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  102468. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  102469. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  102470. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  102471. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  102472. List_Extension: findType("List<Extension>"),
  102473. List_ExtensionStore: findType("List<ExtensionStore>"),
  102474. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  102475. List_Extension_2: findType("List<Extension0>"),
  102476. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  102477. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  102478. List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
  102479. List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
  102480. List_Module_Callable: findType("List<Module<Callable>>"),
  102481. List_Module_Callable_2: findType("List<Module0<Callable0>>"),
  102482. List_String: findType("List<String>"),
  102483. List_Value: findType("List<Value>"),
  102484. List_Value_2: findType("List<Value0>"),
  102485. List_WatchEvent: findType("List<WatchEvent>"),
  102486. List_dynamic: findType("List<@>"),
  102487. List_int: findType("List<int>"),
  102488. List_nullable_Object: findType("List<Object?>"),
  102489. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
  102490. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
  102491. MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
  102492. MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
  102493. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  102494. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  102495. MapKeySet_String: findType("MapKeySet<String>"),
  102496. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  102497. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  102498. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  102499. Map_String_AstNode: findType("Map<String,AstNode>"),
  102500. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  102501. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  102502. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  102503. Map_String_Callable: findType("Map<String,Callable>"),
  102504. Map_String_Callable_2: findType("Map<String,Callable0>"),
  102505. Map_String_Value: findType("Map<String,Value>"),
  102506. Map_String_Value_2: findType("Map<String,Value0>"),
  102507. Map_String_dynamic: findType("Map<String,@>"),
  102508. Map_dynamic_dynamic: findType("Map<@,@>"),
  102509. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  102510. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  102511. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  102512. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  102513. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  102514. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  102515. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  102516. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  102517. MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
  102518. MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
  102519. MixinRule: findType("MixinRule"),
  102520. MixinRule_2: findType("MixinRule0"),
  102521. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  102522. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  102523. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  102524. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  102525. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  102526. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  102527. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  102528. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  102529. ModifiableCssNode: findType("ModifiableCssNode"),
  102530. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  102531. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  102532. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  102533. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  102534. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  102535. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  102536. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  102537. Module_AsyncCallable: findType("Module<AsyncCallable>"),
  102538. Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
  102539. Module_Callable: findType("Module<Callable>"),
  102540. Module_Callable_2: findType("Module0<Callable0>"),
  102541. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  102542. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  102543. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  102544. NativeUint8List: findType("NativeUint8List"),
  102545. Never: findType("0&"),
  102546. NodeCompileResult: findType("NodeCompileResult"),
  102547. NodeImporter: findType("NodeImporter0"),
  102548. NodeImporterResult: findType("NodeImporterResult0"),
  102549. NodeImporterResult_2: findType("NodeImporterResult1"),
  102550. Null: findType("Null"),
  102551. Object: findType("Object"),
  102552. Option: findType("Option"),
  102553. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  102554. PathMap_String: findType("PathMap<String>"),
  102555. PathMap_nullable_String: findType("PathMap<String?>"),
  102556. Promise: findType("Promise"),
  102557. PseudoSelector: findType("PseudoSelector"),
  102558. PseudoSelector_2: findType("PseudoSelector0"),
  102559. RangeError: findType("RangeError"),
  102560. Record: findType("Record"),
  102561. RegExpMatch: findType("RegExpMatch"),
  102562. RenderContextOptions: findType("RenderContextOptions0"),
  102563. RenderResult: findType("RenderResult"),
  102564. Result_String: findType("Result<String>"),
  102565. Runes: findType("Runes"),
  102566. SassArgumentList: findType("SassArgumentList"),
  102567. SassArgumentList_2: findType("SassArgumentList0"),
  102568. SassBoolean: findType("SassBoolean"),
  102569. SassBoolean_2: findType("SassBoolean0"),
  102570. SassColor: findType("SassColor"),
  102571. SassColor_2: findType("SassColor0"),
  102572. SassFormatException: findType("SassFormatException"),
  102573. SassFormatException_2: findType("SassFormatException0"),
  102574. SassList: findType("SassList"),
  102575. SassList_2: findType("SassList0"),
  102576. SassMap: findType("SassMap"),
  102577. SassMap_2: findType("SassMap0"),
  102578. SassNumber: findType("SassNumber"),
  102579. SassNumber_2: findType("SassNumber0"),
  102580. SassRuntimeException: findType("SassRuntimeException"),
  102581. SassRuntimeException_2: findType("SassRuntimeException0"),
  102582. SassString: findType("SassString"),
  102583. SassString_2: findType("SassString0"),
  102584. SelectorList: findType("SelectorList"),
  102585. SelectorList_2: findType("SelectorList0"),
  102586. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  102587. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  102588. Set_Uri: findType("Set<Uri>"),
  102589. SimpleSelector: findType("SimpleSelector"),
  102590. SimpleSelector_2: findType("SimpleSelector0"),
  102591. SourceFile: findType("SourceFile"),
  102592. SourceLocation: findType("SourceLocation"),
  102593. SourceSpan: findType("SourceSpan"),
  102594. SourceSpanFormatException: findType("SourceSpanFormatException"),
  102595. SourceSpanWithContext: findType("SourceSpanWithContext"),
  102596. SpanColorFormat: findType("SpanColorFormat"),
  102597. SpanColorFormat_2: findType("SpanColorFormat0"),
  102598. StackTrace: findType("StackTrace"),
  102599. Statement: findType("Statement"),
  102600. Statement_2: findType("Statement0"),
  102601. StaticImport: findType("StaticImport"),
  102602. StaticImport_2: findType("StaticImport0"),
  102603. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  102604. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  102605. StreamQueue_String: findType("StreamQueue<String>"),
  102606. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  102607. String: findType("String"),
  102608. StylesheetNode: findType("StylesheetNode"),
  102609. Symbol: findType("Symbol0"),
  102610. Timer: findType("Timer"),
  102611. Trace: findType("Trace"),
  102612. Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
  102613. Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
  102614. Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
  102615. Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
  102616. Tuple2_PseudoSelector_int: findType("Tuple2<PseudoSelector,int>"),
  102617. Tuple2_PseudoSelector_int_2: findType("Tuple2<PseudoSelector0,int>"),
  102618. Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
  102619. Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
  102620. Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
  102621. Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
  102622. Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
  102623. Tuple2_String_InterpolationMap: findType("Tuple2<String,InterpolationMap>"),
  102624. Tuple2_String_InterpolationMap_2: findType("Tuple2<String,InterpolationMap0>"),
  102625. Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
  102626. Tuple2_String_String: findType("Tuple2<String,String>"),
  102627. Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
  102628. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
  102629. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
  102630. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
  102631. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
  102632. Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList: findType("Tuple2<ExtensionStore,Map<SelectorList,Box<SelectorList>>>"),
  102633. Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<SelectorList0,Box0<SelectorList0>>>"),
  102634. Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
  102635. Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
  102636. Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
  102637. Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
  102638. Tuple2_of_String_and_nullable_InterpolationMap: findType("Tuple2<String,InterpolationMap?>"),
  102639. Tuple2_of_String_and_nullable_InterpolationMap_2: findType("Tuple2<String,InterpolationMap0?>"),
  102640. Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
  102641. Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
  102642. Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
  102643. Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
  102644. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
  102645. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
  102646. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
  102647. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
  102648. Type: findType("Type"),
  102649. TypeError: findType("TypeError"),
  102650. Uint8List: findType("Uint8List"),
  102651. UnionSet_Uri: findType("UnionSet<Uri>"),
  102652. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  102653. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  102654. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  102655. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  102656. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  102657. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  102658. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  102659. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  102660. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  102661. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  102662. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  102663. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  102664. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  102665. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  102666. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  102667. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  102668. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  102669. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  102670. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  102671. UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
  102672. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
  102673. UnmodifiableSetView_Uri: findType("UnmodifiableSetView<Uri>"),
  102674. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  102675. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  102676. Uri: findType("Uri"),
  102677. UseRule: findType("UseRule"),
  102678. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  102679. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  102680. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  102681. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  102682. Value: findType("Value"),
  102683. Value_2: findType("Value0"),
  102684. Value_Function_List_Value: findType("Value(List<Value>)"),
  102685. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  102686. VariableDeclaration: findType("VariableDeclaration"),
  102687. VariableDeclaration_2: findType("VariableDeclaration0"),
  102688. VersionRange: findType("VersionRange"),
  102689. WatchEvent: findType("WatchEvent"),
  102690. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  102691. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  102692. WhereIterable_String: findType("WhereIterable<String>"),
  102693. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  102694. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  102695. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  102696. _ArgumentResults: findType("_ArgumentResults0"),
  102697. _ArgumentResults_2: findType("_ArgumentResults2"),
  102698. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  102699. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  102700. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  102701. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  102702. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  102703. _EventRequest_dynamic: findType("_EventRequest<@>"),
  102704. _Future_Object: findType("_Future<Object>"),
  102705. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  102706. _Future_String: findType("_Future<String>"),
  102707. _Future_bool: findType("_Future<bool>"),
  102708. _Future_dynamic: findType("_Future<@>"),
  102709. _Future_int: findType("_Future<int>"),
  102710. _Future_nullable_Object: findType("_Future<Object?>"),
  102711. _Future_void: findType("_Future<~>"),
  102712. _Highlight: findType("_Highlight"),
  102713. _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
  102714. _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
  102715. _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
  102716. _LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList: findType("_LinkedIdentityHashMap<SelectorList,Box<SelectorList>>"),
  102717. _LinkedIdentityHashMap_of_SelectorList_and_Box_SelectorList_2: findType("_LinkedIdentityHashMap<SelectorList0,Box0<SelectorList0>>"),
  102718. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  102719. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  102720. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  102721. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  102722. _LoadedStylesheet: findType("_LoadedStylesheet0"),
  102723. _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
  102724. _MapEntry: findType("_MapEntry"),
  102725. _NodeException: findType("_NodeException"),
  102726. _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
  102727. bool: findType("bool"),
  102728. double: findType("double"),
  102729. dynamic: findType("@"),
  102730. dynamic_Function: findType("@()"),
  102731. dynamic_Function_Object: findType("@(Object)"),
  102732. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  102733. int: findType("int"),
  102734. legacy_Never: findType("0&*"),
  102735. legacy_Object: findType("Object*"),
  102736. nullable_AstNode: findType("AstNode?"),
  102737. nullable_AstNode_2: findType("AstNode0?"),
  102738. nullable_FileSpan: findType("FileSpan?"),
  102739. nullable_Future_Null: findType("Future<Null>?"),
  102740. nullable_Future_void: findType("Future<~>?"),
  102741. nullable_ImporterResult: findType("ImporterResult0?"),
  102742. nullable_Object: findType("Object?"),
  102743. nullable_SourceFile: findType("SourceFile?"),
  102744. nullable_SourceSpan: findType("SourceSpan?"),
  102745. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  102746. nullable_String: findType("String?"),
  102747. nullable_Stylesheet: findType("Stylesheet?"),
  102748. nullable_StylesheetNode: findType("StylesheetNode?"),
  102749. nullable_Stylesheet_2: findType("Stylesheet0?"),
  102750. nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
  102751. nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
  102752. nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
  102753. nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
  102754. nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
  102755. nullable_Uri: findType("Uri?"),
  102756. nullable_Value: findType("Value?"),
  102757. nullable_Value_2: findType("Value0?"),
  102758. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  102759. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  102760. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  102761. nullable__Highlight: findType("_Highlight?"),
  102762. nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
  102763. nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
  102764. num: findType("num"),
  102765. void: findType("~"),
  102766. void_Function_Object: findType("~(Object)"),
  102767. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  102768. };
  102769. })();
  102770. (function constants() {
  102771. var makeConstList = hunkHelpers.makeConstList;
  102772. B.Interceptor_methods = J.Interceptor.prototype;
  102773. B.JSArray_methods = J.JSArray.prototype;
  102774. B.JSBool_methods = J.JSBool.prototype;
  102775. B.JSInt_methods = J.JSInt.prototype;
  102776. B.JSNull_methods = J.JSNull.prototype;
  102777. B.JSNumber_methods = J.JSNumber.prototype;
  102778. B.JSString_methods = J.JSString.prototype;
  102779. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  102780. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  102781. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  102782. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  102783. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  102784. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  102785. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  102786. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  102787. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  102788. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  102789. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  102790. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  102791. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  102792. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  102793. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  102794. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  102795. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  102796. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  102797. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  102798. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  102799. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  102800. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  102801. B.BinaryOperator_2jN = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  102802. B.BinaryOperator_2jN0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  102803. B.BinaryOperator_7Tg = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  102804. B.BinaryOperator_7Tg0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  102805. B.BinaryOperator_M6L = new A.BinaryOperator("or", "or", 1, true, "or");
  102806. B.BinaryOperator_M6L0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  102807. B.BinaryOperator_OTG = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  102808. B.BinaryOperator_OTG0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  102809. B.BinaryOperator_SNp = new A.BinaryOperator("and", "and", 2, true, "and");
  102810. B.BinaryOperator_SNp0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  102811. B.BinaryOperator_U8c = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  102812. B.BinaryOperator_U8c0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  102813. B.BinaryOperator_ViB = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  102814. B.BinaryOperator_ViB0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  102815. B.BinaryOperator_anB = new A.BinaryOperator("plus", "+", 5, true, "plus");
  102816. B.BinaryOperator_anB0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  102817. B.BinaryOperator_cIH = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  102818. B.BinaryOperator_cIH0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  102819. B.BinaryOperator_kpg = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  102820. B.BinaryOperator_kpg0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  102821. B.BinaryOperator_olz = new A.BinaryOperator("minus", "-", 5, false, "minus");
  102822. B.BinaryOperator_olz0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  102823. B.BinaryOperator_qN2 = new A.BinaryOperator("times", "*", 6, true, "times");
  102824. B.BinaryOperator_qN20 = new A.BinaryOperator0("times", "*", 6, true, "times");
  102825. B.BinaryOperator_ql5 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  102826. B.BinaryOperator_ql50 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  102827. B.BinaryOperator_t8B = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  102828. B.BinaryOperator_t8B0 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  102829. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  102830. B.C_AsciiCodec = new A.AsciiCodec();
  102831. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  102832. B.C_Base64Encoder = new A.Base64Encoder();
  102833. B.C_Base64Codec = new A.Base64Codec();
  102834. B.C_DefaultEquality = new A.DefaultEquality();
  102835. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  102836. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  102837. B.C_EmptyIterator = new A.EmptyIterator();
  102838. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  102839. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  102840. B.C_IterableEquality0 = new A.IterableEquality();
  102841. B.C_IterableEquality = new A.IterableEquality();
  102842. B.C_JS_CONST = function getTagFallback(o) {
  102843. var s = Object.prototype.toString.call(o);
  102844. return s.substring(8, s.length - 1);
  102845. };
  102846. B.C_JS_CONST0 = function() {
  102847. var toStringFunction = Object.prototype.toString;
  102848. function getTag(o) {
  102849. var s = toStringFunction.call(o);
  102850. return s.substring(8, s.length - 1);
  102851. }
  102852. function getUnknownTag(object, tag) {
  102853. if (/^HTML[A-Z].*Element$/.test(tag)) {
  102854. var name = toStringFunction.call(object);
  102855. if (name == "[object Object]") return null;
  102856. return "HTMLElement";
  102857. }
  102858. }
  102859. function getUnknownTagGenericBrowser(object, tag) {
  102860. if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
  102861. return getUnknownTag(object, tag);
  102862. }
  102863. function prototypeForTag(tag) {
  102864. if (typeof window == "undefined") return null;
  102865. if (typeof window[tag] == "undefined") return null;
  102866. var constructor = window[tag];
  102867. if (typeof constructor != "function") return null;
  102868. return constructor.prototype;
  102869. }
  102870. function discriminator(tag) { return null; }
  102871. var isBrowser = typeof navigator == "object";
  102872. return {
  102873. getTag: getTag,
  102874. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  102875. prototypeForTag: prototypeForTag,
  102876. discriminator: discriminator };
  102877. };
  102878. B.C_JS_CONST6 = function(getTagFallback) {
  102879. return function(hooks) {
  102880. if (typeof navigator != "object") return hooks;
  102881. var ua = navigator.userAgent;
  102882. if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
  102883. if (ua.indexOf("Chrome") >= 0) {
  102884. function confirm(p) {
  102885. return typeof window == "object" && window[p] && window[p].name == p;
  102886. }
  102887. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  102888. }
  102889. hooks.getTag = getTagFallback;
  102890. };
  102891. };
  102892. B.C_JS_CONST1 = function(hooks) {
  102893. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  102894. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  102895. };
  102896. B.C_JS_CONST2 = function(hooks) {
  102897. var getTag = hooks.getTag;
  102898. var prototypeForTag = hooks.prototypeForTag;
  102899. function getTagFixed(o) {
  102900. var tag = getTag(o);
  102901. if (tag == "Document") {
  102902. if (!!o.xmlVersion) return "!Document";
  102903. return "!HTMLDocument";
  102904. }
  102905. return tag;
  102906. }
  102907. function prototypeForTagFixed(tag) {
  102908. if (tag == "Document") return null;
  102909. return prototypeForTag(tag);
  102910. }
  102911. hooks.getTag = getTagFixed;
  102912. hooks.prototypeForTag = prototypeForTagFixed;
  102913. };
  102914. B.C_JS_CONST5 = function(hooks) {
  102915. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  102916. if (userAgent.indexOf("Firefox") == -1) return hooks;
  102917. var getTag = hooks.getTag;
  102918. var quickMap = {
  102919. "BeforeUnloadEvent": "Event",
  102920. "DataTransfer": "Clipboard",
  102921. "GeoGeolocation": "Geolocation",
  102922. "Location": "!Location",
  102923. "WorkerMessageEvent": "MessageEvent",
  102924. "XMLDocument": "!Document"};
  102925. function getTagFirefox(o) {
  102926. var tag = getTag(o);
  102927. return quickMap[tag] || tag;
  102928. }
  102929. hooks.getTag = getTagFirefox;
  102930. };
  102931. B.C_JS_CONST4 = function(hooks) {
  102932. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  102933. if (userAgent.indexOf("Trident/") == -1) return hooks;
  102934. var getTag = hooks.getTag;
  102935. var quickMap = {
  102936. "BeforeUnloadEvent": "Event",
  102937. "DataTransfer": "Clipboard",
  102938. "HTMLDDElement": "HTMLElement",
  102939. "HTMLDTElement": "HTMLElement",
  102940. "HTMLPhraseElement": "HTMLElement",
  102941. "Position": "Geoposition"
  102942. };
  102943. function getTagIE(o) {
  102944. var tag = getTag(o);
  102945. var newTag = quickMap[tag];
  102946. if (newTag) return newTag;
  102947. if (tag == "Object") {
  102948. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  102949. }
  102950. return tag;
  102951. }
  102952. function prototypeForTagIE(tag) {
  102953. var constructor = window[tag];
  102954. if (constructor == null) return null;
  102955. return constructor.prototype;
  102956. }
  102957. hooks.getTag = getTagIE;
  102958. hooks.prototypeForTag = prototypeForTagIE;
  102959. };
  102960. B.C_JS_CONST3 = function(hooks) { return hooks; }
  102961. ;
  102962. B.C_JsonCodec = new A.JsonCodec();
  102963. B.C_ListEquality0 = new A.ListEquality();
  102964. B.C_ListEquality = new A.ListEquality();
  102965. B.C_MapEquality = new A.MapEquality();
  102966. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  102967. B.C_SentinelValue = new A.SentinelValue();
  102968. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  102969. B.C_Utf8Codec = new A.Utf8Codec();
  102970. B.C_Utf8Encoder = new A.Utf8Encoder();
  102971. B.C__DelayedDone = new A._DelayedDone();
  102972. B.C__HasContentVisitor = new A._HasContentVisitor();
  102973. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  102974. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  102975. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  102976. B.C__JSRandom = new A._JSRandom();
  102977. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  102978. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  102979. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  102980. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  102981. B.C__Required = new A._Required();
  102982. B.C__RootZone = new A._RootZone();
  102983. B.C__SassNull = new A._SassNull();
  102984. B.C__SassNull0 = new A._SassNull0();
  102985. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  102986. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  102987. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  102988. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  102989. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  102990. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  102991. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  102992. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  102993. B.ChangeType_add = new A.ChangeType("add");
  102994. B.ChangeType_modify = new A.ChangeType("modify");
  102995. B.ChangeType_remove = new A.ChangeType("remove");
  102996. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  102997. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  102998. B.Combinator_Cht = new A.Combinator(">", "child");
  102999. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  103000. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  103001. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  103002. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  103003. B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
  103004. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty11, null);
  103005. B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  103006. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty12, null);
  103007. B.Deprecation_0bn = new A.Deprecation0("function-units", false, "functionUnits");
  103008. B.Deprecation_4iQ = new A.Deprecation0("call-string", false, "callString");
  103009. B.Deprecation_8WR = new A.Deprecation("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  103010. B.Deprecation_Auo = new A.Deprecation("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
  103011. B.Deprecation_B8J = new A.Deprecation("import", null, "@import rules.", true, "import");
  103012. B.Deprecation_E5x = new A.Deprecation0("relative-canonical", false, "relativeCanonical");
  103013. B.Deprecation_EsU = new A.Deprecation0("strict-unary", false, "strictUnary");
  103014. B.Deprecation_GbU = new A.Deprecation0("moz-document", false, "mozDocument");
  103015. B.Deprecation_JAZ = new A.Deprecation("elseif", "1.3.2", "@elseif.", false, "elseif");
  103016. B.Deprecation_LT8 = new A.Deprecation0("color-module-compat", false, "colorModuleCompat");
  103017. B.Deprecation_XV6 = new A.Deprecation0("bogus-combinators", false, "bogusCombinators");
  103018. B.Deprecation_elseif_false_elseif = new A.Deprecation0("elseif", false, "elseif");
  103019. B.Deprecation_gJ9 = new A.Deprecation("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  103020. B.Deprecation_hzy = new A.Deprecation("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  103021. B.Deprecation_import_true_import = new A.Deprecation0("import", true, "import");
  103022. B.Deprecation_mFp = new A.Deprecation("relative-canonical", "1.14.2", null, false, "relativeCanonical");
  103023. B.Deprecation_qVK = new A.Deprecation("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  103024. B.Deprecation_s4m = new A.Deprecation("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  103025. B.Deprecation_sIK = new A.Deprecation("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  103026. B.Deprecation_vrR = new A.Deprecation("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  103027. B.Deprecation_wKk = new A.Deprecation0("new-global", false, "newGlobal");
  103028. B.Deprecation_wWh = new A.Deprecation0("slash-div", false, "slashDiv");
  103029. B.Deprecation_xHK = new A.Deprecation("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  103030. B.Deprecation_ynv = new A.Deprecation0("duplicate-var-flags", false, "duplicateVariableFlags");
  103031. B.Duration_0 = new A.Duration(0);
  103032. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  103033. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  103034. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  103035. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  103036. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  103037. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  103038. B.JsonEncoder_null = new A.JsonEncoder(null);
  103039. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  103040. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  103041. B.LineFeed_lf = new A.LineFeed("lf");
  103042. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  103043. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  103044. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  103045. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  103046. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  103047. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  103048. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  103049. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  103050. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  103051. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  103052. B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  103053. B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
  103054. B.List_4mn = A._setArrayType(makeConstList([B.Deprecation_qVK, B.Deprecation_JAZ, B.Deprecation_gJ9, B.Deprecation_mFp, B.Deprecation_hzy, B.Deprecation_s4m, B.Deprecation_xHK, B.Deprecation_vrR, B.Deprecation_sIK, B.Deprecation_8WR, B.Deprecation_Auo, B.Deprecation_B8J, B.Deprecation_A0N]), A.findType("JSArray<Deprecation>"));
  103055. B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103056. B.List_map = A._setArrayType(makeConstList(["em", "rem", "ex", "rex", "cap", "rcap", "ch", "rch", "ic", "ric", "lh", "rlh", "vw", "lvw", "svw", "dvw", "vh", "lvh", "svh", "dvh", "vi", "lvi", "svi", "dvi", "vb", "lvb", "svb", "dvb", "vmin", "lvmin", "svmin", "dvmin", "vmax", "lvmax", "svmax", "dvmax", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
  103057. B.Map_maTLM = new A.ConstantStringMap(49, {em: null, rem: null, ex: null, rex: null, cap: null, rcap: null, ch: null, rch: null, ic: null, ric: null, lh: null, rlh: null, vw: null, lvw: null, svw: null, dvw: null, vh: null, lvh: null, svh: null, dvh: null, vi: null, lvi: null, svi: null, dvi: null, vb: null, lvb: null, svb: null, dvb: null, vmin: null, lvmin: null, svmin: null, dvmin: null, vmax: null, lvmax: null, svmax: null, dvmax: null, cqw: null, cqh: null, cqi: null, cqb: null, cqmin: null, cqmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_map, type$.ConstantStringMap_String_Null);
  103058. B.Set_mapa9 = new A._UnmodifiableSet(B.Map_maTLM, type$._UnmodifiableSet_String);
  103059. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  103060. B.Map_EGso3 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
  103061. B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
  103062. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  103063. B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
  103064. B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
  103065. B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
  103066. B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
  103067. B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
  103068. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  103069. B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
  103070. B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
  103071. B.List_ENR = A._setArrayType(makeConstList([B.Set_mapa9, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
  103072. B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  103073. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  103074. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  103075. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  103076. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  103077. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  103078. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  103079. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  103080. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  103081. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  103082. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  103083. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  103084. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  103085. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  103086. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  103087. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  103088. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  103089. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  103090. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  103091. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
  103092. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
  103093. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  103094. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  103095. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  103096. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  103097. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  103098. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  103099. B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103100. B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103101. B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  103102. B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  103103. B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103104. B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  103105. B.List_K2O = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
  103106. B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  103107. B.Map_ahsJO = new A.ConstantStringMap(7, {in: 1, cm: 0.39370078740157477, pc: 0.16666666666666666, mm: 0.03937007874015748, q: 0.00984251968503937, pt: 0.013888888888888888, px: 0.010416666666666666}, B.List_aha, type$.ConstantStringMap_String_double);
  103108. B.Map_ahM6L = new A.ConstantStringMap(7, {in: 2.54, cm: 1, pc: 0.42333333333333334, mm: 0.1, q: 0.025, pt: 0.035277777777777776, px: 0.026458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  103109. B.Map_ahNsa = new A.ConstantStringMap(7, {in: 6, cm: 2.3622047244094486, pc: 1, mm: 0.2362204724409449, q: 0.05905511811023623, pt: 0.08333333333333333, px: 0.0625}, B.List_aha, type$.ConstantStringMap_String_double);
  103110. B.Map_ahPSt = new A.ConstantStringMap(7, {in: 25.4, cm: 10, pc: 4.233333333333333, mm: 1, q: 0.25, pt: 0.35277777777777775, px: 0.26458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  103111. B.Map_ahgya = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_aha, type$.ConstantStringMap_String_double);
  103112. B.Map_ahGvh = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_aha, type$.ConstantStringMap_String_double);
  103113. B.Map_ahkuc = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_aha, type$.ConstantStringMap_String_double);
  103114. B.Map_EGyvr = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103115. B.Map_EGfqB = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103116. B.Map_EGswR = new A.ConstantStringMap(4, {deg: 0.017453292519943295, grad: 0.015707963267948967, rad: 1, turn: 6.283185307179586}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103117. B.Map_EGY2F = new A.ConstantStringMap(4, {deg: 0.002777777777777778, grad: 0.0025, rad: 0.15915494309189535, turn: 1}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  103118. B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_double);
  103119. B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_double);
  103120. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  103121. B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  103122. B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  103123. B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103124. B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103125. B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  103126. B.Map_K2BWj = new A.ConstantStringMap(18, {in: B.Map_ahsJO, cm: B.Map_ahM6L, pc: B.Map_ahNsa, mm: B.Map_ahPSt, q: B.Map_ahgya, pt: B.Map_ahGvh, px: B.Map_ahkuc, deg: B.Map_EGyvr, grad: B.Map_EGfqB, rad: B.Map_EGswR, turn: B.Map_EGY2F, s: B.Map_ma2bi, ms: B.Map_maDht0, Hz: B.Map_0IpUe, kHz: B.Map_0IVs0, dpi: B.Map_H2OWd, dpcm: B.Map_H24em, dppx: B.Map_H25Om}, B.List_K2O, A.findType("ConstantStringMap<String,Map<String,double>>"));
  103127. B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
  103128. B.Map_U8AHF = new A.ConstantStringMap(5, {length: B.List_aha, angle: B.List_deg_grad_rad_turn, time: B.List_s_ms, frequency: B.List_Hz_kHz, "pixel density": B.List_dpi_dpcm_dppx}, B.List_U8g, A.findType("ConstantStringMap<String,List<String>>"));
  103129. B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
  103130. B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
  103131. B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
  103132. B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
  103133. B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
  103134. B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
  103135. B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
  103136. B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  103137. B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
  103138. B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
  103139. B.List_empty26 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
  103140. B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Symbol0,@>"));
  103141. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
  103142. B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<String?,String>"));
  103143. B.OptionType_YwU = new A.OptionType("OptionType.single");
  103144. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  103145. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  103146. B.OutputStyle_0 = new A.OutputStyle("expanded");
  103147. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  103148. B.OutputStyle_1 = new A.OutputStyle("compressed");
  103149. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  103150. B.SassBoolean_false = new A.SassBoolean(false);
  103151. B.SassBoolean_false0 = new A.SassBoolean0(false);
  103152. B.SassBoolean_true = new A.SassBoolean(true);
  103153. B.SassBoolean_true0 = new A.SassBoolean0(true);
  103154. B.SassList_Sof = new A.SassList(B.List_empty8, B.ListSeparator_rXA, false);
  103155. B.SassList_Sof0 = new A.SassList(B.List_empty8, B.ListSeparator_rXA, true);
  103156. B.SassList_Sof1 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  103157. B.SassList_Sof2 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, true);
  103158. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  103159. B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty8, A.findType("ConstantStringMap<Value,Value>"));
  103160. B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
  103161. B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty19, A.findType("ConstantStringMap<Value0,Value0>"));
  103162. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
  103163. B.Map_2Vaha = new A.GeneralConstantMap([91, null, 46, null, 35, null, 37, null, 58, null, 38, null, 42, null, 124, null], A.findType("GeneralConstantMap<int,Null>"));
  103164. B.Set_2Vk2 = new A._UnmodifiableSet(B.Map_2Vaha, A.findType("_UnmodifiableSet<int>"));
  103165. B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
  103166. B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
  103167. B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
  103168. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery);
  103169. B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<CssMediaQuery,Null>"));
  103170. B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<CssMediaQuery>"));
  103171. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery_2);
  103172. B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssMediaQuery0,Null>"));
  103173. B.Set_empty4 = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<CssMediaQuery0>"));
  103174. B.List_empty30 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
  103175. B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
  103176. B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
  103177. B.List_empty31 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
  103178. B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty31, A.findType("ConstantStringMap<Module<Callable>,Null>"));
  103179. B.Set_empty = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module<Callable>>"));
  103180. B.List_empty32 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
  103181. B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty32, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
  103182. B.Set_empty5 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
  103183. B.List_empty33 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
  103184. B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty33, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
  103185. B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty20, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
  103186. B.List_empty34 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
  103187. B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty34, A.findType("ConstantStringMap<StylesheetNode,Null>"));
  103188. B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty21, A.findType("_UnmodifiableSet<StylesheetNode>"));
  103189. B.StderrLogger_false = new A.StderrLogger(false);
  103190. B.StderrLogger_false0 = new A.StderrLogger0(false);
  103191. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  103192. B.Symbol__extensions = new A.Symbol("_extensions");
  103193. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  103194. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  103195. B.Symbol_call = new A.Symbol("call");
  103196. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  103197. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  103198. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  103199. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  103200. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  103201. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  103202. B.List_empty35 = A._setArrayType(makeConstList([]), A.findType("JSArray<SelectorList>"));
  103203. B.Map_empty22 = new A.ConstantStringMap(0, {}, B.List_empty35, A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  103204. B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty22, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList);
  103205. B.List_empty36 = A._setArrayType(makeConstList([]), A.findType("JSArray<SelectorList0>"));
  103206. B.Map_empty23 = new A.ConstantStringMap(0, {}, B.List_empty36, A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  103207. B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty23, type$.Tuple2_of_ExtensionStore_and_Map_of_SelectorList_and_Box_SelectorList_2);
  103208. B.Type_Null_Yyn = A.typeLiteral("Null");
  103209. B.Type_Object_xQ6 = A.typeLiteral("Object");
  103210. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  103211. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  103212. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  103213. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  103214. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  103215. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  103216. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  103217. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  103218. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  103219. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  103220. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  103221. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  103222. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  103223. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  103224. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  103225. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  103226. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  103227. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  103228. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  103229. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  103230. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  103231. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  103232. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  103233. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  103234. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  103235. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  103236. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  103237. B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
  103238. B._PathDirection_8Gl = new A._PathDirection("at root");
  103239. B._PathDirection_988 = new A._PathDirection("below root");
  103240. B._PathDirection_FIw = new A._PathDirection("reaches root");
  103241. B._PathDirection_ZGD = new A._PathDirection("above root");
  103242. B._PathRelation_different = new A._PathRelation("different");
  103243. B._PathRelation_equal = new A._PathRelation("equal");
  103244. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  103245. B._PathRelation_within = new A._PathRelation("within");
  103246. B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
  103247. B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
  103248. B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  103249. B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  103250. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  103251. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  103252. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  103253. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  103254. B._StringStackTrace_3uE = new A._StringStackTrace("");
  103255. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  103256. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  103257. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  103258. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  103259. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  103260. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  103261. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  103262. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  103263. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  103264. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  103265. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  103266. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  103267. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  103268. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  103269. })();
  103270. (function staticFields() {
  103271. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  103272. $.printToZone = null;
  103273. $.Primitives__identityHashCodeProperty = null;
  103274. $.BoundClosure__receiverFieldNameCache = null;
  103275. $.BoundClosure__interceptorFieldNameCache = null;
  103276. $.getTagFunction = null;
  103277. $.alternateTagFunction = null;
  103278. $.prototypeForTagFunction = null;
  103279. $.dispatchRecordsForInstanceTags = null;
  103280. $.interceptorsForUncacheableTags = null;
  103281. $.initNativeDispatchFlag = null;
  103282. $._nextCallback = null;
  103283. $._lastCallback = null;
  103284. $._lastPriorityCallback = null;
  103285. $._isInCallbackLoop = false;
  103286. $.Zone__current = B.C__RootZone;
  103287. $._RootZone__rootDelegate = null;
  103288. $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  103289. $._fs = null;
  103290. $._currentUriBase = null;
  103291. $._current = null;
  103292. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  103293. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  103294. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  103295. $._realCaseCache = function() {
  103296. var t1 = type$.String;
  103297. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103298. }();
  103299. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  103300. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  103301. $._glyphs = B.C_UnicodeGlyphSet;
  103302. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  103303. $._realCaseCache0 = function() {
  103304. var t1 = type$.String;
  103305. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103306. }();
  103307. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  103308. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  103309. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  103310. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  103311. })();
  103312. (function lazyInitializers() {
  103313. var _lazyFinal = hunkHelpers.lazyFinal,
  103314. _lazy = hunkHelpers.lazy;
  103315. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  103316. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  103317. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  103318. toString: function() {
  103319. return "$receiver$";
  103320. }
  103321. })));
  103322. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  103323. toString: function() {
  103324. return "$receiver$";
  103325. }
  103326. })));
  103327. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  103328. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103329. var $argumentsExpr$ = "$arguments$";
  103330. try {
  103331. null.$method$($argumentsExpr$);
  103332. } catch (e) {
  103333. return e.message;
  103334. }
  103335. }()));
  103336. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  103337. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103338. var $argumentsExpr$ = "$arguments$";
  103339. try {
  103340. (void 0).$method$($argumentsExpr$);
  103341. } catch (e) {
  103342. return e.message;
  103343. }
  103344. }()));
  103345. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  103346. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103347. try {
  103348. null.$method$;
  103349. } catch (e) {
  103350. return e.message;
  103351. }
  103352. }()));
  103353. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  103354. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  103355. try {
  103356. (void 0).$method$;
  103357. } catch (e) {
  103358. return e.message;
  103359. }
  103360. }()));
  103361. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  103362. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  103363. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  103364. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  103365. var t1 = type$.dynamic;
  103366. return A.HashMap_HashMap(t1, t1);
  103367. });
  103368. _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
  103369. _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
  103370. _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))));
  103371. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  103372. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  103373. _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
  103374. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  103375. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  103376. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  103377. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  103378. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  103379. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  103380. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  103381. _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
  103382. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  103383. _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)));
  103384. _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)));
  103385. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  103386. _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));
  103387. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  103388. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  103389. _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
  103390. var _null = null;
  103391. return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null), "white", A.SassColor$rgb(255, 255, 255, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null), "violet", A.SassColor$rgb(238, 130, 238, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null), "teal", A.SassColor$rgb(0, 128, 128, _null), "tan", A.SassColor$rgb(210, 180, 140, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null), "snow", A.SassColor$rgb(255, 250, 250, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null), "silver", A.SassColor$rgb(192, 192, 192, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null), "red", A.SassColor$rgb(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null), "purple", A.SassColor$rgb(128, 0, 128, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null), "plum", A.SassColor$rgb(221, 160, 221, _null), "pink", A.SassColor$rgb(255, 192, 203, _null), "peru", A.SassColor$rgb(205, 133, 63, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null), "orange", A.SassColor$rgb(255, 165, 0, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null), "olive", A.SassColor$rgb(128, 128, 0, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null), "navy", A.SassColor$rgb(0, 0, 128, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null), "linen", A.SassColor$rgb(250, 240, 230, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null), "lime", A.SassColor$rgb(0, 255, 0, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null), "grey", A.SassColor$rgb(128, 128, 128, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null), "green", A.SassColor$rgb(0, 128, 0, _null), "gray", A.SassColor$rgb(128, 128, 128, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null), "gold", A.SassColor$rgb(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null), "coral", A.SassColor$rgb(255, 127, 80, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null), "brown", A.SassColor$rgb(165, 42, 42, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null), "blue", A.SassColor$rgb(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null), "black", A.SassColor$rgb(0, 0, 0, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null), "beige", A.SassColor$rgb(245, 245, 220, _null), "azure", A.SassColor$rgb(240, 255, 255, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null)], type$.String, type$.SassColor);
  103392. });
  103393. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  103394. var t2, t3,
  103395. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
  103396. for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  103397. t3 = t2.get$current(t2);
  103398. t1.$indexSet(0, t3.value, t3.key);
  103399. }
  103400. return t1;
  103401. });
  103402. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  103403. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  103404. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  103405. var t1 = type$.BuiltInCallable,
  103406. t2 = A.List_List$of($.$get$global0(), true, t1);
  103407. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  103408. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  103409. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  103410. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  103411. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  103412. B.JSArray_methods.addAll$1(t2, $.$get$global());
  103413. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  103414. return A.UnmodifiableListView$(t2, t1);
  103415. });
  103416. _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<Callable>>")), type$.BuiltInModule_Callable));
  103417. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  103418. _lazyFinal($, "global", "$get$global0", () => {
  103419. var _s27_ = "$red, $green, $blue, $alpha",
  103420. _s19_ = "$red, $green, $blue",
  103421. _s37_ = "$hue, $saturation, $lightness, $alpha",
  103422. _s29_ = "$hue, $saturation, $lightness",
  103423. _s17_ = "$hue, $saturation",
  103424. _s15_ = "$color, $amount",
  103425. t1 = type$.String,
  103426. t2 = type$.Value_Function_List_Value;
  103427. 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_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), 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_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$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);
  103428. });
  103429. _lazyFinal($, "module", "$get$module", () => {
  103430. var _s9_ = "lightness",
  103431. _s10_ = "saturation",
  103432. _s6_ = "$color", _s5_ = "alpha",
  103433. t1 = type$.String,
  103434. t2 = type$.Value_Function_List_Value;
  103435. return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure0()), $.$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_closure1()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure2(), "$channels", new A.module_closure3()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure4()), A._function4("blackness", _s6_, new A.module_closure5()), 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_closure6(), "$args...", new A.module_closure7()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure8()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), null, null, type$.Callable);
  103436. });
  103437. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  103438. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  103439. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  103440. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  103441. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  103442. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  103443. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  103444. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  103445. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  103446. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  103447. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  103448. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  103449. _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));
  103450. _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));
  103451. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  103452. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  103453. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  103454. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  103455. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  103456. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  103457. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  103458. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  103459. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  103460. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  103461. _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));
  103462. _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));
  103463. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  103464. _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)));
  103465. _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)));
  103466. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  103467. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  103468. _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)));
  103469. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  103470. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  103471. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  103472. _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs(), $.$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));
  103473. _lazyFinal($, "module2", "$get$module2", () => {
  103474. var _null = null;
  103475. return A.BuiltInModule$("math", A._setArrayType([$.$get$_abs(), $.$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);
  103476. });
  103477. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  103478. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  103479. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  103480. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  103481. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  103482. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  103483. _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
  103484. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  103485. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  103486. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  103487. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
  103488. _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
  103489. _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
  103490. _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
  103491. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  103492. _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
  103493. _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
  103494. _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
  103495. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  103496. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  103497. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  103498. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  103499. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  103500. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  103501. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  103502. _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure26()), A._function5("inspect", "$value", new A.global_closure27()), A._function5("type-of", "$value", new A.global_closure28()), A._function5("keywords", "$args", new A.global_closure29())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  103503. _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())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  103504. _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));
  103505. _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));
  103506. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  103507. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  103508. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  103509. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  103510. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  103511. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  103512. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  103513. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  103514. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  103515. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  103516. _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));
  103517. _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));
  103518. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  103519. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  103520. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  103521. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  103522. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  103523. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  103524. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  103525. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  103526. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  103527. _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
  103528. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  103529. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  103530. var t1 = $.$get$globalFunctions();
  103531. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  103532. t1.add$1(0, "if");
  103533. t1.remove$1(0, "rgb");
  103534. t1.remove$1(0, "rgba");
  103535. t1.remove$1(0, "hsl");
  103536. t1.remove$1(0, "hsla");
  103537. t1.remove$1(0, "grayscale");
  103538. t1.remove$1(0, "invert");
  103539. t1.remove$1(0, "alpha");
  103540. t1.remove$1(0, "opacity");
  103541. t1.remove$1(0, "saturate");
  103542. return t1;
  103543. });
  103544. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  103545. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  103546. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  103547. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  103548. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  103549. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  103550. var t2, t3, t4,
  103551. t1 = type$.String;
  103552. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103553. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  103554. t3 = t2.get$current(t2);
  103555. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  103556. t1.$indexSet(0, t4.get$current(t4), t3);
  103557. }
  103558. return t1;
  103559. });
  103560. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  103561. var _i, set, t2,
  103562. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  103563. for (_i = 0; _i < 5; ++_i) {
  103564. set = B.List_ENR[_i];
  103565. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  103566. t1.$indexSet(0, t2.get$current(t2), set);
  103567. }
  103568. return t1;
  103569. });
  103570. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  103571. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  103572. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  103573. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  103574. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  103575. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  103576. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  103577. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  103578. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  103579. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  103580. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  103581. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  103582. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  103583. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  103584. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  103585. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  103586. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  103587. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  103588. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  103589. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  103590. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  103591. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  103592. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  103593. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  103594. _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
  103595. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  103596. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  103597. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  103598. _lazyFinal($, "global6", "$get$global7", () => {
  103599. var _s27_ = "$red, $green, $blue, $alpha",
  103600. _s19_ = "$red, $green, $blue",
  103601. _s37_ = "$hue, $saturation, $lightness, $alpha",
  103602. _s29_ = "$hue, $saturation, $lightness",
  103603. _s17_ = "$hue, $saturation",
  103604. _s15_ = "$color, $amount",
  103605. t1 = type$.String,
  103606. t2 = type$.Value_Function_List_Value_2;
  103607. 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_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), 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_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$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);
  103608. });
  103609. _lazyFinal($, "module5", "$get$module5", () => {
  103610. var _s9_ = "lightness",
  103611. _s10_ = "saturation",
  103612. _s6_ = "$color", _s5_ = "alpha",
  103613. t1 = type$.String,
  103614. t2 = type$.Value_Function_List_Value_2;
  103615. return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure10()), $.$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_closure11()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure12(), "$channels", new A.module_closure13()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure14()), A._function11("blackness", _s6_, new A.module_closure15()), 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_closure16(), "$args...", new A.module_closure17()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure18()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), null, null, type$.Callable_2);
  103616. });
  103617. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  103618. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  103619. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  103620. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  103621. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  103622. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  103623. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  103624. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  103625. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  103626. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  103627. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  103628. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  103629. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  103630. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  103631. 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));
  103632. return t1;
  103633. });
  103634. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  103635. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
  103636. var _null = null;
  103637. return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null), "white", A.SassColor$rgb0(255, 255, 255, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null), "red", A.SassColor$rgb0(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null), "green", A.SassColor$rgb0(0, 128, 0, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null), "black", A.SassColor$rgb0(0, 0, 0, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null)], type$.String, type$.SassColor_2);
  103638. });
  103639. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  103640. var t2, t3,
  103641. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
  103642. for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  103643. t3 = t2.get$current(t2);
  103644. t1.$indexSet(0, t3.value, t3.key);
  103645. }
  103646. return t1;
  103647. });
  103648. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  103649. var t1 = $.$get$globalFunctions0();
  103650. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  103651. t1.add$1(0, "if");
  103652. t1.remove$1(0, "rgb");
  103653. t1.remove$1(0, "rgba");
  103654. t1.remove$1(0, "hsl");
  103655. t1.remove$1(0, "hsla");
  103656. t1.remove$1(0, "grayscale");
  103657. t1.remove$1(0, "invert");
  103658. t1.remove$1(0, "alpha");
  103659. t1.remove$1(0, "opacity");
  103660. t1.remove$1(0, "saturate");
  103661. return t1;
  103662. });
  103663. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  103664. _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
  103665. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  103666. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  103667. var t1 = type$.BuiltInCallable_2,
  103668. t2 = A.List_List$of($.$get$global7(), true, t1);
  103669. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  103670. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  103671. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  103672. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  103673. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  103674. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  103675. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  103676. return A.UnmodifiableListView$(t2, t1);
  103677. });
  103678. _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<Callable0>>")), type$.BuiltInModule_Callable_2));
  103679. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  103680. _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));
  103681. _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));
  103682. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  103683. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  103684. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  103685. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  103686. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  103687. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  103688. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  103689. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  103690. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  103691. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  103692. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  103693. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  103694. 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));
  103695. return t1;
  103696. });
  103697. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  103698. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  103699. _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));
  103700. _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));
  103701. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  103702. _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)));
  103703. _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)));
  103704. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  103705. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  103706. _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)));
  103707. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  103708. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  103709. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  103710. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  103711. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  103712. 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));
  103713. return t1;
  103714. });
  103715. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  103716. _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs0(), $.$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));
  103717. _lazyFinal($, "module8", "$get$module8", () => {
  103718. var _null = null;
  103719. return A.BuiltInModule$0("math", A._setArrayType([$.$get$_abs0(), $.$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);
  103720. });
  103721. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  103722. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  103723. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  103724. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  103725. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  103726. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  103727. _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
  103728. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  103729. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  103730. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  103731. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
  103732. _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
  103733. _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
  103734. _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
  103735. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  103736. _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
  103737. _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
  103738. _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
  103739. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  103740. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  103741. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  103742. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  103743. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  103744. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  103745. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  103746. _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure57()), A._function12("inspect", "$value", new A.global_closure58()), A._function12("type-of", "$value", new A.global_closure59()), A._function12("keywords", "$args", new A.global_closure60())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  103747. _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure1()), A._function12("calc-args", "$calc", new A.local_closure2())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  103748. _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
  103749. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  103750. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  103751. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  103752. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  103753. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  103754. 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));
  103755. return t1;
  103756. });
  103757. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  103758. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  103759. var t2, t3, t4,
  103760. t1 = type$.String;
  103761. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103762. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  103763. t3 = t2.get$current(t2);
  103764. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  103765. t1.$indexSet(0, t4.get$current(t4), t3);
  103766. }
  103767. return t1;
  103768. });
  103769. _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));
  103770. _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));
  103771. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  103772. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  103773. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  103774. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  103775. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  103776. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  103777. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  103778. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  103779. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  103780. var _i, set, t2,
  103781. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  103782. for (_i = 0; _i < 5; ++_i) {
  103783. set = B.List_ENR[_i];
  103784. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  103785. t1.$indexSet(0, t2.get$current(t2), set);
  103786. }
  103787. return t1;
  103788. });
  103789. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  103790. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  103791. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  103792. _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));
  103793. _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_closure9())], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  103794. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  103795. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  103796. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  103797. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  103798. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  103799. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  103800. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  103801. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  103802. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  103803. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  103804. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  103805. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  103806. return t1;
  103807. });
  103808. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  103809. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  103810. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  103811. _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  103812. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  103813. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  103814. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  103815. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  103816. })();
  103817. (function nativeSupport() {
  103818. !function() {
  103819. var intern = function(s) {
  103820. var o = {};
  103821. o[s] = 1;
  103822. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  103823. };
  103824. init.getIsolateTag = function(name) {
  103825. return intern("___dart_" + name + init.isolateTag);
  103826. };
  103827. var tableProperty = "___dart_isolate_tags_";
  103828. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  103829. var rootProperty = "_ZxYxX";
  103830. for (var i = 0;; i++) {
  103831. var property = intern(rootProperty + "_" + i + "_");
  103832. if (!(property in usedProperties)) {
  103833. usedProperties[property] = 1;
  103834. init.isolateTag = property;
  103835. break;
  103836. }
  103837. }
  103838. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  103839. }();
  103840. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, Float32Array: A.NativeTypedArrayOfDouble, Float64Array: A.NativeTypedArrayOfDouble, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  103841. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  103842. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  103843. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  103844. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  103845. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  103846. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  103847. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  103848. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  103849. })();
  103850. Function.prototype.call$0 = function() {
  103851. return this();
  103852. };
  103853. Function.prototype.call$1 = function(a) {
  103854. return this(a);
  103855. };
  103856. Function.prototype.call$2 = function(a, b) {
  103857. return this(a, b);
  103858. };
  103859. Function.prototype.call$3$1 = function(a) {
  103860. return this(a);
  103861. };
  103862. Function.prototype.call$2$1 = function(a) {
  103863. return this(a);
  103864. };
  103865. Function.prototype.call$1$1 = function(a) {
  103866. return this(a);
  103867. };
  103868. Function.prototype.call$3 = function(a, b, c) {
  103869. return this(a, b, c);
  103870. };
  103871. Function.prototype.call$4 = function(a, b, c, d) {
  103872. return this(a, b, c, d);
  103873. };
  103874. Function.prototype.call$3$3 = function(a, b, c) {
  103875. return this(a, b, c);
  103876. };
  103877. Function.prototype.call$2$2 = function(a, b) {
  103878. return this(a, b);
  103879. };
  103880. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  103881. return this(a, b, c, d, e, f);
  103882. };
  103883. Function.prototype.call$5 = function(a, b, c, d, e) {
  103884. return this(a, b, c, d, e);
  103885. };
  103886. Function.prototype.call$2$0 = function() {
  103887. return this();
  103888. };
  103889. Function.prototype.call$1$2 = function(a, b) {
  103890. return this(a, b);
  103891. };
  103892. Function.prototype.call$1$0 = function() {
  103893. return this();
  103894. };
  103895. Function.prototype.call$2$3 = function(a, b, c) {
  103896. return this(a, b, c);
  103897. };
  103898. convertAllToFastObject(holders);
  103899. convertToFastObject($);
  103900. (function(callback) {
  103901. if (typeof document === "undefined") {
  103902. callback(null);
  103903. return;
  103904. }
  103905. if (typeof document.currentScript != "undefined") {
  103906. callback(document.currentScript);
  103907. return;
  103908. }
  103909. var scripts = document.scripts;
  103910. function onLoad(event) {
  103911. for (var i = 0; i < scripts.length; ++i)
  103912. scripts[i].removeEventListener("load", onLoad, false);
  103913. callback(event.target);
  103914. }
  103915. for (var i = 0; i < scripts.length; ++i)
  103916. scripts[i].addEventListener("load", onLoad, false);
  103917. })(function(currentScript) {
  103918. init.currentScript = currentScript;
  103919. var callMain = A.main1;
  103920. if (typeof dartMainRunner === "function")
  103921. dartMainRunner(callMain, []);
  103922. else
  103923. callMain([]);
  103924. });
  103925. })();
  103926. }